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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x47ecb0]
cmp byte [eax + 0xc], 0
je 0x44a939
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44a932
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x47fb70], 0
jne 0x44a820
push 0x44a940
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44a948
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47fb70], eax
cmp dword [0x47dbdc], 0
jne 0x44a91b
push 0x44a958
call sub.kernel32.dll_LoadLibraryA
mov dword [0x47dbdc], eax
cmp dword [0x47dbdc], 0
je 0x44a91b
push 0x44a964
mov eax, dword [0x47dbdc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47fb74], eax
push 0x44a974
mov eax, dword [0x47dbdc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47fb78], eax
push 0x44a988
mov eax, dword [0x47dbdc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47fb7c], eax
push 0x44a9a0
mov eax, dword [0x47dbdc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47fb80], eax
push 0x44a9b8
mov eax, dword [0x47dbdc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47fb84], eax
push 0x44a9cc
mov eax, dword [0x47dbdc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47fb88], eax
push 0x44a9e4
mov eax, dword [0x47dbdc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47fb8c], eax
push 0x44a9fc
mov eax, dword [0x47dbdc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47fb90], eax
push 0x44aa18
mov eax, dword [0x47dbdc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47fb94], eax
push 0x44aa24
mov eax, dword [0x47dbdc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47fb98], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a939
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44ec7c
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404034
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44eccb
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004042a4
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4564b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x456500]
test si, 4
je 0x4564c4
or bl, 1
test si, 8
je 0x4564ce
or bl, 4
test si, 1
je 0x4564d8
or bl, 8
test si, 2
je 0x4564e2
or bl, 0x10
test si, 0x10
je 0x4564ec
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4564fb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x456504
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45653c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45651d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45652c
or bl, 4
test esi, 0x20000000
je 0x456537
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45cbe4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45cbf6
add esp, 0xfffffff0
call fcn.00403608
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041da20
mov eax, dword [0x47e918]
mov dword [eax + 4], ebx
mov dword [eax], 0x45cf88
mov eax, dword [0x47e928]
mov dword [eax + 4], ebx
mov dword [eax], 0x45cf94
mov eax, ebx
call fcn.0045cfa0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4153cc]
call fcn.004032b4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4153cc]
call fcn.004032b4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4153cc]
call fcn.004032b4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4153cc]
call fcn.004032b4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4153cc]
call fcn.004032b4
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x4593bc
push eax
push 0
push 0
mov eax, dword [0x47ea8c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41f4c4]
call fcn.00420cd8
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41f4c4]
call fcn.00420cd8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41f4c4]
call fcn.00420cd8
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045d3c0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45d29c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45d29c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45d29c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45cd33
call fcn.00403660
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45d080
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45d22b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45d20c
mov dl, 1
mov eax, dword [0x415974]
call fcn.004032b4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404034
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45d1fb
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0044ab2c
test al, al
je 0x45d1ee
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x45d23c
lea eax, [ebp - 0x254]
call fcn.004090b4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45d1ee
xor eax, eax
push ebp
push 0x45d1e7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x45d274
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45d1d0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004042a4
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45d1d0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004042a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d1ee
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45d0f1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00419c10
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d232
lea eax, [ebp - 0x260]
call fcn.00404034
ret

Function at 0x45db60
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x47fbbc]
cmp byte [eax + 0xa5], 0
jne 0x45dbd1
cmp dword [0x47fbd4], 0
jne 0x45db92
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45db1c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x47fbd4], eax
cmp dword [0x47fbd0], 0
jne 0x45dbad
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x47fbd0], eax
cmp dword [0x47fbd8], 0
jne 0x45dbd1
push esp
push 0
push 0
push 0x45dac0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x47fbd8], eax
pop edx
ret
Function at 0x45dcc8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45dcdf
add esp, 0xfffffff0
call fcn.00403608
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041da20
mov eax, dword [0x47ea78]
cmp word [eax + 2], 0
jne 0x45dd07
mov eax, dword [0x47ea78]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045f448
mov eax, dword [0x47eb38]
cmp word [eax + 2], 0
jne 0x45dd21
mov eax, dword [0x47eb38]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045f640
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4153cc]
call fcn.004032b4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4153cc]
call fcn.004032b4
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x420044]
call fcn.00427d00
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45dea8
mov eax, dword [0x47e984]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004280d0
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45fbf0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x47e984]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c804
test eax, eax
je 0x45de16
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408aa8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c82c
test eax, eax
je 0x45de2a
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004042a4
mov eax, dword [0x47e834]
cmp byte [eax], 0
jne 0x45de5e
mov eax, ebx
call fcn.0045dfd0
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045fdcc
mov eax, ebx
call fcn.00460790
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45de9e
call fcn.00403660
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45e250
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x47fbbc]
cmp dword [eax + 0x30], 0
je 0x45e2fa
cmp dword [ebx + 0x94], 0
jne 0x45e2f4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45e1e0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45e2f4
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45e2ba
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45e2f4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004178c0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45e2c9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45ee5c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45ee91
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404124
jmp 0x45ee9e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404088
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45ffa8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45ffe9
mov eax, esi
call fcn.004460f4
test al, al
je 0x45ffe9
mov eax, dword [ebx + 0x84]
call fcn.00445df0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45ffe9
push 0
mov eax, dword [ebx + 0x84]
call fcn.00445df0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4636b0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4636de
mov eax, ebx
call fcn.00464164
cmp dword [ebx + 0x40], 0
je 0x4636d7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x46374f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x463741
cmp dword [ebx + 8], 0
je 0x463700
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x463712
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x463741
cmp dword [ebx + 8], 0
je 0x4636f3
cmp eax, 3
je 0x463725
dec eax
jne 0x4636f3
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4636f3
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4636f3
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x46376d
cmp dword [ebx + 0x14], 0xcc
je 0x46376d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00463778
pop ebx
ret
Function at 0x4740e4
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x41497c]
call fcn.004049a0
xor eax, eax
push ebp
push 0x474228
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x47e718], 0
jne 0x474137
mov ecx, dword [0x47e848]
mov dl, 1
mov eax, dword [0x40727c]
call fcn.0040bab0
call fcn.00403a70
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402cf8
mov eax, ebx
call fcn.00404870
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x474238
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405924
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404880
test eax, eax
jle 0x4741cf
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4741c8
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004042bc
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004042a4
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408110
test eax, eax
jne 0x4741c8
mov ebx, 0x15
jmp 0x4741d4
mov ebx, 0x10
jmp 0x4741d4
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x47e718]
call fcn.0047403c
mov eax, dword [ebp - 8]
call fcn.0047403c
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.0040593c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47422f
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404058
lea eax, [ebp - 0x10]
mov edx, dword [0x41497c]
call fcn.00404a70
ret
Function at 0x401240
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x420700]
xor eax, esp
mov dword [esp + 0x210], eax
lea eax, [esp]
push eax
push 0x20019
push 0
push str.SOFTWARETencentQQPCMgr
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40128a
xor al, al
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0040769d
add esp, 0x214
ret
mov eax, dword [esp]
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0xc]
push edx
push 0
push 0
push 0x41b244
push eax
mov dword [esp + 0x1c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x401273
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 8]
push edx
call fcn.004011e0
mov ecx, dword [esp + 0x214]
add esp, 4
xor ecx, esp
call fcn.0040769d
add esp, 0x214
ret
Function at 0x4027c0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x419b58
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x420700]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x420700]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x98]
mov ebx, dword [esp + 0x9c]
xor esi, esi
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], esi
mov word [esp + 0x6c], si
xor eax, eax
push 0x44
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x28]
push esi
push eax
mov dword [esp + 0x9c], esi
call fcn.00407590
mov eax, dword [ebx + 0x14]
add esp, 0xc
xor edi, edi
cmp eax, esi
mov dword [esp + 0x24], 0x44
je 0x4028eb
lea esi, [eax + 0x208]
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00406fd4
push 0x41b338
mov edi, eax
push esi
push edi
call fcn.004083d2
add esp, 0x10
cmp dword [ebp + 0x18], 8
jb 0x402891
mov ebp, dword [ebp + 4]
jmp 0x402894
add ebp, 4
push ebp
push esi
push edi
call fcn.00408358
push 0x41b330
push esi
push edi
call fcn.00408358
mov ebp, 8
add esp, 0x18
cmp dword [ebx + 0x18], ebp
jb 0x4028ba
mov ebx, dword [ebx + 4]
jmp 0x4028bd
add ebx, 4
push ebx
push esi
push edi
call fcn.00408358
add esp, 0xc
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
push edi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
xor esi, esi
jmp 0x402917
cmp dword [ebp + 0x18], 8
jb 0x4028f6
mov ebp, dword [ebp + 4]
jmp 0x4028f9
add ebp, 4
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x28]
push eax
push esi
push esi
push esi
push 1
push esi
push esi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebp, 8
cmp eax, esi
jne 0x402935
cmp dword [esp + 0x80], ebp
jb 0x402931
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.004074ae
add esp, 4
xor al, al
jmp 0x402991
mov eax, dword [esp + 0x18]
cmp eax, esi
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x40294a
push eax
call ebx
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x40296c
cmp byte [esp + 0xa0], 0
je 0x402969
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x14]
push eax
call ebx
cmp edi, esi
je 0x402979
push edi
call fcn.0040760a
add esp, 4
cmp dword [esp + 0x80], ebp
jb 0x40298f
mov edx, dword [esp + 0x6c]
push edx
call fcn.004074ae
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0040769d
add esp, 0x80
ret
Function at 0x404690
Capabilities:
Get common file path

Disassembly:
sub esp, 0x624
mov eax, dword [0x420700]
xor eax, esp
mov dword [esp + 0x620], eax
push esi
push edi
mov edi, dword [esp + 0x630]
xor esi, esi
push 0x20a
lea eax, [esp + 0xe]
push esi
push eax
mov word [esp + 0x14], si
call fcn.00407590
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
add eax, 0xffffffff
cmp eax, 0x103
ja 0x40479a
push 0x410
lea edx, [esp + 0x21a]
push esi
push edx
mov word [esp + 0x21e], si
mov word [esp + 0x220], si
call fcn.00407590
add esp, 0xc
push 0x208
lea eax, [esp + 0x218]
push eax
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x40475e
cmp eax, esi
je 0x40475e
lea edx, [esp + 0x214]
push edx
mov ecx, edi
mov word [esp + eax*2 + 0x218], si
call fcn.00403880
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x620]
xor ecx, esp
call fcn.0040769d
add esp, 0x624
ret
lea eax, [esp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x404765
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xc]
push eax
mov ecx, edi
call fcn.00402e90
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x620]
xor ecx, esp
call fcn.0040769d
add esp, 0x624
ret
mov ecx, dword [esp + 0x628]
pop edi
pop esi
xor ecx, esp
xor al, al
call fcn.0040769d
add esp, 0x624
ret

Function at 0x405b70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x41a15b
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push esi
push edi
mov eax, dword [0x420700]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
movzx eax, word [esp + 0xa4]
push 0x41b434
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x405c6f
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x405c6f
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x405c6f
mov eax, dword [esp + 0xa8]
cmp dword [eax + 0x18], 8
jb 0x405bfa
mov eax, dword [eax + 4]
jmp 0x405bfd
add eax, 4
push 1
push 0x40
push 0x20
push eax
lea ecx, [esp + 0x1c]
call fcn.004056d0
push esi
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0xa4], 0
call fcn.004055c0
lea ecx, [esp + 0xc]
call fcn.00404c90
lea ecx, [esp + 0x60]
mov dword [esp + 0x9c], 0xffffffff
call fcn.00404c20
lea ecx, [esp + 0x60]
push ecx
mov dword [esp + 0x64], vtable.std::ios_base.0
call fcn.00406e94
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x94
ret
xor al, al
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x94
ret