joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x401000
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x403004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call dword [sym.imp.sakanagl.dll_initializeSakanaGL]
call dword [sym.imp.sakanagl.dll_getSakanaEnv]
push eax
call dword [sym.imp.sakanagl.dll_createSakanaGL]
add esp, 4
mov dword [ebp - 0x20], eax
mov edi, 0x14
push 0x402128
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp eax, 0xb7
jne 0x40108e
dec edi
test edi, edi
jle 0x4010f1
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x402128
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x401055
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
push eax
push 6
push edi
mov dword [ebp - 0x1c], str._main
mov dword [ebp - 0x18], str.pkg_HostSecurityGuard
mov dword [ebp - 0x14], str._region
mov dword [ebp - 0x10], str.steam
mov dword [ebp - 0xc], str._steam
mov dword [ebp - 8], str._keyboard
call dword [sym.imp.sakanagl.dll_sakanaMain]
push edi
call dword [sym.imp.sakanagl.dll_sakanaKill]
add esp, 0x10
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401118
mov esp, ebp
pop ebp
ret 0x10
push 0
push str.Error
push str.double_run
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x4015b0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ecx
push ebx
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
and ecx, 0xffff
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4015f8
pop edi
pop esi
pop ebx
pop ecx
ret 0xc
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x401615
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 0xc
mov edx, dword [esp + 0x1c]
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x401649
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 0xc
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esp + 0xc]
push 0
mov ecx, dword [esp + 0x10]
push eax
push ecx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc

Function at 0x402e75
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4071c8
cmp edx, dword [eax]
je 0x402e97
add eax, 8
inc ecx
cmp eax, 0x407258
jl 0x402e88
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4071c8]
jne 0x402fc5
mov eax, dword [0x4079ac]
cmp eax, 1
je 0x402f9f
test eax, eax
jne 0x402ec8
cmp dword [0x407114], 1
je 0x402f9f
cmp edx, 0xfc
je 0x402fc5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x402eff
lea eax, [ebp - 0x1a4]
push 0x406500
push eax
call fcn.00403970
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00403340
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x402f42
lea eax, [ebp - 0x1a4]
push eax
call fcn.00403340
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4064fc
push edi
call fcn.004046f0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4064e0
push eax
call fcn.00403970
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00403980
lea eax, [ebp - 0xa0]
push 0x4064dc
push eax
call fcn.00403980
push dword [esi + 0x4071cc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00403980
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4064b4
push eax
call fcn.0040465e
add esp, 0x2c
pop edi
jmp 0x402fc5
lea eax, [ebp + 8]
lea esi, [esi + 0x4071cc]
push 0
push eax
push dword [esi]
call fcn.00403340
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x51ff38
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, eax
mov edi, dword [ebp + 8]
add edi, 0xfffffff8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov word [eax], 0
test dl, dl
je 0x51ff72
test bl, bl
je 0x51ff63
mov eax, dword [edi]
mov esi, dword [eax + 0x21c]
jmp 0x51ff6d
mov eax, dword [edi]
movzx esi, byte [eax + 0x3ad]
dec esi
xor bl, 1
jmp 0x51ff83
mov eax, dword [edi]
mov edx, dword [eax + 0x3c8]
mov eax, dword [edi]
call fcn.00510784
mov esi, eax
mov eax, esi
test bl, bl
je 0x51ff8c
inc esi
jmp 0x51ff8d
dec esi
mov edx, dword [edi]
cmp esi, dword [edx + 0x21c]
jl 0x51ffa2
mov edx, dword [edi]
movzx esi, byte [edx + 0x3ad]
jmp 0x51ffc2
mov edx, dword [edi]
movzx edx, byte [edx + 0x3ad]
cmp esi, edx
jge 0x51ffc2
mov edx, dword [edi]
mov esi, dword [edx + 0x21c]
mov edx, dword [edi]
movzx edx, byte [edx + 0x3ad]
sub esi, edx
cmp eax, esi
je 0x520006
jmp 0x51ffde
test bl, bl
je 0x51ffcf
inc esi
jmp 0x51ffd0
dec esi
test esi, esi
jl 0x520006
mov eax, dword [edi]
cmp esi, dword [eax + 0x21c]
jge 0x520006
mov eax, dword [edi]
mov edx, esi
call fcn.00510778
mov edx, eax
mov eax, dword [edi]
call fcn.0051f01c
test al, al
je 0x51ffc8
mov eax, dword [edi]
mov edx, esi
call fcn.00510778
mov edx, eax
mov eax, dword [edi]
call fcn.0051f0f0
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x520eb0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x130]
test al, al
je 0x520edb
cmp byte [0x55417c], 0
jne 0x520edb
mov byte [ebx + 0x3e4], 1
cmp byte [ebx + 0x3e4], 0
je 0x520eea
cmp dword [esi + 4], 0
je 0x520f17
test byte [ebx + 0x55], 1
jne 0x520f09
mov eax, ebx
call fcn.0045f7c8
test eax, eax
jne 0x520f09
mov edx, esi
mov eax, ebx
call fcn.004648a8
jmp 0x521049
mov edx, esi
mov eax, ebx
call fcn.0046074c
jmp 0x521049
push 0
call sub.user32.dll_GetDC
mov edi, eax
mov eax, ebx
call fcn.0045bbcc
push eax
mov eax, ebx
call fcn.0045bb88
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x521042
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x50]
push eax
mov eax, ebx
call fcn.00462b54
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x48]
push eax
call sub.gdi32.dll_CreateRectRgn
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0045d350
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectClipRgn
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00520eb0
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x60]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x54]
push eax
lea edx, [ebp - 0x70]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x68]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x50]
push eax
mov eax, ebx
call fcn.00462b54
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x521049
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x52a7dc
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
test dl, dl
je 0x52a7f6
add esp, 0xfffffff0
call fcn.00403bf4
mov esi, ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x52a884
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, edi
call fcn.0040384c
mov dword [edi + 4], esi
lea eax, [edi + 0x40]
call fcn.004fca4c
mov byte [edi + 0x34], 1
mov dl, 1
mov eax, dword [0x41c840]
call fcn.0040384c
mov dword [edi + 0x28], eax
mov dl, 1
mov eax, dword [0x41c840]
call fcn.0040384c
mov dword [edi + 0x14], eax
mov dl, 1
mov eax, dword [0x4dc288]
call fcn.004dc428
mov esi, eax
mov dword [edi + 0x30], esi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x48], 0x52b184
lea eax, [ebp - 0x10]
call fcn.00419a34
lea edx, [ebp - 0x10]
lea eax, [edi + 0x18]
call fcn.00411a7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52a88b
lea eax, [ebp - 0x10]
call fcn.00411650
ret

Function at 0x52f308
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x52f324
cmp dword [esi + 4], 0
je 0x52f351
test byte [ebx + 0x55], 1
jne 0x52f343
mov eax, ebx
call fcn.0045f7c8
test eax, eax
jne 0x52f343
mov edx, esi
mov eax, ebx
call fcn.004648a8
jmp 0x52f442
mov edx, esi
mov eax, ebx
call fcn.0046074c
jmp 0x52f442
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
call fcn.0045bb24
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x54]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x52f43b
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00462b54
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, eax
mov edx, 0x14
mov eax, ebx
call fcn.0045d350
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0052f308
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x54]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00462b54
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52f442
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x53048c
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x5304b1
cmp dword [esp + 4], 5
jb 0x5304b1
mov al, 1
jmp 0x5304b3
xor eax, eax
add esp, 0x94
ret
Function at 0x541428
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c7c
mov eax, dword [ebp - 8]
call fcn.00404c7c
xor eax, eax
push ebp
push 0x541509
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004093bc
cmp dword [ebp - 0xc], 0
jne 0x5414ab
push 0
push 0
push 0
push 0x54151c
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.004093bc
push dword [ebp - 0x14]
push 0x541538
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404b4c
mov eax, dword [ebp - 0x10]
call fcn.00404c8c
push eax
push 0x541554
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x5414ee
push 0
push 0
push 0
push 0x54151c
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.004093bc
push dword [ebp - 0x1c]
push 0x541564
push dword [ebp - 4]
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00404b4c
mov eax, dword [ebp - 0x18]
call fcn.00404c8c
push eax
push 0x541554
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x541510
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.004047f0
ret

Function at 0x541588
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404c7c
mov eax, dword [ebp - 8]
call fcn.00404c7c
xor eax, eax
push ebp
push 0x541681
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004093bc
cmp dword [ebp - 0xc], 0
jne 0x541614
push 0
push 0
push 0
push 0x541698
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.004093bc
push dword [ebp - 0x14]
push 0x5416c0
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404b4c
mov eax, dword [ebp - 0x10]
call fcn.00404c8c
push eax
push 0x5416dc
push ebx
call sub.shell32.dll_ShellExecuteA
jmp 0x541666
push 0
push 0
push 0
push 0x5416ec
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004093bc
push dword [ebp - 0x1c]
push 0x541710
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 8]
call fcn.004093bc
push dword [ebp - 0x20]
push 0x5416c0
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.00404b4c
mov eax, dword [ebp - 0x18]
call fcn.00404c8c
push eax
push 0x5416dc
push ebx
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x541688
lea eax, [ebp - 0x20]
mov edx, 8
call fcn.004047f0
ret
Function at 0x549858
Capabilities:
Get common file path
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edx
xor eax, eax
push ebp
push 0x5499c7
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, 0xff
call fcn.00402b5c
mov ebx, eax
push 0xff
push ebx
call sub.kernel32.dll_GetWindowsDirectoryA
lea edx, [ebp - 0x144]
mov eax, ebx
call fcn.0040a2ec
mov edx, dword [ebp - 0x144]
lea eax, [ebp - 0x10]
mov ecx, 0x5499e0
call fcn.00404ad8
xor edx, edx
mov eax, 0xf
call fcn.004b6e5c
mov esi, eax
lea edx, [ebp - 0x148]
xor eax, eax
call fcn.00402f20
mov eax, dword [ebp - 0x148]
lea edx, [ebp - 0x18]
call fcn.00409f80
lea edx, [ebp - 0x140]
mov eax, esi
call fcn.004b6e7c
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x549985
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x11c]
call fcn.0040a2ec
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
call fcn.00404bd8
jne 0x549949
mov edi, dword [ebp - 0x128]
mov dword [ebp - 0xc], edi
push edi
push 0xffffffffffffffff
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 4], eax
jmp 0x549972
lea edx, [ebp - 0x14c]
mov eax, dword [ebp - 0x14]
call fcn.00409144
mov eax, dword [ebp - 0x14c]
mov edx, 0x5499f8
call fcn.00404bd8
jne 0x549972
mov eax, dword [ebp - 0x138]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x140]
mov eax, esi
call fcn.004b6e9c
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x549913
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
je 0x54999c
push 0
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_TerminateProcess
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5499ce
lea eax, [ebp - 0x14c]
mov edx, 3
call fcn.004047f0
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.004047f0
ret

Function at 0x54c8bc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x54c969
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x54c908
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x360]
mov edx, 0x54c980
call fcn.004d85dc
lea edx, [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x60]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x54c912
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004093bc
cmp dword [ebp - 0xc], 0
je 0x54c94e
lea eax, [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, 0x54c990
call fcn.00404ad8
push 5
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00404c8c
push eax
push 0x54c9cc
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54c970
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004047f0
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
or dword [ebp - 0x14], 0xffffffff
push ebx
xor ebx, ebx
cmp dword [ebp + 8], 4
push esi
push edi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ebx
jl 0x40108f
mov ecx, dword [ebp + 0xc]
mov edi, 0x41c038
mov esi, dword [ecx + 4]
mov dl, byte [edi]
mov al, dl
cmp dl, byte [esi]
jne 0x401066
cmp al, bl
je 0x401062
mov dl, byte [edi + 1]
mov al, dl
cmp dl, byte [esi + 1]
jne 0x401066
inc edi
inc edi
inc esi
inc esi
cmp al, bl
jne 0x401044
xor eax, eax
jmp 0x40106b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x40108f
push dword [ecx + 8]
call fcn.0040f04e
mov ecx, dword [ebp + 0xc]
push dword [ecx + 0x10]
push dword [ecx + 0xc]
push eax
call fcn.004045c1
add esp, 0x10
push ebx
call fcn.0040eeee
call fcn.00402054
call fcn.00401d28
lea eax, [ebp - 0x14]
mov edi, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push edi
push dword [ebp + 8]
call fcn.004017e8
add esp, 0x3c
cmp dword [ebp - 4], ebx
je 0x40111a
cmp dword [ebp - 8], ebx
je 0x40111a
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.00401181
push dword [ebp - 4]
mov esi, eax
call fcn.0040ee92
push dword [ebp - 8]
call fcn.0040ee92
add esp, 0x10
cmp esi, 1
jne 0x40111a
push edi
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.004039fb
add esp, 0xc
cmp dword [ebp - 0xc], ebx
jne 0x401127
call fcn.00402475
mov dword [ebp - 0xc], eax
push dword [ebp - 0x18]
push dword [ebp - 0xc]
call fcn.004021d7
push dword [ebp - 0x1c]
mov esi, eax
push edi
push dword [ebp + 8]
call fcn.00401efe
add esp, 0x14
cmp eax, 1
je 0x401157
push edi
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.004039fb
add esp, 0xc
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x10]
push dword [ebp - 0x30]
push ebx
push edi
push dword [ebp + 8]
push dword [ebp - 0x34]
push esi
call fcn.004012de
add esp, 0x2c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401bec
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44c
push ebx
lea eax, [ebp - 4]
push edi
push eax
call fcn.00403782
mov ebx, eax
pop ecx
cmp ebx, 0xffffffff
jne 0x401c17
push 5
call fcn.004048de
push eax
call fcn.00404b8f
pop ecx
pop ecx
call fcn.00403da4
push eax
push 0x5c
call fcn.00403bd4
push eax
lea eax, [ebp - 0x44c]
push 0x41c27c
push eax
call fcn.0040f129
push dword [ebp - 4]
lea eax, [ebp - 0x4c]
push 0x41c278
push eax
call fcn.0040f129
lea eax, [ebp - 0x4c]
and dword [ebp - 0x18], 0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x44c]
push eax
push 0
mov dword [ebp - 0x2c], 0x41c264
mov dword [ebp - 0x28], 0x41c038
call fcn.00403b60
and word [ebp - 0x1c], 0
xor eax, eax
lea edi, [ebp - 0x1a]
add esp, 0x2c
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x10
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
call dword [sym.imp.WSOCK32.dll_accept]
mov edi, eax
cmp edi, 0xffffffff
jne 0x401cbb
push 6
call fcn.004048de
push eax
call fcn.00404b8f
pop ecx
pop ecx
push 0
lea eax, [ebp - 0xc]
push 6
push eax
push edi
call dword [sym.imp.WSOCK32.dll_recv]
cmp eax, 6
je 0x401cde
push 7
call fcn.004048de
push eax
call fcn.00404b8f
pop ecx
pop ecx
lea eax, [ebp - 0xc]
push eax
call fcn.0040f04e
test eax, eax
pop ecx
mov dword [0x41c030], eax
jg 0x401d00
push 8
call fcn.004048de
push eax
call fcn.00404b8f
pop ecx
pop ecx
push edi
call fcn.00403b3b
push ebx
call fcn.00403b3b
pop ecx
pop ecx
pop edi
pop ebx
leave
ret