joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47a30c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4c8bec]
cmp byte [eax + 0xa5], 0
jne 0x47a383
cmp dword [0x4c8c04], 0
jne 0x47a341
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x47a2c8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4c8c04], eax
cmp dword [0x4c8c00], 0
jne 0x47a35c
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4c8c00], eax
cmp dword [0x4c8c08], 0
jne 0x47a383
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x47a268
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4c8c08], eax
pop ecx
pop ebp
ret

Function at 0x47a44c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
call fcn.0047a3e4
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x47a46d
xor eax, eax
call fcn.0047a41c
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ShowWindow
cmp byte [ebp - 9], 0
je 0x47a487
mov al, 1
call fcn.0047a41c
mov esp, ebp
pop ebp
ret

Function at 0x47ab4c
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [0x4c8bec]
cmp dword [eax + 0x30], 0
je 0x47ac16
mov eax, dword [ebp - 4]
cmp dword [eax + 0x94], 0
jne 0x47ac0d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 5]
mov byte [ebp - 0x10], al
lea eax, [ebp - 0x14]
push eax
push 0x47aacc
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
cmp dword [eax + 8], 0
je 0x47ac0d
push 3
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindow
mov dword [ebp - 0x14], eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x47abc7
mov dword [ebp - 0x14], 0xfffffffe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x47ac0d
mov dword [ebp - 0xc], eax
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
call fcn.00419fc4
push eax
call sub.user32.dll_SetWindowPos
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x47abdc
mov eax, dword [ebp - 4]
inc dword [eax + 0x94]
mov esp, ebp
pop ebp
ret

Function at 0x47b930
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0xa4], 0
je 0x47b975
push pe_nt_image_headers32
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
lea edx, [ebp - 0x108]
mov eax, dword [ebp - 8]
call fcn.00404240
jmp 0x47b986
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x8c]
call fcn.004041a4
mov esp, ebp
pop ebp
ret
Function at 0x47cd64
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x84], 0
je 0x47cdb7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0045dc9c
test al, al
je 0x47cdb7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0045d7cc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x47cdb7
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0045d7cc
push eax
call sub.user32.dll_ShowWindow
pop ecx
pop ebp
ret

Function at 0x4805c4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4805f2
mov eax, ebx
call fcn.00481078
cmp dword [ebx + 0x40], 0
je 0x4805eb
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x480663
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x480655
cmp dword [ebx + 8], 0
je 0x480614
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x480626
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x480655
cmp dword [ebx + 8], 0
je 0x480607
cmp eax, 3
je 0x480639
dec eax
jne 0x480607
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 0x480607
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x480607
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x480681
cmp dword [ebx + 0x14], 0xcc
je 0x480681
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0048068c
pop ebx
ret
Function at 0x491f64
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 - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20]
mov edx, dword [0x41699c]
call fcn.00404b08
xor eax, eax
push ebp
push 0x4920b7
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4c68ac], 0
jne 0x491fba
mov ecx, dword [0x4c71d4]
mov dl, 1
mov eax, dword [0x4077bc]
call fcn.0040d16c
call fcn.00403b08
lea eax, [ebp - 0x30]
xor ecx, ecx
mov edx, 0x10
call fcn.00402d68
mov eax, dword [ebp - 4]
call fcn.004049b8
mov dword [ebp - 0x2c], eax
mov esi, 0x4920c8
lea edi, [ebp - 0x40]
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 - 0x40]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1c]
call fcn.00405ba0
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
call fcn.004049c8
test eax, eax
jle 0x492055
mov dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x50]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x49204c
lea eax, [ebp - 0x54]
mov edx, dword [ebp - 4]
call fcn.004043d8
mov eax, dword [ebp - 0x54]
push eax
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x50]
mov ecx, 0x10
call fcn.004043c0
mov eax, dword [ebp - 0x58]
pop edx
call fcn.00408774
test eax, eax
jne 0x49204c
mov dword [ebp - 0x10], 0x15
jmp 0x49205c
mov dword [ebp - 0x10], 0x10
jmp 0x49205c
mov dword [ebp - 0x10], 0x15
lea eax, [ebp - 0x20]
push eax
push 1
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
call dword [0x4c68ac]
call fcn.00491e94
mov eax, dword [ebp - 0x18]
call fcn.00491e94
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
call fcn.00405bb8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4920be
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.00404174
lea eax, [ebp - 0x20]
mov edx, dword [0x41699c]
call fcn.00404bd8
ret

Function at 0x49fa44
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49fab9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, 0x104
call fcn.0040479c
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00404610
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00404410
push eax
call sub.kernel32.dll_GetTempPathA
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.0040479c
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0049f7ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49fac0
lea eax, [ebp - 0xc]
call fcn.00404150
ret
Function at 0x4b2f20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b2f91
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004b2efc
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.0049eea4
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
call fcn.0049e9f4
mov eax, dword [ebp - 8]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b2f98
lea eax, [ebp - 0x14]
call fcn.00404150
ret

Function at 0x4b6b24
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00404600
mov eax, dword [ebp - 8]
call fcn.00404600
mov eax, dword [ebp - 0xc]
call fcn.00404600
xor eax, eax
push ebp
push 0x4b6c04
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
mov eax, esi
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x10]
call fcn.00408e38
mov eax, esi
call fcn.004b6944
mov eax, dword [ebp - 4]
call fcn.00404410
mov esi, eax
test esi, esi
jle 0x4b6bd2
mov edi, 1
push dword [ebx]
push 0x4b6c1c
mov edx, 0xff
xor eax, eax
call fcn.004b6970
mov edx, dword [ebp - 4]
movzx edx, byte [edx + edi - 1]
xor eax, edx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x14]
call fcn.00408e38
push dword [ebp - 0x14]
mov eax, ebx
mov edx, 3
call fcn.004044d0
inc edi
dec esi
jne 0x4b6b96
push dword [ebp - 8]
push dword [ebp - 0x10]
push dword [ebx]
push dword [ebp - 0xc]
mov eax, ebx
mov edx, 4
call fcn.004044d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b6c0b
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00404174
ret
Function at 0x4b6c20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404600
mov eax, dword [ebp - 8]
call fcn.00404600
mov eax, dword [ebp - 0xc]
call fcn.00404600
xor eax, eax
push ebp
push 0x4b6d7a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404150
xor eax, eax
push ebp
push 0x4b6d48
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004b6a78
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 4]
call fcn.004041e8
cmp dword [ebp - 4], 0
jne 0x4b6ca9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b6d52
mov edx, 0x4b6d94
mov eax, dword [ebp - 4]
call fcn.004b6d98
mov esi, eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4b6d3e
lea ecx, [ebp - 0x1c]
xor edx, edx
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x1c]
call fcn.00408eb8
call fcn.004b6944
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
dec edx
mov eax, dword [ebp + 8]
call fcn.0040479c
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jle 0x4b6d3e
mov dword [ebp - 0x14], eax
mov ebx, 1
lea ecx, [ebp - 0x20]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x20]
call fcn.00408eb8
push eax
mov edx, 0xff
xor eax, eax
call fcn.004b6970
pop edx
xor dl, al
mov byte [ebp - 0xd], dl
mov eax, dword [ebp + 8]
call fcn.00404668
mov dl, byte [ebp - 0xd]
mov byte [eax + ebx - 1], dl
inc ebx
dec dword [ebp - 0x14]
jne 0x4b6d02
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b6d52
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b6d81
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404174
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404174
ret

Function at 0x4bc588
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x4bc617
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4c8ff0
push 0x101
call sub.wsock32.dll_WSAStartup
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4bc601
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.0040c704
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0
mov eax, 0x4bc62c
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0x1c]
push eax
push 2
mov ecx, dword [0x4c77c8]
mov dl, 1
mov eax, dword [0x4bbd78]
call fcn.0040d1b4
call fcn.00403b08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bc61e
lea eax, [ebp - 0x20]
call fcn.00404150
ret
Function at 0x4bcc9c
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov al, byte [0x4bcd18]
mov edx, dword [ebp - 4]
cmp al, byte [edx + 0x28]
je 0x4bccce
mov dword [ebp - 8], 0x401
mov eax, dword [ebp - 4]
call fcn.004bce44
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x28]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_WSAAsyncSelect
mov al, byte [0x4bcd18]
mov edx, dword [ebp - 4]
cmp al, byte [edx + 0x28]
jne 0x4bcd11
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0x8004667e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
mov esp, ebp
pop ebp
ret

Function at 0x4bcdbc
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004bcc9c
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00403578
push 0x10
mov eax, dword [ebp - 4]
add eax, 0x18
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x4bce3c
call fcn.004bc4bc
mov eax, dword [ebp - 4]
mov byte [eax + 0x29], 0
mov eax, dword [ebp - 4]
test byte [eax + 0x28], 0x10
jne 0x4bce2d
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
setne al
mov edx, dword [ebp - 4]
mov byte [edx + 8], al
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00403578
pop esi
pop ecx
pop ebp
ret

Function at 0x4bce7c
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404610
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
xor ecx, ecx
mov edx, 4
call fcn.00402d68
cmp dword [ebp - 0x10], 0
je 0x4bceeb
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov al, byte [eax]
mov byte [ebp - 0x14], al
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov al, byte [eax + 1]
mov byte [ebp - 0x13], al
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov al, byte [eax + 2]
mov byte [ebp - 0x12], al
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov al, byte [eax + 3]
mov byte [ebp - 0x11], al
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x4bcff4
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4bd026
mov ecx, dword [0x4c7648]
mov dl, 1
mov eax, dword [0x4bbd78]
call fcn.0040d16c
call fcn.00403b08
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
jne 0x4bd057
mov ecx, dword [0x4c7588]
mov dl, 1
mov eax, dword [0x4bbd78]
call fcn.0040d16c
call fcn.00403b08
xor eax, eax
push ebp
push 0x4bd0d5
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.00403578
cmp byte [ebp + 8], 0
je 0x4bd0b0
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004bcf48
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x1c]
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.004bcdbc
jmp 0x4bd0cb
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004bc820
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bd0f2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4bd338
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xffffffe8
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004bcb00
xor eax, eax
push ebp
push 0x4bd4b6
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 0x4bd4a0
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x4bd383
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4bd38d
call fcn.00403bb4
jmp 0x4bd4bd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041d630
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1018]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x4bd495
push 0
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x1018]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x4bd443
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x2733
je 0x4bd430
lea eax, [ebp - 0x18]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403578
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.004bd2f0
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x4bd4c8]
cmp dl, byte [eax + 0x28]
je 0x4bd49c
call fcn.0040d064
jmp 0x4bd49c
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041d658
jmp 0x4bd49c
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
jle 0x4bd464
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x14]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041d658
jmp 0x4bd38d
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.0041d630
cmp edx, dword [esp + 4]
jne 0x4bd484
cmp eax, dword [esp]
pop edx
pop eax
jne 0x4bd38d
push ebp
call fcn.004bd2f0
pop ecx
jmp 0x4bd49c
push ebp
call fcn.004bd2f0
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bd4bd
mov eax, dword [ebp - 4]
call fcn.004bcb18
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4bd4cc
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4bd5f6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004bcb00
xor eax, eax
push ebp
push 0x4bd5d9
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4bd51e
call fcn.00403bb4
jmp 0x4bd5e0
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4bd5c3
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x2733
je 0x4bd5c3
lea eax, [ebp - 0x14]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403578
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 - 0x14], 0
je 0x4bd5c3
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x14]
call fcn.0040c704
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
mov eax, 0x4bd610
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea eax, [ebp - 0x2c]
push eax
push 2
mov ecx, dword [0x4c77c8]
mov dl, 1
mov eax, dword [0x4bbd78]
call fcn.0040d1b4
call fcn.00403b08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bd5e0
mov eax, dword [ebp - 4]
call fcn.004bcb18
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bd5fd
lea eax, [ebp - 0x30]
call fcn.00404150
ret
Function at 0x4bd688
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4bd7db
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004bcb00
xor eax, eax
push ebp
push 0x4bd7be
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x4bd6f0
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4bd6f0
lea eax, [ebp - 0x10]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x4bd7a8
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4bd703
call fcn.00403bb4
jmp 0x4bd7c5
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4bd7a8
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x2733
je 0x4bd7a8
lea eax, [ebp - 0x14]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403578
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 - 0x14], 0
je 0x4bd7a8
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x14]
call fcn.0040c704
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
mov eax, 0x4bd7f4
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea eax, [ebp - 0x2c]
push eax
push 2
mov ecx, dword [0x4c77c8]
mov dl, 1
mov eax, dword [0x4bbd78]
call fcn.0040d1b4
call fcn.00403b08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bd7c5
mov eax, dword [ebp - 4]
call fcn.004bcb18
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bd7e2
lea eax, [ebp - 0x30]
call fcn.00404150
ret