joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4667cc
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0xb2], 0
je 0x4667f8
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xb4]
call dword [esi + 0xb0]
push 0xf01ff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00405518
push eax
push ebx
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x46681d
call fcn.0040f848
xor eax, eax
push ebp
push 0x466854
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_DeleteService
test eax, eax
jne 0x46683d
call fcn.0040f848
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46685b
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret

Function at 0x4676a4
Capabilities:
Check os version

Disassembly:
push ebx
add esp, 0xffffff64
xor ebx, ebx
mov dword [esp], 0x9c
push esp
call 0x4673c0
test eax, eax
je 0x4676c6
cmp dword [esp + 4], 6
setae bl
mov eax, ebx
add esp, 0x9c
pop ebx
ret

Function at 0x467808
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405508
xor eax, eax
push ebp
push 0x4678e2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x4678f8
call fcn.004676d0
mov ebx, eax
test ebx, ebx
je 0x4678cc
lea eax, [ebp - 0xc]
push eax
push 0xf01ff
push ebx
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x4678cc
lea eax, [ebp - 8]
push eax
push 1
push 1
push 0
push 0xf01ff
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_DuplicateTokenEx
test eax, eax
je 0x4678cc
lea eax, [ebp - 0x50]
mov edx, 0x44
call fcn.0046736c
mov dword [ebp - 0x50], 0x44
mov dword [ebp - 0x5c], 0xc
xor eax, eax
mov dword [ebp - 0x58], eax
xor eax, eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x68], 0xc
xor eax, eax
mov dword [ebp - 0x64], eax
xor eax, eax
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push 0x4000000
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00405518
push eax
push 0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CreateProcessAsUserA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4678e9
lea eax, [ebp - 4]
call fcn.00405088
ret
Function at 0x467c04
Capabilities:
Enumerate processes on remote desktop session host
Print debug messages

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov edi, eax
xor eax, eax
push ebp
push 0x467cd1
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
lea edx, [ebp - 0x10]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x10]
call fcn.00405518
push eax
call sub.kernel32.dll_OutputDebugStringA_1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 1
push 0
push 0
call sub.wtsapi32.dll_WTSEnumerateProcessesA
test eax, eax
je 0x467ca9
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
dec esi
test esi, esi
jl 0x467ca9
inc esi
lea eax, [ebp - 0x20]
mov edx, dword [ebx + 8]
call fcn.0040597c
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.00409724
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
call fcn.00405310
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.004093b8
mov edx, dword [ebp - 0x14]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x54]
test eax, eax
jl 0x467ca3
mov byte [ebp - 1], 1
jmp 0x467ca9
add ebx, 0x10
dec esi
jne 0x467c63
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467cd8
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00405880
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.004050ac
ret

Function at 0x467e98
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 8], ecx
test dl, dl
je 0x467eb1
add esp, 0xfffffff0
call fcn.004044cc
mov byte [ebp - 1], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x467f6f
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, ebx
call fcn.00404178
mov dword [ebx + 4], 0xffffffff
mov dword [ebx + 8], 0xffffffff
mov byte [ebx + 0xc], 0
cmp dword [ebx + 4], 0xffffffff
jne 0x467ef3
push ebx
push 0x468100
call fcn.00422840
mov dword [ebx + 4], eax
mov byte [ebx + 0xc], 0
push 0
push 2
push 2
call sub.ws2_32.dll_socket_1
mov esi, eax
mov dword [ebx + 8], esi
cmp esi, 0xffffffff
jne 0x467f22
mov ecx, 0x467fa0
mov dl, 1
mov eax, dword [0x4085ac]
call fcn.0040dc18
call fcn.00404a1c
push 1
push 0x1a5a
mov eax, dword [ebx + 4]
push eax
mov eax, dword [ebx + 8]
push eax
call sub.ws2_32.dll_WSAAsyncSelect
test eax, eax
je 0x467f59
cmp word [ebx + 0x1a], 0
je 0x467f59
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 8]
call fcn.0040d2ac
mov ecx, dword [ebp - 8]
mov edx, ebx
mov eax, dword [ebx + 0x1c]
call dword [ebx + 0x18]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467f76
lea eax, [ebp - 8]
call fcn.00405088
ret
Function at 0x467fe4
Capabilities:
Print debug messages
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff9a0
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x660], edx
mov dword [ebp - 0x65c], edx
mov dword [ebp - 0x658], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4680f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x640
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x654]
push eax
push 0
push ebx
lea eax, [ebp - 0x644]
push eax
mov eax, dword [esi + 8]
push eax
call sub.ws2_32.dll_recvfrom
mov ebx, eax
test ebx, ebx
jl 0x46808b
cmp word [esi + 0x12], 0
je 0x4680d5
push dword [ebp - 0x650]
call sub.ws2_32.dll_inet_ntoa
mov edx, eax
lea eax, [ebp - 0x658]
call fcn.00405280
mov eax, dword [ebp - 0x658]
push eax
movzx eax, word [ebp - 0x652]
push eax
call sub.ws2_32.dll_ntohs
push eax
lea edx, [ebp - 0x644]
mov ecx, ebx
mov eax, dword [esi + 0x14]
call dword [esi + 0x10]
jmp 0x4680d5
call sub.kernel32.dll_GetLastError_1
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x65c]
call fcn.00409a80
mov eax, dword [ebp - 0x65c]
call fcn.00405518
push eax
call sub.kernel32.dll_OutputDebugStringA
cmp word [esi + 0x1a], 0
je 0x4680d5
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x660]
call fcn.0040d2ac
mov ecx, dword [ebp - 0x660]
mov edx, esi
mov eax, dword [esi + 0x1c]
call dword [esi + 0x18]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4680fa
lea eax, [ebp - 0x660]
mov edx, 3
call fcn.004050ac
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp + 0xc]
call fcn.00405508
xor eax, eax
push ebp
push 0x4681e7
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebp - 0x10], 2
movzx eax, word [ebp + 8]
push eax
call sub.ws2_32.dll_htons_1
mov word [ebp - 0xe], ax
mov eax, dword [ebp + 0xc]
call fcn.00405518
push eax
call sub.ws2_32.dll_inet_addr_1
mov dword [ebp - 0xc], eax
push 0x10
lea eax, [ebp - 0x10]
push eax
push 0
push edi
push esi
mov eax, dword [ebx + 8]
push eax
call sub.ws2_32.dll_sendto
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4681ee
lea eax, [ebp + 0xc]
call fcn.00405088
ret
Function at 0x468460
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405508
xor eax, eax
push ebp
push 0x46859a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 0xc]
call fcn.00405088
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 4]
call fcn.00405518
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46857f
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x18], 0x400
mov eax, dword [ebp - 0x18]
call fcn.00402f00
mov esi, eax
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x18], 0x400
cmp byte [ebp + 8], 0
je 0x4684fb
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push esi
push edi
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov ebx, eax
jmp 0x468514
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push esi
push edi
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegEnumValueA
mov ebx, eax
test ebx, ebx
jne 0x468567
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x18]
call fcn.004057a8
lea eax, [ebp - 8]
call fcn.00405578
mov edx, eax
mov eax, esi
mov ecx, dword [ebp - 0x18]
call fcn.004030fc
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x46854c
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.004050dc
jmp 0x468566
mov eax, dword [ebp - 0xc]
push dword [eax]
push 0x4685b8
push dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov edx, 3
call fcn.0040541c
inc edi
test ebx, ebx
je 0x4684d3
mov eax, esi
call fcn.00402f1c
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4685a1
lea eax, [ebp - 8]
mov edx, 2
call fcn.004050ac
ret
Function at 0x4689bc
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd44
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x29c], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405508
xor eax, eax
push ebp
push 0x468b06
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x198]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
xor ecx, ecx
push ebp
push 0x468ade
push dword fs:[ecx]
mov dword fs:[ecx], esp
push pe_nt_image_headers32
lea eax, [ebp - 0x298]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x298]
mov edx, dword [ebp - 4]
call fcn.0040a294
lea eax, [ebp - 0x298]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x468ac7
mov edx, dword [eax + 0xc]
test edx, edx
je 0x468ac1
mov ebx, dword [edx]
test ebx, ebx
je 0x468abb
lea eax, [ebp - 0x29c]
push eax
movzx eax, byte [ebx]
mov dword [ebp - 0x2bc], eax
mov byte [ebp - 0x2b8], 0
movzx eax, byte [ebx + 1]
mov dword [ebp - 0x2b4], eax
mov byte [ebp - 0x2b0], 0
movzx eax, byte [ebx + 2]
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 0x2a8], 0
movzx eax, byte [ebx + 3]
mov dword [ebp - 0x2a4], eax
mov byte [ebp - 0x2a0], 0
lea edx, [ebp - 0x2bc]
mov ecx, 3
mov eax, 0x468b20
call fcn.0040a904
mov edx, dword [ebp - 0x29c]
mov eax, esi
call fcn.004050dc
mov byte [ebp - 5], 1
jmp 0x468acb
mov byte [ebp - 5], 0
jmp 0x468acb
mov byte [ebp - 5], 0
jmp 0x468acb
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468ae5
call sub.wsock32.dll_WSACleanup
ret

Function at 0x468ea4
Capabilities:
Initialize winsock library

Disassembly:
add esp, 0xfffffe70
push esp
push 2
call sub.wsock32.dll_WSAStartup
add esp, 0x190
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x408], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00405508
xor eax, eax
push ebp
push 0x468f6f
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x404]
xor ecx, ecx
mov edx, 0x400
call fcn.00403998
lea eax, [ebp - 0x408]
mov ecx, 0x468f88
mov edx, dword [ebp - 4]
call fcn.004053a0
mov edx, dword [ebp - 0x408]
lea eax, [ebp - 0x404]
call fcn.0040a294
lea eax, [ebp - 0x404]
call fcn.0040a1a8
mov esi, eax
push 0
push esi
lea eax, [ebp - 0x404]
push eax
push edi
call sub.wsock32.dll_send
cmp esi, eax
jne 0x468f4e
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468f76
lea eax, [ebp - 0x408]
call fcn.00405088
lea eax, [ebp - 4]
call fcn.00405088
ret

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

Disassembly:
push ebx
push esi
add esp, 0xfffffc00
mov esi, edx
mov ebx, eax
mov eax, esp
xor ecx, ecx
mov edx, 0x400
call fcn.00403998
push 0
push 0x400
lea eax, [esp + 8]
push eax
push ebx
call sub.wsock32.dll_recv
mov edx, esi
mov eax, esp
call fcn.0040a414
add esp, 0x400
pop esi
pop ebx
ret
Function at 0x468fcc
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffaf0
mov dword [esp], edx
mov esi, eax
lea eax, [esp + 0xc]
call fcn.00467d68
lea edx, [esp + 0xc]
mov eax, esi
call fcn.00467d58
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], 0x7a120
xor ebx, ebx
lea eax, [esp + 4]
push eax
push 0
push 0
lea eax, [esp + 0x18]
push eax
push 0
call sub.wsock32.dll_select
mov edi, eax
jmp 0x46909d
lea eax, [esp + 0x110]
xor ecx, ecx
mov edx, 0x400
call fcn.00403998
push 0
push 0x400
lea eax, [esp + 0x118]
push eax
push esi
call sub.wsock32.dll_recv
mov edi, eax
inc edi
jne 0x469052
mov eax, dword [esp]
call fcn.00405088
jmp 0x4690b9
test bl, bl
jne 0x46906c
mov eax, dword [esp]
lea edx, [esp + 0x110]
mov ecx, 0x400
call fcn.004052f8
mov bl, 1
lea eax, [esp + 0xc]
call fcn.00467d68
lea edx, [esp + 0xc]
mov eax, esi
call fcn.00467d58
lea eax, [esp + 4]
push eax
push 0
push 0
lea eax, [esp + 0x18]
push eax
push 0
call sub.wsock32.dll_select
mov edi, eax
test edi, edi
jne 0x46909d
xor ebp, ebp
test edi, edi
jle 0x4690b9
lea edx, [esp + 0xc]
mov eax, esi
call fcn.00467d40
test al, al
je 0x4690b9
cmp ebp, 1
je 0x46901b
add esp, 0x510
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4690d8
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Print debug messages
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405508
xor eax, eax
push ebp
push 0x4691ba
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebp - 0x18], 2
push ebx
call sub.wsock32.dll_htons
mov word [ebp - 0x16], ax
mov eax, dword [ebp - 4]
call fcn.00405518
push eax
call sub.wsock32.dll_inet_addr
mov dword [ebp - 0x14], eax
push 6
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x469137
xor ebx, ebx
jmp 0x46919c
mov dword [ebp - 8], 0x1388
push 4
lea eax, [ebp - 8]
push eax
push 0x1005
push 0xffff
push ebx
call sub.wsock32.dll_setsockopt
push 4
lea eax, [ebp - 8]
push eax
push 0x1006
push 0xffff
push ebx
call sub.wsock32.dll_setsockopt
push 0x10
lea eax, [ebp - 0x18]
push eax
push ebx
call sub.wsock32.dll_connect
mov esi, eax
test esi, esi
je 0x46919c
lea edx, [ebp - 0x1c]
mov eax, esi
call fcn.0040d2ac
mov eax, dword [ebp - 0x1c]
call fcn.00405518
push eax
call sub.kernel32.dll_OutputDebugStringA
push ebx
call sub.wsock32.dll_closesocket
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4691c1
lea eax, [ebp - 0x1c]
call fcn.00405088
lea eax, [ebp - 4]
call fcn.00405088
ret
Function at 0x4692d8
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x410], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405508
xor eax, eax
push ebp
push 0x46943d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x40c]
xor ecx, ecx
mov edx, 0x400
call fcn.00403998
lea eax, [ebp - 0x40c]
mov edx, 0x469454
call fcn.0040a294
push 0
lea eax, [ebp - 0x40c]
call fcn.0040a1a8
push eax
lea eax, [ebp - 0x40c]
push eax
push ebx
call sub.wsock32.dll_send
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004690c4
mov eax, dword [ebp - 8]
cmp byte [eax], 0x32
je 0x469362
xor esi, esi
jmp 0x469417
mov dl, 1
mov eax, dword [0x417f00]
call fcn.00404178
mov ebx, eax
mov dl, 0x2c
mov eax, ebx
call fcn.0041c0a8
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0041be90
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, 2
jg 0x46939a
xor esi, esi
mov eax, ebx
call fcn.004041a8
jmp 0x469417
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
dec edx
lea ecx, [ebp - 0xc]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
lea eax, [ebp - 0xc]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x469464
call fcn.00405664
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.00405580
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
sub edx, 2
lea ecx, [ebp - 0x410]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x410]
call fcn.00409ad0
mov esi, eax
shl esi, 8
mov eax, dword [ebp - 0xc]
call fcn.00409ad0
add esi, eax
mov eax, esi
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.004690d8
mov esi, eax
mov eax, ebx
call fcn.004041a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469444
lea eax, [ebp - 0x410]
call fcn.00405088
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004050ac
ret
Function at 0x4697c8
Capabilities:
Print debug messages
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7e8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x818], ebx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405508
mov eax, dword [ebp + 8]
call fcn.00405508
xor eax, eax
push ebp
push 0x4699f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp + 8]
call fcn.00409e60
test al, al
je 0x469827
push 2
mov ecx, dword [ebp + 8]
mov dl, 1
mov eax, dword [0x418100]
call fcn.0041cd30
mov dword [ebp - 0x14], eax
jmp 0x46983e
push 0xffff
mov ecx, dword [ebp + 8]
mov dl, 1
mov eax, dword [0x418100]
call fcn.0041cd30
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4699c1
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x469a04
call sub.kernel32.dll_OutputDebugStringA
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx]
mov esi, eax
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00469518
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x818]
mov eax, dword [ebp - 0x10]
call fcn.00409994
mov eax, dword [ebp - 0x818]
call fcn.00405518
push eax
call sub.kernel32.dll_OutputDebugStringA
cmp dword [ebp - 0x10], 0
jle 0x469930
cmp esi, dword [ebp - 0x10]
jl 0x4698a8
mov byte [ebp - 9], 1
call fcn.00404ac8
jmp 0x4699c8
test esi, esi
jle 0x4698c3
push 0
push 0
mov dl, 2
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, esi
mov eax, ebx
call fcn.00469654
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00469710
cmp esi, dword [ebp - 0x10]
jge 0x469921
lea eax, [ebp - 0x814]
xor ecx, ecx
mov edx, 0x800
call fcn.00403998
push 0
push 0x800
lea eax, [ebp - 0x814]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wsock32.dll_recv
mov ebx, eax
test ebx, ebx
jle 0x469913
lea edx, [ebp - 0x814]
mov ecx, ebx
mov eax, dword [ebp - 0x14]
call fcn.0041cae0
add esi, ebx
cmp byte [0x47d968], 1
je 0x469921
cmp esi, dword [ebp - 0x10]
jl 0x4698d2
cmp esi, dword [ebp - 0x10]
jne 0x4699ab
mov byte [ebp - 9], 1
jmp 0x4699ab
cmp dword [ebp - 0x10], 0xfffffffe
jne 0x4699ab
test esi, esi
jle 0x469951
push 0
push 0
mov dl, 2
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, esi
mov eax, ebx
call fcn.00469654
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00469710
lea eax, [ebp - 0x814]
xor ecx, ecx
mov edx, 0x800
call fcn.00403998
push 0
push 0x800
lea eax, [ebp - 0x814]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wsock32.dll_recv
mov ebx, eax
test ebx, ebx
jle 0x46999a
lea edx, [ebp - 0x814]
mov ecx, ebx
mov eax, dword [ebp - 0x14]
call fcn.0041cae0
cmp byte [0x47d968], 1
je 0x4699a7
test ebx, ebx
jg 0x46995b
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4699c8
mov eax, dword [ebp - 0x14]
call fcn.004041a8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4699f8
lea eax, [ebp - 0x818]
call fcn.00405088
lea eax, [ebp - 4]
call fcn.00405088
lea eax, [ebp + 8]
call fcn.00405088
ret
Function at 0x46a4b0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x407fa0]
call fcn.00405b28
xor eax, eax
push ebp
push 0x46a651
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x47d96c], 0
jne 0x46a50b
mov ecx, dword [0x47e288]
mov dl, 1
mov eax, dword [0x4085ac]
call fcn.0040dcd4
call fcn.00404a1c
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.00403998
mov eax, ebx
call fcn.004059f8
mov dword [ebp - 0x24], eax
mov esi, 0x46a660
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00406acc
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00405a08
test eax, eax
jle 0x46a5f4
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x46a5e0
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.004052f8
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x46a586
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.00405310
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x46a59c
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.00405310
mov eax, dword [ebp - 0x54]
call fcn.00405518
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.004052f8
mov eax, dword [ebp - 0x58]
call fcn.00405518
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x46a5e2
xor eax, eax
test al, al
je 0x46a5ed
mov ebx, 0x15
jmp 0x46a5f9
mov ebx, 0x10
jmp 0x46a5f9
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x47d96c]
call fcn.0046a330
mov eax, dword [ebp - 4]
call fcn.0046a330
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00406ae4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a658
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.004050ac
lea eax, [ebp - 0xc]
mov edx, dword [0x407fa0]
call fcn.00405bf8
ret