joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46bc00
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x46bc2e
mov eax, ebx
call fcn.0046c6a4
cmp dword [ebx + 0x3c], 0
je 0x46bc27
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x46bc9f
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x46bc91
cmp dword [ebx + 8], 0
je 0x46bc50
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0x46bc62
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x46bc91
cmp dword [ebx + 8], 0
je 0x46bc43
cmp eax, 3
je 0x46bc75
dec eax
jne 0x46bc43
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x46bc43
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x46bc43
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x46bcbd
cmp dword [ebx + 0x10], 0xcc
je 0x46bcbd
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0046bcc8
pop ebx
ret

Function at 0x47fa48
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x40e534]
call fcn.00404664
xor eax, eax
push ebp
push 0x47fb8f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5a570c], 0
jne 0x47fa9b
mov ecx, dword [0x5a75ac]
mov dl, 1
mov eax, dword [0x408580]
call fcn.0040c038
call fcn.004037e4
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402cd4
mov eax, ebx
call fcn.00404548
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x47fba0
lea edi, [ebp - 0x30]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405fd0
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404558
test eax, eax
jle 0x47fb36
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x47fb2f
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.0040400c
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00403fd8
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00409378
test eax, eax
jne 0x47fb2f
mov ebx, 0x15
jmp 0x47fb3b
mov ebx, 0x10
jmp 0x47fb3b
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x5a570c]
call fcn.0047f9a0
mov eax, dword [ebp - 8]
call fcn.0047f9a0
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405fe8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47fb96
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00403dbc
lea eax, [ebp - 0x10]
mov edx, dword [0x40e534]
call fcn.00404730
ret
Function at 0x480d84
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00402cd4
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x5a7cd8]
cmp byte [edx + 8], 0
je 0x480de8
mov edx, dword [0x5a7cbc]
cmp dword [edx], 2
jne 0x480de8
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret

Function at 0x480dec
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x480ea4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x40]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.00480d84
test al, al
je 0x480e86
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00403e80
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x480e86
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404208
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0xc]
call fcn.00404208
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00403f60
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
inc esi
dec ebx
jne 0x480e3f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480eab
lea eax, [ebp - 0x2c]
call fcn.00403d98
lea eax, [ebp - 0xc]
call fcn.00403d98
ret

Function at 0x484f88
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
je 0x485020
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4847ac]
call fcn.004866d8
mov edx, eax
test edx, edx
je 0x484fb7
sub edx, 0xfffffff0
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.00405fe8
xor eax, eax
push ebp
push 0x48500b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
add eax, 0xc0
push eax
mov eax, dword [0x5a7a40]
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.00481614
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x485020
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x490728
Capabilities:
Open clipboard

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 4], 0
jne 0x49077c
mov eax, dword [0x5a7a18]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebx + 8], eax
test eax, eax
jne 0x490754
push ebx
push 0x490784
call fcn.00431308
mov dword [ebx + 8], eax
mov byte [ebx + 0xc], 1
mov eax, dword [ebx + 8]
push eax
call sub.user32.dll_OpenClipboard
test eax, eax
jne 0x490778
mov ecx, dword [0x5a7620]
mov dl, 1
mov eax, dword [0x408580]
call fcn.0040c038
call fcn.004037e4
mov byte [ebx + 0xd], 0
inc dword [ebx + 4]
pop ebx
ret

Function at 0x4907a4
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00490728
xor edx, edx
push ebp
push 0x490876
push dword fs:[edx]
mov dword fs:[edx], esp
push ebx
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x490848
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
xor edx, edx
push ebp
push 0x490837
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.00402944
mov eax, dword [ebp - 4]
call fcn.004906e0
mov eax, dword [ebp - 8]
push eax
movzx eax, si
push eax
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49083e
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret

Function at 0x490888
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00490728
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4908fa
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x4908ce
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00403f60
jmp 0x4908d5
mov eax, ebx
call fcn.00403d98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490901
cmp dword [ebp - 8], 0
je 0x4908f1
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
call fcn.004906fc
ret
Function at 0x490930
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00490728
xor edx, edx
push ebp
push 0x4909d2
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x4909a5
mov edx, ebx
mov eax, dword [0x4183bc]
call fcn.0041cb34
test al, al
je 0x490995
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, esi
mov edx, ebx
mov eax, edi
call fcn.0041ca44
call fcn.00403884
jmp 0x4909d9
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x490960
mov ecx, dword [0x5a76d0]
mov dl, 1
mov eax, dword [0x408580]
call fcn.0040c038
call fcn.004037e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4909d9
mov eax, dword [ebp - 4]
call fcn.004906fc
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4909e0
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00490728
xor eax, eax
push ebp
push 0x490a38
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
mov esi, eax
push esi
mov ecx, ebx
mov dx, 2
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490a3f
mov eax, dword [ebp - 4]
call fcn.004906fc
ret

Function at 0x490a48
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00490728
xor edx, edx
push ebp
push 0x490a9d
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490aa4
mov eax, dword [ebp - 4]
call fcn.004906fc
ret

Function at 0x490b14
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00490728
xor eax, eax
push ebp
push 0x490b89
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004906e0
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.0041cb08
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x490b73
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490b90
mov eax, dword [ebp - 4]
call fcn.004906fc
ret
Function at 0x490b98
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00490728
xor eax, eax
push ebp
push 0x490c0d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004906e0
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x5c]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x490bf7
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490c14
mov eax, dword [ebp - 4]
call fcn.004906fc
ret

Function at 0x490d9c
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
call fcn.00490728
xor eax, eax
push ebp
push 0x490e5a
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x490de1
call fcn.00403884
jmp 0x490e61
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
test ebx, ebx
jne 0x490df7
call fcn.00403884
jmp 0x490e61
xor eax, eax
push ebp
push 0x490e3d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalSize
mov ecx, eax
mov edx, ebx
mov eax, esi
call fcn.00413358
xor edx, edx
mov eax, esi
call fcn.004132dc
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490e44
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49ca04
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x49ca16
add esp, 0xfffffff0
call fcn.0040338c
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.004041f8
mov eax, dword [ebp + 0x20]
call fcn.004041f8
mov eax, dword [ebp + 0x1c]
call fcn.004041f8
mov eax, dword [ebp + 0x18]
call fcn.004041f8
xor eax, eax
push ebp
push 0x49cabb
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, esi
call fcn.0040305c
mov eax, dword [ebp + 8]
mov dword [esi + 0x3c], eax
lea eax, [esi + 4]
mov edx, dword [ebp - 4]
call fcn.00403dec
lea eax, [esi + 8]
mov edx, dword [ebp + 0x20]
call fcn.00403dec
lea eax, [esi + 0xc]
mov edx, dword [ebp + 0x1c]
call fcn.00403dec
lea eax, [esi + 0x10]
mov edx, dword [ebp + 0x18]
call fcn.00403dec
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x30], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49cac2
lea eax, [ebp - 4]
call fcn.00403d98
lea eax, [ebp + 0x18]
mov edx, 3
call fcn.00403dbc
ret
Function at 0x4b93d0
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 0x4b9459
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x5a8c3c
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x4b9443
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040b6b8
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, 0x4b9470
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x5a7b10]
mov dl, 1
mov eax, dword [0x4b8544]
call fcn.0040c108
call fcn.004037e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b9460
lea eax, [ebp - 0x1c]
call fcn.00403d98
ret

Function at 0x4b9aec
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.004b9a10
mov cl, 1
mov edx, esi
mov eax, esi
mov bx, 0xffff
call fcn.00403268
push 0x10
lea eax, [esi + 0x18]
push eax
mov eax, dword [esi + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x4b9b50
call fcn.004b9318
mov byte [esi + 0x29], 0
test byte [esi + 0x28], 0x10
jne 0x4b9b42
cmp dword [esi + 4], 0xffffffff
setne al
mov byte [esi + 8], al
mov cl, 2
mov edx, esi
mov eax, esi
mov bx, 0xffff
call fcn.00403268
pop esi
pop ebx
ret

Function at 0x4b9b74
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.004b9890
xor eax, eax
push ebp
push 0x4b9bf3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00403d98
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
jne 0x4b9bad
call fcn.00403884
jmp 0x4b9bfa
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 0x4b9bdd
push dword [ebp - 0x14]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
mov eax, ebx
call fcn.00403f60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b9bfa
mov eax, dword [ebp - 4]
call fcn.004b989c
ret
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b9c00
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.004b9890
xor eax, eax
push ebp
push 0x4b9c79
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00403d98
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
jne 0x4b9c3c
call fcn.00403884
jmp 0x4b9c80
push pe_nt_image_headers32
lea eax, [ebp - 0x104]
push eax
call sub.wsock32.dll_gethostname
test eax, eax
jne 0x4b9c63
mov eax, ebx
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.00403fd8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b9c80
mov eax, dword [ebp - 4]
call fcn.004b989c
ret
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b9de4
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00404208
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.00402cd4
test ebx, ebx
je 0x4b9e2f
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 0x4b9f0c
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 esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4b9f3d
mov ecx, dword [0x5a7c94]
mov dl, 1
mov eax, dword [0x4b8544]
call fcn.0040c038
call fcn.004037e4
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 0x4b9f6a
mov ecx, dword [0x5a78fc]
mov dl, 1
mov eax, dword [0x4b8544]
call fcn.0040c038
call fcn.004037e4
xor eax, eax
push ebp
push 0x4b9fee
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xffff
call fcn.00403268
cmp byte [ebp + 8], 0
je 0x4b9fc8
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, esi
mov eax, dword [ebp - 4]
call fcn.004b9e74
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004b9a6c
jmp 0x4b9fe4
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, esi
mov eax, dword [ebp - 4]
call fcn.004b9604
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ba00b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4ba014
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 esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4ba045
mov ecx, dword [0x5a7998]
mov dl, 1
mov eax, dword [0x4b8544]
call fcn.0040c038
call fcn.004037e4
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 0x4ba072
mov ecx, dword [0x5a78fc]
mov dl, 1
mov eax, dword [0x4b8544]
call fcn.0040c038
call fcn.004037e4
xor eax, eax
push ebp
push 0x4ba0f1
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xffff
call fcn.00403268
cmp byte [ebp + 8], 0
je 0x4ba0cd
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, esi
mov eax, dword [ebp - 4]
call fcn.004b9e74
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.004b9aec
jmp 0x4ba0e7
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, esi
mov eax, dword [ebp - 4]
call fcn.004b9604
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ba10e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4ba2f0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004b9890
xor edx, edx
push ebp
push 0x4ba450
push dword fs:[edx]
mov dword fs:[edx], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x4ba43a
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x4ba33a
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4ba344
call fcn.00403884
jmp 0x4ba457
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004132cc
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 + 4]
mov ebx, eax
test ebx, ebx
jle 0x4ba42f
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
cmp eax, 0xffffffff
jne 0x4ba3ed
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x4ba3dd
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffe
call fcn.00403268
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.004ba2a8
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x4ba460]
cmp dl, byte [eax + 0x28]
je 0x4ba436
call fcn.0040be9c
jmp 0x4ba436
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0xc]
call fcn.004132dc
jmp 0x4ba436
cmp eax, ebx
jge 0x4ba406
mov edx, dword [ebp - 0xc]
add edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004132dc
jmp 0x4ba344
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004132cc
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004132e8
cmp ebx, eax
jne 0x4ba344
push ebp
call fcn.004ba2a8
pop ecx
jmp 0x4ba436
push ebp
call fcn.004ba2a8
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ba457
mov eax, dword [ebp - 4]
call fcn.004b989c
ret
mov al, byte [ebp - 5]
pop ebx
mov esp, ebp
pop ebp
ret