joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001d80
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x124
mov eax, dword [0x1001a4e0]
xor eax, esp
mov dword [esp + 0x120], eax
mov eax, dword [esp + 0x128]
push ebx
push ebp
push esi
push edi
push 0x10015484
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push str.ZwLoadDriver
push esi
call edi
push str.ZwUnloadDriver
push esi
mov ebx, eax
call edi
push str.RtlAnsiStringToUnicodeString
push esi
mov dword [esp + 0x28], eax
call edi
push 0x10015430
push esi
mov ebp, eax
call edi
push 0x10015418
push esi
mov dword [esp + 0x24], eax
call edi
push str.RtlFreeUnicodeString
push esi
mov dword [esp + 0x2c], eax
call edi
mov esi, eax
test ebx, ebx
je 0x10001ec2
cmp dword [esp + 0x20], 0
je 0x10001ec2
test ebp, ebp
je 0x10001ec2
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x10001ec2
cmp dword [esp + 0x24], 0
je 0x10001ec2
test esi, esi
je 0x10001ec2
push 0x103
lea ecx, [esp + 0x31]
push 0
push ecx
mov byte [esp + 0x38], 0
call sub.ntdll.dll_memset
mov edx, dword [esp + 0x20]
push edx
push 0x100153c8
lea eax, [esp + 0x40]
push 0x104
push eax
call fcn.10001790
add esp, 0x1c
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x28]
push edx
call edi
push 1
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x1c]
push ecx
call ebp
test eax, eax
jne 0x10001ec2
lea edx, [esp + 0x14]
push edx
call ebx
test eax, eax
je 0x10001ea3
cmp eax, 0xc000010e
je 0x10001ea3
cmp eax, 0xc0000035
jne 0x10001eb3
lea eax, [esp + 0x14]
push eax
mov edi, 1
call esi
mov eax, edi
jmp 0x10001ec6
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
call esi
mov eax, edi
jmp 0x10001ec6
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x130]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1000a6f5
add esp, 0x124
ret

Function at 0x10003090
Capabilities:
Get file version info

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
lea eax, [esp + 0x10]
push eax
push ebx
mov edi, ecx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x1000313e
mov eax, dword [edi + 0x108]
test eax, eax
je 0x100030c4
push eax
call fcn.1000a7e0
add esp, 4
push esi
call fcn.1000a8bd
add esp, 4
mov dword [edi + 0x108], eax
test eax, eax
je 0x1000313e
push eax
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x1000313e
mov eax, dword [edi + 0x108]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x10]
push edx
push str.VarFileInfoTranslation
push eax
mov dword [esp + 0x28], 0
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x1000313e
mov eax, dword [esp + 0xc]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push ecx
push edx
push str.StringFileInfo_04x_04x
push 0x104
add edi, 4
push edi
call dword [sym.imp.SHLWAPI.dll_wnsprintfA]
add esp, 0x14
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 8
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret 4
Function at 0x10003280
Capabilities:
Check if file exists
Get common file path

Disassembly:
sub esp, 0x108
mov eax, dword [0x1001a4e0]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
mov esi, dword [esp + 0x110]
push 0x103
lea eax, [esp + 9]
push 0
push eax
mov byte [esp + 0x10], 0
call sub.ntdll.dll_memset
add esp, 0xc
push 0x104
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push str.driversBAPIDRV.sys
lea edx, [esp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x100032fa
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.1000a6f5
add esp, 0x108
ret
lea ecx, [esp + 4]
push ecx
push esi
call fcn.10001240
mov ecx, dword [esp + 0x110]
add esp, 8
pop esi
xor ecx, esp
call fcn.1000a6f5
add esp, 0x108
ret
Function at 0x100050f0
Capabilities:
Check os version

Disassembly:
push esi
push 0x9c
push 0
push 0x1001b5e8
mov dword [0x1001b5e4], 0
call sub.ntdll.dll_memset
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
add esp, 0xc
push 0x1001b5e8
mov dword [0x1001b5e8], 0x94
call esi
test eax, eax
je 0x1000516b
cmp dword [0x1001b5f8], 2
mov dword [0x1001b5e0], 1
jne 0x1000516b
cmp dword [0x1001b5ec], 5
jb 0x1000516b
push 0x9c
push 0
push 0x1001b5e8
call sub.ntdll.dll_memset
add esp, 0xc
push 0x1001b5e8
mov dword [0x1001b5e8], 0x9c
call esi
pop esi
ret
Function at 0x1000a330
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
jmp 0x1000a348
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 8]
jne 0x1000a35d
mov dword [ebp - 8], 0
cmp dword [ebp - 8], 0
je 0x1000a3d0
lea edx, [ebp - 0xc]
push edx
push 0x40
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 8]
add eax, 0x2c
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 8]
push edx
call sub.ntdll.dll_memcpy
add esp, 0xc
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
jmp 0x1000a340
mov eax, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x1000a6f5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001a4e0]
jne 0x1000a6ff
repz ret
jmp fcn.1000d683
Function at 0x100127c4
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1000c197
and dword [ebp - 4], 0
cmp dword [0x1001c094], 0
mov ebx, eax
jne 0x10012875
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10012926
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10012926
push eax
call fcn.1000c125
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1001c094], eax
call esi
push eax
call fcn.1000c125
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1001c098], eax
call esi
push eax
call fcn.1000c125
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1001c09c], eax
call esi
push eax
call fcn.1000c125
pop ecx
mov dword [0x1001c0a4], eax
test eax, eax
je 0x10012875
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1000c125
pop ecx
mov dword [0x1001c0a0], eax
mov eax, dword [0x1001c0a0]
cmp eax, ebx
je 0x100128cd
cmp dword [0x1001c0a4], ebx
je 0x100128cd
push eax
call fcn.1000c1a0
push dword [0x1001c0a4]
mov esi, eax
call fcn.1000c1a0
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100128cd
test edi, edi
je 0x100128cd
call esi
test eax, eax
je 0x100128c4
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100128c4
test byte [ebp - 0xc], 1
jne 0x100128cd
or dword [ebp + 0x10], 0x200000
jmp 0x10012906
mov eax, dword [0x1001c098]
cmp eax, ebx
je 0x10012906
push eax
call fcn.1000c1a0
pop ecx
test eax, eax
je 0x10012906
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10012906
mov eax, dword [0x1001c09c]
cmp eax, ebx
je 0x10012906
push eax
call fcn.1000c1a0
pop ecx
test eax, eax
je 0x10012906
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1001c094]
call fcn.1000c1a0
pop ecx
test eax, eax
je 0x10012926
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10012928
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1001ad8
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
mov edi, dword [sym.imp.ulib.dll_public:_void___thiscall_DSTRING::constructor_void_]
mov esi, ecx
lea ecx, [ebp - 0x48]
call edi
lea ecx, [ebp - 0x30]
call edi
mov eax, dword [esi + 0x9c]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x98]
xor ebx, ebx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], eax
call dword [sym.imp.ulib.dll_public:_unsigned_char___thiscall_WSTRING::Initialize_void_]
test al, al
je 0x1001e53
call dword [sym.imp.ulib.dll_public:_static_void___stdcall_WSTRING::SetConsoleConversions_void_]
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test al, al
jne 0x1001c09
push ebx
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call dword [sym.imp.ulib.dll_public:_unsigned_char___thiscall_STREAM::ReadLine_class_WSTRING___unsigned_char_]
test al, al
je 0x1001e83
mov eax, dword [ebp - 0x24]
cmp eax, ebx
jne 0x1001b66
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test al, al
jne 0x1001c00
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
inc dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 1], 0
cmp dword [ebp - 8], ebx
je 0x1001bd1
cmp eax, dword [ebp - 8]
jb 0x1001bd1
cmp byte [esi + 0x88], 0
jne 0x1001b89
xor ebx, ebx
inc ebx
sub eax, dword [ebp - 8]
lea edi, [ecx + eax*2]
cmp edi, ecx
jb 0x1001bcc
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp byte [ebp - 1], 0
jne 0x1001bcc
push dword [ebp - 8]
push edi
push dword [ebp - 8]
push dword [ebp - 0x18]
push ebx
push 0x400
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x1001df7
dec edi
dec edi
cmp edi, dword [ebp - 0x14]
jae 0x1001ba0
mov edi, dword [ebp + 8]
xor ebx, ebx
mov al, byte [esi + 0x89]
test al, al
je 0x1001e00
cmp byte [ebp - 1], 0
jne 0x1001e0a
test al, al
je 0x1001e00
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test al, al
je 0x1001b38
cmp dword [ebp - 0xc], ebx
jne 0x1001de1
mov esi, dword [sym.imp.ulib.dll_public_virtual:_void___thiscall_DSTRING::destructor_void_]
lea ecx, [ebp - 0x30]
call esi
lea ecx, [ebp - 0x48]
call esi
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 4
mov dword [esi + 0x168], ebx
jmp 0x1001c09
mov byte [ebp - 1], 1
jmp 0x1001bc5
cmp byte [ebp - 1], 0
jne 0x1001bf1
inc dword [ebp - 0xc]
cmp byte [esi + 0x8a], 0
je 0x1001bf1
push 0xffffffffffffffff
push dword [ebp - 0x14]
lea ecx, [ebp - 0x48]
call dword [sym.imp.ulib.dll_public:_unsigned_char___thiscall_WSTRING::Initialize_unsigned_short_int_const___unsigned_long_int_]
cmp byte [esi + 0x8b], 0
mov eax, dword [esi]
lea ecx, [ebp - 0x48]
push ecx
jne 0x1001e69
push 0x1001e50
push ebx
push 0x2eea
push esi
call dword [eax + 8]
add esp, 0x14
jmp 0x1001bf1
mov eax, dword [esi]
push 1
push 0x2eec
mov ecx, esi
call dword [eax + 0xc]
push 2
call dword [sym.imp.msvcrt.dll_exit]
push dword [ebp - 0x10]
push 0x1001e90
push ebx
push 0x2eeb
push esi
call dword [eax + 8]
add esp, 0x18
jmp 0x1001bf1
mov eax, dword [esi]
push 1
push 0x2eed
jmp 0x1001e5c
Function at 0x1002289
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x10022bc
cmp dword [ebp + 0x14], 0
mov eax, dword [ecx]
je 0x10022b3
push dword [ebp + 0x14]
push 0x1001e50
push dword [ebp + 0x10]
push dword [ebp + 8]
push ecx
call dword [eax + 8]
add esp, 0x14
jmp 0x10022bc
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [eax + 0xc]
push dword [ebp + 0xc]
call dword [sym.imp.msvcrt.dll_exit]
int3
Function at 0x10004377
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x10004386
pop dword [ebp - 0x3c]
mov eax, 0x10004386
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x2cba9325
add dword [ebp - 0x4c], 0x2197b226
mov dword [ebp - 0x48], 0x54a848d1
sub dword [ebp - 0x48], 0x2274fc8c
mov dword [ebp - 0x44], 0x50c03c0a
add dword [ebp - 0x44], 0xfb8c0824
mov dword [ebp - 0x40], 0x92ae7d0d
sub dword [ebp - 0x40], 0x92ae7d0d
lea eax, [ebp - 0x4c]
push eax
mov eax, 0xe678d222
add eax, 0x29877e36
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x9f881af9
add dword [ebp - 0x4c], 0xd4ea4e5d
mov dword [ebp - 0x48], 0x459675c6
add dword [ebp - 0x48], 0xfbd5ebaf
mov dword [ebp - 0x44], 0x24a31b8e
sub dword [ebp - 0x44], 0xc133af22
mov dword [ebp - 0x40], 0x252eb741
add dword [ebp - 0x40], 0xdad148bf
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0xe7b10b37
sub eax, 0xd7b0babb
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x3871c
push 0
call eax
mov ecx, 0x4f95
xor ebx, ebx
add ebx, eax
mov edi, 0x1000a800
add edi, dword [ebp - 0x3c]
mov edx, 0xba0a2a70
sub edx, 0x71111d90
add dword [ebp - 0x2c], ebx
mov esi, dword [edi]
add dword [ebp - 0x1c], edx
sub esi, edx
xor dword [ebp - 4], 0x3f8f642a
mov dword [ebx], esi
add ebx, 4
add edi, 4
loop 0x10004499
add eax, 0xf2dc6730
add eax, 0xd24c9f7
mov ebx, eax
add eax, 0x2a4907e1
add eax, 0xd5b6f824
mov ecx, 0xae459105
add ecx, 0x61ba6efb
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x403594
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x3132008], 0x8088405
inc edx
mov dword [ebx + 0x3132008], 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 [0x311ce0c]
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 0x311e72f
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 0x311e736
ret
Function at 0x41eb80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov word [ebp - 2], dx
xor eax, eax
push ebp
push 0x311f12f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404c94
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x41ebbb
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x41ebd4
lea eax, [ebp - 0x10]
mov edx, dword [0x3134188]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404cf4
jmp 0x41ebe7
lea eax, [ebp - 0x10]
mov edx, dword [0x3134188]
mov edx, dword [edx]
mov edx, dword [edx + 0x14]
call fcn.00404cf4
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x41ebf3
adc edx, 0
mov edx, dword [edx*4 + 0x3132ca8]
call fcn.00404ee4
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404ec8
push eax
call fcn.00406ab8
mov esi, eax
cmp esi, 0xffffffff
je 0x41ed01
mov eax, 0x40
call fcn.00403250
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x40
push edi
push esi
call fcn.00406d00
test eax, eax
je 0x41ecf4
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x41ecf4
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406d58
mov eax, edi
call fcn.00403270
mov eax, 0x18
call fcn.00403250
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x18
push edi
push esi
call fcn.00406d00
test eax, eax
je 0x41ecf4
mov eax, edi
cmp dword [eax], 0x4550
jne 0x41ecf4
add eax, 4
mov dx, word [eax]
cmp dx, 0x14c
jb 0x41ecf4
cmp dx, 0x150
ja 0x41ecf4
mov eax, edi
call fcn.00403270
mov eax, 0xe0
call fcn.00403250
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0xe0
push edi
push esi
call fcn.00406d00
test eax, eax
je 0x41ecf4
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 2]
jne 0x41ecf4
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404cd0
mov eax, edi
call fcn.00403270
push esi
call fcn.00406a70
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.00404ff0
jne 0x41ed19
inc ebx
cmp ebx, 0x19
jne 0x41ebad
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x311f136
lea eax, [ebp - 0x10]
call fcn.00404c94
ret
Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..rdata
nop
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x29b73327
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section._RDATA
nop
nop
mov ebx, 0x42cd70
mov ecx, 0x331c60dd
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219