joyce8/EMBER2024-capa huggingface dataset:
Function at 0x477d3c
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x477ed9
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00402b1c
cmp word [ebx + 0xa2], 0
je 0x477d85
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
mov eax, dword [ebx + 0x90]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x477d99
lea esi, [ebp - 8]
jmp 0x477d9b
xor esi, esi
cmp dword [ebx + 0x80], 0
jne 0x477da8
xor edi, edi
jmp 0x477db5
mov eax, dword [ebx + 0x80]
call fcn.00404df8
mov edi, eax
mov eax, dword [ebx + 0x7c]
call fcn.00404df8
push eax
push edi
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.00477474
mov eax, dword [ebp - 0x14]
call fcn.00404df8
push eax
push esi
mov eax, dword [ebx + 0x74]
call fcn.00404df8
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404df8
push eax
mov eax, ebx
call fcn.004775a8
push eax
mov eax, ebx
call fcn.0047757c
push eax
mov eax, ebx
call fcn.00477530
push eax
push 0xf01ff
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.00477340
mov eax, dword [ebp - 0x18]
call fcn.00404df8
push eax
mov eax, dword [ebx + 8]
call fcn.00404df8
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_CreateServiceA
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x90], eax
cmp dword [ebp - 0xc], 0
jne 0x477e3e
call fcn.0040e0a8
xor edx, edx
push ebp
push 0x477eb7
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x477e7c
push dword fs:[edx]
mov dword fs:[edx], esp
cmp word [ebx + 0xaa], 0
je 0x477e72
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x477ea0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477ebe
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret

Function at 0x477ee8
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 0x477f14
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.00404df8
push eax
push ebx
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x477f39
call fcn.0040e0a8
xor eax, eax
push ebp
push 0x477f70
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 0x477f59
call fcn.0040e0a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477f77
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
Function at 0x47876c
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
xor ebx, ebx
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_GetThreadDesktop
mov edi, eax
lea eax, [ebp - 4]
push eax
push pe_nt_image_headers32
lea eax, [ebp - 0x104]
push eax
push 2
push esi
call sub.user32.dll_GetUserObjectInformationA
test eax, eax
jne 0x4787b2
push 0x4787ec
call sub.kernel32.dll_OutputDebugStringA
jmp 0x4787e0
push esi
call sub.user32.dll_SetThreadDesktop
test eax, eax
jne 0x4787c8
push 0x478810
call sub.kernel32.dll_OutputDebugStringA
jmp 0x4787e0
push edi
call sub.user32.dll_CloseDesktop
test eax, eax
jne 0x4787de
push 0x47882c
call sub.kernel32.dll_OutputDebugStringA
jmp 0x4787e0
mov bl, 1
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x478844
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov eax, dword [ebp + 8]
xor edx, edx
push ebp
push 0x4788da
push dword fs:[edx]
mov dword fs:[edx], esp
xor ebx, ebx
test eax, eax
je 0x478874
push 0x400001cf
push 0
push 0
push eax
call sub.user32.dll_OpenDesktopA
jmp 0x478882
push 0x400001cf
push 0
push 0
call sub.user32.dll_OpenInputDesktop
test eax, eax
jne 0x4788b7
call sub.kernel32.dll_GetLastError_1
xor edx, edx
push edx
push eax
lea eax, [ebp - 8]
call fcn.00409028
mov ecx, dword [ebp - 8]
lea eax, [ebp - 4]
mov edx, 0x4788f4
call fcn.00404c44
mov eax, dword [ebp - 4]
call fcn.00404df8
push eax
call sub.kernel32.dll_OutputDebugStringA
jmp 0x4788bf
push eax
call fcn.0047876c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4788e1
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040495c
ret

Function at 0x47890c
Capabilities:
Print debug messages

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdfc
xor ebx, ebx
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_GetThreadDesktop
mov edi, eax
push 0x1cf
push 0
push 0
call sub.user32.dll_OpenInputDesktop
mov esi, eax
test esi, esi
jne 0x478951
push 0x4789d0
call sub.kernel32.dll_OutputDebugStringA
call sub.kernel32.dll_GetLastError_1
cmp eax, 0xaa
sete bl
jmp 0x4789c3
push esp
push pe_nt_image_headers32
lea eax, [esp + 0xc]
push eax
push 2
push edi
call sub.user32.dll_GetUserObjectInformationA
test eax, eax
jne 0x47897a
push 0x4789ec
call sub.kernel32.dll_OutputDebugStringA
push esi
call sub.user32.dll_CloseDesktop
jmp 0x4789c3
push esp
push pe_nt_image_headers32
lea eax, [esp + 0x10c]
push eax
push 2
push esi
call sub.user32.dll_GetUserObjectInformationA
test eax, eax
jne 0x4789a6
push 0x478a18
call sub.kernel32.dll_OutputDebugStringA
push esi
call sub.user32.dll_CloseDesktop
jmp 0x4789c3
push esi
call sub.user32.dll_CloseDesktop
lea eax, [esp + 0x104]
push eax
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_lstrcmpA
test eax, eax
sete bl
mov eax, ebx
add esp, 0x204
pop edi
pop esi
pop ebx
ret
Function at 0x4792c4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe1c
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x1e4], ecx
mov dword [ebp - 0x1e0], ecx
mov dword [ebp - 0x1dc], ecx
mov dword [ebp - 0xc], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404de8
xor eax, eax
push ebp
push 0x479462
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
cmp dword [ebp - 4], 0
je 0x479434
cmp bl, 1
jne 0x479342
lea eax, [ebp - 0x1dc]
call fcn.00479a10
lea eax, [ebp - 0x1dc]
mov edx, 0x47947c
call fcn.00404c00
mov edx, dword [ebp - 0x1dc]
lea eax, [ebp - 0x1d8]
call fcn.00402f44
jmp 0x47936e
lea eax, [ebp - 0x1e0]
call fcn.00479a10
lea eax, [ebp - 0x1e0]
mov edx, 0x479490
call fcn.00404c00
mov edx, dword [ebp - 0x1e0]
lea eax, [ebp - 0x1d8]
call fcn.00402f44
lea eax, [ebp - 0x1d8]
call fcn.00402ce0
call fcn.00402894
mov esi, 0xb5
mov edx, dword [ebp - 4]
mov eax, 0x4794a8
call fcn.00404f3c
test eax, eax
jle 0x4793ea
lea eax, [ebp - 0xc]
push eax
mov edx, dword [ebp - 4]
mov eax, 0x4794a8
call fcn.00404f3c
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404e58
mov edx, dword [ebp - 4]
mov eax, 0x4794a8
call fcn.00404f3c
mov ecx, eax
inc ecx
lea eax, [ebp - 4]
mov edx, 1
call fcn.00404e98
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x1d8]
call fcn.00405014
call fcn.004035c0
call fcn.00402894
dec esi
jne 0x479383
lea eax, [ebp - 0x1d8]
call fcn.0040300c
call fcn.00402894
cmp bl, 1
jne 0x479430
push 0
lea eax, [ebp - 0x1e4]
call fcn.00479a10
lea eax, [ebp - 0x1e4]
mov edx, 0x47947c
call fcn.00404c00
mov eax, dword [ebp - 0x1e4]
call fcn.00404df8
push eax
call sub.kernel32.dll_WinExec
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479469
lea eax, [ebp - 0x1e4]
mov edx, 3
call fcn.0040495c
lea eax, [ebp - 0xc]
call fcn.00404938
lea eax, [ebp - 4]
call fcn.00404938
ret

Function at 0x479a10
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, eax
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov edx, ebx
mov eax, esp
call fcn.00409b60
add esp, 0x100
pop ebx
ret
Function at 0x47b430
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x28]
mov edi, dword [ebx + 0x38]
sub edi, dword [ebx + 0x70]
sub edi, dword [ebx + 0x68]
jmp 0x47b45f
mov eax, dword [ebx + 0x28]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x68]
ja 0x47b4de
push esi
mov eax, dword [ebx + 0x34]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.0047a0c4
add esp, 0xc
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x58], ebp
mov eax, dword [ebx + 0x48]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x47b4ac
mov cx, word [esp]
sub cx, si
jmp 0x47b4ae
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x47b495
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3c]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x47b4d4
mov cx, word [esp]
sub cx, si
jmp 0x47b4d6
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x47b4bd
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x47b53b
mov edx, dword [ebx + 0x34]
mov ecx, edi
add edx, dword [ebx + 0x68]
mov eax, ebp
add edx, dword [ebx + 0x70]
call fcn.0047b120
add dword [ebx + 0x70], eax
cmp dword [ebx + 0x70], 3
jb 0x47b526
mov eax, dword [ebx + 0x34]
mov edx, dword [ebx + 0x68]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x44], eax
mov ecx, dword [ebx + 0x54]
shl eax, cl
mov edx, dword [ebx + 0x34]
mov ecx, dword [ebx + 0x68]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x50]
mov dword [ebx + 0x44], eax
cmp dword [ebx + 0x70], 0x106
jae 0x47b53b
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x47b43a
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4814e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4814e9
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 5], cl
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x48168d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00481828
xor eax, eax
push ebp
push 0x48166b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 8
je 0x481538
call fcn.0040439c
jmp 0x481672
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 8
je 0x4815fa
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 1
je 0x481588
mov eax, dword [ebp - 4]
cmp word [eax + 0x3a], 0
je 0x481588
lea eax, [ebp - 0x10]
call fcn.004812b0
push dword [ebp - 0x10]
push 0x4816a8
push ebx
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404cb8
mov eax, dword [ebp - 0xc]
push eax
mov edi, dword [ebp - 4]
mov cl, byte [ebp - 5]
mov edx, esi
mov eax, dword [edi + 0x3c]
call dword [edi + 0x38]
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 4
je 0x4815bd
lea eax, [ebp - 0x18]
call fcn.004812b0
push dword [ebp - 0x18]
push 0x4816a8
push ebx
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404cb8
mov eax, dword [ebp - 0x14]
call fcn.00404df8
push eax
call sub.kernel32.dll_OutputDebugStringA
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 2
je 0x481655
lea eax, [ebp - 0x20]
call fcn.004812b0
push dword [ebp - 0x20]
push 0x4816a8
push ebx
push 0x4816b4
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00404cb8
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004814b0
jmp 0x481655
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 1
je 0x48161c
mov eax, dword [ebp - 4]
cmp word [eax + 0x3a], 0
je 0x48161c
push ebx
mov edi, dword [ebp - 4]
mov cl, byte [ebp - 5]
mov edx, esi
mov eax, dword [edi + 0x3c]
call dword [edi + 0x38]
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 4
je 0x481632
mov eax, ebx
call fcn.00404df8
push eax
call sub.kernel32.dll_OutputDebugStringA
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 2
je 0x481655
lea eax, [ebp - 0x24]
mov ecx, 0x4816b4
mov edx, ebx
call fcn.00404c44
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.004814b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481672
mov eax, dword [ebp - 4]
call fcn.00481834
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481694
lea eax, [ebp - 0x24]
mov edx, 7
call fcn.0040495c
ret
Function at 0x48cebc
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 0x48cf45
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4b9f00
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x48cf2f
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040c1f0
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, 0x48cf5c
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x4b8cf8]
mov dl, 1
mov eax, dword [0x48bee8]
call fcn.0040cb14
call fcn.004042f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48cf4c
lea eax, [ebp - 0x1c]
call fcn.00404938
ret

Function at 0x48d610
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.0048d534
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403d20
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x48d674
call fcn.0048ce04
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x48d666
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.00403d20
pop esi
pop ebx
ret

Function at 0x48d740
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00404df8
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.004031e8
test ebx, ebx
je 0x48d78b
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 0x48d868
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 0x48d899
mov ecx, dword [0x4b8dfc]
mov dl, 1
mov eax, dword [0x48bee8]
call fcn.0040cad8
call fcn.004042f0
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 0x48d8c6
mov ecx, dword [0x4b8b78]
mov dl, 1
mov eax, dword [0x48bee8]
call fcn.0040cad8
call fcn.004042f0
xor eax, eax
push ebp
push 0x48d947
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.00403d20
cmp byte [ebp + 8], 0
je 0x48d921
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.0048d7d0
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.0048d590
jmp 0x48d93d
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.0048d0f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48d964
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x48d970
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 0x48d9a1
mov ecx, dword [0x4b8bf4]
mov dl, 1
mov eax, dword [0x48bee8]
call fcn.0040cad8
call fcn.004042f0
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 0x48d9ce
mov ecx, dword [0x4b8b78]
mov dl, 1
mov eax, dword [0x48bee8]
call fcn.0040cad8
call fcn.004042f0
xor eax, eax
push ebp
push 0x48da4a
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.00403d20
cmp byte [ebp + 8], 0
je 0x48da26
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.0048d7d0
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.0048d610
jmp 0x48da40
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.0048d0f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48da67
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x48dc2c
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.0048d3b8
xor eax, eax
push ebp
push 0x48dd9d
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 0x48dd87
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x48dc77
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x48dc81
call fcn.0040439c
jmp 0x48dda4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041c05c
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 0x48dd7c
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 0x48dd2f
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x48dd1c
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403d20
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.0048dbe4
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x48ddb0]
cmp dl, byte [eax + 0x28]
je 0x48dd83
call fcn.0040c9fc
jmp 0x48dd83
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041c07c
jmp 0x48dd83
cmp ecx, ebx
jge 0x48dd4b
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.0041c07c
jmp 0x48dc81
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.0041c05c
cmp edx, dword [esp + 4]
jne 0x48dd6b
cmp eax, dword [esp]
pop edx
pop eax
jne 0x48dc81
push ebp
call fcn.0048dbe4
pop ecx
jmp 0x48dd83
push ebp
call fcn.0048dbe4
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48dda4
mov eax, dword [ebp - 4]
call fcn.0048d3c4
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48ddb4
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 0x48ded6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0048d3b8
xor eax, eax
push ebp
push 0x48deb9
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 0x48de04
call fcn.0040439c
jmp 0x48dec0
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 0x48dea3
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x48dea3
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403d20
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 0x48dea3
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c1f0
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, 0x48def0
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4b8cf8]
mov dl, 1
mov eax, dword [0x48bee8]
call fcn.0040cb14
call fcn.004042f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48dec0
mov eax, dword [ebp - 4]
call fcn.0048d3c4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48dedd
lea eax, [ebp - 0x28]
call fcn.00404938
ret
Function at 0x48df3c
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 0x48e086
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0048d3b8
xor eax, eax
push ebp
push 0x48e069
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x48dfa1
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x48dfa1
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 0x48e053
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x48dfb4
call fcn.0040439c
jmp 0x48e070
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 0x48e053
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x48e053
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403d20
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 0x48e053
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c1f0
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, 0x48e0a0
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4b8cf8]
mov dl, 1
mov eax, dword [0x48bee8]
call fcn.0040cb14
call fcn.004042f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e070
mov eax, dword [ebp - 4]
call fcn.0048d3c4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e08d
lea eax, [ebp - 0x28]
call fcn.00404938
ret