joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4256d0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x34
push ebx
push ebp
push esi
push edi
push 0x444234
push eax
call fcn.00409240
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x4256f5
mov esi, str.could_not_load_kv6_file
call fcn.0041ac10
push 0
push 4
push ebp
call fcn.0040a239
add esp, 0xc
push ebp
push 1
lea ecx, [esp + 0x20]
push 0x1c
push ecx
call fcn.00409c38
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x40]
add edx, 2
imul edx, dword [esp + 0x28]
lea eax, [edx + eax*4]
add eax, eax
mov dword [esp + 0x24], eax
add eax, 0x28
push eax
call fcn.00409567
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x42574f
push ebp
call fcn.0040a322
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
test bl, 3
je 0x42575e
mov esi, str.loadkv6_malloc_not_32_bit_aligned
call fcn.0041ac10
lea eax, [ebx + 0x28]
mov ecx, 7
lea esi, [esp + 0x18]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x1c], eax
mov ecx, dword [esp + 0x30]
lea ecx, [eax + ecx*8]
mov dword [ebx + 0x20], ecx
mov edx, dword [esp + 0x18]
push ebp
lea ecx, [ecx + edx*4]
mov edx, dword [esp + 0x18]
push 1
push edx
push eax
mov dword [ebx + 0x24], ecx
call fcn.00409c38
push ebp
call fcn.0040a322
add esp, 0x14
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x34
ret

Function at 0x425f30
Capabilities:
Read file on windows

Disassembly:
mov al, byte [0x17c310c]
sub esp, 0x110
push esi
push edi
mov byte [0x44a4f4], 0x59
mov byte [0x44a4f5], 0x79
mov byte [0x44a4f6], 0x4e
mov byte [0x44a4f7], 0x6e
cmp al, 6
jae 0x426078
movzx eax, al
mov ecx, dword [eax*4 + 0x44a670]
push ecx
push str.AoSLang
lea edx, [esp + 0x18]
push str.languages_s__s.bin
push edx
call fcn.00409382
lea eax, [esp + 0x20]
push 0x444234
push eax
mov dword [0x47d5fc], 0
call fcn.00409240
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x425fb8
push str.File_not_found._n
call fcn.0040abbc
add esp, 4
pop edi
pop esi
add esp, 0x110
ret
push 2
push 0
push esi
call fcn.0040a239
push esi
call fcn.00409e41
push esi
mov edi, eax
call fcn.0040aafe
lea ecx, [edi + 3]
shr ecx, 2
add ecx, ecx
add ecx, ecx
push ecx
call fcn.00409567
add esp, 0x18
mov dword [0x47d600], eax
test eax, eax
jne 0x42600b
push str.Memory_allocation_error__n
call fcn.0040abbc
add esp, 4
push esi
call fcn.0040a322
add esp, 4
pop edi
pop esi
add esp, 0x110
ret
push esi
push edi
push 1
push eax
call fcn.00409c38
mov eax, dword [0x47d600]
mov edx, dword [eax + 4]
add esp, 0x10
cmp dword [eax], 0x30525453
mov dword [esp + 0xc], edx
jne 0x42606f
push 0x61
mov dword [0x47d5fc], 1
call fcn.00425de0
movzx ecx, byte [eax]
movzx edx, byte [eax + 1]
mov byte [0x44a4f4], cl
movzx ecx, byte [eax + 2]
mov byte [0x44a4f5], dl
movzx edx, byte [eax + 3]
add esp, 4
add eax, 4
mov byte [0x44a4f6], cl
mov byte [0x44a4f7], dl
mov dword [0x47d604], eax
push esi
call fcn.0040a322
add esp, 4
pop edi
pop esi
add esp, 0x110
ret
Function at 0x427de0
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov edi, eax
mov eax, dword [edi + 0x10]
add ebp, ebp
push eax
add ebp, ebp
call fcn.0040aa08
mov ebx, eax
push ebx
call fcn.00409567
add esp, 8
mov esi, eax
push edi
test esi, esi
jne 0x427e16
call fcn.0040a322
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
ret
push 1
push ebx
push esi
call fcn.00409c38
push edi
call fcn.0040a322
mov edi, dword [esp + 0x30]
mov ecx, ebp
imul ecx, edi
push ecx
call fcn.00409567
mov ebx, dword [esp + 0x2c]
add esp, 0x18
mov dword [ebx], eax
test eax, eax
je 0x427e72
mov edx, dword [esp + 0x18]
push edi
push edx
push ebp
push eax
push esi
call fcn.00426f70
add esp, 0x14
test eax, eax
jns 0x427e72
push esi
call fcn.0040952d
mov eax, dword [ebx]
push eax
call fcn.0040952d
add esp, 8
pop edi
pop esi
pop ebp
mov dword [ebx], 0
pop ebx
ret
push esi
call fcn.0040952d
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x432e80
Capabilities:
Get socket status

Disassembly:
sub esp, 0x220
mov eax, 0x10624dd3
mul ecx
mov eax, dword [esi]
shr edx, 6
mov dword [esp + 4], edx
imul edx, edx, 0x3e8
sub ecx, edx
imul ecx, ecx, 0x3e8
push ebp
xor ebp, ebp
mov dword [esp + 0xc], ecx
mov dword [esp + 0x118], ebp
mov dword [esp + 0x10], ebp
test al, 1
je 0x432ec6
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], 1
test al, 2
je 0x432edc
mov dword [esp + 0x11c], edi
mov dword [esp + 0x118], 1
lea eax, [esp + 8]
push eax
push ebp
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x124]
push edx
lea eax, [edi + 1]
push eax
call dword [sym.imp.WS2_32.dll_select]
cmp eax, ebp
jge 0x432f08
or eax, 0xffffffff
pop ebp
add esp, 0x220
ret
mov dword [esi], ebp
cmp eax, ebp
je 0x432f35
mov ebp, dword [sym.imp.WS2_32.dll___WSAFDIsSet]
lea ecx, [esp + 0x10]
push ecx
push edi
call ebp
test eax, eax
je 0x432f23
or dword [esi], 1
lea edx, [esp + 0x118]
push edx
push edi
call ebp
test eax, eax
je 0x432f35
or dword [esi], 2
xor eax, eax
pop ebp
add esp, 0x220
ret

Function at 0x432f40
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x24
push 0
push 0
mov eax, esi
neg eax
sbb eax, eax
lea ecx, [esp + 0x10]
and eax, ecx
push eax
mov edx, esi
neg edx
sbb edx, edx
lea eax, [esp + 0x1c]
and edx, eax
mov eax, dword [esp + 0x38]
push edx
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x20]
push edx
push 1
push eax
push ecx
mov dword [esp + 0x2c], 0x10
mov dword [esp + 0x28], 0
call dword [sym.imp.WS2_32.dll_WSARecvFrom]
cmp eax, 0xffffffff
jne 0x432fb1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
sub eax, 0x2733
je 0x432fab
sub eax, 0x13
je 0x432fab
or eax, 0xffffffff
add esp, 0x24
ret
xor eax, eax
add esp, 0x24
ret
test dword [esp + 4], 0x8000
jne 0x432fa4
test esi, esi
je 0x432fd4
mov eax, dword [esp + 0x12]
mov edx, dword [esp + 0x14]
push eax
mov dword [esi], edx
call dword [sym.imp.WS2_32.dll_ntohs]
mov word [esi + 4], ax
mov eax, dword [esp + 0xc]
add esp, 0x24
ret

Function at 0x432fe0
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x14
push esi
mov esi, eax
test esi, esi
je 0x43301c
movzx ecx, word [esi + 4]
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov eax, 2
push ecx
mov word [esp + 0xc], ax
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [esi]
mov word [esp + 0xa], ax
mov dword [esp + 0xc], edx
mov eax, esi
neg eax
push 0
sbb eax, eax
push 0
and eax, 0x10
push eax
mov eax, dword [esp + 0x30]
neg esi
sbb esi, esi
lea ecx, [esp + 0x14]
and esi, ecx
mov ecx, dword [esp + 0x2c]
push esi
push 0
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x34]
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_WSASendTo]
cmp eax, 0xffffffff
jne 0x43306a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
sub eax, 0x2733
neg eax
sbb eax, eax
pop esi
add esp, 0x14
ret
mov eax, dword [esp + 4]
pop esi
add esp, 0x14
ret

Function at 0x433090
Capabilities:
Set socket configuration

Disassembly:
push ecx
or eax, 0xffffffff
jmp dword [edx*4 + 0x43310c]
Function at 0x433ca0
Capabilities:
Enumerate pe sections

Disassembly:
cmp dword [esi + 0x24], 1
je 0x433ca9
xor eax, eax
ret
mov eax, dword [edi + 0x10]
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_ntohl]
push ebp
push eax
call ebx
mov ebp, eax
lea ecx, [ebp - 1]
cmp ecx, 0xfe
ja 0x433dc3
mov edx, dword [edi + 0x1c]
push edx
call ebx
cmp eax, dword [esi + 0x84]
jne 0x433dc3
mov eax, dword [edi + 0x20]
push eax
call ebx
cmp eax, dword [esi + 0x7c]
jne 0x433dc3
mov ecx, dword [edi + 0x24]
push ecx
call ebx
cmp eax, dword [esi + 0x80]
jne 0x433dc3
mov edx, dword [edi + 0x28]
cmp edx, dword [esi + 0x10]
jne 0x433dc3
push 0xff
push esi
mov ecx, 1
call fcn.00433a70
add esp, 8
cmp ebp, dword [esi + 0x2c]
jae 0x433d22
mov dword [esi + 0x2c], ebp
movzx eax, word [edi + 4]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
mov word [esi + 0xc], ax
mov cl, byte [edi + 6]
mov byte [esi + 0x15], cl
mov dl, byte [edi + 7]
mov byte [esi + 0x14], dl
mov eax, dword [edi + 8]
push eax
call ebx
cmp eax, 0x240
jae 0x433d51
mov eax, 0x240
jmp 0x433d5d
cmp eax, 0x1000
jbe 0x433d5d
mov eax, 0x1000
cmp eax, dword [esi + 0xa0]
jae 0x433d6b
mov dword [esi + 0xa0], eax
mov ecx, dword [edi + 0xc]
push ecx
call ebx
cmp eax, 0x1000
jae 0x433d7f
mov eax, 0x1000
jmp 0x433d8b
cmp eax, 0x8000
jbe 0x433d8b
mov eax, 0x8000
cmp eax, dword [esi + 0xa4]
jae 0x433d99
mov dword [esi + 0xa4], eax
mov edx, dword [edi + 0x14]
push edx
call ebx
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x18]
push eax
call ebx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x34], eax
push ecx
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.00433c40
add esp, 4
pop ebp
xor eax, eax
pop ebx
ret
cmp dword [esi + 0xe0], 0
mov dword [esi + 0x168], 0
mov dword [esi + 0x24], 9
jne 0x433dfd
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 0x38]
add eax, 0x34
mov dword [esi + 4], edx
mov dword [esi], eax
mov ecx, edx
mov dword [ecx], esi
mov dword [eax + 4], esi
mov dword [esi + 0xe0], 1
pop ebp
or eax, 0xffffffff
pop ebx
ret
Function at 0x436730
Capabilities:
Hash data using crc32b

Disassembly:
push ebx
push esi
xor ebx, ebx
xor eax, eax
test bl, 1
je 0x436740
mov eax, 0x80
mov ecx, ebx
sar ecx, 1
test cl, 1
je 0x43674c
or eax, 0x40
sar ecx, 1
test cl, 1
je 0x436756
or eax, 0x20
sar ecx, 1
test cl, 1
je 0x436760
or eax, 0x10
sar ecx, 1
test cl, 1
je 0x43676a
or eax, 8
sar ecx, 1
test cl, 1
je 0x436774
or eax, 4
sar ecx, 1
test cl, 1
je 0x43677e
or eax, 2
test cl, 2
je 0x436786
or eax, 1
shl eax, 0x18
test eax, eax
jns 0x436796
add eax, eax
xor eax, 0x4c11db7
jmp 0x436798
add eax, eax
test eax, eax
jns 0x4367a5
add eax, eax
xor eax, 0x4c11db7
jmp 0x4367a7
add eax, eax
test eax, eax
jns 0x4367b4
add eax, eax
xor eax, 0x4c11db7
jmp 0x4367b6
add eax, eax
test eax, eax
jns 0x4367c3
add eax, eax
xor eax, 0x4c11db7
jmp 0x4367c5
add eax, eax
test eax, eax
jns 0x4367d2
add eax, eax
xor eax, 0x4c11db7
jmp 0x4367d4
add eax, eax
test eax, eax
jns 0x4367e1
add eax, eax
xor eax, 0x4c11db7
jmp 0x4367e3
add eax, eax
test eax, eax
jns 0x4367f0
add eax, eax
xor eax, 0x4c11db7
jmp 0x4367f2
add eax, eax
test eax, eax
jns 0x4367ff
add eax, eax
xor eax, 0x4c11db7
jmp 0x436801
add eax, eax
xor edx, edx
lea ecx, [edx + 0x1f]
test al, 1
je 0x436813
mov esi, 1
shl esi, cl
or edx, esi
dec ecx
sar eax, 1
cmp ecx, 0xffffffff
jg 0x436806
mov dword [ebx*4 + 0x44b5e8], edx
inc ebx
cmp ebx, 0x100
jl 0x436734
pop esi
mov dword [0x47d038], 1
pop ebx
ret

Function at 0x436900
Capabilities:
Encode data using xor

Disassembly:
push esi
or esi, 0xffffffff
cmp dword [0x47d038], 0
push edi
mov edi, eax
jne 0x436915
call fcn.00436730
mov eax, dword [edi + 4]
mov ecx, dword [edi]
add ecx, eax
cmp eax, ecx
jae 0x43693c
movzx edi, byte [eax]
mov edx, esi
and edx, 0xff
xor edx, edi
shr esi, 8
xor esi, dword [edx*4 + 0x44b5e8]
inc eax
cmp eax, ecx
jb 0x436920
not esi
push esi
call dword [sym.imp.WS2_32.dll_htonl]
pop edi
pop esi
ret

Function at 0x4387f0
Capabilities:
Encode data using xor

Disassembly:
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4387f5
sub eax, edx
mov edx, eax
xor eax, eax
xor ecx, ecx
test edx, edx
jle 0x438829
push edi
lea esp, [esp]
movzx edi, byte [ecx + esi]
add eax, edi
imul eax, eax, 0x401
mov edi, eax
shr edi, 6
inc ecx
xor eax, edi
cmp ecx, edx
jl 0x438810
pop edi
lea ecx, [eax + eax*8]
mov eax, ecx
shr eax, 0xb
xor eax, ecx
imul eax, eax, 0x8001
ret
Function at 0x403470
Capabilities:
Encrypt data using salsa20 or chacha
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x5846bc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x403640
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.004611e0
jmp fcn.00403470
Function at 0x40c810
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword [0x5846bc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40c9db
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40c839
mov eax, 0x7000000
jmp 0x40c841
test eax, eax
je 0x40c9b6
mov dword [esp + 0x34], eax
mov ecx, dword [0x5846bc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x4a4]
mov ebx, dword [ecx + 0x4a8]
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 + 0x4a4], ebx
mov dword [ecx + 0x4a8], ebp
mov dword [esp], edx
call fcn.00462590
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, [0x53dc00]
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 0x40c9ce
cmp edx, 0x21
jae 0x40c9c2
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.0045cfb0
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.0045d080
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 [0x4d1e10]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x4d1e58]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40c991
xorps xmm0, xmm0
mov eax, dword [esp + 0x34]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x4d1e88]
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.00462670
mov eax, edx
mov ecx, 0x21
call fcn.00462700
nop
call fcn.004611e0
jmp fcn.0040c810
Function at 0x413e70
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [0x5846bc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41406e
sub esp, 0x18
mov eax, dword [0x5845f0]
test eax, eax
jne 0x414057
nop
nop
lea eax, [0x5845e0]
mov dword [esp], eax
call fcn.0040a3f0
mov eax, dword [0x5845e4]
test eax, eax
je 0x413eb8
cmp dword [eax + 8], 0xcc
jne 0x413f2e
mov edx, dword [0x5845e8]
test edx, edx
jne 0x413f10
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x586ed0]
mov dword [esp + 8], eax
call fcn.0040c9f0
mov eax, dword [esp + 0xc]
mov dword [0x5845e8], eax
mov ecx, dword [0x5845ec]
mov dword [eax], ecx
mov eax, dword [0x5845e8]
mov dword [0x5845ec], eax
movzx eax, byte [0x584a40]
test al, al
jne 0x413f10
xor eax, eax
jmp 0x414028
mov edx, dword [0x5845e8]
mov ebx, dword [edx + 4]
mov dword [0x5845e8], ebx
mov ebx, dword [0x5845e4]
mov dword [edx + 4], ebx
mov dword [0x5845e4], edx
mov edx, dword [0x5845e4]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x414007
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.00402ba0
mov eax, dword [0x584758]
mov ecx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
test eax, eax
jne 0x413f80
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
jmp 0x413fc0
call fcn.00462650
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, [0x5845e0]
mov dword [esp], eax
call fcn.0040a610
nop
lea eax, [0x5845dc]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00402d20
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.00462670
lea edx, [0x53d218]
movzx ebx, byte [edx + eax]
lea ebp, [0x584a40]
mov byte [ebp + ecx], bl
lea eax, [ecx + 1]
cmp eax, 0x80
jge 0x413f10
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 0x414011
mov ecx, 5
call fcn.00462660
lea eax, [0x4b4452]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.00435820
nop
call fcn.004611e0
jmp fcn.00413e70
Function at 0x427ed0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x5846bc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x428014
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00425ce0
mov eax, dword [esp + 4]
test eax, eax
je 0x427ffd
mov dword [esp + 0xc], eax
lea ecx, [eax + 0x4c]
mov dword [esp + 0x18], ecx
mov edx, dword [0x5846bc]
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.004237c0
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.0040a3f0
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x50]
mov edx, dword [esp + 0x10]
movzx ebx, byte [esp + 0xa]
jmp 0x427f67
mov ecx, ebp
mov ebp, dword [ecx]
test ebp, ebp
je 0x427f92
movzx esi, word [ebp + 4]
cmp esi, edx
jne 0x427f7c
cmp byte [ebp + 6], bl
je 0x427f87
cmp esi, edx
ja 0x427f8e
jne 0x427f65
cmp byte [ebp + 6], bl
jbe 0x427f65
jmp 0x427f8e
mov ebx, 1
jmp 0x427f94
xor ebx, ebx
jmp 0x427f94
xor ebx, ebx
mov byte [esp + 0xb], bl
test bl, bl
jne 0x427fb2
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.00427dd0
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.0040a610
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
nop
mov ebx, dword [0x5846bc]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x427fed
movzx eax, byte [ebx + 0x65]
test al, al
je 0x427fed
mov dword [ebx + 8], 0xfffffade
movzx eax, byte [esp + 0xb]
xor eax, 1
mov byte [esp + 0x28], al
add esp, 0x1c
ret
lea eax, [0x4b5980]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.00435820
nop
call fcn.004611e0
jmp fcn.00427ed0
Function at 0x428490
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x5846bc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x428600
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 2
ja 0x428590
cmp cl, 1
je 0x428522
cmp cl, 2
jne 0x4285e9
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.0042d9b0
nop
nop
lea eax, [0x550a40]
mov dword [esp], eax
call fcn.0040a3f0
mov eax, dword [0x5509e4]
sub eax, dword [0x5509c8]
nop
mov dword [0x5509e4], eax
mov eax, dword [0x5509d4]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x5509d4], ecx
nop
lea eax, [0x550a40]
mov dword [esp], eax
call fcn.0040a610
jmp 0x4285e5
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.00413e70
nop
nop
lea eax, [0x550a40]
mov dword [esp], eax
call fcn.0040a3f0
mov eax, dword [0x5509bc]
sub eax, dword [0x5509a0]
nop
mov dword [0x5509bc], eax
mov eax, dword [0x5509ac]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x5509ac], ecx
nop
lea eax, [0x550a40]
mov dword [esp], eax
call fcn.0040a610
jmp 0x4285e5
cmp cl, 3
jne 0x42859b
mov byte [eax + 8], 1
jmp 0x4285e5
cmp cl, 4
jne 0x4285e9
nop
nop
lea eax, [0x550a40]
mov dword [esp], eax
call fcn.0040a3f0
mov eax, dword [0x550a34]
sub eax, dword [0x550a18]
nop
mov dword [0x550a34], eax
mov eax, dword [0x550a24]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x550a24], ecx
nop
nop
lea eax, [0x550a40]
mov dword [esp], eax
call fcn.0040a610
add esp, 0x14
ret
lea eax, [0x4b2101]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00435820
nop
call fcn.004611e0
jmp fcn.00428490
Function at 0x42e220
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x5846bc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42e306
sub esp, 0x2c
mov eax, dword [esp + 0x30]
mov dword [eax + 0x88], 0
lea ecx, [0x5849f0]
mov dword [esp], ecx
call fcn.00402b10
mov eax, dword [esp + 4]
test eax, eax
je 0x42e2e2
mov dword [esp + 8], 0
mov ecx, dword [0x5846bc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov dword [esp + 0xc], ecx
lea edx, [esp + 0x30]
lea edi, [esp + 0x10]
xor eax, eax
call fcn.00462799
lea ecx, [0x42e310]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 8]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], 3
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x28], ecx
lea edx, [esp + 0x10]
mov dword [esp], edx
call fcn.004610f0
mov eax, dword [esp + 8]
cmp eax, 0x20
jge 0x42e2de
jae 0x42e2fb
mov ecx, dword [esp + 0x30]
mov dword [ecx + eax*4 + 8], 0
add esp, 0x2c
ret
lea eax, [fcn.004423c0]
inc eax
mov ecx, dword [esp + 0x30]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], 0
add esp, 0x2c
ret
mov ecx, 0x20
call fcn.00462660
nop
call fcn.004611e0
jmp fcn.0042e220