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

Disassembly:
push 0xffffffffffffffff
push 0x649c08
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0xc], eax
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x2c]
push 0
mov esi, ecx
push edi
push 0x678ea8
lea ecx, [esi + 0xac]
call fcn.004021a0
cmp byte [esp + 0x30], 0
je 0x5ea2bb
mov ecx, esi
call fcn.005e9fe0
test eax, eax
jne 0x5ea313
xor eax, eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], 0
mov word [esp + 0x10], ax
mov dword [esp + 0x24], eax
push eax
push edi
push str._s.pdb
lea ecx, [esp + 0x18]
call fcn.004021a0
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x5ea2f2
lea eax, [esp + 0x10]
mov ecx, dword [esp + 0x30]
push ecx
push eax
lea ecx, [esi + 0x50]
call fcn.005ebc40
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00401210
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.00620b8d
add esp, 0x1c
ret 8

Function at 0x5ea3d0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x655788
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0xc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
call fcn.005e8790
mov ecx, esi
call fcn.005e9ab0
xor ebp, ebp
cmp dword [esi + 0xbc], ebp
jle 0x5ea49e
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor edi, edi
mov eax, dword [esi + 0xc4]
mov ecx, dword [eax + edi]
add eax, edi
test ecx, ecx
jne 0x5ea438
lea ecx, [eax + 4]
push ecx
call ebx
xor edx, edx
xor eax, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], edx
mov word [esp + 0x18], ax
mov dword [esp + 0x2c], edx
mov eax, dword [esi + 0xc4]
mov ecx, dword [eax + edi]
add eax, edi
cmp ecx, edx
jne 0x5ea462
lea ecx, [eax + 4]
push edx
push ecx
push str._s.z
lea ecx, [esp + 0x20]
call fcn.004021a0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5ea47e
lea eax, [esp + 0x18]
push eax
call ebx
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00401210
inc ebp
add edi, 0xc
cmp ebp, dword [esi + 0xbc]
jl 0x5ea426
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.00620b8d
add esp, 0x1c
ret
Function at 0x5eb950
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
lea edi, [esi + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esi + 0x10]
push 2
lea eax, [esp + 0x14]
push eax
push 0
push ecx
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esi + 8]
mov ebp, dword [esi + 0xc]
push 0
lea edx, [esp + 0x18]
push edx
mov edx, dword [esi + 0x10]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
test eax, eax
jne 0x5eb9b9
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
or eax, 0xffffffff
pop ebp
or edx, eax
pop ebx
add esp, 8
ret 8
mov eax, dword [esp + 0x24]
add dword [esi + 8], eax
adc dword [esi + 0xc], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov edx, ebp
pop ebp
mov eax, ebx
pop ebx
add esp, 8
ret 8

Function at 0x5eb9e0
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push ebx
mov bl, byte [esp + 0x20]
push esi
mov esi, ecx
test bl, bl
je 0x5eb9f9
lea eax, [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push 0
lea edx, [esp + 0x10]
push edx
push eax
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x10]
push eax
mov dword [esp + 0x1c], ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [esp + 8], eax
cmp eax, 0xffffffff
jne 0x5eba46
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x5eba46
test bl, bl
je 0x5eba3c
add esi, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
xor eax, eax
pop ebx
add esp, 8
ret 0x14
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esi + 0x10]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x5eba2e
test bl, bl
je 0x5eba73
add esi, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov eax, 1
pop ebx
add esp, 8
ret 0x14
Function at 0x5eba80
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 0x10]
sub esp, 8
cmp eax, dword [esp + 0x14]
push esi
mov esi, ecx
jg 0x5ebb20
push ebx
push ebp
push edi
lea edi, [esi + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esi + 0x10]
mov ebp, dword [esp + 0x20]
push 0
lea eax, [esp + 0x18]
push eax
push ebx
push ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
jne 0x5ebaec
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x5ebaec
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop ebp
or eax, 0xffffffff
pop ebx
or edx, eax
pop esi
add esp, 8
ret 0x14
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
push 0
lea edx, [esp + 0x28]
push edx
mov edx, dword [esi + 0x10]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
test eax, eax
je 0x5ebad7
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov edx, ebp
pop ebp
mov eax, ebx
pop ebx
pop esi
add esp, 8
ret 0x14
push eax
mov eax, dword [esp + 0x24]
push eax
call fcn.005eb950
pop esi
add esp, 8
ret 0x14

Function at 0x5ebb80
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
push esi
push edi
mov esi, ecx
lea edi, [esi + 0x30]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
push 0
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x2c]
push eax
mov dword [esp + 0x20], ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
jne 0x5ebbd7
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x5ebbd7
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
xor eax, eax
pop esi
add esp, 0xc
ret 0x10
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
push 0
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esi + 0x2c]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
test eax, eax
je 0x5ebbc7
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, 1
pop esi
add esp, 0xc
ret 0x10
Function at 0x5ebc40
Capabilities:
Get file size

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.005ebb40
mov ebp, dword [esp + 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
xor eax, eax
cmp byte [esp + 0x18], al
push 0
setne al
push 0
lea eax, [eax + eax + 2]
mov edi, eax
push edi
push 0
push 3
push 0xc0000000
push ebp
call ebx
mov dword [esi + 0x10], eax
cmp eax, 0xffffffff
jne 0x5ebc8a
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebp
pop ebx
ret 8
push 0
push 0
push edi
push 0
push 3
push 0xc0000000
push ebp
call ebx
mov dword [esi + 0x2c], eax
cmp eax, 0xffffffff
jne 0x5ebcbb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, esi
call fcn.005ebb40
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 8
cmp byte [esp + 0x18], 0
je 0x5ebd11
mov edx, dword [esi + 0x10]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
cmp eax, 0xffffffff
jne 0x5ebcf2
cmp dword [esi + 0xc], 0
jne 0x5ebcf2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
jne 0x5ebcab
mov eax, dword [esp + 0x18]
push 1
push 0
push 0
push eax
call fcn.006254d0
add dword [esi + 8], eax
pop edi
adc dword [esi + 0xc], edx
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
xor eax, eax
pop edi
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
pop esi
pop ebp
pop ebx
ret 8
Function at 0x5f627a
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x6690eb
call fcn.00629488
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x5f629f
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x5f62e5
lea ecx, [ebp - 0x10]
call fcn.004024f0
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.005f4fb0
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004011f0
mov eax, esi
call fcn.00629560
ret 8

Function at 0x5f702c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.005fd5a3
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x5f7065
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.005f6c7d
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x5fcbb6
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 0x5fcbfd
call fcn.005fd5a3
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x5fcbfd
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x5fcc19
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.005fc730
mov esi, eax
test edi, edi
je 0x5fcc17
test ebx, ebx
je 0x5fcc17
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x6052fe
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x11c], eax
mov esi, ecx
lea eax, [ebp - 0x120]
jne 0x60539c
push 0x704a8c
push 4
push eax
call fcn.0062b162
push eax
call fcn.00401000
add esp, 0x10
push ebx
push edi
call fcn.006263a4
mov edi, dword [eax]
call fcn.006263a4
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.00623b06
add esp, 0x18
mov dword [ebp - 0x11c], eax
call fcn.006263a4
cmp dword [eax], ebx
je 0x6053b3
call fcn.006263a4
push dword [eax]
call fcn.005f5412
pop ecx
jmp 0x6053ba
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x605344
jmp 0x605441
call fcn.006263a4
mov dword [eax], edi
cmp dword [ebp - 0x11c], 0xffffffff
je 0x60543d
cmp dword [ebp - 0x11c], esi
jae 0x60543d
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x15c]
push ebx
push eax
mov dword [ebp - 0x160], 0x40
call fcn.00621270
add esp, 0xc
push str.KERNEL32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
je 0x60542c
push str.FindActCtxSectionStringA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x60542c
lea ecx, [ebp - 0x160]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x60542c
push ebx
push ebx
push esi
jmp 0x605435
push ebx
push ebx
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
jmp 0x60543f
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00620b8d
leave
ret

Function at 0x606a28
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 0x606a70
call fcn.005fd5a3
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x606a70
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x606ab3
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 0x606a9c
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 0x606a9c
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x606ab0
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 0x609f9d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 4], ecx
call fcn.005fd5a3
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x609fca
xor eax, eax
jmp 0x60a070
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x609fc3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x609fc3
movzx eax, word [esi + 6]
push ebx
push edi
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005f4e18
pop ecx
mov edi, eax
xor ecx, ecx
xor eax, eax
cmp cx, word [esi + 6]
jae 0x60a021
lea ecx, [esi + 8]
movzx edx, word [ecx]
mov dword [edi + eax*4], edx
movzx edx, word [esi + 6]
inc eax
inc ecx
inc ecx
cmp eax, edx
jl 0x60a010
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 4]
push eax
push edi
call fcn.00608d26
push edi
mov ebx, eax
call fcn.005f4e52
pop ecx
test ebx, ebx
je 0x60a063
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
push ecx
lea esi, [ecx + 7]
mov ecx, dword [ebp - 4]
push eax
lea edx, [eax + 7]
push esi
push edx
call fcn.006093b2
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.00609466
mov ebx, eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, ebx
pop ebx
pop esi
leave
ret 4

Function at 0x60b77b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x60b793
mov edi, dword [esi + 0xc]
jmp 0x60b7d3
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x60b7ac
call fcn.005fd8b0
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x60b7c1
call fcn.005fd8b0
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x60b7d3
call fcn.005fd8b0
call fcn.005fd5a3
cmp dword [eax + 0x3c], 0
je 0x60b7e8
push edi
mov ecx, ebx
call fcn.0060a613
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.0060b6a1
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x60b806
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x5c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x60b812
mov edi, eax
mov dword [ebx + 0x5c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x61f1dc
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x61f211
xor eax, eax
jmp 0x61f264
lea eax, [ebp - 0x210]
push eax
call fcn.006295af
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x61f242
push 0x679980
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0062bd7b
add esp, 0xc
test eax, eax
jne 0x61f20d
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0062bd7b
add esp, 0xc
test eax, eax
jne 0x61f20d
lea eax, [ebp - 0x210]
push eax
call fcn.0061f14e
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00620b8d
leave
ret

Function at 0x620b8d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x758898]
jne 0x620b97
repz ret
jmp fcn.0062d33c

Function at 0x63b322
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.0062cc80
and dword [ebp - 4], 0
cmp dword [0x762274], 0
mov ebx, eax
jne 0x63b3d3
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x63b484
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x70cfb0
push edi
call esi
test eax, eax
je 0x63b484
push eax
call fcn.0062cc0e
mov dword [esp], 0x70cfa0
push edi
mov dword [0x762274], eax
call esi
push eax
call fcn.0062cc0e
mov dword [esp], 0x70cf8c
push edi
mov dword [0x762278], eax
call esi
push eax
call fcn.0062cc0e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x76227c], eax
call esi
push eax
call fcn.0062cc0e
pop ecx
mov dword [0x762284], eax
test eax, eax
je 0x63b3d3
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0062cc0e
pop ecx
mov dword [0x762280], eax
mov eax, dword [0x762280]
cmp eax, ebx
je 0x63b42b
cmp dword [0x762284], ebx
je 0x63b42b
push eax
call fcn.0062cc89
push dword [0x762284]
mov esi, eax
call fcn.0062cc89
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x63b42b
test edi, edi
je 0x63b42b
call esi
test eax, eax
je 0x63b422
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x63b422
test byte [ebp - 0xc], 1
jne 0x63b42b
or dword [ebp + 0x10], 0x200000
jmp 0x63b464
mov eax, dword [0x762278]
cmp eax, ebx
je 0x63b464
push eax
call fcn.0062cc89
pop ecx
test eax, eax
je 0x63b464
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x63b464
mov eax, dword [0x76227c]
cmp eax, ebx
je 0x63b464
push eax
call fcn.0062cc89
pop ecx
test eax, eax
je 0x63b464
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x762274]
call fcn.0062cc89
pop ecx
test eax, eax
je 0x63b484
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x63b486
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401000
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1378
call fcn.00401990
mov eax, dword [esp + 0x137c]
push esi
lea ecx, [esp + 0x5c]
push edi
push ecx
mov dword [0x408590], eax
call fcn.00401330
add esp, 4
test eax, eax
je 0x40117a
lea edx, [esp + 0x74]
lea eax, [esp + 0x380]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x380]
push str.shfill.exe_form.ftf__
push ecx
call esi
lea edx, [esp + 0x27c]
lea eax, [esp + 0x380]
push edx
push eax
call esi
lea ecx, [esp + 0x380]
push 0x40604c
push ecx
call esi
mov eax, dword [esp + 0x60]
test eax, eax
je 0x40108d
lea edx, [esp + 0x380]
push str._Form.fdd
push edx
call esi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x1c]
lea edx, [esp + 0x74]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
lea ecx, [esp + 0x1c]
push eax
push ecx
push edx
push 0
push 0
push 0
push 0
lea eax, [esp + 0x39c]
push 0
push eax
push 0
mov dword [esp + 0x44], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x401134
mov ecx, dword [esp + 0xc]
push ebx
push ebp
mov ebx, 0x103
push 0xffffffffffffffff
push ecx
mov dword [esp + 0x18], ebx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x18]
push edx
call ebp
push 0xffffffffffffffff
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [esp + 0x10], ebx
jne 0x401129
mov esi, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
push edx
call esi
push 0x14
call edi
cmp dword [esp + 0x10], ebx
je 0x401113
mov eax, dword [esp + 0x14]
push eax
call ebp
pop ebp
pop ebx
jmp 0x40117a
push 0
lea ecx, [esp + 0xc]
push 0
push ecx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push 0x10
push str.System_Error
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [esp + 0x60]
push ecx
call fcn.004011a0
add esp, 4
xor eax, eax
pop edi
pop esi
add esp, 0x1378
ret 0x10
Function at 0x40cd00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x20]
call fcn.0040ccc0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40cd33
xor al, al
jmp 0x40ce7e
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40cd51
xor al, al
jmp 0x40ce7e
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40cd76
xor al, al
jmp 0x40ce7e
mov ecx, dword [ebp - 4]
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edx, dword [ebp - 0x20]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x20]
cmp dword [eax + 8], 0
je 0x40ce7c
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40ce65
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.00440630
add esp, 0xc
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x40ce58
push 0
mov eax, dword [ebp - 0x14]
push eax
call fcn.0040d790
add esp, 8
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0x20]
cmp dword [eax + 4], 0
je 0x40ce58
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + 4]
call fcn.0040d9f0
test eax, eax
jne 0x40ce1f
mov al, 1
jmp 0x40ce7e
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 4]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
je 0x40ce47
push 1
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x18]
mov edx, dword [eax]
call edx
mov dword [ebp - 0x24], eax
jmp 0x40ce4e
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x20]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edx, dword [ebp - 0x20]
mov dword [edx + 8], 0
xor al, al
mov esp, ebp
pop ebp
ret 0xc