joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428150
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x437888]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.kernel32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00420045
mov dword [ebp - 0x14], eax
cmp dword [0x43a0dc], esi
jne 0x428243
push 0x800
push esi
push 0x432fa4
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4281d0
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x57
jne 0x428323
push esi
push esi
push 0x432fa4
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x428323
push 0x432fbc
push edi
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x428323
push eax
call ebx
push 0x432fc8
push edi
mov dword [0x43a0dc], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
push eax
call ebx
push 0x432fd8
push edi
mov dword [0x43a0e0], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
push eax
call ebx
push 0x432fec
push edi
mov dword [0x43a0e4], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43a0ec], eax
test eax, eax
je 0x428240
push 0x433008
push edi
call dword [sym.imp.kernel32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43a0e8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
test eax, eax
je 0x428268
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42825b
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x42827d
push 4
pop eax
jmp 0x428325
cmp dword [ebp - 0x14], esi
je 0x42827d
push dword [0x43a0dc]
call dword [sym.imp.kernel32.dll_DecodePointer]
push 3
jmp 0x428262
mov eax, dword [0x43a0e8]
mov ebx, dword [sym.imp.kernel32.dll_DecodePointer]
cmp eax, edi
je 0x4282db
cmp dword [0x43a0ec], edi
je 0x4282db
push eax
call ebx
push dword [0x43a0ec]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4282db
test eax, eax
je 0x4282db
call ecx
test eax, eax
je 0x4282d0
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4282d0
test byte [ebp - 8], 1
jne 0x4282db
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x42830b
mov eax, dword [0x43a0e0]
cmp eax, edi
je 0x428308
push eax
call ebx
test eax, eax
je 0x428308
call eax
mov esi, eax
test esi, esi
je 0x428308
mov eax, dword [0x43a0e4]
cmp eax, edi
je 0x428308
push eax
call ebx
test eax, eax
je 0x428308
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x43a0dc]
call ebx
test eax, eax
je 0x428323
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x428325
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041d486
mov esp, ebp
pop ebp
ret
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x1bbf493d
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..text_1
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
mov esi, 0x29d910a6
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x4072ad
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x46bc7c], 0
jne 0x4072eb
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4072c1
mov dword [ecx*4 + 0x46bc78], eax
inc ecx
cmp ecx, 0x100
jl 0x4072bc
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x407318
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x46bc78]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4072f9
not eax
pop ebp
ret 0xc

Function at 0x432006
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
call 0x43200c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40729f
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43201e
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x100279f
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
and dword [ebp - 4], 0
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x1c]
mov esi, ecx
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ecx, dword [ebp + 0x20]
test ecx, ecx
je 0x10027b5
mov edx, dword [ebp + 0x1c]
mov dword [ecx], edx
test eax, eax
jne 0x10027c5
mov ecx, esi
call fcn.0100275c
mov ecx, dword [ebp - 4]
mov dword [esi], ecx
pop esi
leave
ret 0x1c

Function at 0x10028e8
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, dword [ecx]
push 0x27
pop ecx
cmp cx, word [eax]
jne 0x10028fe
push eax
call dword [sym.imp.USER32.dll_CharNextW]
push 0x27
pop ecx
cmp cx, word [eax]
je 0x10028fe
xor eax, eax
inc eax
ret
xor eax, eax
ret

Function at 0x1002ebd
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
jl 0x1002ec3
cmp eax, dword [ecx + 8]
jge 0x1002ec3
mov ecx, dword [ecx]
lea eax, [ecx + eax*4]
pop ebp
ret 4
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]

Function at 0x1004096
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 8]
push edi
mov edi, dword [0x100a070]
push 4
inc eax
push eax
push dword [esi]
call edi
add esp, 0xc
test eax, eax
jne 0x100406d
xor eax, eax
jmp 0x100409b
mov dword [esi], eax
mov eax, dword [esi + 8]
push 4
inc eax
push eax
push dword [esi + 4]
call edi
add esp, 0xc
test eax, eax
je 0x1004069
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
mov dword [esi + 4], eax
push dword [esi + 8]
call fcn.010036ee
inc dword [esi + 8]
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 8

Function at 0x1005500
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x10054af
mov eax, 0x80070057
jmp 0x1005522
mov edx, dword [esi + 8]
xor eax, eax
push ebx
push edi
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
cmp edx, dword [esi + 0xc]
jae 0x1005510
mov ebx, dword [edx]
test ebx, ebx
je 0x10054fe
cmp dword [ebp + 0x10], 0
je 0x10054de
mov edi, dword [ebx]
mov esi, dword [ebp + 0x10]
push 4
pop ecx
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
mov esi, dword [ebp + 8]
jne 0x10054fe
push 0
call dword [ebx + 0x1c]
push eax
push dword [ebx]
call fcn.01003d38
test eax, eax
jl 0x1005520
push 0
call dword [ebx + 4]
mov dword [ebp - 8], eax
test eax, eax
jl 0x1005520
mov edx, dword [ebp - 4]
add edx, 4
mov dword [ebp - 4], edx
cmp edx, dword [esi + 0xc]
jb 0x10054c1
mov eax, dword [ebp - 8]
test eax, eax
jl 0x1005520
cmp dword [ebp + 0xc], 0
je 0x1005520
push 0
push dword [esi + 4]
call fcn.01003b1c
pop edi
pop ebx
pop esi
leave
ret 0xc
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x42e072
nop
mov ebx, 0x407ef8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x97c167d
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e060
nop
nop
nop
mov eax, section..rsrc_1
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e0d2
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x24f1cf7
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x403050
Capabilities:
Encrypt data using salsa20 or chacha
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x5d8d34]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x403220
mov eax, dword [esp + 8]
mov dword [eax], 0x61707865
mov dword [eax + 4], 0x61707865
mov dword [eax + 8], 0x61707865
mov dword [eax + 0xc], 0x61707865
mov dword [eax + 0x10], 0x3320646e
mov dword [eax + 0x14], 0x3320646e
mov dword [eax + 0x18], 0x3320646e
mov dword [eax + 0x1c], 0x3320646e
mov dword [eax + 0x20], 0x79622d32
mov dword [eax + 0x24], 0x79622d32
mov dword [eax + 0x28], 0x79622d32
mov dword [eax + 0x2c], 0x79622d32
mov dword [eax + 0x30], 0x6b206574
mov dword [eax + 0x34], 0x6b206574
mov dword [eax + 0x38], 0x6b206574
mov dword [eax + 0x3c], 0x6b206574
mov ecx, dword [esp + 4]
mov edx, dword [ecx]
mov dword [eax + 0x40], edx
mov dword [eax + 0x44], edx
mov dword [eax + 0x48], edx
mov dword [eax + 0x4c], edx
mov edx, dword [ecx + 4]
mov dword [eax + 0x50], edx
mov dword [eax + 0x54], edx
mov dword [eax + 0x58], edx
mov dword [eax + 0x5c], edx
mov edx, dword [ecx + 8]
mov dword [eax + 0x60], edx
mov dword [eax + 0x64], edx
mov dword [eax + 0x68], edx
mov dword [eax + 0x6c], edx
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x70], edx
mov dword [eax + 0x74], edx
mov dword [eax + 0x78], edx
mov dword [eax + 0x7c], edx
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x80], edx
mov dword [eax + 0x84], edx
mov dword [eax + 0x88], edx
mov dword [eax + 0x8c], edx
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x90], edx
mov dword [eax + 0x94], edx
mov dword [eax + 0x98], edx
mov dword [eax + 0x9c], edx
mov edx, dword [ecx + 0x18]
mov dword [eax + 0xa0], edx
mov dword [eax + 0xa4], edx
mov dword [eax + 0xa8], edx
mov dword [eax + 0xac], edx
mov ecx, dword [ecx + 0x1c]
mov dword [eax + 0xb0], ecx
mov dword [eax + 0xb4], ecx
mov dword [eax + 0xb8], ecx
mov dword [eax + 0xbc], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax + 0xc0], ecx
lea edx, [ecx + 1]
mov dword [eax + 0xc4], edx
lea edx, [ecx + 2]
mov dword [eax + 0xc8], edx
add ecx, 3
mov dword [eax + 0xcc], ecx
mov dword [eax + 0xd0], 0
mov dword [eax + 0xd4], 0
mov dword [eax + 0xd8], 0
mov dword [eax + 0xdc], 0
mov dword [eax + 0xe0], 0
mov dword [eax + 0xe4], 0
mov dword [eax + 0xe8], 0
mov dword [eax + 0xec], 0
mov dword [eax + 0xf0], 0
mov dword [eax + 0xf4], 0
mov dword [eax + 0xf8], 0
mov dword [eax + 0xfc], 0
ret
call fcn.0046b730
jmp fcn.00403050
Function at 0x40b9c0
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword [0x5d8d34]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40bb8b
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40b9e9
mov eax, 0x7000000
jmp 0x40b9f1
test eax, eax
je 0x40bb66
mov dword [esp + 0x34], eax
mov ecx, dword [0x5d8d34]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x448]
mov ebx, dword [ecx + 0x44c]
mov ebp, edx
shl edx, 0x11
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
lea edx, [ebp + ebx]
shr edx, 6
inc edx
mov dword [ecx + 0x448], ebx
mov dword [ecx + 0x44c], ebp
mov dword [esp], edx
call fcn.0046cae0
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x24], xmm0
mov eax, dword [esp + 0x28]
mov ecx, eax
shr ecx, 0x14
and ecx, 0x7ff
mov edx, eax
shr edx, 0xf
and edx, 0x1f
shl eax, 5
mov ebx, dword [esp + 0x24]
shr ebx, 0x1b
or ebx, eax
lea eax, [0x5a9f20]
movsd xmm0, qword [eax + edx*8]
mov ebp, ecx
add ecx, 0xfffffc01
add edx, 1
mov esi, 0
adc esi, 0
test esi, esi
jne 0x40bb7e
cmp edx, 0x21
jae 0x40bb72
movsd qword [esp + 0x14], xmm0
add ebp, 0xfffffc01
mov ebp, 0xffffffff
adc ebp, 0
and ebx, 0xfffff
mov dword [esp + 0x10], ebx
movsd xmm0, qword [eax + edx*8]
movsd qword [esp + 0x1c], xmm0
mov dword [esp], ecx
mov dword [esp + 4], ebp
call fcn.0045f5e0
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x2c], xmm0
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0045f6b0
movsd xmm0, qword [esp + 0x2c]
movsd xmm1, qword [esp + 0x14]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x1c]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0x5162b8]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x516310]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40bb41
xorps xmm0, xmm0
mov eax, dword [esp + 0x34]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x516348]
mulsd xmm1, xmm2
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x40], eax
add esp, 0x38
ret
mov dword [esp + 0x40], 0
add esp, 0x38
ret
mov eax, edx
mov ecx, 0x21
call fcn.0046cbc0
mov eax, edx
mov ecx, 0x21
call fcn.0046cc50
nop
call fcn.0046b730
jmp fcn.0040b9c0
Function at 0x413270
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [0x5d8d34]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41346e
sub esp, 0x18
mov eax, dword [0x5d8c60]
test eax, eax
jne 0x413457
nop
nop
lea eax, [0x5d8c50]
mov dword [esp], eax
call fcn.0040a010
mov eax, dword [0x5d8c54]
test eax, eax
je 0x4132b8
cmp dword [eax + 8], 0xcc
jne 0x41332e
mov edx, dword [0x5d8c58]
test edx, edx
jne 0x413310
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x5db350]
mov dword [esp + 8], eax
call fcn.0040bba0
mov eax, dword [esp + 0xc]
mov dword [0x5d8c58], eax
mov ecx, dword [0x5d8c5c]
mov dword [eax], ecx
mov eax, dword [0x5d8c58]
mov dword [0x5d8c5c], eax
movzx eax, byte [0x5d90e0]
test al, al
jne 0x413310
xor eax, eax
jmp 0x413428
mov edx, dword [0x5d8c58]
mov ebx, dword [edx + 4]
mov dword [0x5d8c58], ebx
mov ebx, dword [0x5d8c54]
mov dword [edx + 4], ebx
mov dword [0x5d8c54], edx
mov edx, dword [0x5d8c54]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x413407
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
lea eax, [edx + 8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004713a0
mov eax, dword [0x5d8e30]
mov ecx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
test eax, eax
jne 0x413380
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
jmp 0x4133c0
call fcn.0046cba0
mov eax, dword [esp + 0x20]
mov dword [edi], eax
mov edx, dword [esp + 0x14]
mov ebx, dword [edx + ecx*4 + 0x10]
mov dword [edi + 4], ebx
mov ebx, dword [esp + 0x28]
mov dword [edi + 8], ebx
mov ebp, dword [edx + ecx*4 + 0x1c]
mov dword [edi + 0xc], ebp
mov ebp, dword [esp + 0x2c]
mov dword [edi + 0x10], ebp
mov esi, dword [edx + ecx*4 + 0x20]
mov dword [edi + 0x14], esi
mov esi, dword [esp + 0x1c]
mov dword [edi + 0x18], esi
mov esi, dword [edx + ecx*4 + 0x14]
mov dword [edi + 0x1c], esi
mov dword [edx + ecx*4 + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [edx + ecx*4 + 0x18], eax
mov dword [edx + ecx*4 + 0x1c], ebx
mov dword [edx + ecx*4 + 0x20], ebp
mov eax, dword [esp + 0x1c]
mov dword [edx + ecx*4 + 0x14], eax
nop
nop
lea eax, [0x5d8c50]
mov dword [esp], eax
call fcn.0040a230
nop
lea eax, [0x5d8c4c]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00471520
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.0046cbc0
lea edx, [0x5a92f0]
movzx ebx, byte [edx + eax]
lea ebp, [0x5d90e0]
mov byte [ebp + ecx], bl
lea eax, [ecx + 1]
cmp eax, 0x80
jge 0x413310
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 5
jb 0x413411
mov ecx, 5
call fcn.0046cbb0
lea eax, [0x4f0afb]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.00466ee0
nop
call fcn.0046b730
jmp fcn.00413270
Function at 0x418250
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x5d8d34]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4182d9
sub esp, 0x10
mov eax, dword [esp + 0x14]
test byte [eax], al
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 1
call fcn.00471250
movzx eax, byte [esp + 0xc]
test al, al
je 0x4182be
mov eax, dword [esp + 0x14]
movzx ecx, byte [eax + 6]
test cl, cl
jne 0x4182c2
mov dword [esp], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 8], ecx
call fcn.004182f0
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.004188a0
add esp, 0x10
ret
add esp, 0x10
ret
lea eax, [0x4f0b13]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.00466ee0
nop
call fcn.0046b730
jmp fcn.00418250
Function at 0x427760
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x5d8d34]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4278a4
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.004253f0
mov eax, dword [esp + 4]
test eax, eax
je 0x42788d
mov dword [esp + 0xc], eax
lea ecx, [eax + 0x4c]
mov dword [esp + 0x18], ecx
mov edx, dword [0x5d8d34]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov ebx, dword [edx + 0x18]
nop
inc dword [ebx + 0x7c]
mov edx, dword [edx + 0x18]
mov dword [esp + 0x14], edx
mov dword [esp], eax
call fcn.00422e50
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
sub eax, dword [ecx + 0xc]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x24]
movzx ebx, byte [edx + 6]
mov byte [esp + 0xa], bl
nop
mov ebp, dword [esp + 0x18]
mov dword [esp], ebp
call fcn.0040a010
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x50]
mov edx, dword [esp + 0x10]
movzx ebx, byte [esp + 0xa]
jmp 0x4277f7
mov ecx, ebp
mov ebp, dword [ecx]
test ebp, ebp
je 0x427822
movzx esi, word [ebp + 4]
cmp esi, edx
jne 0x42780c
cmp byte [ebp + 6], bl
je 0x427817
cmp esi, edx
ja 0x42781e
jne 0x4277f5
cmp byte [ebp + 6], bl
jbe 0x4277f5
jmp 0x42781e
mov ebx, 1
jmp 0x427824
xor ebx, ebx
jmp 0x427824
xor ebx, ebx
mov byte [esp + 0xb], bl
test bl, bl
jne 0x427842
mov ebx, dword [esp + 0x24]
mov word [ebx + 4], dx
mov edx, dword [ecx]
mov dword [ebx], edx
mov dword [ecx], ebx
mov dword [esp], eax
call fcn.00427660
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.0040a230
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
nop
mov ebx, dword [0x5d8d34]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x42787d
movzx eax, byte [ebx + 0x69]
test al, al
je 0x42787d
mov dword [ebx + 8], 0xfffffade
movzx eax, byte [esp + 0xb]
xor eax, 1
mov byte [esp + 0x28], al
add esp, 0x1c
ret
lea eax, [0x4f278e]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.00466ee0
nop
call fcn.0046b730
jmp fcn.00427760
Function at 0x428030
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x5d8d34]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42820a
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 2
ja 0x428135
cmp cl, 1
je 0x4280c4
cmp cl, 2
jne 0x4281f3
mov ecx, dword [eax + 8]
test byte [ecx], al
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.004712f0
nop
nop
lea eax, [0x5c5308]
mov dword [esp], eax
call fcn.0040a010
mov eax, dword [0x5c52fc]
sub eax, dword [0x5c52e0]
nop
mov dword [0x5c52fc], eax
mov eax, dword [0x5c52ec]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x5c52ec], ecx
nop
lea eax, [0x5c5308]
mov dword [esp], eax
call fcn.0040a230
jmp 0x4281ef
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
mov esi, dword [esp + 0x1c]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.00413270
nop
nop
lea eax, [0x5c5308]
mov dword [esp], eax
call fcn.0040a010
mov eax, dword [0x5c525c]
sub eax, dword [0x5c5240]
nop
mov dword [0x5c525c], eax
mov eax, dword [0x5c524c]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x5c524c], ecx
nop
lea eax, [0x5c5308]
mov dword [esp], eax
call fcn.0040a230
jmp 0x4281ef
cmp cl, 3
je 0x428197
cmp cl, 4
jne 0x428148
mov byte [eax + 8], 1
jmp 0x4281ef
cmp cl, 5
jne 0x4281f3
nop
nop
lea eax, [0x5c5308]
mov dword [esp], eax
call fcn.0040a010
mov eax, dword [0x5c52d4]
sub eax, dword [0x5c52b8]
nop
mov dword [0x5c52d4], eax
mov eax, dword [0x5c52c4]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x5c52c4], ecx
nop
lea eax, [0x5c5308]
mov dword [esp], eax
call fcn.0040a230
jmp 0x4281ef
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.0042d560
nop
nop
lea eax, [0x5c5308]
mov dword [esp], eax
call fcn.0040a010
mov eax, dword [0x5c5284]
sub eax, dword [0x5c5268]
nop
mov dword [0x5c5284], eax
mov eax, dword [0x5c5274]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x5c5274], ecx
nop
nop
lea eax, [0x5c5308]
mov dword [esp], eax
call fcn.0040a230
add esp, 0x14
ret
lea eax, [0x4edb41]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00466ee0
nop
call fcn.0046b730
jmp fcn.00428030