joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416ab0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
movzx eax, word [edi]
mov word [esi], ax
movzx eax, word [edi + 2]
mov word [esi + 2], ax
movzx eax, byte [edi + 4]
mov byte [esi + 4], al
movzx eax, byte [edi + 5]
mov byte [esi + 5], al
movzx eax, byte [edi + 6]
mov byte [esi + 6], al
movzx eax, byte [edi + 7]
mov byte [esi + 7], al
movzx eax, byte [edi + 8]
mov byte [esi + 8], al
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
lea ecx, [esi + 0x44]
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
movzx eax, word [edi + 0x40]
mov word [esi + 0x40], ax
lea eax, [edi + 0x44]
cmp ecx, eax
je 0x416b56
mov edx, dword [eax]
mov eax, dword [eax + 4]
sub eax, edx
sar eax, 2
push eax
push edx
call fcn.00418520
lea eax, [edi + 0x50]
lea ecx, [esi + 0x50]
cmp ecx, eax
je 0x416b71
mov edx, dword [eax]
mov eax, dword [eax + 4]
sub eax, edx
sar eax, 2
push eax
push edx
call fcn.00418520
lea eax, [edi + 0x5c]
lea ecx, [esi + 0x5c]
cmp ecx, eax
je 0x416b8c
mov edx, dword [eax]
mov eax, dword [eax + 4]
sub eax, edx
sar eax, 2
push eax
push edx
call fcn.00418520
lea eax, [edi + 0x68]
lea ecx, [esi + 0x68]
cmp ecx, eax
je 0x416ba7
mov edx, dword [eax]
mov eax, dword [eax + 4]
sub eax, edx
sar eax, 2
push eax
push edx
call fcn.00418520
pop edi
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x418860
Capabilities:
Check for peb beingdebugged flag
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x460011
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4823c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea edx, [edi + 0x44]
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
lea ebx, [edi + 0x50]
mov dword [ebp - 4], 0
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov esi, dword [ebp + 8]
mov byte [ebp - 4], 3
movzx eax, word [esi]
mov word [edi], ax
movzx eax, word [esi + 2]
mov word [edi + 2], ax
movzx eax, byte [esi + 4]
mov byte [edi + 4], al
movzx eax, byte [esi + 5]
mov byte [edi + 5], al
movzx eax, byte [esi + 6]
mov byte [edi + 6], al
movzx eax, byte [esi + 7]
mov byte [edi + 7], al
movzx eax, byte [esi + 8]
mov byte [edi + 8], al
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
mov eax, dword [esi + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [edi + 0x20], eax
mov eax, dword [esi + 0x24]
mov dword [edi + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [edi + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x2c], eax
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x38]
mov dword [edi + 0x38], eax
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x3c], eax
movzx eax, word [esi + 0x40]
mov word [edi + 0x40], ax
lea eax, [esi + 0x44]
cmp edx, eax
je 0x41898d
mov edx, dword [eax]
lea ecx, [edi + 0x44]
mov eax, dword [eax + 4]
sub eax, edx
sar eax, 2
push eax
push edx
call fcn.00418520
lea eax, [esi + 0x50]
cmp ebx, eax
je 0x4189a7
mov edx, dword [eax]
mov ecx, ebx
mov eax, dword [eax + 4]
sub eax, edx
sar eax, 2
push eax
push edx
call fcn.00418520
lea eax, [esi + 0x5c]
lea ecx, [edi + 0x5c]
cmp ecx, eax
je 0x4189c2
mov edx, dword [eax]
mov eax, dword [eax + 4]
sub eax, edx
sar eax, 2
push eax
push edx
call fcn.00418520
lea eax, [esi + 0x68]
lea ecx, [edi + 0x68]
cmp ecx, eax
je 0x4189dd
mov edx, dword [eax]
mov eax, dword [eax + 4]
sub eax, edx
sar eax, 2
push eax
push edx
call fcn.00418520
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41d120
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov ecx, dword [ebp + 8]
mov eax, edx
push edi
mov dword [ebp - 4], ecx
lea edi, [ecx - 1]
sar edi, 1
cmp edx, edi
jge 0x41d16a
nop dword [eax]
lea ecx, [eax + eax]
xor eax, eax
movsd xmm0, qword [esi + ecx*8 + 8]
comisd xmm0, xmmword [esi + ecx*8 + 0x10]
seta al
xor eax, 1
inc eax
add eax, ecx
movsd xmm0, qword [esi + eax*8]
movsd qword [esi + edx*8], xmm0
mov edx, eax
cmp eax, edi
jl 0x41d140
mov ecx, eax
cmp eax, edi
jne 0x41d186
mov edx, dword [ebp - 4]
test dl, 1
jne 0x41d186
movsd xmm0, qword [esi + edx*8 - 8]
lea ecx, [edx - 1]
movsd qword [esi + eax*8], xmm0
lea eax, [ecx - 1]
sar eax, 1
cmp ebx, ecx
jge 0x41d1c9
mov edx, dword [ebp + 0xc]
movsd xmm1, qword [edx]
nop word [eax + eax]
movsd xmm0, qword [esi + eax*8]
comisd xmm1, xmm0
jbe 0x41d1b9
movsd qword [esi + ecx*8], xmm0
mov ecx, eax
dec eax
sar eax, 1
cmp ebx, ecx
jl 0x41d1a0
movsd xmm0, qword [edx]
pop edi
movsd qword [esi + ecx*8], xmm0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
pop edi
movsd xmm0, qword [eax]
movsd qword [esi + ecx*8], xmm0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4284a0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x460fcd
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x4823c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0xa
lea ecx, [ebp - 0x18]
call fcn.004217f0
push dword [ebp + 0x18]
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
call fcn.00421a30
push dword [ebp + 0x1c]
mov eax, dword [esi]
lea ecx, [ebp - 0x18]
push ecx
push dword [ebp + 0x14]
mov ecx, esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [eax + 0x30]
lea ecx, [ebp - 0x18]
call fcn.00421840
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x18

Function at 0x42c300
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46176e
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4823c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x44], esi
mov edi, dword [ebp + 0xc]
lea ecx, [esi + 0x20]
mov dword [ebp - 0x48], esi
mov dword [esi], vtable.config4cpp::LexBase.0
call fcn.0042c080
lea ecx, [esi + 0x40]
mov dword [ebp - 4], 0
call fcn.0042ed10
lea ebx, [esi + 0x48]
mov byte [ebp - 4], 1
mov ecx, ebx
call fcn.0041eac0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.0041eac0
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm0
movq qword [esi + 0x38], xmm0
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x2c], eax
mov byte [ebp - 4], 3
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov byte [esi + 0x18], 0
mov dword [esi + 0x30], edi
mov dword [esi + 0x1c], 1
mov dword [esi + 0x44], 0
mov byte [esi + 0x34], 0
sub eax, 0
je 0x42c411
sub eax, 1
je 0x42c40c
sub eax, 1
jne 0x42c3dd
push ebx
push edi
call fcn.0042ed30
add esp, 8
test al, al
je 0x42c43b
mov eax, dword [esi + 0x68]
mov dword [esi + 0x44], eax
mov ecx, esi
call fcn.0042c910
lea ecx, [ebp - 0x3c]
call fcn.0041eae0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004334e6
mov esp, ebp
pop ebp
ret 0xc
mov dword [esi + 0x44], edi
jmp 0x42c3dd
push edi
lea ecx, [esi + 0x40]
call fcn.0042ef60
test al, al
jne 0x42c3dd
call fcn.00444749
push dword [eax]
call fcn.004457f2
add esp, 4
push eax
push 0x46e71c
push edi
push str.cannot_open
jmp 0x42c44e
mov ecx, ebx
call fcn.0040cdc0
push eax
push 0x463dbc
push edi
push str.cannot_parse_exec
lea ecx, [ebp - 0x3c]
call fcn.0040dcb0
mov ecx, eax
call fcn.0040dcb0
mov ecx, eax
call fcn.0040dcb0
mov ecx, eax
call fcn.0040dcb0
lea ecx, [ebp - 0x3c]
call fcn.0040cdc0
push eax
lea ecx, [ebp - 0x40]
call fcn.00421180
push 0x47e3b4
lea eax, [ebp - 0x40]
push eax
call fcn.00434f6b
int3
Function at 0x42d980
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461a22
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4823c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push edi
call fcn.0042e0a0
mov esi, eax
test esi, esi
je 0x42da18
mov ecx, dword [esi]
cmp dword [ecx + 4], 4
jne 0x42d9db
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test ecx, ecx
je 0x42d9e5
mov eax, dword [ecx]
push 1
call dword [eax]
push 0x18
call fcn.004334f9
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x42da0f
push dword [ebp + 0xc]
mov ecx, eax
push edi
call fcn.0042d2b0
mov dword [esi], eax
jmp 0x42daad
xor eax, eax
mov dword [esi], eax
jmp 0x42daad
inc dword [ebx + 0x64]
mov ecx, ebx
call fcn.0042e150
mov dl, byte [edi]
mov ecx, 0x1505
mov esi, edi
test dl, dl
je 0x42da45
nop
mov eax, ecx
lea esi, [esi + 1]
shl ecx, 5
add ecx, eax
movsx eax, dl
mov dl, byte [esi]
add ecx, eax
test dl, dl
jne 0x42da30
mov eax, ecx
xor edx, edx
div dword [ebx + 0x60]
mov eax, dword [ebx + 0x5c]
push 8
lea esi, [eax + edx*8]
mov eax, dword [esi + 4]
mov dword [ebp + 8], eax
call fcn.004334f9
mov ebx, eax
add esp, 4
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 1
test ebx, ebx
je 0x42daa8
push 0x18
call fcn.004334f9
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x42da94
push dword [ebp + 0xc]
mov ecx, eax
push edi
call fcn.0042d2b0
jmp 0x42da96
xor eax, eax
push dword [ebp + 8]
mov ecx, ebx
mov byte [ebp - 4], 1
push eax
push edi
call fcn.00432210
jmp 0x42daaa
xor eax, eax
mov dword [esi + 4], eax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42dad0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461a22
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4823c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push edi
call fcn.0042e0a0
mov esi, eax
test esi, esi
je 0x42db6b
mov ecx, dword [esi]
cmp dword [ecx + 4], 4
jne 0x42db2b
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
test ecx, ecx
je 0x42db35
mov eax, dword [ecx]
push 1
call dword [eax]
push 0x18
call fcn.004334f9
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x42db62
push dword [ebp + 0x10]
mov ecx, eax
push dword [ebp + 0xc]
push edi
call fcn.0042d340
mov dword [esi], eax
jmp 0x42dc02
xor eax, eax
mov dword [esi], eax
jmp 0x42dc02
inc dword [ebx + 0x64]
mov ecx, ebx
call fcn.0042e150
mov dl, byte [edi]
mov ecx, 0x1505
mov esi, edi
test dl, dl
je 0x42db97
mov eax, ecx
lea esi, [esi + 1]
shl ecx, 5
add ecx, eax
movsx eax, dl
mov dl, byte [esi]
add ecx, eax
test dl, dl
jne 0x42db82
mov eax, ecx
xor edx, edx
div dword [ebx + 0x60]
mov eax, dword [ebx + 0x5c]
push 8
lea esi, [eax + edx*8]
mov eax, dword [esi + 4]
mov dword [ebp + 8], eax
call fcn.004334f9
mov ebx, eax
add esp, 4
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 1
test ebx, ebx
je 0x42dbfd
push 0x18
call fcn.004334f9
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x42dbe9
push dword [ebp + 0x10]
mov ecx, eax
push dword [ebp + 0xc]
push edi
call fcn.0042d340
jmp 0x42dbeb
xor eax, eax
push dword [ebp + 8]
mov ecx, ebx
mov byte [ebp - 4], 1
push eax
push edi
call fcn.00432210
jmp 0x42dbff
xor eax, eax
mov dword [esi + 4], eax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42dc20
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461a22
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4823c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push edi
call fcn.0042e0a0
mov esi, eax
test esi, esi
je 0x42dcb8
mov ecx, dword [esi]
cmp dword [ecx + 4], 4
jne 0x42dc7b
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test ecx, ecx
je 0x42dc85
mov eax, dword [ecx]
push 1
call dword [eax]
push 0x18
call fcn.004334f9
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x42dcaf
push dword [ebp + 0xc]
mov ecx, eax
push edi
call fcn.0042d270
mov dword [esi], eax
jmp 0x42dd4d
xor eax, eax
mov dword [esi], eax
jmp 0x42dd4d
inc dword [ebx + 0x64]
mov ecx, ebx
call fcn.0042e150
mov dl, byte [edi]
mov ecx, 0x1505
mov esi, edi
test dl, dl
je 0x42dce5
nop
mov eax, ecx
lea esi, [esi + 1]
shl ecx, 5
add ecx, eax
movsx eax, dl
mov dl, byte [esi]
add ecx, eax
test dl, dl
jne 0x42dcd0
mov eax, ecx
xor edx, edx
div dword [ebx + 0x60]
mov eax, dword [ebx + 0x5c]
push 8
lea esi, [eax + edx*8]
mov eax, dword [esi + 4]
mov dword [ebp + 8], eax
call fcn.004334f9
mov ebx, eax
add esp, 4
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 1
test ebx, ebx
je 0x42dd48
push 0x18
call fcn.004334f9
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x42dd34
push dword [ebp + 0xc]
mov ecx, eax
push edi
call fcn.0042d270
jmp 0x42dd36
xor eax, eax
push dword [ebp + 8]
mov ecx, ebx
mov byte [ebp - 4], 1
push eax
push edi
call fcn.00432210
jmp 0x42dd4a
xor eax, eax
mov dword [esi + 4], eax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42de90
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461ae5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4823c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push edi
call fcn.0042e0a0
test eax, eax
je 0x42defc
mov ecx, dword [eax]
mov eax, dword [ebp + 0xc]
cmp dword [ecx + 4], 4
je 0x42def2
mov dword [eax], 0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ecx + 0x14]
mov dword [eax], ecx
jmp 0x42e07f
inc dword [ebx + 0x64]
mov ecx, ebx
call fcn.0042e150
mov dl, byte [edi]
mov ecx, 0x1505
mov esi, edi
test dl, dl
je 0x42df28
mov eax, ecx
lea esi, [esi + 1]
shl ecx, 5
add ecx, eax
movsx eax, dl
mov dl, byte [esi]
add ecx, eax
test dl, dl
jne 0x42df13
mov eax, ecx
xor edx, edx
div dword [ebx + 0x60]
mov eax, dword [ebx + 0x5c]
push 0x68
lea eax, [eax + edx*8]
mov dword [ebp - 0x10], eax
mov eax, dword [eax + 4]
mov dword [ebp + 8], eax
call fcn.004334f9
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x42e01a
lea ecx, [esi + 4]
call fcn.0041eac0
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
call fcn.0041eac0
push 0x84
mov byte [ebp - 4], 2
mov dword [esi], ebx
mov dword [esi + 0x60], 0x10
mov dword [ebp - 0x18], 0x10
call fcn.0043366f
add esp, 4
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x42dfbb
push fcn.00432240
push 0x432230
push 0x10
lea ebx, [eax + 4]
mov dword [eax], 0x10
push 8
push ebx
call fcn.00433b1a
jmp 0x42dfbd
xor ebx, ebx
mov eax, dword [esi]
lea ecx, [esi + 4]
mov byte [ebp - 4], 2
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x64], 0
test eax, eax
jne 0x42dfe9
push 0x46e748
call fcn.0041eb50
push edi
lea ecx, [esi + 0x30]
call fcn.0041eb50
jmp 0x42e01c
add eax, 4
push eax
call fcn.0041eaf0
mov eax, dword [esi]
cmp dword [eax], 0
je 0x42e006
push 0x46eda4
lea ecx, [esi + 4]
call fcn.0041ec70
push edi
lea ecx, [esi + 4]
call fcn.0041ec70
push edi
lea ecx, [esi + 0x30]
call fcn.0041eb50
jmp 0x42e01c
xor esi, esi
mov ebx, dword [ebp + 0xc]
push 8
mov dword [ebp - 4], 0xffffffff
mov dword [ebx], esi
call fcn.004334f9
mov esi, eax
add esp, 4
mov dword [ebp + 0xc], esi
mov dword [ebp - 4], 4
test esi, esi
je 0x42e077
push 0x18
call fcn.004334f9
add esp, 4
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x42e063
push dword [ebx]
mov ecx, eax
push edi
call fcn.0042d3f0
jmp 0x42e065
xor eax, eax
push dword [ebp + 8]
mov ecx, esi
mov byte [ebp - 4], 4
push eax
push edi
call fcn.00432210
jmp 0x42e079
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42e0a0
Capabilities:
Hash data using djb2

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
mov edx, 0x1505
mov esi, edi
mov bl, byte [edi]
test bl, bl
je 0x42e0c9
mov eax, edx
lea esi, [esi + 1]
shl edx, 5
add edx, eax
movsx eax, bl
mov bl, byte [esi]
add edx, eax
test bl, bl
jne 0x42e0b4
mov eax, edx
xor edx, edx
div dword [ecx + 0x60]
mov eax, dword [esp + 0x14]
mov dword [eax], edx
mov eax, dword [ecx + 0x5c]
mov esi, dword [eax + edx*8 + 4]
test esi, esi
je 0x42e118
mov eax, dword [esi]
mov ecx, edi
mov eax, dword [eax + 8]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x42e108
test dl, dl
je 0x42e104
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x42e108
add ecx, 2
add eax, 2
test dl, dl
jne 0x42e0e8
xor eax, eax
jmp 0x42e10d
sbb eax, eax
or eax, 1
test eax, eax
je 0x42e120
mov esi, dword [esi + 4]
test esi, esi
jne 0x42e0e1
pop edi
pop esi
xor eax, eax
pop ebx
ret 8
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x42e150
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461b42
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4823c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x64]
mov ebx, dword [edi + 0x60]
add eax, eax
mov dword [ebp - 0x10], ebx
cmp eax, ebx
jl 0x42e2a2
mov eax, dword [edi + 0x5c]
add ebx, ebx
mov dword [ebp - 0x18], eax
xor ecx, ecx
mov eax, ebx
mov dword [edi + 0x60], ebx
mov edx, 8
mov dword [ebp - 0x14], ebx
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.0043366f
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x42e1ea
push fcn.00432240
push 0x432230
push ebx
lea esi, [eax + 4]
mov dword [eax], ebx
push 8
push esi
call fcn.00433b1a
jmp 0x42e1ec
xor esi, esi
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x5c], esi
test ecx, ecx
jle 0x42e26e
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 0x14], eax
mov esi, dword [eax]
test esi, esi
je 0x42e25a
nop dword [eax]
mov ecx, dword [esi]
mov eax, 0x1505
mov edx, dword [ecx + 8]
mov bl, byte [edx]
test bl, bl
je 0x42e235
mov ecx, eax
lea edx, [edx + 1]
shl eax, 5
add eax, ecx
movsx ecx, bl
mov bl, byte [edx]
add eax, ecx
test bl, bl
jne 0x42e220
xor edx, edx
mov ecx, dword [esi + 4]
div dword [edi + 0x60]
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + edx*8 + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 0x5c]
mov dword [eax + edx*8 + 4], esi
mov esi, ecx
test ecx, ecx
jne 0x42e210
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [eax], 0
add eax, 8
sub ecx, 1
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
jne 0x42e206
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x42e2a2
push fcn.00432240
push dword [eax - 4]
lea esi, [eax - 4]
mov dword [ebp - 4], 1
push 8
push eax
call fcn.0043355a
mov eax, dword [esi]
lea eax, [eax*8 + 4]
push eax
push esi
call fcn.00433b8e
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42e500
Capabilities:
Hash data using djb2

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
mov edx, 0x1505
push esi
push edi
mov dword [esp + 0x10], ecx
mov esi, ebp
mov bl, byte [ebp]
test bl, bl
je 0x42e535
nop dword [eax + eax]
mov eax, edx
lea esi, [esi + 1]
shl edx, 5
add edx, eax
movsx eax, bl
mov bl, byte [esi]
add edx, eax
test bl, bl
jne 0x42e520
mov eax, edx
xor edx, edx
div dword [ecx + 0x60]
mov eax, dword [ecx + 0x5c]
mov esi, dword [eax + edx*8 + 4]
lea edi, [eax + edx*8]
test esi, esi
je 0x42e589
nop word [eax + eax]
mov eax, dword [esi]
mov ecx, ebp
mov eax, dword [eax + 8]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x42e577
test dl, dl
je 0x42e573
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x42e577
add ecx, 2
add eax, 2
test dl, dl
jne 0x42e557
xor eax, eax
jmp 0x42e57c
sbb eax, eax
or eax, 1
test eax, eax
je 0x42e593
mov edi, esi
mov esi, dword [edi + 4]
test esi, esi
jne 0x42e550
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret 4
mov eax, dword [esi + 4]
mov ecx, esi
mov dword [edi + 4], eax
mov dword [esi + 4], 0
call fcn.00432240
push 8
push esi
call fcn.00433529
mov eax, dword [esp + 0x18]
add esp, 8
dec dword [eax + 0x64]
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4

Function at 0x42ee80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4608bd
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4823c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x3c]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x40], eax
call fcn.0041eac0
xor esi, esi
mov dword [ebp - 4], 0
cmp dword [0x482280], esi
je 0x42ef2a
mov edi, 0x482280
push 0x46e748
lea ecx, [ebp - 0x3c]
call fcn.0041eb50
push dword [ebp - 0x40]
lea ecx, [ebp - 0x3c]
call fcn.0041ec70
push 0x46526c
lea ecx, [ebp - 0x3c]
call fcn.0041ec70
push ebx
lea ecx, [ebp - 0x3c]
call fcn.0041ec70
push dword [edi]
lea ecx, [ebp - 0x3c]
call fcn.0041ec70
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x42ef52
inc esi
cmp dword [esi*4 + 0x482280], 0
lea edi, [esi*4 + 0x482280]
jne 0x42eed2
xor bl, bl
lea ecx, [ebp - 0x3c]
call fcn.0041eae0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004334e6
mov esp, ebp
pop ebp
ret
mov bl, 1
jmp 0x42ef2c

Function at 0x43423f
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x43427e
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43427e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43427e
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x43427e
cmp dword [ecx + 0x74], 0xe
jbe 0x43427e
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret