joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4497d0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b56f8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x62dc50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x54], ecx
cmp dword [ebp + 8], 0xffffffff
je 0x44981e
mov dword [ebp - 0x34], 0x10
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0x24]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_getsockname]
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0x24]
movzx eax, word [edx + 2]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx ecx, ax
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 0x24]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404040
mov dword [ebp - 4], 0
mov ecx, 0x5f252c
lea edi, [ebp - 0x2c]
call fcn.00415980
movzx edx, al
test edx, edx
je 0x449870
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0x24]
movzx edx, word [ecx + 2]
push edx
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
mov ecx, dword [ebp - 0x54]
mov dword [ecx + 0x20], eax
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 0x24]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov edx, dword [ebp - 0x54]
add edx, 4
push edx
mov edx, eax
call fcn.00409fc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004040b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00587964
mov esp, ebp
pop ebp
ret 4

Function at 0x4498e0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
je 0x4498fd
cmp dword [ebp - 0x18], 2
je 0x44990d
jmp 0x44991b
mov dword [ebp - 8], 1
mov dword [ebp - 0xc], 6
jmp 0x44991b
mov dword [ebp - 8], 2
mov dword [ebp - 0xc], 0x11
mov ecx, dword [ebp + 0xc]
push ecx
push 0
push 0
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x24]
movzx eax, word [edx]
push eax
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x44999c
cmp dword [ebp + 8], 2
jne 0x449968
mov dword [ebp - 0x10], 1
push 4
lea ecx, [ebp - 0x10]
push ecx
push 0x20
push 0xffff
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
push 0x10
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x24]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x449990
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
or eax, 0xffffffff
jmp 0x44999f
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.004497d0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x449f40
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
mov eax, dword [0x62dc50]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.00449090
test eax, eax
je 0x449f6b
call fcn.00449050
mov eax, 1
jmp 0x449fed
mov eax, dword [ebp + 8]
and eax, 0xff
movzx ecx, al
mov edx, dword [ebp + 0xc]
and edx, 0xff
movzx eax, dl
shl eax, 8
or ecx, eax
mov word [ebp - 0x19c], cx
lea ecx, [ebp - 0x198]
push ecx
movzx edx, word [ebp - 0x19c]
push edx
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x449fad
xor eax, eax
jmp 0x449fed
movzx eax, word [ebp - 0x198]
and eax, 0xff
movzx ecx, al
cmp ecx, dword [ebp + 8]
jne 0x449fd9
movzx edx, word [ebp - 0x198]
shr edx, 8
and edx, 0xff
movzx eax, dl
cmp eax, dword [ebp + 0xc]
je 0x449fe3
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
jmp 0x449fed
call fcn.00449050
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00587964
mov esp, ebp
pop ebp
ret

Function at 0x44a290
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x254], 0
je 0x44a2c8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 4]
sub eax, dword [ecx + 0x254]
cmp eax, 0x2710
jbe 0x44a2c2
mov eax, 1
jmp 0x44a30f
xor eax, eax
jmp 0x44a30f
mov edx, dword [ebp - 4]
cmp dword [edx + 0x68], 0
jne 0x44a30d
mov ecx, dword [ebp - 4]
call fcn.00448ce0
test eax, eax
jne 0x44a30d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x254], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x254], 0
jne 0x44a30d
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x254]
add ecx, 1
mov edx, dword [ebp - 4]
mov dword [edx + 0x254], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x44a500
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x1d4], ecx
mov ecx, dword [ebp - 8]
call fcn.0044a360
test eax, eax
je 0x44a58c
mov edx, dword [ebp - 8]
cmp dword [edx + 0x184], 1
jne 0x44a58c
mov eax, dword [ebp - 8]
cmp dword [eax + 0x1d4], 0
jle 0x44a58c
push 4
lea ecx, [ebp + 8]
push ecx
push 0x1005
push 0xffff
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x168]
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x44a58c
mov dword [ebp - 4], 4
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
add edx, 0x1d4
push edx
push 0x1005
push 0xffff
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x168]
push ecx
call dword [sym.imp.WS2_32.dll_getsockopt]
mov esp, ebp
pop ebp
ret 4
Function at 0x44ac70
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
call fcn.0044a360
test eax, eax
jne 0x44ac8d
or eax, 0xffffffff
jmp 0x44ad63
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x188], 0
je 0x44acf2
mov ecx, dword [ebp - 0x14]
call fcn.0044c700
mov dword [ebp - 0xc], eax
push 0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x178]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x168]
push edx
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x44acf0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.0044a340
push 1
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.0044ac30
jmp 0x44ad60
mov ecx, dword [ebp - 0x14]
call fcn.0044bc10
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x18], 3
push 0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x28
push ecx
mov edx, dword [ebp - 0x10]
add edx, 0x24
push edx
push 1
mov eax, dword [ebp - 0x10]
add eax, 0x1c
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x168]
push edx
call dword [sym.imp.WS2_32.dll_WSARecv]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x44ad60
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.0044a340
push 1
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.0044ac30
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x44ad70
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bdc38
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x62dc50]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x24]
call fcn.0044a360
test eax, eax
jne 0x44adad
or eax, 0xffffffff
jmp 0x44aebd
cmp dword [ebp + 0xc], 0
jg 0x44adbb
mov eax, dword [ebp + 0xc]
jmp 0x44aebd
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x24]
add ecx, 0x1e0
lea esi, [ebp - 0x20]
call fcn.0040c520
mov dword [ebp - 4], 0
mov eax, 1
test eax, eax
je 0x44aeab
push 0
mov ecx, dword [ebp + 0xc]
sub ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x168]
push ecx
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x24]
mov eax, dword [edx + 0x7c]
call eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x44ae59
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x24]
call fcn.0044a340
push 0
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x24]
call fcn.0044ac30
jmp 0x44aeab
cmp dword [ebp - 0x14], 0
jle 0x44ae81
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 0xc]
jl 0x44ae7a
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x14], edx
jmp 0x44aeab
jmp 0x44ade1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x24]
call fcn.0044a340
push 0
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x24]
call fcn.0044ac30
jmp 0x44aeab
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x20]
call fcn.00405d10
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x44b7d0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x18]
call fcn.0044a360
test eax, eax
jne 0x44b7ed
or eax, 0xffffffff
jmp 0x44b916
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x188], 0
je 0x44b885
mov dword [ebp - 0xc], 0x10
mov ecx, dword [ebp - 0x18]
call fcn.0044c700
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0x94
call fcn.00448cc0
push eax
push 0
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x178]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x168]
push eax
call dword [sym.imp.WS2_32.dll_recvfrom]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x44b85d
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x18]
add ecx, 0x94
call fcn.004497d0
jmp 0x44b880
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.0044a340
push 1
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.0044ac30
jmp 0x44b913
mov ecx, dword [ebp - 0x18]
call fcn.0044bc10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x18], 4
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x2c], 0x10
push 0
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x14]
add eax, 0x2c
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x94
call fcn.00448cc0
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
push ecx
mov edx, dword [ebp - 0x14]
add edx, 0x24
push edx
push 1
mov eax, dword [ebp - 0x14]
add eax, 0x1c
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x168]
push edx
call dword [sym.imp.WS2_32.dll_WSARecvFrom]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x44b913
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.0044a340
push 1
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.0044ac30
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x44b920
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b6c70
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x62dc50]
xor eax, ebp
mov dword [ebp - 0x18], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x80], ecx
mov ecx, dword [ebp - 0x80]
call fcn.0044a360
test eax, eax
jne 0x44b960
or eax, 0xffffffff
jmp 0x44babb
mov eax, dword [ebp + 0x10]
call fcn.00404100
test eax, eax
jbe 0x44b9cd
cmp dword [ebp + 0x14], 0
jbe 0x44b9cd
lea ecx, [ebp - 0x40]
call fcn.004494b0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00448c90
push 0x10
lea ecx, [ebp - 0x40]
call fcn.00448cc0
push eax
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx + 0x168]
push edx
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00449560
jmp 0x44ba73
mov ecx, dword [ebp - 0x80]
add ecx, 0x94
call fcn.00448cc0
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [ebp - 0x60]
call fcn.00404040
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x80]
add ecx, 0x94
call fcn.00448cc0
movzx ecx, word [eax + 2]
push ecx
call dword [sym.imp.WS2_32.dll_ntohs]
movzx edx, ax
mov dword [ebp - 0x44], edx
mov ecx, str.0.0.0.0
lea edi, [ebp - 0x60]
call fcn.004054d0
movzx eax, al
test eax, eax
je 0x44ba5e
cmp dword [ebp - 0x44], 0
jle 0x44ba5e
push 0x10
mov ecx, dword [ebp - 0x80]
add ecx, 0x94
call fcn.00448cc0
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax + 0x168]
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [ebp - 0x10], eax
jmp 0x44ba64
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.004040b0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x80]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x80]
mov edx, dword [eax + 0x7c]
call edx
cmp dword [ebp - 0x10], 0xffffffff
jne 0x44bab8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x80]
call fcn.0044a340
push 1
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x80]
call fcn.0044ac30
mov dword [ebp - 0x64], 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00587964
mov esp, ebp
pop ebp
ret 0x10
Function at 0x44c230
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b4a08
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x62dc50]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x98], 0
lea ecx, [ebp - 0xd]
call fcn.004493a0
mov dword [ebp - 4], 0
mov byte [ebp - 0x94], 0
push 0x7f
push 0
lea eax, [ebp - 0x93]
push eax
call fcn.0058c670
add esp, 0xc
push 0x7f
lea ecx, [ebp - 0x94]
push ecx
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
je 0x44c2d1
push 0x5f03bf
mov ecx, dword [ebp + 8]
call fcn.00404040
mov edx, dword [ebp - 0x98]
or edx, 1
mov dword [ebp - 0x98], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.004493c0
mov eax, dword [ebp + 8]
jmp 0x44c301
lea eax, [ebp - 0x94]
push eax
mov ecx, dword [ebp + 8]
call fcn.00404040
mov ecx, dword [ebp - 0x98]
or ecx, 1
mov dword [ebp - 0x98], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.004493c0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00587964
mov esp, ebp
pop ebp
ret

Function at 0x44c320
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b6bd8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x62dc50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x2d]
call fcn.004493a0
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
call fcn.00433520
lea eax, [ebp - 0x4c]
push eax
call fcn.0044c230
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.004237d0
movzx ecx, al
test ecx, ecx
je 0x44c39e
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.004040b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2d]
call fcn.004493c0
jmp 0x44c434
lea eax, [ebp - 0x4c]
call fcn.004040f0
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x44c419
mov dword [ebp - 0x54], 0
jmp 0x44c3c8
mov edx, dword [ebp - 0x54]
add edx, 1
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x54]
cmp dword [ecx + edx*4], 0
je 0x44c419
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x54]
mov eax, dword [ecx + edx*4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00404040
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00433420
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.004040b0
jmp 0x44c3bf
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.004040b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2d]
call fcn.004493c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00587964
mov esp, ebp
pop ebp
ret
Function at 0x44c450
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b3eb0
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x62dc50]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ecx
cmp dword [ebp + 8], 0
je 0x44c4d0
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0xc], 0
jne 0x44c4ce
mov ecx, dword [ebp - 0x18]
add ecx, 0x14
push ecx
push 0
mov edx, dword [ebp - 0x18]
push edx
push 0x44c5e0
push 0
push 0
call fcn.0058a2a4
add esp, 0x18
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x10], 0
je 0x44c4ce
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x10], 0xffffffff
je 0x44c4ce
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0xc], 1
jmp 0x44c53e
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0xc], 0
je 0x44c53e
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x10], 0
je 0x44c53e
push 0x2710
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x102
jne 0x44c53e
mov dword [ebp - 4], 0
push 0xffffffffffffffff
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [ebp - 0x18]
call fcn.0044c560
jmp 0x44c52d
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
mov dword [edx + 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push 0
push 0
push 0x5f03c9
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x44d09b
xor al, al
jmp 0x44d09d
mov al, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x44d420
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 8]
push eax
call fcn.004493d0
add esp, 4
test eax, eax
jne 0x44d43e
or eax, 0xffffffff
jmp 0x44d45f
mov dword [ebp - 4], 0x5000
push 4
lea ecx, [ebp - 4]
push ecx
push 0x1001
push 0xffff
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov esp, ebp
pop ebp
ret 4
Function at 0x451ca0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b4970
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x40
mov eax, dword [0x62dc50]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x50], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x50]
cmp dword [eax + 0x20d4], 0xffffffff
je 0x451e4f
mov ecx, dword [ebp - 0x50]
cmp dword [ecx + 0x20d4], 0x14be5bf
jg 0x451e4f
lea ecx, [ebp - 0x28]
call fcn.00438fa0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.00438fa0
mov byte [ebp - 4], 2
push 0
push 0x3b
push 0
push 0xc
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 0x20d4]
cdq
mov ecx, 0x2710
idiv ecx
mov eax, edx
cdq
mov ecx, 0x64
idiv ecx
push edx
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 0x20d4]
cdq
mov ecx, 0x2710
idiv ecx
mov eax, edx
cdq
mov ecx, 0x64
idiv ecx
push eax
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 0x20d4]
cdq
mov ecx, 0x2710
idiv ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.004399d0
mov edx, dword [ebp - 0x50]
cmp dword [edx + 0x20d4], 0
jle 0x451e0e
lea ecx, [ebp - 0x3c]
call fcn.00439870
mov esi, eax
lea ecx, [ebp - 0x28]
call fcn.00439870
cmp eax, esi
jl 0x451e0e
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x28]
call fcn.004397b0
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
push 0
push 0x5265c00
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x48]
push edx
call fcn.0058eb70
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0x20d8], eax
mov edx, dword [ebp - 0x50]
cmp dword [edx + 0x20d8], 0x1e
jg 0x451e0c
lea ecx, [ebp - 0x3c]
call fcn.00439870
cmp dword [0x67ed4c], eax
je 0x451e0c
lea ecx, [ebp - 0x3c]
call fcn.00439870
mov dword [0x67ed4c], eax
push 0
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x4c], esp
push 0x463970
mov eax, dword [ebp - 0x50]
push eax
call fcn.00469c30
call fcn.00436170
add esp, 0xc
jmp 0x451e37
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0x20d8], 0xffffffff
mov edx, dword [ebp - 0x50]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x50]
mov edx, dword [eax + 0x68]
call edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.00405cd0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00405cd0
jmp 0x451e5e
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00587964
mov esp, ebp
pop ebp
ret