joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432919
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [0x4ba760]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x1f4
lea eax, [ebp - 0x314]
push 0
push eax
call fcn.0046b9e0
mov esi, 0x114
lea eax, [ebp - 0x120]
push esi
push 0
mov ebx, 0x1f8
push eax
mov dword [ebp - 0x318], ebx
call fcn.0046b9e0
add esp, 0x18
mov dword [ebp - 0x120], esi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jae 0x432986
sub dword [ebp - 0x318], 4
push 0
lea eax, [ebp - 0x318]
push eax
push ebx
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea eax, [ebp - 0x180]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0046933f
mov esp, ebp
pop ebp
ret

Function at 0x432a21
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4ba760]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov word [ebp - 8], 0x500
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], ebx
push eax
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x432a72
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
cmp dword [ebp - 0x10], 0
pop ebx
je 0x432a82
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046933f
mov esp, ebp
pop ebp
ret

Function at 0x433426
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov bl, byte [ebp + 8]
xor eax, eax
push esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test bl, bl
push edi
push 5
mov edi, ecx
pop ecx
cmovne eax, ecx
push eax
push dword [edi + 8]
mov dword [ebp + 8], eax
call esi
push 0x4a44d8
push dword [edi + 8]
call dword [sym.imp.USER32.dll_GetPropW]
push 0
push eax
call esi
mov esi, dword [edi + 0x14]
mov byte [edi + 0x48], bl
mov ebx, dword [ebp + 8]
push ebx
cmp esi, dword [edi + 0x18]
je 0x433479
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
add esi, 0x14
jmp 0x433466
push dword [edi + 0x54]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x435cf0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
add ecx, 0x18
call fcn.0040c976
call fcn.004300d3
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x43925b
Capabilities:
Create thread

Disassembly:
push esi
push edi
push 8
mov edi, ecx
call fcn.0043c30a
mov edx, eax
xor esi, esi
pop ecx
test edx, edx
je 0x439276
mov dword [edx], esi
mov dword [edx + 4], esi
jmp 0x439278
mov edx, esi
mov eax, dword [edi + 0x98]
push esi
push esi
push edx
push 0x40bf77
mov dword [edx], eax
mov eax, dword [edi + 0x20]
push esi
push esi
mov dword [edx + 4], eax
call fcn.00469b79
push 8
call fcn.0043c30a
mov ecx, eax
add esp, 0x1c
test ecx, ecx
je 0x4392ac
mov dword [ecx], esi
mov dword [ecx + 4], esi
jmp 0x4392ae
mov ecx, esi
mov eax, dword [edi + 0x98]
push esi
push esi
push ecx
push 0x40bf4f
mov dword [ecx], eax
mov eax, dword [edi + 0x20]
push esi
push esi
mov dword [ecx + 4], eax
call fcn.00469b79
add esp, 0x18
pop edi
pop esi
ret

Function at 0x4392d1
Capabilities:
Terminate process

Disassembly:
mov eax, dword [ecx + 0x98]
cmp byte [eax + 0x101e], 0
je 0x4392f4
cmp dword [eax + 0x1084], 0
jne 0x4392f4
mov ecx, dword [ecx + 0x9c]
jmp fcn.00435cf0
ret

Function at 0x4397f9
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48f69c
mov eax, dword fs:[0]
push eax
sub esp, 0x8d0
mov eax, dword [0x4ba760]
xor eax, esp
mov dword [esp + 0x8c8], eax
push ebx
push esi
push edi
mov eax, dword [0x4ba760]
xor eax, esp
push eax
lea eax, [esp + 0x8e0]
mov dword fs:[0], eax
mov edi, ecx
and dword [esp + 0x18], 0
mov esi, 0x7d2
mov ecx, dword [edi + 0x98]
call fcn.00406df0
mov dword [esp + 0x14], eax
test eax, eax
je 0x439931
cmp eax, 4
jne 0x439936
mov ecx, dword [edi + 0x98]
lea eax, [esp + 0x304]
push eax
call fcn.0042cd25
and dword [esp + 0x8e8], 0
xor ebx, ebx
inc ebx
cmp dword [eax + 0x1bc], 0
mov dword [esp + 0x18], ebx
jbe 0x4398b1
mov ecx, dword [edi + 0x98]
lea eax, [esp + 0x1c]
push eax
call fcn.0042cd25
push 3
pop ebx
mov byte [esp + 0x13], 1
cmp dword [eax + 0x224], 0
je 0x4398b6
mov byte [esp + 0x13], 0
test bl, 2
je 0x4398c7
lea ecx, [esp + 0x1c]
and ebx, 0xfffffffd
call fcn.0040420a
or dword [esp + 0x8e8], 0xffffffff
test bl, 1
je 0x4398e0
lea ecx, [esp + 0x304]
call fcn.0040420a
cmp byte [esp + 0x13], 0
je 0x439926
mov ecx, dword [edi + 0x98]
lea eax, [esp + 0x5ec]
push eax
call fcn.0042cd25
add eax, 0x1c4
cmp dword [eax + 0x14], 8
jb 0x439907
mov eax, dword [eax]
push 1
xor ecx, ecx
push ecx
push ecx
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x5ec]
call fcn.0040420a
mov eax, dword [esp + 0x14]
mov esi, 0x7d1
jmp 0x439936
mov esi, 0x7d0
push eax
push esi
push 0x401
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esp + 0x8e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x8c8]
xor ecx, esp
call fcn.0046933f
mov esp, ebp
pop ebp
ret
Function at 0x439fc2
Capabilities:
Get graphical window text
Get number of processors
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48f851
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x4ba760]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push esi
push edi
mov eax, dword [0x4ba760]
xor eax, esp
push eax
lea eax, [esp + 0x170]
mov dword fs:[0], eax
mov dword [esp + 0x1c], ecx
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
test edi, edi
je 0x43a026
imul eax, eax, 0x64
xor edx, edx
div edi
mov ebx, eax
jmp 0x43a029
push 0x64
pop ebx
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push ebx
push 0x402
push dword [ecx + 0x34]
call esi
mov edx, ebx
lea ecx, [esp + 0x50]
call fcn.00405ef4
and dword [esp + 0x178], 0
lea ecx, [esp + 0x68]
push 0x4a5c10
mov edx, eax
call fcn.0040eacf
pop ecx
mov ebx, dword [esp + 0x1c]
mov edx, eax
mov byte [esp + 0x178], 1
lea ecx, [ebx + 0x18]
push ecx
lea ecx, [esp + 0x3c]
call fcn.0040eaa7
pop ecx
push 0
push 1
lea ecx, [esp + 0x70]
call fcn.00405131
push 0
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0x180], 4
call fcn.00405131
cmp dword [esp + 0x4c], 8
lea eax, [esp + 0x38]
cmovae eax, dword [esp + 0x38]
push eax
push 0
push 0xc
push dword [ebx + 0x30]
call esi
push ecx
push str.Downloaded
lea ecx, [esp + 0xd4]
call fcn.00410c0a
push dword [esp + 0x14]
lea edx, [esp + 0xd0]
mov byte [esp + 0x17c], 5
lea ecx, [esp + 0x104]
call fcn.00421cb0
pop ecx
add eax, 0x18
mov byte [esp + 0x178], 6
push eax
lea ecx, [esp + 0x24]
call fcn.00404e83
lea ecx, [esp + 0x100]
call fcn.00410d9a
lea ecx, [esp + 0xcc]
mov byte [esp + 0x178], 9
call fcn.00410d9a
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push 0
push dword [esp + 0x1c]
call fcn.00423c0c
pop ecx
pop ecx
push 0xffffffffffffffff
mov byte [esp + 0x17c], 0xa
push 0
push eax
lea ecx, [esp + 0x2c]
call fcn.00405274
push 0
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0x180], 9
call fcn.00405131
push ecx
push str._from
lea ecx, [esp + 0xa0]
call fcn.00410c0a
push dword [esp + 0x14]
lea edx, [esp + 0x9c]
mov byte [esp + 0x17c], 0xb
lea ecx, [esp + 0x138]
call fcn.00421cb0
pop ecx
push 0xffffffffffffffff
push 0
add eax, 0x18
mov byte [esp + 0x180], 0xc
push eax
lea ecx, [esp + 0x2c]
call fcn.00405274
lea ecx, [esp + 0x134]
call fcn.00410d9a
lea ecx, [esp + 0x98]
mov byte [esp + 0x178], 9
call fcn.00410d9a
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x80]
push 0
push edi
call fcn.00423c0c
pop ecx
pop ecx
push 0xffffffffffffffff
xor edi, edi
mov byte [esp + 0x17c], 0xd
push edi
push eax
lea ecx, [esp + 0x2c]
call fcn.00405274
push edi
push 1
lea ecx, [esp + 0x88]
call fcn.00405131
cmp dword [esp + 0x34], 8
lea eax, [esp + 0x20]
cmovae eax, dword [esp + 0x20]
push eax
push edi
push 0xc
push dword [ebx + 0x38]
call esi
push edi
push 1
lea ecx, [esp + 0x28]
call fcn.00405131
push edi
push 1
lea ecx, [esp + 0x40]
call fcn.00405131
mov ecx, dword [esp + 0x170]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.0046933f
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43b6ff
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [0x4ba760]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x1f4
lea eax, [ebp - 0x314]
mov esi, ecx
push 0
push eax
call fcn.0046b9e0
mov edi, 0x114
mov dword [ebp - 0x318], 0x1f8
push edi
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.0046b9e0
add esp, 0x18
mov dword [ebp - 0x120], edi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jae 0x43b76d
sub dword [ebp - 0x318], 4
push 0
lea eax, [ebp - 0x318]
push eax
push 0x1f8
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea eax, [ebp - 0x180]
neg esi
push eax
mov dword [ebp - 0x180], esi
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0046933f
mov esp, ebp
pop ebp
ret
Function at 0x4403eb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x440430
call fcn.004507c9
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x440430
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x44044c
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0043bef3
mov ebx, eax
test edi, edi
je 0x44044a
test esi, esi
je 0x44044a
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x444f3e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.004507c9
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x444f75
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.00444f96
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x47b692
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4ba760]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0047047e
mov dword [ebp - 0x14], eax
cmp dword [0x4c14cc], esi
jne 0x47b785
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x47b712
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x47b865
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x47b865
push 0x49b170
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47b865
push eax
call ebx
push 0x49b17c
push edi
mov dword [0x4c14cc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x49b18c
push edi
mov dword [0x4c14d0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4c14d4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4c14dc], eax
test eax, eax
je 0x47b782
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4c14d8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x47b7aa
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x47b79d
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x47b7bf
push 4
pop eax
jmp 0x47b867
cmp dword [ebp - 0x14], esi
je 0x47b7bf
push dword [0x4c14cc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x47b7a4
mov eax, dword [0x4c14d8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x47b81d
cmp dword [0x4c14dc], edi
je 0x47b81d
push eax
call ebx
push dword [0x4c14dc]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x47b81d
test eax, eax
je 0x47b81d
call ecx
test eax, eax
je 0x47b812
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x47b812
test byte [ebp - 8], 1
jne 0x47b81d
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x47b84d
mov eax, dword [0x4c14d0]
cmp eax, edi
je 0x47b84a
push eax
call ebx
test eax, eax
je 0x47b84a
call eax
mov esi, eax
test esi, esi
je 0x47b84a
mov eax, dword [0x4c14d4]
cmp eax, edi
je 0x47b84a
push eax
call ebx
test eax, eax
je 0x47b84a
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4c14cc]
call ebx
test eax, eax
je 0x47b865
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x47b867
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046933f
mov esp, ebp
pop ebp
ret
Function at 0xe13130
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0xe13140
lea eax, [ebp + 0xd]
pop ebp
ret 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
lea ecx, [ecx]
push esi
call ebx
inc eax
lea esi, [esi + eax*2]
lea edi, [edi + eax*2]
cmp eax, 1
jne 0xe13150
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0xe13710
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x228
mov eax, dword [0x10316ec]
xor eax, esp
mov dword [esp + 0x224], eax
mov eax, dword [esp + 0x22c]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov edx, dword [edi + 4]
lea ecx, [esp + 0x14]
xor esi, esi
push ecx
mov ecx, dword [edi]
or edx, 0x2001f
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call fcn.00e136a0
mov ebp, eax
cmp ebp, esi
je 0xe13774
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0xe1376d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebp
jmp 0xe1380d
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x18]
push esi
push esi
push esi
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x44]
push ecx
push esi
push edx
mov dword [esp + 0x40], 0x100
call ebx
test eax, eax
jne 0xe137da
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
call fcn.00e13710
mov ebp, eax
cmp ebp, esi
jne 0xe1375e
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x18]
push esi
push esi
push esi
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x44]
push eax
push esi
push ecx
mov dword [esp + 0x40], 0x100
call ebx
test eax, eax
je 0xe137a0
mov eax, dword [esp + 0x14]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
je 0xe137ef
push eax
call ebp
mov dword [esp + 0x14], esi
mov ebx, dword [esp + 0x24]
mov eax, edi
mov dword [esp + 0x18], esi
call fcn.00e13890
mov edi, eax
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0xe1380b
push eax
call ebp
mov eax, edi
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00f58a41
add esp, 0x228
ret 4
Function at 0xe143e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0xfc2ba0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x10316ec]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x410]
mov ebx, dword [ebp + 0x414]
xor esi, esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp], esi
push 2
push esi
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x1c], edi
cmp edi, esi
jne 0xe1445f
call fcn.00e12970
mov esi, eax
jmp 0xe14554
mov eax, dword [ebp - 0x14]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
cmp ebx, esi
jne 0xe1447b
call fcn.00e12970
jmp 0xe1454b
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp eax, esi
jne 0xe14494
call fcn.00e12970
jmp 0xe1454b
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
lea eax, [ebx + 1]
mov dword [ebp - 0x14], ebx
cmp eax, ebx
jae 0xe144b2
mov esi, 0x8007000e
jmp 0xe1454d
xor ecx, ecx
shld ecx, eax, 1
add eax, eax
mov byte [ebp - 4], 2
cmp ecx, esi
ja 0xe144c7
cmp eax, 0xffffffff
jbe 0xe144d1
push 0x80070216
call fcn.00e14db0
cmp eax, 0x400
jbe 0xe144fa
lea ecx, [ebp]
push ecx
call fcn.00e13110
jmp 0xe14500
lea edx, [ebp + 4]
mov dword [ebp], edx
mov dword [ebp - 4], 1
mov eax, dword [ebp]
cmp eax, esi
jne 0xe14515
mov esi, 0x8007000e
jmp 0xe1454d
push ebx
push eax
mov eax, dword [ebp - 0x18]
push ebx
push eax
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
jne 0xe14530
call fcn.00e12970
jmp 0xe1454b
mov edx, dword [ebp]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x418]
mov ecx, dword [ebp]
push eax
lea esi, [ebp - 0x24]
call fcn.00e14250
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0xe14564
lea eax, [ebp]
call fcn.00e130f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.00f58a41
lea esp, [ebp + 0x408]
pop ebp
ret 0xc
Function at 0xe16000
Capabilities:
Get common file path

Disassembly:
cmp dword [0x104d554], 0
jne 0xe160b8
cmp byte [0x104d450], 0
jne 0xe1608d
push 0x104d450
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp eax, 0x104
jb 0xe16056
push 0x104
push 0x104d450
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
push 0x104d450
call fcn.00f5a2d0
add esp, 8
test eax, eax
je 0xe16056
mov byte [eax + 1], 0
mov eax, 0x104d450
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0xe16060
mov ecx, dword [str._debug.log]
mov edx, dword [0xfe8ac8]
mov dword [eax], ecx
mov cx, word [0xfe8acc]
mov dword [eax + 4], edx
mov dl, byte [0xfe8ace]
mov word [eax + 8], cx
mov byte [eax + 0xa], dl
push 0xfe8ad0
push 0x104d450
call fcn.00f5a19e
add esp, 8
mov dword [0x104d554], eax
test eax, eax
jne 0xe160ab
xor al, al
ret
push 2
push 0
push eax
call fcn.00f5a67f
add esp, 0xc
mov al, 1
ret
Function at 0xe160c0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0xfb9f2b
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x10316ec]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10316ec]
xor eax, esp
push eax
lea eax, [esp + 0x28c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x29c]
cmp dword [ebp + 0x10], 0
je 0xe1627c
xor eax, eax
push 0x208
push eax
lea ecx, [esp + 0x7e]
push ecx
mov word [esp + 0x80], ax
call fcn.00f5e420
add esp, 0xc
push 0x104
lea edx, [esp + 0x78]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x74]
push 0x5c
push eax
call fcn.00f5a0b4
add esp, 8
test eax, eax
je 0xe16154
xor ecx, ecx
mov word [eax + 2], cx
lea eax, [esp + 0x74]
lea edx, [eax + 2]
jmp 0xe16160
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0xe16160
sub eax, edx
sar eax, 1
mov edx, 0x104
sub edx, eax
push edx
lea eax, [esp + 0x78]
push 0xfe8ad4
push eax
call fcn.00f59f23
xor ecx, ecx
add esp, 0xc
cmp dword [ebp + 0x14], 0x10
mov word [esp + 0x27a], cx
jb 0xe1619e
mov eax, dword [ebp]
jmp 0xe161a0
mov eax, ebp
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call ebx
mov esi, eax
test esi, esi
je 0xe1627c
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00f57a7c
add esp, 4
mov edi, eax
cmp dword [ebp + 0x14], 0x10
jb 0xe161e4
mov ebp, dword [ebp]
push esi
push edi
or esi, 0xffffffff
push esi
push ebp
push 0
push 0xfde9
call ebx
test eax, eax
je 0xe1626c
push 0x44
lea eax, [esp + 0x30]
push 0
push eax
call fcn.00f5e420
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x30]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push edi
lea eax, [esp + 0x98]
push eax
mov dword [esp + 0x54], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0xe1625c
mov ecx, dword [esp + 0x1c]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x20]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call ebx
mov eax, dword [esp + 0x1c]
push eax
call ebx
jmp 0xe1626c
push 0x10
push str.Fatal_error
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push edi
mov dword [esp + 0x298], esi
call fcn.00f59081
add esp, 4
mov ecx, dword [esp + 0x28c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.00f58a41
add esp, 0x284
ret