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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4f67c4]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.00467370
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
push str.PdaNetPC.exe
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 1
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472286
mov esp, ebp
pop ebp
ret
Function at 0x467370
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x4f67c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.004768d0
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x218]
add esp, 0xc
push eax
push 0x20019
push 0
push str.SoftwarePdaNetAndroid
push connect
call esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x46740a
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x220], 1
push eax
lea eax, [ebp - 0x104]
mov dword [ebp - 0x21c], 0x1000
push eax
lea eax, [ebp - 0x220]
push eax
push 0
push str.data
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x218]
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 0x104]
push eax
call edi
test eax, eax
je 0x4674e3
push str.9600
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x46757d
push 0x100
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.004768d0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x20019
push 0
push str.SoftwarePdaNetAndroid
push connect
call esi
test eax, eax
jne 0x4674b3
lea eax, [ebp - 0x220]
mov dword [ebp - 0x21c], 1
push eax
lea eax, [ebp - 0x204]
mov dword [ebp - 0x220], 0x1000
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push str.version
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x218]
call ebx
lea eax, [ebp - 0x204]
push eax
call edi
test eax, eax
je 0x4674e3
push 0x4c67c0
call fcn.00491b0a
mov esi, eax
lea eax, [ebp - 0x204]
push eax
call fcn.00491b0a
add esp, 8
cmp eax, esi
jge 0x46757d
lea eax, [ebp - 0x214]
push eax
call fcn.0049f44f
add esp, 4
push 0
push 0x15180
push dword [ebp - 0x210]
push dword [ebp - 0x214]
call fcn.004728c0
push 0xa
push 0x4f7e1c
push eax
call fcn.004a8e58
mov esi, eax
add esp, 0xc
mov ecx, esi
cmp byte [esi], 0
je 0x46752d
inc byte [ecx]
lea ecx, [ecx + 1]
cmp byte [ecx], 0
jne 0x467523
push 0
lea eax, [ebp - 0x218]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.SoftwarePdaNetAndroid
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x46757d
push esi
call edi
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 1
push 0
push str.data
push dword [ebp - 0x218]
call esi
push dword [ebp - 0x218]
call ebx
jmp 0x467583
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0
lea eax, [ebp - 0x218]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.SoftwarePdaNetAndroid
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4675d3
push 0x4c67c0
call edi
push eax
push 0x4c67c0
push 1
push 0
push str.version
push dword [ebp - 0x218]
call esi
push dword [ebp - 0x218]
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00472286
mov esp, ebp
pop ebp
ret
Function at 0x468600
Capabilities:
Delete file
Enumerate files on windows
Get common file path
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c45ab
mov eax, dword fs:[0]
push eax
mov eax, 0x1268
call fcn.00472970
mov eax, dword [0x4f67c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0x140
mov dword [ebp - 0x1274], eax
lea eax, [ebp - 0x126c]
push 0
push eax
call fcn.004768d0
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.004768d0
add esp, 0x18
lea eax, [ebp - 0x114]
push 0
push 0x24
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x4686a3
mov ax, word [0x4c6dc8]
movq xmm0, qword [str.c:windows]
mov word [ebp - 0x10c], ax
mov al, byte [0x4c6dca]
movq qword [ebp - 0x114], xmm0
mov byte [ebp - 0x10a], al
lea ecx, [ebp - 0x114]
dec ecx
nop word [eax + eax]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x4686b0
mov eax, dword [str.inf]
mov dword [ecx], eax
mov al, byte [0x4c6dd0]
mov byte [ecx + 4], al
mov dword [ebp - 0x1118], 0xf
mov dword [ebp - 0x111c], 0
mov byte [ebp - 0x112c], 0
lea eax, [ebp - 0x114]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x112c]
push str._s.inf
push eax
call fcn.0046ab20
add esp, 0xc
lea ecx, [ebp - 0x126c]
cmp dword [ebp - 0x1118], 0x10
lea eax, [ebp - 0x112c]
cmovae eax, dword [ebp - 0x112c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
mov dword [ebp - 0x1270], 0
cmp edi, 0xffffffff
je 0x468846
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
test byte [ebp - 0x126c], 0x10
jne 0x46882d
lea eax, [ebp - 0x1240]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x112c]
push 0x4c6de0
push eax
call fcn.0046ab20
add esp, 0x10
lea eax, [ebp - 0x112c]
cmp dword [ebp - 0x1118], 0x10
cmovae eax, dword [ebp - 0x112c]
push 0
push 0
push 3
push 0
push 1
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x46882d
push 0x1000
lea eax, [ebp - 0x1114]
push 0
push eax
call fcn.004768d0
add esp, 0xc
mov dword [ebp - 0x1270], 0
lea eax, [ebp - 0x1270]
push 0
push eax
push 0xfff
lea eax, [ebp - 0x1114]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1270], 0
je 0x46882d
lea eax, [ebp - 0x1114]
push eax
call fcn.004a88a4
push dword [ebp - 0x1274]
push eax
call fcn.00476fb0
add esp, 0xc
test eax, eax
je 0x46882d
cmp dword [ebp - 0x1118], 0x10
lea eax, [ebp - 0x112c]
cmovae eax, dword [ebp - 0x112c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x126c]
push eax
push edi
call ebx
test eax, eax
jne 0x468743
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x1118]
cmp eax, 0x10
jb 0x468864
inc eax
lea ecx, [ebp - 0x112c]
push eax
push dword [ebp - 0x112c]
call fcn.0046a990
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00472286
mov esp, ebp
pop ebp
ret
Function at 0x4688f0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x514
mov eax, dword [0x4f67c4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
lea eax, [ebp - 0x508]
mov dword [ebp - 0x50c], 0
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.SoftwarePdaNetAndroid
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x468964
push 4
lea eax, [ebp - 0x50c]
push eax
push 4
push 0
push 0x4c71cc
push dword [ebp - 0x508]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x508]
call esi
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.004768d0
add esp, 0xc
lea eax, [ebp - 0x508]
push eax
push 0x20019
push 0
push str.SoftwarePdaNetAndroid
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x468b04
lea eax, [ebp - 0x50c]
mov dword [ebp - 0x510], 1
push eax
lea eax, [ebp - 0x104]
mov dword [ebp - 0x50c], 0x1000
push eax
lea eax, [ebp - 0x510]
push eax
push 0
push str.NetCfgInstanceId
push dword [ebp - 0x508]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x508]
test eax, eax
mov ecx, 1
mov eax, 0
cmove eax, ecx
mov dword [ebp - 0x514], eax
call esi
mov eax, dword [ebp - 0x514]
test eax, eax
je 0x468b04
push 0
call fcn.00464b30
add esp, 4
cmp eax, 7
jge 0x468aa2
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x304]
push str.SYSTEMCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318_sConnection
push eax
call fcn.00462bb0
add esp, 0xc
lea eax, [ebp - 0x508]
push 0
push eax
push 0
push 0x20106
push 0
push 0
push 0
lea eax, [ebp - 0x304]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x468b04
push str.PdaNet_Broadband_Connection
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push str.PdaNet_Broadband_Connection
push 1
push 0
push str.Name
push dword [ebp - 0x508]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x508]
call esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472286
mov esp, ebp
pop ebp
ret
push 0x100
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.004768d0
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.004648e0
add esp, 0x14
test eax, eax
je 0x468b04
push str.PdaNet_Broadband_Connection
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x504]
push str.netsh_interface_set_interface_name__s__newname__s_
push eax
call fcn.00462bb0
push 1
push 0
lea eax, [ebp - 0x504]
push 0x4e20
push eax
call fcn.00469210
add esp, 0x20
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00472286
mov esp, ebp
pop ebp
ret
Function at 0x469210
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4f67c4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x264]
push edi
mov edi, dword [ebp + 0x10]
xorps xmm0, xmm0
push 0x44
push 0
push eax
movups xmmword [ebp - 0x220], xmm0
call fcn.004768d0
add esp, 0xc
mov dword [ebp - 0x264], 0x44
lea eax, [ebp - 0x20c]
test edi, edi
je 0x46926e
push edi
push esi
push str.__s___s
push eax
call fcn.00462bb0
add esp, 0x10
jmp 0x469276
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x264]
push eax
mov eax, dword [ebp + 0x14]
push 0
neg eax
push 0
sbb eax, eax
and eax, 0x8000000
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
pop edi
pop esi
test eax, eax
jne 0x4692c3
mov eax, 0x334
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472286
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x469326
push eax
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4692ff
push 0
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0x335
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472286
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0
push eax
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x210]
test eax, eax
jne 0x469328
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472286
mov esp, ebp
pop ebp
ret

Function at 0x4693e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test ebx, ebx
jne 0x4693f9
lea eax, [ebx + 0xd]
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
push edi
xor esi, esi
mov edx, ebx
nop
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x469405
sub eax, edi
inc eax
add edx, eax
add esi, eax
cmp eax, 1
jne 0x469400
mov eax, dword [ebp - 4]
push esi
push ebx
push 7
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x469440
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0x14]
lea eax, [ebp - 4]
push esi
xor esi, esi
mov ecx, 0x100
push esi
push eax
xor eax, eax
cmp edx, 2
push esi
cmove eax, ecx
mov ecx, str.SoftwarePdaNetAndroid
or eax, 0x20006
push eax
mov eax, dword [ebp + 0x10]
test eax, eax
push esi
cmovne ecx, eax
xor eax, eax
push esi
test edx, edx
push esi
setne al
push ecx
add eax, 0x80000001
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x469492
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
test eax, eax
mov ecx, 1
cmovne esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x46b250
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.00472970
mov eax, dword [0x4f67c4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
call fcn.00402690
push 0x1000
mov dword [ebp - 0x1008], eax
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.004768d0
push 0x4c9f34
push str._adbkey
call fcn.0049fa34
mov esi, eax
add esp, 0x14
lea eax, [ebp - 0x1004]
test esi, esi
je 0x46b2bd
push esi
push 0x1000
push 1
push eax
call fcn.0049fcca
push esi
call fcn.0049f6e1
add esp, 0x14
jmp 0x46b2df
push str._____END_PRIVATE_KEY______n
push dword [0x4ed304]
push 0x49
push 0x4d
push str._____BEGIN_PRIVATE_KEY______n
push str._s_c_c_s_s
push eax
call fcn.00462bb0
add esp, 0x1c
lea ecx, [ebp - 0x1004]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46b2e8
sub ecx, edx
lea eax, [ebp - 0x1004]
push ecx
push eax
call fcn.00401a10
push 0
mov esi, eax
lea eax, [ebp - 0x1008]
push 0
push eax
push esi
call fcn.00402f50
add esp, 0x18
test eax, eax
jne 0x46b327
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472286
mov esp, ebp
pop ebp
ret
push esi
call fcn.00401080
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, dword [ebp - 0x1008]
xor ecx, ebp
pop esi
call fcn.00472286
mov esp, ebp
pop ebp
ret
Function at 0x46b350
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 0x4c9f34
push str._adbkey.pub
call fcn.0049fa34
mov edi, dword [ebp + 8]
mov esi, eax
add esp, 8
test esi, esi
je 0x46b396
push esi
push 0x1000
push 1
push dword [edi]
call fcn.0049fcca
mov ecx, dword [edi]
push esi
mov byte [eax + ecx], 0
call fcn.0049f6e1
mov ecx, dword [str.QAAAAGGkHyxfAIKHNNZxTW_F7KM6l1lxpeh06p1qWFeCV2T6ru8Ns03FJZnEcFmFzBecPFyCGpVTkl8DWJC5wOU40wdLEccWQipKQb_t6y2GUNEwd2XPNPFVKNwdhbH7ariO6SoKw9PLkIcKHRjfwC5dui_fIzuaSn5V3wPIVwRab1Z0KXGDM6hlpv9AiEbnvJXXDfJWxJnrcqenbkRrbGf9aO4YtSf5fNQFT4rT3FMi2MiSOSU2MiPp9YuQ7qQwyqMS4dc6rR1sIJvk40LvkMEMGBIcTl9gRpA62PqAh6BVIhRcs6VzSajgGtvXCsbwv9Cmh3a4GC5Gyxpo1wSvgHmqKc_vrRcX4glOTlnx4mqcKFNeP6rnnA6hb98HO7K2Q0W22apsFTDOR6rUDMyVrfnO18x89LUZR6dnXijWOWO61x5Pd1S6s2v20fOG0Hx6GARyH9All5nLg78ExG48wnjuUMvCU95AV5zzd437FDArza0WtA4IFlNb7UX_CsT5sNcjfTFZN0QaFJoYeAsC5hDMw_HbMLxEMbN4wIWv6qhxNtIkhAXd3G8NxlfpRljln_c3h5MzUvBjzsT8xKadKkph5rDiVGykFgcB6AYnC18m1WDvcKn1COSEWQ7LnWG_ct6OW3lTc4KJbB7_B6ZecULVlcKLGjdnjpDwSfmwGaQEAAQA_unknown_unknown]
add esp, 0x14
jmp 0x46b3ae
mov ecx, dword [str.QAAAAGGkHyxfAIKHNNZxTW_F7KM6l1lxpeh06p1qWFeCV2T6ru8Ns03FJZnEcFmFzBecPFyCGpVTkl8DWJC5wOU40wdLEccWQipKQb_t6y2GUNEwd2XPNPFVKNwdhbH7ariO6SoKw9PLkIcKHRjfwC5dui_fIzuaSn5V3wPIVwRab1Z0KXGDM6hlpv9AiEbnvJXXDfJWxJnrcqenbkRrbGf9aO4YtSf5fNQFT4rT3FMi2MiSOSU2MiPp9YuQ7qQwyqMS4dc6rR1sIJvk40LvkMEMGBIcTl9gRpA62PqAh6BVIhRcs6VzSajgGtvXCsbwv9Cmh3a4GC5Gyxpo1wSvgHmqKc_vrRcX4glOTlnx4mqcKFNeP6rnnA6hb98HO7K2Q0W22apsFTDOR6rUDMyVrfnO18x89LUZR6dnXijWOWO61x5Pd1S6s2v20fOG0Hx6GARyH9All5nLg78ExG48wnjuUMvCU95AV5zzd437FDArza0WtA4IFlNb7UX_CsT5sNcjfTFZN0QaFJoYeAsC5hDMw_HbMLxEMbN4wIWv6qhxNtIkhAXd3G8NxlfpRljln_c3h5MzUvBjzsT8xKadKkph5rDiVGykFgcB6AYnC18m1WDvcKn1COSEWQ7LnWG_ct6OW3lTc4KJbB7_B6ZecULVlcKLGjdnjpDwSfmwGaQEAAQA_unknown_unknown]
mov edx, ecx
mov esi, dword [edi]
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [esi], al
lea esi, [esi + 1]
test al, al
jne 0x46b3a0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46b3b1
sub ecx, edx
lea eax, [ecx + 1]
mov dword [edi + 4], eax
mov eax, 1
pop edi
pop esi
pop ebp
ret

Function at 0x46b8b0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4f67c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0
push 1
push 2
mov esi, ecx
xor bl, bl
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 0x94], eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x14], xmm0
mov eax, 2
mov dword [ebp - 0x10], 0x100007f
push 0x13ad
mov word [ebp - 0x14], ax
call dword [sym.imp.WS2_32.dll_ntohs]
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x14]
push 0x10
push eax
push dword [esi + 0x94]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x46b927
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472286
mov esp, ebp
pop ebp
ret
push dword [esi + 0x94]
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp - 4]
mov al, bl
mov dword [esi + 0x94], 0
xor ecx, ebp
pop esi
pop ebx
call fcn.00472286
mov esp, ebp
pop ebp
ret
Function at 0x46b950
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1054
call fcn.00472970
mov eax, dword [0x4f67c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, 0x4c633a
test eax, eax
mov dword [ebp - 0x103c], 0xf
push ebx
cmovne edx, eax
mov dword [ebp - 0x1040], 0
push esi
push edi
mov byte [ebp - 0x1050], 0
cmp byte [edx], 0
jne 0x46b99b
xor ecx, ecx
jmp 0x46b9a9
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46b9a0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x1050]
call fcn.0046a890
lea eax, [ebp - 0x1054]
push eax
push 0x1000
lea eax, [ebp - 0x1038]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x46ba60
mov ebx, dword [ebp - 0x1054]
xor esi, esi
shr ebx, 2
test ebx, ebx
je 0x46ba60
mov eax, dword [ebp + esi*4 - 0x1038]
test eax, eax
je 0x46ba5b
push eax
xor eax, eax
cmp dword [ebp + 0xc], eax
push 0
setne al
add eax, 0x410
push eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x46ba5b
push 0x32
lea eax, [ebp - 0x38]
push 0
push eax
call fcn.004768d0
add esp, 0xc
lea eax, [ebp - 0x38]
push 0x32
push eax
push 0
push edi
call sub.PSAPI.DLL_GetModuleBaseNameA
test eax, eax
je 0x46ba54
cmp dword [ebp - 0x103c], 0x10
lea ecx, [ebp - 0x38]
lea eax, [ebp - 0x1050]
cmovae eax, dword [ebp - 0x1050]
push ecx
push eax
call fcn.0049fe78
add esp, 8
test eax, eax
je 0x46ba82
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, ebx
jb 0x46b9e5
xor bl, bl
mov eax, dword [ebp - 0x103c]
cmp eax, 0x10
jb 0x46baba
mov ecx, dword [ebp - 0x1050]
inc eax
cmp eax, 0x1000
jb 0x46bab1
test cl, 0x1f
je 0x46ba9c
jmp 0x46bacf
cmp dword [ebp + 0xc], 0
je 0x46ba91
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
jmp 0x46ba62
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x46bad4
sub ecx, eax
cmp ecx, 4
jb 0x46bad9
cmp ecx, 0x23
ja 0x46bade
mov ecx, eax
push ecx
call fcn.00471c7e
add esp, 4
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00472286
mov esp, ebp
pop ebp
ret 8
call fcn.0048fdb7
call fcn.0048fdb7
call fcn.0048fdb7
call fcn.0048fdb7
int3
Function at 0x46c500
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
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4f67c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
cmp dword [esi + 0x94], 0
jne 0x46c59f
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 0x94], eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x14], xmm0
mov eax, 2
mov dword [ebp - 0x10], 0x100007f
push 0x13ad
mov word [ebp - 0x14], ax
call dword [sym.imp.WS2_32.dll_ntohs]
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x14]
push 0x10
push eax
push dword [esi + 0x94]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x46c59f
push dword [esi + 0x94]
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
mov dword [esi + 0x94], 0
or eax, 0xffffffff
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472286
mov esp, ebp
pop ebp
ret 0x10
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46c5a4
push 0
sub ecx, edx
push ecx
push edi
push dword [esi + 0x94]
call dword [sym.imp.WS2_32.dll_send]
mov eax, dword [ebp + 0x14]
test eax, eax
jle 0x46c5cb
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0x400
push ebx
push dword [esi + 0x94]
call dword [sym.imp.WS2_32.dll_recv]
cmp byte [ebp + 0x10], 0
mov edi, eax
jne 0x46c5fd
push dword [esi + 0x94]
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 0x94], 0
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00472286
mov esp, ebp
pop ebp
ret 0x10

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x4f67c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0x10
lea eax, [esi + 0x3c]
push edi
jb 0x46c643
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x104]
push str._data_local_tmp__s_33206
push eax
call fcn.00462bb0
lea ecx, [ebp - 0x104]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46c661
sub ecx, edx
lea ebx, [ecx + 8]
push ebx
call fcn.00471e37
mov edi, eax
lea ecx, [ebp - 0x104]
add esp, 4
lea edx, [ecx + 1]
mov dword [edi], 0x444e4553
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46c687
sub ecx, edx
mov dword [edi + 4], ecx
lea ecx, [ebp - 0x104]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46c6a0
sub ecx, edx
lea eax, [ebp - 0x104]
push ecx
push eax
lea eax, [edi + 8]
push eax
call fcn.00476350
add esp, 0xc
push 0
push ebx
push edi
push dword [esi + 0x94]
call dword [sym.imp.WS2_32.dll_send]
mov ecx, esi
call fcn.0046e2c0
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00472286
mov esp, ebp
pop ebp
ret
Function at 0x46da30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
call fcn.0046d5e0
test al, al
jne 0x46da50
mov ecx, esi
call fcn.0046baf0
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
push ebx
push edi
push 0x14
mov dword [esi + 0x98], 0
call fcn.00471df6
mov edi, eax
add esp, 4
mov dword [ebp - 4], edi
test edi, edi
je 0x46da88
mov dword [edi + 8], 0
mov dword [edi + 0xc], 1
mov dword [edi], vtable.DumbReadThread.0
mov dword [edi + 0x10], esi
jmp 0x46da8a
xor edi, edi
lea eax, [edi + 4]
mov dword [edi + 0xc], 1
push eax
push 0
push edi
push 0x46a6d0
push 0
push 0
call fcn.0049f10c
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0x18
mov dword [edi + 8], eax
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax + eax]
cmp dword [esi + 0x98], 0
je 0x46dad6
call ebx
sub eax, dword [esi + 0x98]
cmp eax, 0x64
jae 0x46dadc
push 0x14
call edi
jmp 0x46dac0
mov ecx, esi
call fcn.0046baf0
push 0x14
call edi
mov ecx, esi
call fcn.0046d5e0
pop edi
pop ebx
test al, al
je 0x46da40
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 4