joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45cb11
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 0x45cb9a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4a6d94
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x45cb84
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040c8b1
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, 0x45cbb1
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x4a5a4c]
mov dl, 1
mov eax, dword [0x45bb3d]
call fcn.0040d1d5
call fcn.004048b5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45cba1
lea eax, [ebp - 0x1c]
call fcn.00404f19
ret

Function at 0x45d269
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.0045d18d
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00404325
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x45d2cd
call fcn.0045ca59
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x45d2bf
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.00404325
pop esi
pop ebx
ret

Function at 0x45d2f1
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.0045d00d
xor eax, eax
push ebp
push 0x45d370
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404f19
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
jne 0x45d32a
call fcn.00404961
jmp 0x45d377
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 0x45d35a
push dword [ebp - 0x14]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
mov eax, ebx
call fcn.00405111
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d377
mov eax, dword [ebp - 4]
call fcn.0045d019
ret
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45d37d
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.0045d00d
xor eax, eax
push ebp
push 0x45d3f6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404f19
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
jne 0x45d3b9
call fcn.00404961
jmp 0x45d3fd
push pe_nt_image_headers32
lea eax, [ebp - 0x104]
push eax
call sub.wsock32.dll_gethostname
test eax, eax
jne 0x45d3e0
mov eax, ebx
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.00405189
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d3fd
mov eax, dword [ebp - 4]
call fcn.0045d019
ret
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45d405
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.0045d00d
xor eax, eax
push ebp
push 0x45d480
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 0x45d43b
call fcn.00404961
jmp 0x45d487
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 0x45d46a
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 0x45d487
mov eax, dword [ebp - 4]
call fcn.0045d019
ret
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x45d5c1
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.004053d9
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.00403861
test ebx, ebx
je 0x45d60c
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 0x45d6e9
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 0x45d71a
mov ecx, dword [0x4a5ba4]
mov dl, 1
mov eax, dword [0x45bb3d]
call fcn.0040d199
call fcn.004048b5
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 0x45d747
mov ecx, dword [0x4a5868]
mov dl, 1
mov eax, dword [0x45bb3d]
call fcn.0040d199
call fcn.004048b5
xor eax, eax
push ebp
push 0x45d7c8
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.00404325
cmp byte [ebp + 8], 0
je 0x45d7a2
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.0045d651
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.0045d1e9
jmp 0x45d7be
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.0045cd45
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45d7e5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x45d7f1
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 0x45d822
mov ecx, dword [0x4a5908]
mov dl, 1
mov eax, dword [0x45bb3d]
call fcn.0040d199
call fcn.004048b5
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 0x45d84f
mov ecx, dword [0x4a5868]
mov dl, 1
mov eax, dword [0x45bb3d]
call fcn.0040d199
call fcn.004048b5
xor eax, eax
push ebp
push 0x45d8cb
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.00404325
cmp byte [ebp + 8], 0
je 0x45d8a7
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.0045d651
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.0045d269
jmp 0x45d8c1
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.0045cd45
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45d8e8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x45dac9
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.0045d00d
xor eax, eax
push ebp
push 0x45dc3a
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 0x45dc24
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x45db14
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x45db1e
call fcn.00404961
jmp 0x45dc41
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00418179
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 0x45dc19
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
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x45dbcc
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x45dbb9
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00404325
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.0045da81
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x45dc4d]
cmp dl, byte [eax + 0x28]
je 0x45dc20
call fcn.0040d0bd
jmp 0x45dc20
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00418199
jmp 0x45dc20
cmp ecx, ebx
jge 0x45dbe8
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.00418199
jmp 0x45db1e
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.00418179
cmp edx, dword [esp + 4]
jne 0x45dc08
cmp eax, dword [esp]
pop edx
pop eax
jne 0x45db1e
push ebp
call fcn.0045da81
pop ecx
jmp 0x45dc20
push ebp
call fcn.0045da81
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45dc41
mov eax, dword [ebp - 4]
call fcn.0045d019
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45dc51
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 0x45dd73
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0045d00d
xor eax, eax
push ebp
push 0x45dd56
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 0x45dca1
call fcn.00404961
jmp 0x45dd5d
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x45dd40
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x45dd40
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00404325
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 0x45dd40
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c8b1
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, 0x45dd8d
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4a5a4c]
mov dl, 1
mov eax, dword [0x45bb3d]
call fcn.0040d1d5
call fcn.004048b5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45dd5d
mov eax, dword [ebp - 4]
call fcn.0045d019
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45dd7a
lea eax, [ebp - 0x28]
call fcn.00404f19
ret
Function at 0x45ddd9
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 0x45df23
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0045d00d
xor eax, eax
push ebp
push 0x45df06
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x45de3e
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x45de3e
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 0x45def0
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x45de51
call fcn.00404961
jmp 0x45df0d
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x45def0
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x45def0
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00404325
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 0x45def0
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c8b1
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, 0x45df3d
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4a5a4c]
mov dl, 1
mov eax, dword [0x45bb3d]
call fcn.0040d1d5
call fcn.004048b5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45df0d
mov eax, dword [ebp - 4]
call fcn.0045d019
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45df2a
lea eax, [ebp - 0x28]
call fcn.00404f19
ret
Function at 0x46094d
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 0x460965
add esp, 0xfffffff0
call fcn.0040444d
mov byte [ebp - 1], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x460a92
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, ebx
call fcn.0041c4fd
mov byte [ebx + 0x10210], 0
mov eax, 0x400
call fcn.00402ce1
mov dword [ebx + 0x10068], eax
push ebx
push 0x4611d1
call fcn.0044ea19
mov dword [ebx + 0x10060], eax
mov dword [ebx + 0x10208], 1
mov byte [ebx + 0x1006c], 0
push 0x460ab9
push 0
push 0xffffffffffffffff
push 0
call sub.kernel32.dll_CreateEventA
mov dword [ebx + 0x10248], eax
mov ecx, 0x460ac5
mov dl, 8
mov eax, ebx
call fcn.00461151
lea eax, [ebx + 0x10070]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x460a62
xor eax, eax
push ebp
push 0x460a4c
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 0x460a25
lea ecx, [ebp - 8]
mov dx, 0x2733
mov eax, ebx
call fcn.00460f9d
push 4
push 0x460ad9
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 0x460a70
lea ecx, [ebp - 0xc]
mov dx, 0x2733
mov eax, ebx
call fcn.00460f9d
mov byte [ebx + 0x10210], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460a99
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404f3d
ret

Function at 0x460b2d
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 0x460c01
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x1024c]
test eax, eax
je 0x460b5c
push eax
call sub.wsock32.dll_closesocket
call sub.wsock32.dll_WSACleanup
lea eax, [ebx + 0x10070]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x460bc8
xor eax, eax
push ebp
push 0x460bb2
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 0x460ba8
lea ecx, [ebp - 8]
mov dx, 0x2733
mov eax, ebx
call fcn.00460f9d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x460bd6
lea ecx, [ebp - 0xc]
mov dx, 0x2733
mov eax, ebx
call fcn.00460f9d
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 0x460c08
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404f3d
ret
Function at 0x460e01
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov ebx, ecx
test ebx, ebx
js 0x460e19
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x460e12
mov edx, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor esi, esi
cmp dword [ebp + 8], 0
jne 0x460eb4
test esi, esi
jle 0x460e4b
mov ecx, 0x460f5d
mov dl, 1
mov eax, dword [0x408511]
call fcn.0040d0dd
call fcn.004048b5
jmp 0x460eaa
cmp word [ebx + 0x10242], 0
jne 0x460e6d
mov ecx, 0x460f5d
mov dl, 1
mov eax, dword [0x408511]
call fcn.0040d0dd
call fcn.004048b5
jmp 0x460eaa
mov byte [ebp - 9], 0
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
lea edx, [ebp - 9]
mov eax, dword [ebx + 0x10244]
call dword [ebx + 0x10240]
cmp byte [ebp - 9], 0
jne 0x460ea9
mov ecx, 0x460f5d
mov dl, 1
mov eax, dword [0x408511]
call fcn.0040d0dd
call fcn.004048b5
jmp 0x460eaa
inc esi
cmp dword [ebp + 8], 0
je 0x460e2f
mov byte [ebx + 0x1006c], 0
mov eax, ebx
call fcn.00460c9d
cmp dword [ebx + 0x10044], 0
jne 0x460ee1
mov ecx, 0x460f75
mov dl, 1
mov eax, dword [0x46051d]
call fcn.0040d0dd
call fcn.004048b5
mov ecx, 0x460f8d
mov dl, 2
mov eax, ebx
call fcn.00461151
mov word [ebx + 0x10040], 2
mov ax, word [ebx + 0x10038]
push eax
call sub.wsock32.dll_htons
mov word [ebx + 0x10042], ax
mov eax, 0x10
push eax
lea eax, [ebx + 0x10040]
push eax
push 0
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebx + 0x1024c]
push eax
call sub.wsock32.dll_sendto
cmp word [ebx + 0x1022a], 0
je 0x460f47
mov edx, ebx
mov eax, dword [ebx + 0x1022c]
call dword [ebx + 0x10228]
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 4

Function at 0x461245
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x461319
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0xffff
lea eax, [ebx + 0x30]
push eax
mov eax, dword [ebx + 0x1024c]
push eax
call sub.wsock32.dll_recvfrom
mov dword [ebx + 0x10030], eax
cmp word [ebx + 0x10222], 0
je 0x461303
lea eax, [ebp - 8]
push eax
xor eax, eax
mov al, byte [ebp - 0x14]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
xor eax, eax
mov al, byte [ebp - 0x13]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
xor eax, eax
mov al, byte [ebp - 0x12]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
xor eax, eax
mov al, byte [ebp - 0x11]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
lea edx, [ebp - 0x38]
mov ecx, 3
mov eax, 0x46132d
call fcn.0040a735
mov ax, word [ebp - 0x16]
push eax
call sub.wsock32.dll_ntohs
mov edx, dword [ebp - 8]
push edx
movzx eax, ax
push eax
mov ecx, dword [ebx + 0x10030]
mov edx, ebx
mov eax, dword [ebx + 0x10224]
call dword [ebx + 0x10220]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461320
lea eax, [ebp - 8]
call fcn.00404f19
ret
Function at 0x461519
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.004053c9
xor eax, eax
push ebp
push 0x461646
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebx + 0xc], eax
lea eax, [ebx + 0x10034]
mov edx, dword [ebp - 4]
call fcn.00404f6d
mov dword [ebx + 0x10224], esi
mov dword [ebx + 0x10220], 0x461489
mov edx, 0xfa0
mov eax, ebx
call fcn.00460b2d
mov eax, dword [ebx + 0x1003c]
mov dword [ebx + 0x10038], eax
lea eax, [ebp - 8]
mov edx, dword [ebx + 0x1003c]
mov dword [eax], edx
push 4
lea edx, [ebp - 8]
mov ecx, 3
mov eax, ebx
call fcn.00460e01
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
jmp 0x4615ae
mov eax, dword [0x4a5978]
mov eax, dword [eax]
call fcn.00457691
cmp dword [ebx + 0xc], 0
jne 0x46162a
call sub.kernel32.dll_GetTickCount_1
sub eax, esi
cmp eax, 0x32
jb 0x4615a2
jmp 0x46162a
mov edx, dword [edi]
mov eax, ebx
call fcn.00460b2d
inc dword [edi]
cmp dword [edi], 0xffff
jne 0x4615db
mov dword [edi], 0xfa0
mov eax, dword [ebx + 0x1003c]
mov dword [ebx + 0x10038], eax
lea eax, [ebp - 8]
mov edx, dword [ebx + 0x1003c]
mov dword [eax], edx
push 4
lea edx, [ebp - 8]
mov ecx, 3
mov eax, ebx
call fcn.00460e01
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
jmp 0x461618
mov eax, dword [0x4a5978]
mov eax, dword [eax]
call fcn.00457691
cmp dword [ebx + 0xc], 0
jne 0x46162a
call sub.kernel32.dll_GetTickCount_1
sub eax, esi
cmp eax, 0x32
jb 0x46160c
cmp dword [ebx + 0xc], 0
je 0x4615c2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46164d
lea eax, [ebp - 4]
call fcn.00404f19
ret
Function at 0x472f9d
Capabilities:
Check os version
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff50
push ebx
push esi
mov ecx, 0x4730f9
mov dl, 1
mov eax, dword [0x47292d]
call fcn.00472a95
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x4730d9
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x1c]
xor ecx, ecx
mov edx, 0x18
call fcn.00403861
mov dword [ebp - 0x1c], 0x18
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
push eax
push 6
push 0x4a7ac8
mov eax, dword [0x4a5650]
mov eax, dword [eax]
call eax
cmp eax, 0xc0000022
jne 0x473052
lea eax, [ebp - 0x1c]
push eax
push 0x60000
push 0x4a7ac8
mov eax, dword [0x4a5650]
mov eax, dword [eax]
call eax
test eax, eax
jne 0x473033
mov eax, dword [0x4a7ac8]
call fcn.00472e95
mov eax, dword [0x4a7ac8]
push eax
call sub.kernel32.dll_CloseHandle_1
lea eax, [ebp - 0x1c]
push eax
push 6
push 0x4a7ac8
mov eax, dword [0x4a5650]
mov eax, dword [eax]
call eax
test eax, eax
jne 0x4730bc
mov dword [ebp - 0xb0], 0x94
lea eax, [ebp - 0xb0]
push eax
call sub.kernel32.dll_GetVersionExA
cmp dword [ebp - 0xac], 5
jne 0x4730a0
mov eax, dword [ebp - 0xa8]
test eax, eax
jne 0x473086
mov esi, 0x30000
jmp 0x4730a0
cmp eax, 1
jne 0x473092
mov esi, 0x39000
jmp 0x4730a0
xor eax, eax
mov dword [0x4a7ac8], eax
call fcn.00404961
jmp 0x4730e6
push 0x1000
push esi
push 0
push 6
mov eax, dword [0x4a7ac8]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [0x4a7acc], eax
jmp 0x4730c3
xor eax, eax
mov dword [0x4a7ac8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4730e0
mov eax, dword [ebp - 4]
call fcn.00404129
ret
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x473111
Capabilities:
Read file via mapping

Disassembly:
push ebx
push esi
mov ebx, edx
cmp ebx, 0x80000000
jb 0x473130
cmp ebx, 0xa0000000
jae 0x473130
sub ebx, 0x80000000
mov eax, ebx
pop esi
pop ebx
ret
mov edx, ebx
shr edx, 0x16
mov esi, dword [eax + edx*4]
test esi, 1
je 0x4731ac
mov eax, esi
and eax, 0x80
test eax, eax
je 0x47315d
and esi, 0xffc00000
and ebx, 0x3fffff
add esi, ebx
mov ebx, esi
jmp 0x4731b1
push 0x1000
and esi, 0xfffff000
push esi
push 0
push 4
mov eax, dword [0x4a7ac8]
push eax
call sub.kernel32.dll_MapViewOfFile
mov esi, eax
mov edx, esi
mov eax, edx
mov ecx, ebx
and ecx, 0x3ff000
shr ecx, 0xc
mov eax, dword [eax + ecx*4]
test al, 1
je 0x4731a7
and eax, 0xfffff000
and ebx, 0xfff
add eax, ebx
mov ebx, eax
push edx
call sub.kernel32.dll_UnmapViewOfFile
jmp 0x4731b1
xor eax, eax
pop esi
pop ebx
ret
xor eax, eax
pop esi
pop ebx
ret
mov eax, ebx
pop esi
pop ebx
ret