joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406020
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5ac9e8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x627490]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x627490]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
lea edx, [edi + 0x10]
lea ecx, [esp + 0x18]
call fcn.00421150
mov dword [esp + 0x40], 0
mov eax, dword [esp + 0x28]
add eax, 0xa
mov dword [edi], eax
add eax, 4
push eax
call fcn.00448bc8
mov esi, eax
mov dword [esp + 0x14], 0xe
mov eax, dword [edi]
sub esp, 0x14
mov ecx, esp
mov dword [esi], eax
movzx eax, byte [edi + 4]
mov byte [esi + 4], al
movzx eax, byte [edi + 5]
mov byte [esi + 5], al
mov eax, dword [edi + 8]
mov dword [esi + 6], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xa], eax
lea eax, [esp + 0x30]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004047d0
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call fcn.00405f80
mov ecx, dword [edi]
add esp, 0x1c
add ecx, 4
mov dword [ebx], esi
cmp dword [esp + 0x2c], 0x10
mov dword [ebx + 4], ecx
jb 0x4060fa
push dword [esp + 0x18]
call fcn.00448bd1
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00570ab6
mov esp, ebp
pop ebp
ret 4

Function at 0x4071d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5acbb8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x627490]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.00592bb2
mov esi, dword [ebp + 8]
lea ecx, [edi + 0x28]
mov dword [ebp - 4], 0
mov dword [edi], vtable.std::_LaunchPad_class_std::_Bind_1__void__void____cdecl__const__struct_AgentPack::CreateAgentAppLinkPack___struct_AgentPack::CreateAgentAppLinkPack__.0
push 0xffffffffffffffff
mov eax, dword [esi]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 4]
mov dword [edi + 0x14], eax
movzx eax, byte [esi + 8]
mov byte [edi + 0x18], al
movzx eax, byte [esi + 9]
mov byte [edi + 0x19], al
mov eax, dword [esi + 0xc]
mov dword [edi + 0x1c], eax
movzx eax, byte [esi + 0x10]
mov byte [edi + 0x20], al
mov eax, dword [esi + 0x14]
mov dword [edi + 0x24], eax
lea eax, [esi + 0x18]
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004047d0
mov ax, word [esi + 0x30]
mov word [edi + 0x40], ax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40b980
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5ad2fb
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
mov eax, dword [0x627490]
xor eax, esp
mov dword [esp + 0x1a0], eax
push ebx
push esi
push edi
mov eax, dword [0x627490]
xor eax, esp
push eax
lea eax, [esp + 0x1b8]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.0045ea61
push 0
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call fcn.0046337c
mov edi, eax
mov dword [esp + 0x14], edi
test edi, edi
je 0x40ba83
call fcn.0045f9ca
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x40ba02
push 0x80004005
call fcn.0040ccd0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
push 0x65
mov dword [esp + 0x1c4], 0
call fcn.00462c97
test eax, eax
je 0x40ba36
push 0x65
push eax
lea ecx, [esp + 0x20]
call fcn.0040c660
mov esi, dword [esp + 0x18]
cmp dword [esi - 0xc], 0
je 0x40ba5e
push 0
push 0
push 0x800
push dword [edi + 4]
mov edi, dword [sym.imp.USER32.dll_AppendMenuW]
call edi
mov eax, dword [esp + 0x14]
push esi
push 0x10
push 0
push dword [eax + 4]
call edi
add esi, 0xfffffff0
mov dword [esp + 0x1c0], 0xffffffff
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40ba83
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebx + 0xbc]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push 0x80
push dword [ebx + 0x20]
call esi
push dword [ebx + 0xbc]
push 0
push 0x80
push dword [ebx + 0x20]
call esi
lea eax, [esp + 0x1c]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ecx, ebx
call fcn.0040b840
mov eax, 1
mov ecx, dword [esp + 0x1b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1a0]
xor ecx, esp
call fcn.00570ab6
mov esp, ebp
pop ebp
ret

Function at 0x40c2f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
movzx eax, ax
mov dword [ebp + 8], eax
pop ebp
jmp fcn.0045e2e1

Function at 0x40c530
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40c545
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40c584
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x40c580
lea ebx, [ebx]
cmp esi, edx
jae 0x40c584
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x40c570
cmp esi, edx
jb 0x40c589
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret
Function at 0x40f3d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ad7bb
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x627490]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea edx, [edi + 0x30]
mov byte [edi + 0x1c], 0
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
mov dword [ebp - 4], 0
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp + 8], 0x2c
mov eax, dword [esi]
mov dword [edi], eax
movzx eax, byte [esi + 4]
mov byte [edi + 4], al
movzx eax, byte [esi + 5]
mov byte [edi + 5], al
movzx eax, word [esi + 6]
mov word [edi + 6], ax
movzx eax, word [esi + 8]
mov word [edi + 8], ax
movzx eax, word [esi + 0xa]
mov word [edi + 0xa], ax
movzx eax, word [esi + 0xc]
mov word [edi + 0xc], ax
movzx eax, word [esi + 0xe]
mov word [edi + 0xe], ax
movzx eax, word [esi + 0x10]
mov word [edi + 0x10], ax
movzx eax, word [esi + 0x12]
mov word [edi + 0x12], ax
movzx eax, word [esi + 0x14]
mov word [edi + 0x14], ax
movzx eax, word [esi + 0x16]
mov word [edi + 0x16], ax
movzx eax, word [esi + 0x18]
mov word [edi + 0x18], ax
movzx eax, word [esi + 0x1a]
mov word [edi + 0x1a], ax
movzx eax, byte [esi + 0x1c]
mov byte [edi + 0x1c], al
mov eax, dword [esi + 0x1d]
mov dword [edi + 0x20], eax
mov eax, dword [esi + 0x21]
mov dword [edi + 0x24], eax
movzx eax, byte [esi + 0x25]
mov byte [edi + 0x28], al
movzx eax, byte [esi + 0x26]
mov byte [edi + 0x29], al
movzx eax, byte [esi + 0x27]
mov byte [edi + 0x2a], al
mov eax, dword [esi + 0x28]
push eax
mov dword [edi + 0x2c], eax
lea eax, [ebp + 8]
push edx
push eax
call fcn.00408290
mov ecx, dword [ebp + 8]
add esp, 0xc
mov eax, dword [ecx + esi]
mov dword [edi + 0x48], eax
movzx eax, word [ecx + esi + 4]
mov word [edi + 0x4c], ax
movzx eax, byte [ecx + esi + 6]
mov byte [edi + 0x4e], al
mov eax, dword [ecx + esi + 7]
mov dword [edi + 0x50], eax
mov eax, dword [ecx + esi + 0xb]
mov dword [edi + 0x54], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x418a20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ae4b8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x627490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x5c], 0
call fcn.0043e500
push str.pro.nlp
lea edx, [ebp - 0x58]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.004098c0
add esp, 4
mov byte [ebp - 4], 1
lea edx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x40]
call fcn.0042c670
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov edx, 0x5fa63d
push 0
cmovae ecx, dword [ebp - 0x28]
call fcn.00405ee0
add esp, 4
test eax, eax
jne 0x418ad2
cmp dword [ebp - 0x18], eax
setne al
test eax, eax
jne 0x418ad2
push eax
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], eax
push 0x5fa63d
mov byte [esi], al
call fcn.00404c00
jmp 0x418b06
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x418afa
test al, 0x10
je 0x418afa
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.004044f0
jmp 0x418b06
push 0x5fa63d
mov ecx, esi
call fcn.00404490
cmp dword [ebp - 0x14], 0x10
jb 0x418b17
push dword [ebp - 0x28]
call fcn.00448bd1
add esp, 4
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x418b3a
push dword [ebp - 0x40]
call fcn.00448bd1
add esp, 4
cmp dword [ebp - 0x44], 0x10
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jb 0x418b5d
push dword [ebp - 0x58]
call fcn.00448bd1
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00570ab6
mov esp, ebp
pop ebp
ret
Function at 0x420890
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aec52
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x627490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x154], 0
push 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push 0x5fa63d
mov dword [ebp - 0x158], esi
mov byte [esi], 0
call fcn.00404c00
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x154], 1
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x18
push str.unknown_OperatingSystem.
mov ecx, esi
mov dword [ebp - 0x150], 0x11c
call fcn.00404c00
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x420a56
mov eax, dword [ebp - 0x14c]
sub eax, 4
je 0x420a11
dec eax
je 0x4209b4
dec eax
jne 0x420a56
mov eax, dword [ebp - 0x148]
sub eax, 0
je 0x420998
dec eax
je 0x42097c
dec eax
jne 0x420a56
cmp byte [ebp - 0x36], 1
jne 0x420a56
push str.Microsoft_Windows_10
jmp 0x420a4f
cmp byte [ebp - 0x36], 1
mov ecx, esi
jne 0x42098e
push str.Microsoft_Windows_7
jmp 0x420a51
push str.Microsoft_Windows_Server_2008_R2
jmp 0x420a51
cmp byte [ebp - 0x36], 1
mov ecx, esi
jne 0x4209aa
push str.Microsoft_Windows_Vista
jmp 0x420a51
push str.Microsoft_Windows_Server_2008
jmp 0x420a51
mov eax, dword [ebp - 0x148]
sub eax, 0
je 0x420a0a
dec eax
je 0x420a03
dec eax
jne 0x420a56
cmp byte [ebp - 0x36], 1
jne 0x4209dd
cmp word [ebp - 0x34], 9
jne 0x4209dd
push str.Microsoft_Windows_XP_Professional_x64_Edition
jmp 0x420a4f
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x4209f0
push str.Microsoft_Windows_Server_2003
jmp 0x420a4f
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x420a56
push str.Microsoft_Windows_Server_2003_R2
jmp 0x420a4f
push str.Microsoft_Windows_XP
jmp 0x420a4f
push str.Microsoft_Windows_2000
jmp 0x420a4f
mov eax, dword [ebp - 0x148]
test eax, eax
je 0x420a33
cmp eax, 0xa
je 0x420a2c
cmp eax, 0x5a
jne 0x420a56
push str.Microsoft_Windows_Me
jmp 0x420a4f
push str.Microsoft_Windows_98
jmp 0x420a4f
mov eax, dword [ebp - 0x140]
cmp eax, 2
jne 0x420a45
push str.Microsoft_Windows_NT_4.0
jmp 0x420a4f
cmp eax, 1
jne 0x420a56
push str.Microsoft_Windows_95
mov ecx, esi
call fcn.00405a30
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00570ab6
mov esp, ebp
pop ebp
ret
Function at 0x426070
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5af170
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x627490]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push 0x5fa63d
mov byte [esi], 0
call fcn.00404c00
lea ecx, [esi + 0x18]
mov dword [ebp - 4], 0
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x5fa63d
mov byte [ecx], 0
call fcn.00404c00
mov byte [ebp - 4], 1
lea ecx, [esi + 0x40]
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x5fa63d
mov byte [ecx], 0
call fcn.00404c00
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 2
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x5fa63d
mov byte [ecx], 0
call fcn.00404c00
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 3
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x5fa63d
mov byte [ecx], 0
call fcn.00404c00
lea ecx, [esi + 0x88]
mov byte [ebp - 4], 4
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x5fa63d
mov byte [ecx], 0
call fcn.00404c00
lea ecx, [esi + 0xa0]
mov byte [ebp - 4], 5
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x5fa63d
mov byte [ecx], 0
call fcn.00404c00
lea ecx, [esi + 0xb8]
mov byte [ebp - 4], 6
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x5fa63d
mov byte [ecx], 0
call fcn.00404c00
mov word [esi + 0xd0], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x427790
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5af30b
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x627490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x104
lea eax, [ebp - 0x218]
mov dword [ebp - 0x234], 0
push eax
push str.APPDATA
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x230]
call fcn.00421850
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
cmp dword [ebp - 0x21c], 0x10
mov edx, 0x5fa63d
push 0
cmovae ecx, dword [ebp - 0x230]
call fcn.00405ee0
add esp, 4
test eax, eax
jne 0x42782b
cmp dword [ebp - 0x220], eax
setne al
test eax, eax
je 0x42784f
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42784f
test al, 0x10
jne 0x427861
push 1
push 0x5fdba4
lea ecx, [ebp - 0x230]
call fcn.00404c00
push 1
push 0
push esi
lea ecx, [ebp - 0x230]
call fcn.00421c10
cmp dword [ebp - 0x21c], 0x10
jb 0x427888
push dword [ebp - 0x230]
call fcn.00448bd1
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00570ab6
mov esp, ebp
pop ebp
ret
Function at 0x42bcd0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x627490]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, edx
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp + 8]
xor esi, esi
xor bl, bl
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], edx
cmp dword [ecx + 0x10], esi
je 0x42be21
cmp dword [eax + 0x10], esi
je 0x42be21
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.00404590
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x42be21
push edi
push 0x633f94
push eax
call fcn.00572763
mov edi, eax
add esp, 8
test edi, edi
je 0x42be0e
mov ecx, dword [ebp - 0x18]
push edi
push dword [ebp - 0x20]
push dword [ebp - 0xc]
call fcn.00404590
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x42bdf8
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push str.VarFileInfoTranslation
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x42bdf8
mov eax, dword [ebp - 0x10]
push 0x633f94
push 0x80
movzx ecx, word [eax]
movzx eax, word [eax + 2]
shl ecx, 0x10
or ecx, eax
mov dword [ebp - 0x18], ecx
call fcn.00572763
mov esi, eax
add esp, 8
test esi, esi
je 0x42bdf8
mov ecx, dword [ebp - 0x1c]
call fcn.00404590
push eax
push dword [ebp - 0x18]
push str.StringFileInfo_08lx_s
push 0x80
push esi
call fcn.005713bc
add esp, 0x14
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x42bdf6
mov edx, dword [ebp - 0x14]
cmp byte [edx], bl
jne 0x42bdde
xor ecx, ecx
jmp 0x42bdec
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42bde3
sub ecx, ebx
push ecx
mov ecx, dword [ebp - 0x24]
push edx
call fcn.00404c00
mov bl, 1
push edi
call fcn.00448bd1
add esp, 4
test esi, esi
je 0x42be0e
push esi
call fcn.00448bd1
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00570ab6
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.00570ab6
mov esp, ebp
pop ebp
ret

Function at 0x42be70
Capabilities:
Create directory

Disassembly:
test ecx, ecx
jne 0x42be77
xor eax, eax
ret
push ebx
push edi
push ecx
call fcn.00572ab6
mov ebx, eax
add esp, 4
mov edi, ebx
lea eax, [edi + 1]
lea esp, [esp]
mov cl, byte [edi]
inc edi
test cl, cl
jne 0x42be90
push esi
sub edi, eax
xor esi, esi
test edi, edi
jle 0x42bed4
mov al, byte [ebx + esi]
cmp al, 0x5c
je 0x42beab
cmp al, 0x2f
jne 0x42becf
push 0
push ebx
mov byte [ebx + esi], 0
call fcn.00572b06
add esp, 8
test eax, eax
je 0x42becb
push ebx
call fcn.00572b66
add esp, 4
test eax, eax
jne 0x42beff
mov byte [ebx + esi], 0x2f
inc esi
cmp esi, edi
jl 0x42bea0
push 0
push ebx
call fcn.00572b06
mov esi, eax
add esp, 8
test esi, esi
je 0x42bef0
push ebx
call fcn.00572b66
add esp, 4
mov esi, eax
push ebx
call fcn.005712f4
add esp, 4
mov eax, esi
pop esi
pop edi
pop ebx
ret
pop esi
pop edi
or eax, 0xffffffff
pop ebx
ret
Function at 0x42e4c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5afd0f
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x627490]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x10], 0
mov dword [edi], 0x5fdc64
mov dword [edi + 0x60], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
mov eax, dword [edi]
mov dword [ebp - 0x10], 1
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov esi, dword [eax + 4]
add esi, edi
mov ecx, esi
call fcn.00420a80
lea eax, [ebp - 0x14]
mov dword [esi + 0x3c], 0
lea ebx, [edi + 4]
mov ecx, esi
push eax
mov dword [esi + 0x38], ebx
call fcn.004043b0
push eax
mov dword [ebp - 4], 2
call fcn.00405300
mov byte [ebp - 4], 1
add esp, 4
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x42e57c
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x42e57c
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, dword [ebp - 0x18]
push 0x20
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], al
jne 0x42e5a1
mov eax, dword [esi + 0xc]
mov ecx, esi
or eax, 4
push 0
push eax
call fcn.004042f0
mov dword [ebp - 4], 3
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ecx + edi - 4], eax
mov ecx, ebx
call fcn.00423e20
lea eax, [ebx + 4]
mov dword [ebx], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [ebx + 0xc], eax
lea ecx, [ebx + 8]
lea eax, [ebx + 0x14]
mov byte [ebx + 0x4c], 0
mov dword [ebx + 0x1c], eax
lea eax, [ebx + 0x18]
mov dword [ebx + 0x20], eax
lea eax, [ebx + 0x24]
mov dword [ebx + 0x2c], eax
lea eax, [ebx + 0x28]
mov dword [ebx + 0x30], eax
mov byte [ebx + 0x45], 0
mov dword [ebx + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [ebx + 0x20]
mov dword [eax], 0
mov eax, dword [ebx + 0x30]
mov dword [eax], 0
mov eax, dword [ebx + 0xc]
mov dword [eax], 0
mov eax, dword [ebx + 0x1c]
mov dword [eax], 0
mov eax, dword [ebx + 0x2c]
mov dword [eax], 0
mov dword [ebx + 0x50], 0
mov eax, dword [0x63780c]
mov dword [ebx + 0x48], eax
mov eax, edi
mov dword [ebx + 0x40], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42e980
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5ac9e8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x627490]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x627490]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x42ead4
cmp byte [ebx + 0x45], 0
je 0x42ead4
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x42e9e0
xor al, al
jmp 0x42ead6
mov ecx, 0xf
mov byte [esp + 0x18], 0
xorps xmm0, xmm0
mov dword [esp + 0x2c], ecx
cmp ecx, 0x10
movq qword [esp + 0x18], xmm0
lea eax, [esp + 0x18]
mov dword [esp + 0x28], 8
cmovae eax, dword [esp + 0x18]
mov byte [eax + 8], 0
mov dword [esp + 0x40], 0
jmp 0x42ea20
cmp dword [esp + 0x2c], 0x10
lea eax, [esp + 0x14]
mov ecx, dword [ebx + 0x40]
lea edi, [esp + 0x18]
cmovae edi, dword [esp + 0x18]
lea esi, [esp + 0x18]
cmovae esi, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x42ea61
dec eax
je 0x42ea65
sub eax, 2
je 0x42eabb
xor bl, bl
jmp 0x42eabd
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x18]
cmp ecx, 0x10
mov esi, dword [esp + 0x14]
cmovae eax, edx
sub esi, eax
je 0x42ea9c
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0057382b
add esp, 0x10
cmp esi, eax
jne 0x42ea5d
cmp byte [ebx + 0x45], 0
je 0x42eabb
test esi, esi
jne 0x42ea20
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.00424eb0
jmp 0x42ea20
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x42ead0
push dword [esp + 0x18]
call fcn.00448bd1
add esp, 4
mov al, bl
jmp 0x42ead6
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00570ab6
mov esp, ebp
pop ebp
ret