joyce8/EMBER2024-capa huggingface dataset:
Function at 0x484cc4
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x484e97
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x24], eax
call sub.kernel32.dll_GetLogicalDrives
mov esi, eax
mov eax, esi
and eax, 1
xor ebx, ebx
dec eax
jne 0x484e28
mov eax, ebx
add al, 0x41
mov byte [ebp - 9], al
lea eax, [ebp - 0x28]
mov dl, byte [ebp - 9]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x2c]
call fcn.00403548
mov edx, 0x484ea8
lea eax, [ebp - 0x2c]
mov cl, 2
call fcn.00403518
lea edx, [ebp - 0x2c]
lea eax, [ebp - 8]
call fcn.00404fa4
cmp byte [ebp - 9], 0
je 0x484e28
mov eax, dword [ebp - 8]
call fcn.00405200
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
je 0x484e28
mov eax, dword [ebp - 8]
call fcn.00405200
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
je 0x484e28
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.00405200
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x30], eax
fild qword [ebp - 0x34]
fdiv dword [0x484eac]
fdiv dword [0x484eac]
fdiv dword [0x484eac]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [ebp - 0x38], eax
fild qword [ebp - 0x3c]
fmulp st(1)
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x44], eax
xor eax, eax
mov dword [ebp - 0x40], eax
fild qword [ebp - 0x44]
fmulp st(1)
call fcn.0040303c
mov edi, eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x30], eax
fild qword [ebp - 0x34]
fdiv dword [0x484eac]
fdiv dword [0x484eac]
fdiv dword [0x484eac]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [ebp - 0x38], eax
fild qword [ebp - 0x3c]
fmulp st(1)
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x44], eax
xor eax, eax
mov dword [ebp - 0x40], eax
fild qword [ebp - 0x44]
fmulp st(1)
call fcn.0040303c
add dword [ebp - 0x20], edi
add dword [ebp - 0x24], eax
shr esi, 1
mov eax, esi
and eax, 1
inc ebx
cmp ebx, 0x1b
jne 0x484d01
mov eax, dword [ebp - 0x20]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x48]
call fcn.00409894
push dword [ebp - 0x48]
push 0x484eb8
mov eax, dword [ebp - 0x24]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x4c]
call fcn.00409894
push dword [ebp - 0x4c]
push 0x484ed0
mov eax, dword [ebp - 4]
mov edx, 4
call fcn.004050c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484e9e
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.00404d64
lea eax, [ebp - 8]
call fcn.00404d40
ret
Function at 0x484ed4
Capabilities:
Get memory capacity

Disassembly:
push ebx
add esp, 0xffffffc8
mov ebx, eax
push esp
call sub.kernel32.dll_GlobalMemoryStatus
push ebx
mov eax, dword [esp + 8]
mov dword [esp + 0x24], eax
mov byte [esp + 0x28], 0
mov eax, dword [esp + 0x10]
shr eax, 0xa
shr eax, 0xa
mov dword [esp + 0x2c], eax
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0xc]
shr eax, 0xa
shr eax, 0xa
mov dword [esp + 0x34], eax
mov byte [esp + 0x38], 0
lea edx, [esp + 0x24]
mov ecx, 2
mov eax, 0x484f34
call fcn.0040a874
add esp, 0x38
pop ebx
ret

Function at 0x484f7c
Capabilities:
Find taskbar

Disassembly:
push 0
push 0x484fb8
call sub.user32.dll_FindWindowA
push 0
push 0x484fc8
push 0
push eax
call sub.user32.dll_FindWindowExA
push 0
push 0x484fd8
push 0
push eax
call sub.user32.dll_FindWindowExA
push 0
push 0x484fe4
push 0
push eax
call sub.user32.dll_FindWindowExA
ret

Function at 0x4857f0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x485809
xor edx, edx
mov dword [eax], edx
xor eax, eax
push ebp
push 0x4858a0
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x485883
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41772c]
call fcn.00403ec4
mov dword [0x4a5960], eax
xor eax, eax
mov dword [0x4a5964], eax
push 0
push 0x485618
call sub.user32.dll_EnumWindows
push 0x1f4
call sub.kernel32.dll_Sleep_1
lea edx, [ebp - 8]
mov eax, dword [0x4a5960]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00404d94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48588a
mov eax, dword [0x4a5960]
call fcn.00403ef4
ret
Function at 0x486a18
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Execute shell command and capture output
Get comspec environment variable
Query environment variable
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffe88
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x486bbf
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x20], 0xc
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0xffffffff
push 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call sub.kernel32.dll_CreatePipe
test eax, eax
jne 0x486a81
xor ecx, ecx
mov edx, 0x1f41
mov eax, ebx
call fcn.00486964
jmp 0x486ba4
mov dword [ebp - 0x64], 0x44
lea eax, [ebp - 0x64]
push eax
call sub.kernel32.dll_GetStartupInfoA_1
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x28], eax
mov word [ebp - 0x34], 0
mov dword [ebp - 0x38], 0x101
push 0x104
lea eax, [ebp - 0x178]
push eax
push 0x486bcc
call sub.kernel32.dll_GetEnvironmentVariableA
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x178]
mov ecx, 0x104
call fcn.00404fb0
push dword [ebp - 0xc]
push 0x486bdc
push esi
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004050c0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.00405200
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x486b24
xor ecx, ecx
mov edx, 0x1f42
mov eax, ebx
call fcn.00486964
jmp 0x486ba4
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
lea eax, [ebp - 0x1178]
mov edx, 0x1000
call fcn.00408168
push 0
lea eax, [ebp - 0x14]
push eax
push 0x1000
lea eax, [ebp - 0x1178]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_ReadFile_1
test eax, eax
je 0x486b87
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x1178]
mov ecx, 0x1000
call fcn.00404fb0
mov ecx, dword [ebp - 0x10]
mov edx, 0x1f43
mov eax, ebx
call fcn.00486964
push 0x64
call sub.kernel32.dll_Sleep
jmp 0x486b3d
push 0xffffffffffffffff
mov eax, dword [ebp - 0x74]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [ebp - 0x74]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x70]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486bc6
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404d64
ret
Function at 0x487cf0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x487d79
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4a5970
push 0x101
call sub.wsock32.dll_WSAStartup_1
mov ebx, eax
test ebx, ebx
je 0x487d63
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040cde0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x487d90
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x4a39f4]
mov dl, 1
mov eax, dword [0x486d1c]
call fcn.0040d714
call fcn.00404694
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487d80
lea eax, [ebp - 0x1c]
call fcn.00404d40
ret

Function at 0x488444
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.00488368
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.004040fc
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x4884a8
call fcn.00487c38
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x48849a
cmp dword [ebx + 4], 0xffffffff
setne al
mov byte [ebx + 8], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.004040fc
pop esi
pop ebx
ret

Function at 0x4884cc
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004881ec
xor eax, eax
push ebp
push 0x48854b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404d40
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
jne 0x488505
call fcn.00404740
jmp 0x488552
mov dword [ebp - 8], 0x10
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_getsockname
test eax, eax
jne 0x488535
push dword [ebp - 0x14]
call sub.wsock32.dll_inet_ntoa_1
mov edx, eax
mov eax, ebx
call fcn.00404f38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488552
mov eax, dword [ebp - 4]
call fcn.004881f8
ret
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x488558
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004881ec
xor eax, eax
push ebp
push 0x4885d1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404d40
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
jne 0x488594
call fcn.00404740
jmp 0x4885d8
push pe_nt_image_headers32
lea eax, [ebp - 0x104]
push eax
call sub.wsock32.dll_gethostname_1
test eax, eax
jne 0x4885bb
mov eax, ebx
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.00404fb0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4885d8
mov eax, dword [ebp - 4]
call fcn.004881f8
ret
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4885e0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004881ec
xor eax, eax
push ebp
push 0x48865b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
jne 0x488616
call fcn.00404740
jmp 0x488662
mov dword [ebp - 0xc], 0x10
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_getsockname
test eax, eax
jne 0x488645
mov ax, word [ebp - 0x1a]
push eax
call sub.wsock32.dll_ntohs
movzx eax, ax
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488662
mov eax, dword [ebp - 4]
call fcn.004881f8
ret
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x48879c
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00405200
push eax
call sub.wsock32.dll_gethostbyname_1
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.00403664
test ebx, ebx
je 0x4887e7
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 4], cl
mov cl, byte [edx + 1]
mov byte [esp + 5], cl
mov cl, byte [edx + 2]
mov byte [esp + 6], cl
mov al, byte [edx + 3]
mov byte [esp + 7], al
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop edx
pop ebx
ret

Function at 0x4888c4
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4888f5
mov ecx, dword [0x4a3b1c]
mov dl, 1
mov eax, dword [0x486d1c]
call fcn.0040d6d8
call fcn.00404694
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x488922
mov ecx, dword [0x4a3844]
mov dl, 1
mov eax, dword [0x486d1c]
call fcn.0040d6d8
call fcn.00404694
xor eax, eax
push ebp
push 0x4889a3
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.004040fc
cmp byte [ebp + 8], 0
je 0x48897d
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0048882c
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004883c4
jmp 0x488999
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00487f24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4889c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4889cc
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4889fd
mov ecx, dword [0x4a38bc]
mov dl, 1
mov eax, dword [0x486d1c]
call fcn.0040d6d8
call fcn.00404694
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x488a2a
mov ecx, dword [0x4a3844]
mov dl, 1
mov eax, dword [0x486d1c]
call fcn.0040d6d8
call fcn.00404694
xor eax, eax
push ebp
push 0x488aa6
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.004040fc
cmp byte [ebp + 8], 0
je 0x488a82
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0048882c
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.00488444
jmp 0x488a9c
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00487f24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x488ac3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x488ca4
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004881ec
xor eax, eax
push ebp
push 0x488e15
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x488dff
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x488cef
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x488cf9
call fcn.00404740
jmp 0x488e1c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041c2b0
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
jle 0x488df4
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send_1
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x488da7
call sub.wsock32.dll_WSAGetLastError_1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x488d94
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004040fc
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.00488c5c
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x488e28]
cmp dl, byte [eax + 0x28]
je 0x488dfb
call fcn.0040d5fc
jmp 0x488dfb
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041c2d0
jmp 0x488dfb
cmp ecx, ebx
jge 0x488dc3
mov eax, dword [ebp - 0xc]
add eax, ecx
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041c2d0
jmp 0x488cf9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041c2b0
cmp edx, dword [esp + 4]
jne 0x488de3
cmp eax, dword [esp]
pop edx
pop eax
jne 0x488cf9
push ebp
call fcn.00488c5c
pop ecx
jmp 0x488dfb
push ebp
call fcn.00488c5c
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488e1c
mov eax, dword [ebp - 4]
call fcn.004881f8
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x488e2c
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x488f4e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004881ec
xor eax, eax
push ebp
push 0x488f31
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x488e7c
call fcn.00404740
jmp 0x488f38
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x488f1b
call sub.wsock32.dll_WSAGetLastError_1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x488f1b
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004040fc
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x488f1b
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040cde0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x488f68
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4a39f4]
mov dl, 1
mov eax, dword [0x486d1c]
call fcn.0040d714
call fcn.00404694
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488f38
mov eax, dword [ebp - 4]
call fcn.004881f8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488f55
lea eax, [ebp - 0x28]
call fcn.00404d40
ret
Function at 0x488fb4
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4890fe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004881ec
xor eax, eax
push ebp
push 0x4890e1
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x489019
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x489019
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x4890cb
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x48902c
call fcn.00404740
jmp 0x4890e8
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4890cb
call sub.wsock32.dll_WSAGetLastError_1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4890cb
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004040fc
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x4890cb
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040cde0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x489118
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4a39f4]
mov dl, 1
mov eax, dword [0x486d1c]
call fcn.0040d714
call fcn.00404694
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4890e8
mov eax, dword [ebp - 4]
call fcn.004881f8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x489105
lea eax, [ebp - 0x28]
call fcn.00404d40
ret
Function at 0x48acac
Capabilities:
Create udp socket
Initialize winsock library
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
test dl, dl
je 0x48acc4
add esp, 0xfffffff0
call fcn.0040422c
mov byte [ebp - 1], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x48adf1
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, ebx
call fcn.0042061c
mov byte [ebx + 0x10210], 0
mov eax, 0x400
call fcn.00402b2c
mov dword [ebx + 0x10068], eax
push ebx
push 0x48b530
call fcn.00450fc0
mov dword [ebx + 0x10060], eax
mov dword [ebx + 0x10208], 1
mov byte [ebx + 0x1006c], 0
push 0x48ae18
push 0
push 0xffffffffffffffff
push 0
call sub.kernel32.dll_CreateEventA
mov dword [ebx + 0x10248], eax
mov ecx, 0x48ae24
mov dl, 8
mov eax, ebx
call fcn.0048b4b0
lea eax, [ebx + 0x10070]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup_1
test eax, eax
jne 0x48adc1
xor eax, eax
push ebp
push 0x48adab
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 2
push 2
call sub.wsock32.dll_socket
mov esi, eax
mov dword [ebx + 0x1024c], esi
inc esi
jne 0x48ad84
lea ecx, [ebp - 8]
mov dx, 0x2733
mov eax, ebx
call fcn.0048b2fc
push 4
push 0x48ae38
push 0xff7f
push 0xffff
mov eax, dword [ebx + 0x1024c]
push eax
call sub.wsock32.dll_setsockopt
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48adcf
lea ecx, [ebp - 0xc]
mov dx, 0x2733
mov eax, ebx
call fcn.0048b2fc
mov byte [ebx + 0x10210], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48adf8
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404d64
ret

Function at 0x48ae8c
Capabilities:
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48af60
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x1024c]
test eax, eax
je 0x48aebb
push eax
call sub.wsock32.dll_closesocket
call sub.wsock32.dll_WSACleanup_1
lea eax, [ebx + 0x10070]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup_1
test eax, eax
jne 0x48af27
xor eax, eax
push ebp
push 0x48af11
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 2
push 2
call sub.wsock32.dll_socket
mov esi, eax
mov dword [ebx + 0x1024c], esi
inc esi
jne 0x48af07
lea ecx, [ebp - 8]
mov dx, 0x2733
mov eax, ebx
call fcn.0048b2fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48af35
lea ecx, [ebp - 0xc]
mov dx, 0x2733
mov eax, ebx
call fcn.0048b2fc
mov eax, dword [ebp - 4]
mov dword [ebx + 0x1003c], eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48af67
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404d64
ret