joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a0820
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ac145
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x100be040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], edi
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, ebx
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push edx
push eax
call fcn.100a07b0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100a08aa
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x100a09f0
cmp dword [ebx + 8], 0xfffffff
jne 0x100a08be
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ebx + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x24], 0
call fcn.100a2d28
mov ecx, dword [ebp - 0x10]
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov ecx, dword [ecx]
mov dword [esi + 8], ecx
mov byte [esi + 0xc], 0
mov dword [ebp - 4], 1
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0x1c]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100b4340]
mov eax, ecx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x100b4340]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x100a09a3
divss xmm2, xmm3
sub esp, 8
movss dword [ebp - 0x10], xmm2
fld dword [ebp - 0x10]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
add esp, 8
fstp dword [ebp - 0x10]
movss xmm0, dword [ebp - 0x10]
call fcn.100a40f0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x100a0985
cmp eax, 0x200
jae 0x100a0983
shl eax, 3
cmp eax, ecx
jae 0x100a0985
mov eax, ecx
push eax
mov ecx, ebx
call fcn.10041c10
push dword [ebp - 0x14]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100a07b0
mov edx, dword [eax]
jmp 0x100a09a6
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov edi, dword [ebp - 0x28]
mov dword [esi + 4], eax
mov dword [esi], edx
mov dword [eax], esi
mov dword [edx + 4], esi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x14]
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
jne 0x100a09d1
mov dword [ecx + eax*8], esi
jmp 0x100a09e3
cmp ebx, edx
jne 0x100a09da
mov dword [ecx + eax*8], esi
jmp 0x100a09e7
mov edx, dword [ebp - 0x10]
cmp dword [ecx + eax*8 + 4], edx
jne 0x100a09e7
mov dword [ecx + eax*8 + 4], esi
mov edi, dword [ebp - 0x20]
mov dword [edi], esi
mov byte [edi + 4], 1
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 8
Function at 0x100a0eb0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ac145
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x100be040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], edi
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, ebx
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push edx
push eax
call fcn.100a07b0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100a0f3a
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x100a1082
cmp dword [ebx + 8], 0xfffffff
jne 0x100a0f4e
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ebx + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x24], 0
call fcn.100a2d28
mov edx, dword [ebp - 0x10]
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov ecx, dword [edx]
mov edx, dword [edx + 4]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov dword [ebp - 4], 1
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0x1c]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100b4340]
mov eax, ecx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x100b4340]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x100a1035
divss xmm2, xmm3
sub esp, 8
movss dword [ebp - 0x10], xmm2
fld dword [ebp - 0x10]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
add esp, 8
fstp dword [ebp - 0x10]
movss xmm0, dword [ebp - 0x10]
call fcn.100a40f0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x100a1017
cmp eax, 0x200
jae 0x100a1015
shl eax, 3
cmp eax, ecx
jae 0x100a1017
mov eax, ecx
push eax
mov ecx, ebx
call fcn.10041c10
push dword [ebp - 0x14]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100a07b0
mov edx, dword [eax]
jmp 0x100a1038
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov edi, dword [ebp - 0x28]
mov dword [esi + 4], eax
mov dword [esi], edx
mov dword [eax], esi
mov dword [edx + 4], esi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x14]
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
jne 0x100a1063
mov dword [ecx + eax*8], esi
jmp 0x100a1075
cmp ebx, edx
jne 0x100a106c
mov dword [ecx + eax*8], esi
jmp 0x100a1079
mov edx, dword [ebp - 0x10]
cmp dword [ecx + eax*8 + 4], edx
jne 0x100a1079
mov dword [ecx + eax*8 + 4], esi
mov edi, dword [ebp - 0x20]
mov dword [edi], esi
mov byte [edi + 4], 1
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 8
Function at 0x401030
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x10
mov ax, word [0x407918]
push edi
push eax
mov word [esp + 8], 2
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [0x407914]
lea edx, [esp + 4]
push 0x10
push edx
mov edx, dword [esp + 0x20]
mov word [esp + 0xe], ax
mov dword [esp + 0x10], ecx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [0x407910]
push 0
not ecx
push ecx
push edx
push eax
call dword [sym.imp.WS2_32.dll_sendto]
xor ecx, ecx
pop edi
test eax, eax
setle cl
dec ecx
and eax, ecx
add esp, 0x10
ret

Function at 0x401090
Capabilities:
Create thread
Create udp socket
Initialize winsock library

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x5a0
cmp eax, 3
jne 0x4010cb
push esi
mov esi, dword [esp + 0x5ac]
mov eax, dword [esi + 8]
push eax
call fcn.00401336
add esp, 4
mov word [0x407918], ax
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [0x407914], eax
pop esi
jmp 0x4010d0
mov eax, dword [0x407914]
test eax, eax
je 0x4011b8
cmp eax, 0xffffffff
je 0x4011b8
cmp word [0x407918], 0
je 0x4011b8
lea edx, [esp + 0x10]
push edx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [0x407910], eax
je 0x4011c5
mov ax, word [0x407918]
mov word [esp], 2
push eax
call dword [sym.imp.WS2_32.dll_htons]
push 0
mov word [esp + 6], ax
call dword [sym.imp.WS2_32.dll_htonl]
mov edx, dword [0x407910]
lea ecx, [esp]
push 0x10
push ecx
push edx
mov dword [esp + 0x10], eax
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x401178
push 0x407054
call fcn.0040127a
lea eax, [esp + 0x1a4]
push eax
call fcn.00401230
add esp, 8
add esp, 0x5a0
ret
push 0
push 0
push 0
push section..text
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [esp + 0x1a0]
push 0x400
push ecx
call fcn.004011d0
add esp, 8
test eax, eax
je 0x40118d
lea edx, [esp + 0x1a0]
push edx
call fcn.0040127a
add esp, 4
jmp 0x40118d
push 0x407030
call fcn.0040127a
add esp, 4
add esp, 0x5a0
ret

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

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x10
push ebx
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [sym.imp.WS2_32.dll_recvfrom]
lea ebx, [eax - 1]
mov eax, dword [0x407910]
lea ecx, [esp + 0x24]
lea edx, [esp + 0xc]
push ecx
push edx
push 0
push ebx
push esi
push eax
mov dword [esp + 0x3c], 0x10
call edi
test eax, eax
jle 0x40121e
mov ecx, dword [esp + 0x10]
mov edx, dword [0x407914]
cmp ecx, edx
jne 0x4011e7
pop edi
pop esi
pop ebx
add esp, 0x10
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret
Function at 0x402a35
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4075d8
cmp edx, dword [eax]
je 0x402a57
add eax, 8
inc ecx
cmp eax, 0x407668
jl 0x402a48
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4075d8]
jne 0x402b85
mov eax, dword [0x407924]
cmp eax, 1
je 0x402b5f
test eax, eax
jne 0x402a88
cmp dword [0x407084], 1
je 0x402b5f
cmp edx, 0xfc
je 0x402b85
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x402abf
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004034b0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00403040
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x402b02
lea eax, [ebp - 0x1a4]
push eax
call fcn.00403040
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x406424
push edi
call fcn.00404590
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004034b0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004034c0
lea eax, [ebp - 0xa0]
push 0x406404
push eax
call fcn.004034c0
push dword [esi + 0x4075dc]
lea eax, [ebp - 0xa0]
push eax
call fcn.004034c0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004044fe
add esp, 0x2c
pop edi
jmp 0x402b85
lea eax, [ebp + 8]
lea esi, [esi + 0x4075dc]
push 0
push eax
push dword [esi]
call fcn.00403040
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x401612
Capabilities:
Read file on windows

Disassembly:
xor edi, ebp
lea ebx, [esi + 9]
sub ebx, 2
add edi, esi
or eax, 0x1d
mov ebx, 0
push ebx
push 0xe4ebd5
pop esi
mov edx, 0xa34a61
mov edi, edx
sub esi, edi
call dword [esi]
or eax, eax
je 0x401453
mov ebx, 0
mov ecx, ebx
push ecx
mov edi, 0xf7
push edi
push 0
pop eax
push eax
push pe_nt_image_headers32
pop edi
push edi
mov edx, 0x2d
push edx
mov dword [str._b_b__0__f], 0
mov ebx, dword [str._b_b__0__f]
push ebx
push 3
pop esi
push esi
mov ebx, 0xaef5c2
sub ebx, 0x6d543e
call dword [ebx]
or eax, eax
jne 0x40145b
jmp 0x401453
add esi, ebx
cmp ebx, dword [0x42b032]
sub ebx, eax
add ebx, edi
dec edi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov esi, 0x2b2c3237
mov eax, esi
push eax
mov ecx, 0x49c23d80
push ecx
mov ecx, 0x70
push ecx
mov esi, 0x3d
mov ebx, esi
push ebx
mov eax, 0x87
mov edx, eax
push edx
mov edx, 0x20d0ac
mov ecx, edx
shl ecx, 1
call dword [ecx]
or eax, eax
jne 0x40145b
mov eax, 0x4d1e5
add eax, 0x3deb46
push eax
mov ecx, 0
push ecx
push 0x20d0d6
pop ebx
shl ebx, 1
call dword [ebx]
or eax, eax
je 0x40161a
call fcn.00401612
mov ecx, ebx
xor eax, dword [0x42dfef]
dec ecx
sub esi, dword [0x42c137]
lea edi, [8]
or cl, ch
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov edx, 0
mov ecx, edx
push ecx
push 0xb8
pop esi
push esi
push 5
pop edi
push edi
mov ecx, 0x6fae56
sub ecx, 0x2e0d02
call dword [ecx]
push 0x20d01e
pop eax
shl eax, 1
call dword [eax]
mov dword [0x42c3cf], eax
or eax, eax
jne 0x4016d9
sub eax, ebx
jmp 0x401684

Function at 0x401812
Capabilities:
Read file on windows

Disassembly:
or esi, 0x79
mov esi, eax
inc edi
mov eax, 3
push eax
push 9
pop edx
push edx
mov ebx, dword [sym.imp.GDI32.DLL_SetSystemPaletteUse]
call ebx
or eax, eax
jne 0x40168d
mov ecx, 0x25ddba
mov dword [0x42c685], 0x1ce7d5
add ecx, dword [0x42c685]
push ecx
mov edx, 0x790166
mov eax, edx
mov edi, 0x376162
mov ebx, edi
sub eax, ebx
call dword [eax]
ret
or ax, si
mov ebx, 0xbd
lea ecx, [4]
sub ecx, dword [0x42c0eb]
add ecx, 2
cwde
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov edi, 0x23108099
mov eax, edi
push eax
mov dword [0x42b300], 0
mov edi, dword [0x42b300]
push edi
mov eax, dword [sym.imp.user32.dll_GetWindowLongW]
call eax
or eax, eax
jne 0x4017c6
mov ebx, eax
sub ebx, eax
mov esi, ebx
add esi, edi
dec esi
sub dword [0x42c860], esi
dec esi
shr esi, 7
add esi, 0xba7
sub esi, dword [0x42b5d8]
add esi, ebx
add dword [0x42b446], esi
call fcn.00401812
sub ebx, 1
lea edx, [4]
bswap edi
not esi
mov ecx, edi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
xor esi, esi
push esi
mov ebx, 0x32a0ff
mov eax, ebx
add eax, 0x101c96
push eax
mov eax, 0xaaa737
sub eax, 0x69072b
call dword [eax]
or eax, eax
jne 0x401826
mov edx, 0x6e
mov ebx, edx
push ebx
xor edi, edi
push edi
push 0xe1
pop edi
push edi
mov esi, 3
push esi
mov dword [0x42bdbb], 0
mov ebx, dword [0x42bdbb]
push ebx
mov edi, 7
mov eax, edi
push eax
push 0x5af4e6
pop eax
sub eax, 0x19538a
call dword [eax]
or eax, eax
jne 0x40168c
jmp 0x401887
Function at 0x403594
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x442008], 0x8088405
inc edx
mov dword [ebx + 0x442008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41c674
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41c6a5
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41c68d
add dl, dl
jne 0x41c6b0
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41c701
xor eax, eax
add dl, dl
jne 0x41c6bd
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41c79e
add dl, dl
jne 0x41c6cc
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41c6d7
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41c6e2
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41c6ed
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41c6f7
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41c69c
mov eax, 1
add dl, dl
jne 0x41c70f
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41c71a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41c706
sub eax, ebx
mov ebx, 1
jne 0x41c74d
mov ecx, 1
add dl, dl
jne 0x41c733
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41c73e
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41c72a
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41c69c
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41c764
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41c76f
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41c75b
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41c69c
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41c7bf
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41c69c
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41d33c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
test dl, dl
je 0x41d34f
add esp, 0xfffffff0
call fcn.00403d6c
mov esi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00403af4
mov byte [ebx + 4], 0
cmp dword [esi + 0x5c], 0
jne 0x41d375
cmp dword [esi + 0x58], 0x40
jb 0x41d55b
jmp 0x41d37b
jl 0x41d55b
lea eax, [ebx + 0xc]
mov edx, 0x40
call fcn.00406e44
push 0
push 0
push 0
push 0x40
lea edx, [ebx + 0xc]
mov eax, esi
call fcn.0041cef4
cmp word [ebx + 0xc], 0x5a4d
jne 0x41d55b
mov ecx, dword [ebx + 0x48]
test ecx, ecx
jle 0x41d55b
cmp ecx, 0x10000
jge 0x41d55b
mov eax, ecx
add eax, 4
add eax, 0x14
cdq
cmp edx, dword [esi + 0x5c]
jne 0x41d3d6
cmp eax, dword [esi + 0x58]
ja 0x41d55b
jmp 0x41d3dc
jg 0x41d55b
lea eax, [ebx + 0x4c]
mov edx, 4
call fcn.00406e44
mov eax, dword [ebx + 0x48]
cdq
push edx
push eax
push 0
push 4
lea edx, [ebx + 0x4c]
mov eax, esi
call fcn.0041cef4
cmp dword [ebx + 0x4c], 0x4550
jne 0x41d55b
lea eax, [ebx + 0x50]
mov edx, 0x14
call fcn.00406e44
mov eax, dword [ebx + 0x48]
add eax, 4
cdq
push edx
push eax
push 0
push 0x14
lea edx, [ebx + 0x50]
mov eax, esi
call fcn.0041cef4
mov ax, word [ebx + 0x50]
cmp ax, 0x8664
jne 0x41d493
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
add eax, 0xf0
cdq
cmp edx, dword [esi + 0x5c]
jne 0x41d457
cmp eax, dword [esi + 0x58]
ja 0x41d4e4
jmp 0x41d45d
jg 0x41d4e4
lea eax, [ebx + 0x144]
mov edx, 0xf0
call fcn.00406e44
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
cdq
push edx
push eax
push 0
push 0xf0
lea edx, [ebx + 0x144]
mov eax, esi
call fcn.0041cef4
mov byte [ebx + 4], 1
jmp 0x41d4e4
cmp ax, 0x14c
jne 0x41d4e4
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
add eax, 0xe0
cdq
cmp edx, dword [esi + 0x5c]
jne 0x41d4b4
cmp eax, dword [esi + 0x58]
ja 0x41d4e4
jmp 0x41d4b6
jg 0x41d4e4
lea eax, [ebx + 0x64]
mov edx, 0xe0
call fcn.00406e44
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
cdq
push edx
push eax
push 0
push 0xe0
lea edx, [ebx + 0x64]
mov eax, esi
call fcn.0041cef4
mov byte [ebx + 4], 1
cmp byte [ebx + 4], 0
je 0x41d55b
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
movzx edx, word [ebx + 0x60]
add eax, edx
mov di, word [ebx + 0x52]
movzx edx, di
shl edx, 3
lea edx, [edx + edx*4]
add eax, edx
cdq
cmp edx, dword [esi + 0x5c]
jne 0x41d515
cmp eax, dword [esi + 0x58]
ja 0x41d55b
jmp 0x41d517
jg 0x41d55b
movzx eax, di
push eax
lea eax, [ebx + 8]
mov ecx, 1
mov edx, dword [0x42ce0c]
call fcn.00405b38
add esp, 4
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
movzx edx, word [ebx + 0x60]
add eax, edx
cdq
push edx
push eax
movzx eax, word [ebx + 0x52]
shl eax, 3
lea eax, [eax + eax*4]
xor edx, edx
push edx
push eax
mov edx, dword [ebx + 8]
mov eax, esi
call fcn.0041cef4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x41d572
call fcn.00403dc4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x41e270
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42e72f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov ecx, ebx
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41e321
add edx, ebx
mov eax, edx
mov esi, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
add edx, ebx
mov dword [ebp - 0x10], edx
mov edi, dword [eax + 0x20]
add edi, ebx
mov edx, dword [eax + 0x24]
add edx, ebx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 4]
cmp edx, 0xffff
jbe 0x41e30a
test esi, esi
jbe 0x41e321
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.00408868
test eax, eax
jne 0x41e2fc
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41e321
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41e2d9
jmp 0x41e321
mov ecx, edx
sub ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x41e321
mov eax, ecx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e736
ret
Function at 0x41e340
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
mov byte [ebp - 5], cl
mov dword [ebp - 4], edx
mov eax, dword [0x444188]
mov eax, dword [eax]
mov eax, dword [eax + 0x58]
call fcn.00403250
mov dword [ebp - 0x10], eax
mov eax, dword [0x444188]
mov eax, dword [eax]
cmp dword [eax + 0x5c], 0
jbe 0x41e449
push 0
push 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [0x444188]
mov eax, dword [eax]
mov eax, dword [eax + 8]
call fcn.00404ec8
push eax
call fcn.0041a658
push 0
push 0
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x58]
mov ecx, 0x40
call fcn.0040d9ac
lea eax, [ebp - 0x24]
push eax
push 0
push 0x80
push 1
push 1
push 0x60
push 0
push 0
lea ecx, [ebp - 0x58]
lea eax, [ebp - 0x1c]
mov edx, 0x80100080
call fcn.0041bb4c
test eax, eax
jne 0x41e440
mov eax, dword [0x444188]
mov eax, dword [eax]
mov eax, dword [eax + 0x54]
xor edx, edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
push 8
push 0xe
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
call fcn.0041ba8c
mov eax, dword [0x444188]
mov eax, dword [eax]
mov eax, dword [eax + 0x5c]
call fcn.00403250
mov ebx, eax
push 0
lea eax, [ebp - 0x24]
push eax
push ebx
mov eax, dword [0x444188]
mov eax, dword [eax]
mov eax, dword [eax + 0x5c]
push eax
push 0
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x1c]
call fcn.0041baf4
test eax, eax
jne 0x41e431
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.0041c674
mov eax, ebx
call fcn.00403270
mov eax, dword [ebp - 0x1c]
call fcn.0041ba6c
lea eax, [ebp - 0x18]
push eax
call fcn.0041a668
mov edx, dword [ebp - 0x10]
mov eax, edx
mov ebx, dword [eax + 0x3c]
add ebx, edx
push 0x40
push 0x1000
mov eax, dword [ebx + 0x50]
push eax
push 0
mov eax, dword [ebp - 4]
inc ebp
cld

Function at 0x41f054
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
xor ebx, ebx
push 0
push 0
push 0
push edi
call fcn.00406d58
push 0
lea eax, [ebp - 4]
push eax
push 0x40
push esi
push edi
call fcn.00406d00
test eax, eax
je 0x41f0f1
cmp word [esi], 0x5a4d
jne 0x41f0f1
push 0
push 0
mov eax, dword [esi + 0x3c]
push eax
push edi
call fcn.00406d58
push 0
lea eax, [ebp - 4]
push eax
push 0x18
lea eax, [ebp - 0x1c]
push eax
push edi
call fcn.00406d00
test eax, eax
je 0x41f0f1
cmp dword [ebp - 0x1c], 0x4550
jne 0x41f0f1
lea edx, [ebp - 0x18]
mov ecx, 0x14
mov eax, dword [ebp + 0xc]
call fcn.00406e3c
mov ax, word [ebp - 0x18]
cmp ax, 0x14c
jb 0x41f0f1
cmp ax, 0x150
ja 0x41f0f1
push 0
lea eax, [ebp - 4]
push eax
push 0xe0
mov eax, dword [ebp + 8]
push eax
push edi
call fcn.00406d00
test eax, eax
je 0x41f0f1
mov bl, 1
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8