joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5136e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
xor edx, edx
push esi
xor esi, esi
mov dword [ebp - 4], edx
push edi
mov edi, dword [ebp + 0x10]
cmp dword [eax + 0x14], edx
jle 0x51379d
push ebx
nop
mov eax, dword [eax + 0x10]
mov ebx, esi
xor ebx, 1
cmp esi, 2
cmovae ebx, esi
mov ecx, ebx
add ecx, ecx
mov edx, dword [eax + ecx*8 + 0xc]
mov dword [ebp - 8], edx
test edi, edi
je 0x513761
mov eax, dword [eax + ecx*8]
sub edi, eax
movzx edx, byte [eax]
movzx ecx, byte [edi + eax]
cmp edx, ecx
jne 0x513734
test edx, edx
je 0x513761
inc eax
jmp 0x513722
movzx ecx, byte [ecx + 0x58c630]
movzx edx, byte [edx + 0x58c630]
sub edx, ecx
jne 0x513749
inc eax
jmp 0x513722
test ebx, ebx
jne 0x513781
push dword [ebp + 0x10]
push str.main
call fcn.0052a920
add esp, 8
test eax, eax
jne 0x513781
mov eax, dword [ebp - 8]
push 0
push dword [ebp + 0xc]
add eax, 0x18
push eax
call fcn.004ea700
add esp, 0xc
mov edx, dword [eax + 8]
mov dword [ebp - 4], edx
test edx, edx
jne 0x513794
jmp 0x513784
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
inc esi
mov edi, dword [ebp + 0x10]
cmp esi, dword [eax + 0x14]
jl 0x513700
pop ebx
pop edi
mov eax, edx
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov eax, edx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x51f370
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
test byte [ecx + 0x1c], 4
mov edx, dword [ecx + 0x14]
je 0x51f39a
mov eax, dword [edx + 0x18]
cmp eax, dword [ecx + 0x18]
jb 0x51f39a
cmp dword [edx + 0x60], 0
je 0x51f396
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.005457d0
xor eax, eax
pop ebp
ret
mov eax, dword [edx + 0x28]
test eax, eax
jne 0x51f398
mov eax, dword [edx + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x51f3b8
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.004f7250
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.004f8530
Function at 0x54a280
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
push 0
push 0x14
mov dword [edi], 0
call fcn.0051c920
mov esi, eax
add esp, 8
test esi, esi
jne 0x54a2a7
pop edi
lea eax, [esi + 7]
pop esi
pop ebp
ret
cmp byte [0x5ac1cc], 0
push ebx
mov ebx, dword [ebp + 0x10]
je 0x54a2f2
mov eax, dword [0x5ac2bc]
test eax, eax
je 0x54a2cb
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x54a2f2
mov eax, dword [ebp + 0xc]
mov dword [esi + 8], eax
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x52ad60
push 0
push 0
mov dword [esi + 0xc], ebx
call fcn.0049da09
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x54a302
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
cmp dword [esi + 8], 0
jne 0x54a31b
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push ebx
mov dword [esi + 4], eax
call dword [ebp + 0xc]
add esp, 4
mov dword [esi + 0x10], eax
pop ebx
mov dword [edi], esi
xor eax, eax
pop edi
pop esi
pop ebp
ret
Function at 0x401000
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x44aa93
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45f7e0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [esp + 0x34]
mov ecx, esi
call fcn.00412689
xor ecx, ecx
mov dword [esp + 0x2c], ecx
lea ebp, [esi + 0x10]
mov dword [esi], vtable.CMemDC.0
mov dword [ebp + 4], ecx
mov dword [ebp], vtable.CBitmap.0
mov byte [esp + 0x2c], 1
xor eax, eax
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ecx
cmp dword [ebx + 0xc], ecx
lea edi, [esi + 0x20]
sete al
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x38]
cmp eax, ecx
jne 0x40107c
mov edx, dword [ebx]
mov eax, dword [edx + 0x50]
push edi
mov ecx, ebx
call eax
xor ecx, ecx
jmp 0x401092
mov edx, dword [eax]
mov dword [edi], edx
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov edx, dword [eax + 8]
mov dword [edi + 8], edx
mov eax, dword [eax + 0xc]
mov dword [edi + 0xc], eax
cmp dword [esi + 0x30], ecx
je 0x401121
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call fcn.00412b54
mov ecx, dword [ebx + 8]
push 2
push edi
push ecx
call dword [sym.imp.GDI32.dll_LPtoDP]
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov ecx, dword [edi + 8]
sub ecx, dword [edi]
mov edx, dword [ebx + 4]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebp
call fcn.00412e10
test ebp, ebp
je 0x4010e0
mov ebp, dword [ebp + 4]
mov eax, dword [esi + 4]
push ebp
push eax
call fcn.00412e9f
mov dword [esi + 0x18], eax
mov ecx, dword [ebx + 8]
push ecx
call dword [sym.imp.GDI32.dll_GetMapMode]
push eax
mov ecx, esi
call fcn.00412551
mov edx, dword [ebx + 8]
push 2
push edi
push edx
call dword [sym.imp.GDI32.dll_DPtoLP]
mov eax, dword [esi + 0x24]
mov ecx, dword [edi]
push eax
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.004127a5
jmp 0x401133
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [ebx + 4]
mov dword [esi + 4], ecx
mov edx, dword [ebx + 8]
mov dword [esi + 8], edx
push 1
mov ecx, esi
call fcn.004124ec
cmp dword [esp + 0x3c], 0
je 0x401177
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
mov edx, dword [esi + 0x1c]
sub eax, dword [edi + 4]
sub ecx, dword [edi]
mov ebx, dword [esi + 0x24]
mov edi, dword [edi]
test edx, edx
je 0x40115d
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
push eax
mov eax, dword [esi + 4]
push ecx
push ebx
push edi
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x40118a
mov ecx, dword [ebx + 8]
push ecx
call dword [sym.imp.GDI32.dll_GetBkColor]
push eax
push edi
mov ecx, esi
call fcn.00413b6a
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0xc
Function at 0x401600
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x60
mov eax, dword [0x45f7e0]
xor eax, esp
mov dword [esp + 0x5c], eax
push esi
push edi
mov esi, ecx
call fcn.004198cf
push 0
push 0xd
push 0x1f
mov ecx, esi
mov dword [esi + 0x98], eax
call fcn.00419903
mov eax, dword [esi + 0x20]
push 0
push 0
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
call fcn.00412dfc
mov edi, eax
test edi, edi
jne 0x401666
push ebx
mov ebx, dword [sym.imp.GDI32.dll_GetStockObject]
push 0x11
call ebx
test eax, eax
jne 0x40165d
push 0xc
call ebx
test eax, eax
je 0x401665
push eax
call fcn.00412dfc
mov edi, eax
pop ebx
mov edx, dword [edi + 4]
lea ecx, [esp + 8]
push ecx
push 0x5c
push edx
call dword [sym.imp.GDI32.dll_GetObjectW]
lea eax, [esp + 8]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
lea ecx, [esi + 0x138]
call fcn.00412e10
lea ecx, [esi + 0x54]
push ecx
mov ecx, esi
call fcn.00417a0f
mov edx, dword [esi + 0x20]
push 1
push edx
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
mov eax, dword [esi + 0x20]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esp + 0x64]
pop edi
pop esi
xor ecx, esp
call fcn.004325e3
add esp, 0x60
ret

Function at 0x402cf0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x402d09
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402d44
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x402d40
lea ebx, [ebx]
cmp esi, eax
jae 0x402d44
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x402d30
cmp esi, eax
jb 0x402d4a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x407ac0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, word [esp + 4]
mov dword [esp + 4], edx
jmp fcn.0041e9f1

Function at 0x41968a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x4196d1
call fcn.0041b3f6
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4196d1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4196ed
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00419202
mov esi, eax
test edi, edi
je 0x4196eb
test ebx, ebx
je 0x4196eb
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x419fbc
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x448c09
call fcn.00434000
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x419fe1
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x41a027
lea ecx, [ebp - 0x10]
call fcn.00403480
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004133e8
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004034f0
mov eax, esi
call fcn.004340d8
ret 8

Function at 0x41d520
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x41d568
call fcn.0041b3f6
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41d568
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x41d5ab
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x41d594
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x41d594
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x41d5a8
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x421813
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x42183e
call fcn.0041b3f6
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 8], eax
test eax, eax
jne 0x421861
push eax
push dword [esi + 4]
call fcn.00421799
push esi
push eax
mov ecx, 0x462bbc
call fcn.00421420
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x422184
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x44917a
call fcn.00434000
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.00422144
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.00403480
push dword [esi + 8]
mov edi, dword [edi + 8]
push 0
push 3
push dword [ebp + 0x18]
mov byte [ebp - 4], 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esi + 4], eax
test eax, eax
jne 0x4221ea
push eax
push dword [esi + 8]
call fcn.00421799
push dword [esi + 0xc]
mov ecx, 0x462bbc
push eax
call fcn.00421420
mov eax, esi
call fcn.004340d8
ret 0x18
Function at 0x4325e3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45f7e0]
jne 0x4325ed
repz ret
jmp fcn.0043988f

Function at 0x4435b1
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.004391f3
and dword [ebp - 4], 0
cmp dword [0x463a40], 0
mov ebx, eax
jne 0x443662
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x443713
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x443713
push eax
call fcn.00439181
mov dword [esp], 0x4510c8
push edi
mov dword [0x463a40], eax
call esi
push eax
call fcn.00439181
mov dword [esp], 0x4510b4
push edi
mov dword [0x463a44], eax
call esi
push eax
call fcn.00439181
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x463a48], eax
call esi
push eax
call fcn.00439181
pop ecx
mov dword [0x463a50], eax
test eax, eax
je 0x443662
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00439181
pop ecx
mov dword [0x463a4c], eax
mov eax, dword [0x463a4c]
cmp eax, ebx
je 0x4436ba
cmp dword [0x463a50], ebx
je 0x4436ba
push eax
call fcn.004391fc
push dword [0x463a50]
mov esi, eax
call fcn.004391fc
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4436ba
test edi, edi
je 0x4436ba
call esi
test eax, eax
je 0x4436b1
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4436b1
test byte [ebp - 0xc], 1
jne 0x4436ba
or dword [ebp + 0x10], 0x200000
jmp 0x4436f3
mov eax, dword [0x463a44]
cmp eax, ebx
je 0x4436f3
push eax
call fcn.004391fc
pop ecx
test eax, eax
je 0x4436f3
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4436f3
mov eax, dword [0x463a48]
cmp eax, ebx
je 0x4436f3
push eax
call fcn.004391fc
pop ecx
test eax, eax
je 0x4436f3
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x463a40]
call fcn.004391fc
pop ecx
test eax, eax
je 0x443713
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x443715
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x736f70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1c0000]
push edi
jmp 0x736f8a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x736f91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x736f80
mov eax, 1
add ebx, ebx
jne 0x736fa3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x736fb4
jne 0x736fd3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x736fd3
dec eax
add ebx, ebx
jne 0x736fc0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x736f98
add ebx, ebx
jne 0x736fcf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x737025
xor ecx, ecx
sub eax, 3
jb 0x736feb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x73705a
sar eax, 1
mov ebp, eax
jmp 0x736ff6
add ebx, ebx
jne 0x736ff6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x736fc4
inc ecx
add ebx, ebx
jne 0x737004
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x736fc4
add ebx, ebx
jne 0x737011
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x737006
jne 0x737022
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x737006
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x737044
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x737036
jmp 0x736f86
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x737044
add edi, ecx
jmp 0x736f86
pop esi
mov edi, esi
mov ecx, 0x8f66
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x737062
cmp byte [edi], 0x16
jne 0x737062
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x737067
lea edi, [esi + 0x32a000]
mov eax, dword [edi]
or eax, eax
je 0x7370df
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x409f78]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x40a198]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x737094
mov ecx, edi
jns 0x7370c3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x40a1a0]
or eax, eax
je 0x7370d9
mov dword [ebx], eax
add ebx, 4
jmp 0x7370b1
call dword [esi + 0x40a19c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x737110
cmp al, 0xef
ja 0x737103
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x7370e5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x7370f2
mov ebp, dword [esi + 0x40a1a4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x267]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x737144
sub esp, 0xffffff80
jmp 0x4e4144
Function at 0x403bb5
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1804
call fcn.0040d870
mov eax, dword [0x283b724]
mov ecx, dword [0x283b1b0]
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x403c89
mov edi, ecx
mov ebx, eax
cmp dword [0x283b724], 0x959
jne 0x403c79
push esi
lea eax, [ebp - 0x1000]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
push esi
push esi
lea eax, [ebp - 0x800]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsW]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0x403750
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push 0x40376c
push esi
call dword [sym.imp.KERNEL32.dll_FatalAppExitA]
push 0x403784
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
push esi
lea eax, [ebp - 0x1800]
push eax
push esi
push 0x4037a8
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push edi
call fcn.00403a47
add edi, 8
dec ebx
jne 0x403be1
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403f42
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1404
call fcn.0040d870
push ebx
mov ebx, dword [sym.imp.GDI32.dll_GetCharWidthI]
push esi
push edi
xor esi, esi
xor edi, edi
cmp edi, 0x986
jge 0x403f83
push esi
call dword [sym.imp.USER32.dll_GetCaretPos]
push esi
call dword [sym.imp.USER32.dll_SetClipboardViewer]
push esi
push esi
push esi
push esi
push esi
call ebx
push esi
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp edi, 0x4f4c8ec
jg 0x403fa5
inc edi
cmp edi, 0x3455969
jl 0x403f5f
cmp dword [0x283b724], 0x400
jne 0x4040ab
push esi
call dword [sym.imp.USER32.dll_GetDC]
push esi
lea eax, [esp + 0x414]
push eax
push esi
push 0x403920
push esi
call dword [sym.imp.KERNEL32.dll_FoldStringW]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
push esi
push esi
lea eax, [esp + 0xc18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push esi
lea eax, [esp + 0x14]
push eax
push 0x403934
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
push 0x403950
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push esi
call fcn.004047ba
pop ecx
push esi
call fcn.00404644
pop ecx
push esi
push esi
call fcn.0040477a
push esi
call fcn.00404dd9
add esp, 0xc
push esi
call fcn.00404ffa
fldz
sub esp, 0xc
fst qword [esp + 8]
fstp qword [esp]
call fcn.00404120
add esp, 8
fstp st(0)
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00404200
fstp st(0)
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00404950
fstp st(0)
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00404330
fstp st(0)
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00404ad0
fstp st(0)
push esi
push esi
call fcn.00404c24
push esi
call fcn.0040506e
add esp, 0x14
push esi
push esi
call fcn.0040467e
push esi
push esi
call fcn.004045d4
push esi
call fcn.00404e3e
add esp, 0x14
xor edi, edi
cmp edi, 0x16d2a
jge 0x4040bc
push esi
push esi
push esi
push esi
push esi
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp edi, 0x12e82fe
jg 0x4040da
inc edi
cmp edi, 0x3011b
jl 0x4040ad
mov eax, dword [0x443b84]
mov dword [0x283b724], eax
call fcn.00403c8e
mov edi, 0x2ec37
cmp dword [0x283b724], 0x51f
jne 0x404106
push esi
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
dec edi
jne 0x4040ee
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x407498
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4401f8]
jne 0x4074a2
repz ret
jmp fcn.0040c250
Function at 0x40c9ee
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4401f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004090f3
and dword [ebp - 0x14], 0
cmp dword [0x45870c], 0
mov dword [ebp - 0x18], eax
jne 0x40caa1
push 0x402e14
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40cb49
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402e08
push ebx
call edi
test eax, eax
je 0x40cb49
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x402df8
push ebx
mov dword [0x45870c], eax
call edi
push eax
call esi
push 0x402de4
push ebx
mov dword [0x458710], eax
call edi
push eax
call esi
push 0x402dc8
push ebx
mov dword [0x458714], eax
call edi
push eax
call esi
mov dword [0x45871c], eax
test eax, eax
je 0x40caa1
push 0x402db0
push ebx
call edi
push eax
call esi
mov dword [0x458718], eax
mov eax, dword [0x458718]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40cafa
cmp dword [0x45871c], ecx
je 0x40cafa
push eax
call esi
push dword [0x45871c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40cafa
test ebx, ebx
je 0x40cafa
call edi
test eax, eax
je 0x40caf1
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40caf1
test byte [ebp - 8], 1
jne 0x40cafa
or dword [ebp + 0x10], 0x200000
jmp 0x40cb2d
mov eax, dword [0x458710]
cmp eax, dword [ebp - 0x18]
je 0x40cb2d
push eax
call esi
test eax, eax
je 0x40cb2d
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40cb2d
mov eax, dword [0x458714]
cmp eax, dword [ebp - 0x18]
je 0x40cb2d
push eax
call esi
test eax, eax
je 0x40cb2d
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x45870c]
call esi
test eax, eax
je 0x40cb49
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40cb4b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407498
leave
ret