joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5f7054
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x5f706b
add esp, 0xfffffff0
call fcn.00408c98
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004c96e8
mov eax, dword [0x875a98]
cmp byte [eax], 0
jne 0x5f7098
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x19c], al
mov eax, dword [0x876434]
cmp word [eax + 2], 0
jne 0x5f70b2
mov eax, dword [0x876434]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005f9518
mov eax, dword [0x876778]
cmp word [eax + 2], 0
jne 0x5f70cc
mov eax, dword [0x876778]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005f9930
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x51b974]
call fcn.00522768
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x5f9edc
mov dl, 1
mov eax, dword [0x488630]
call fcn.00408674
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x488630]
call fcn.00408674
mov dword [ebx + 0xc8], eax
xor eax, eax
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x70], 0xff000018
mov dword [ebx + 0x8c], 0x1f4
mov byte [ebx + 0x90], 1
xor eax, eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x88], 0x9c4
mov byte [ebx + 0xbd], 1
mov byte [ebx + 0xd4], 1
mov dl, 1
mov eax, dword [0x520d5c]
call fcn.0052d090
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x5f72bc
mov eax, dword [0x876074]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0052d5ac
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x5fa1c8
mov dl, 1
mov eax, dword [0x488630]
call fcn.00408674
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x876074]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00428e14
test eax, eax
je 0x5f71df
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00428be4
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00428df8
test eax, eax
je 0x5f71f7
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0xa4]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.0040b178
push ebx
push 0x5f8eec
call fcn.005eb600
mov dword [ebx + 0x198], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x875a98]
cmp byte [eax], 0
jne 0x5f7248
mov eax, ebx
call fcn.005f7484
mov byte [ebx + 0x6d], 1
mov byte [ebx + 0x6e], 1
mov byte [ebx + 0x6f], 1
mov byte [ebx + 0xbe], 1
mov byte [ebx + 0xe9], 0
mov byte [ebx + 0xf4], 0
xor eax, eax
mov dword [ebx + 0xec], eax
mov byte [ebx + 0xeb], 0
xor eax, eax
mov dword [ebx + 0xc0], eax
mov eax, ebx
call fcn.005fa570
mov eax, ebx
call fcn.005fb0ac
mov byte [ebx + 0x19e], 0
mov byte [ebx + 0xf5], 1
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5f72b3
call fcn.00408cf0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5f77b4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x190]
test eax, eax
je 0x5f7856
cmp dword [ebx + 0xac], 0
jne 0x5f7850
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5f76f4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x5f7850
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x5f7816
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5f7850
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [ebx + 0xa8]
mov edx, esi
call fcn.004b3264
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5f7825
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x5f7b98
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x87dc8c]
cmp dword [eax + 0x190], 0
je 0x5f7d01
test bl, bl
jne 0x5f7c54
cmp dword [esi + 0xb4], 0
jne 0x5f7c49
mov eax, esi
call fcn.005faefc
push eax
push 0x5f7a98
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x5f7c1a
mov eax, dword [0x87dc8c]
cmp byte [eax + 0xeb], 0
je 0x5f7c1a
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x5f7bfb
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5f7c1a
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5f7c03
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5f7c49
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004b3264
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5f7c29
inc dword [esi + 0xb4]
jmp 0x5f7d01
cmp dword [esi + 0xb4], 0
jle 0x5f7d01
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x5f7d01
cmp dword [esi + 0x58], 0
je 0x5f7cb6
mov eax, dword [0x87dc8c]
cmp byte [eax + 0xeb], 0
je 0x5f7cb6
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x5f7c97
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5f7cb6
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5f7c9f
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5f7ce5
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004b3264
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5f7cc5
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x5e7aa0]
call fcn.0040da34
pop edi
pop esi
pop ebx
ret
Function at 0x5f8af8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x5f8b55
cmp byte [ebx + 0xeb], 0
jne 0x5f8b55
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x190]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040a6f0
mov eax, dword [esi]
test eax, eax
je 0x5f8b42
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5f8b62
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a948
jmp 0x5f8b62
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a948
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5fa784
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x5fa7f5
mov eax, esi
call fcn.0055ce94
test al, al
je 0x5fa7f5
mov eax, dword [ebx + 0x98]
call fcn.0055ca2c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5fa7f5
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x160]
test al, al
je 0x5fa7e6
push 0
mov eax, dword [ebx + 0x98]
call fcn.0055ca2c
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.00552c98
jmp 0x5fa7f5
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.005fa590
pop esi
pop ebx
ret
Function at 0x60ad48
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
test dl, dl
je 0x60ad62
add esp, 0xfffffff0
call fcn.00408c98
mov byte [ebp - 9], dl
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x60ae86
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 8]
mov dword [eax + 8], ebx
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
call fcn.0040721c
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
dec ebx
test ebx, ebx
jl 0x60ae6e
inc ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
call fcn.00538790
xor eax, eax
push ebp
push 0x60ae5b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.00538790
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
lea esi, [eax + edx*8]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov dword [esi], eax
lea eax, [esi + 4]
mov edx, dword [ebp - 4]
call fcn.0040b1b4
jmp 0x60ae24
lea eax, [esi + 4]
mov ecx, 1
mov edx, 1
call fcn.0040b540
mov edi, dword [esi + 4]
mov ebx, edi
test ebx, ebx
je 0x60ae32
sub ebx, 4
mov ebx, dword [ebx]
dec ebx
jle 0x60ae3e
mov eax, dword [esi + 4]
cmp word [eax], 0x5f
je 0x60ae12
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60ae62
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x54]
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60ae8d
lea eax, [ebp - 4]
call fcn.0040a5a0
pop eax
jmp eax

Function at 0x65fcc4
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xffffffdc
mov ebx, eax
mov eax, ebx
call fcn.0040a558
mov dword [esp], 0xf
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x65fcf5
lea edx, [esp + 4]
mov eax, ebx
mov ecx, dword [esp]
call fcn.0040a6f0
add esp, 0x24
pop ebx
ret
Function at 0x663170
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffddc
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040a64c
xor eax, eax
push ebp
push 0x663233
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x66320f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x22]
xor ecx, ecx
mov edx, 0x1e
call fcn.00407e94
lea eax, [ebp - 0x222]
xor ecx, ecx
mov edx, 0x200
call fcn.00407e94
lea eax, [ebp - 0x222]
mov edx, dword [ebp - 4]
call fcn.00428c8c
xor eax, eax
mov dword [ebp - 0x22], eax
lea eax, [ebp - 0x222]
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x1e], 3
mov word [ebp - 0x12], 0x40
or word [ebp - 0x12], 0x10
or word [ebp - 0x12], 4
lea eax, [ebp - 0x22]
push eax
call sub.shell32.dll_SHFileOperationW
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x66321b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x66323a
lea eax, [ebp - 4]
call fcn.0040a558
pop eax
jmp eax

Function at 0x692250
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x204], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x6923ab
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x69238e
mov eax, ebx
test eax, eax
je 0x692289
sub eax, 4
mov eax, dword [eax]
jmp 0x69228b
xor eax, eax
mov edi, eax
test ebx, ebx
je 0x69229b
mov eax, ebx
sub eax, 0xa
movzx eax, word [eax]
jmp 0x69229f
mov ax, 2
cmp ax, 1
jne 0x692320
test ebx, ebx
je 0x6922b3
mov eax, ebx
sub eax, 0xc
movzx eax, word [eax]
jmp 0x6922bb
mov eax, dword [0x8767f8]
movzx eax, word [eax]
push edi
push 0
push 0
movzx eax, ax
mov ecx, ebx
xor edx, edx
call fcn.00410ee4
mov edi, eax
cmp edi, 0x100
jle 0x6922e3
mov eax, edi
add eax, eax
call fcn.00407234
mov esi, eax
jmp 0x6922e9
lea esi, [ebp - 0x200]
test ebx, ebx
je 0x6922f7
mov eax, ebx
sub eax, 0xc
movzx edx, word [eax]
jmp 0x692300
mov edx, dword [0x8767f8]
movzx edx, word [edx]
mov eax, ebx
test eax, eax
je 0x69230d
sub eax, 4
mov eax, dword [eax]
jmp 0x69230f
xor eax, eax
push eax
push esi
push edi
movzx eax, dx
mov ecx, ebx
xor edx, edx
call fcn.00410ee4
jmp 0x692359
cmp edi, 0x100
jle 0x692335
mov eax, edi
add eax, eax
call fcn.00407234
mov esi, eax
jmp 0x69233b
lea esi, [ebp - 0x200]
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.00426c6c
mov eax, dword [ebp - 0x204]
mov ecx, edi
add ecx, ecx
mov edx, esi
call fcn.004073f8
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x69237b
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x692365
lea eax, [ebp - 0x200]
cmp esi, eax
je 0x692390
mov eax, esi
call fcn.00407250
jmp 0x692390
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6923b2
lea eax, [ebp - 0x204]
call fcn.0040a558
pop eax
jmp eax
Function at 0x6b742c
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 0x6b74b9
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x87de00
push 0x101
call sub.wsock32.dll_WSAStartup_1
mov ebx, eax
test ebx, ebx
je 0x6b74a1
lea ecx, [ebp - 0x1c]
xor edx, edx
mov eax, ebx
call fcn.0042da60
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0x11
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x6b74d4
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x876950]
mov dl, 1
mov eax, dword [0x6b5aa0]
call fcn.0042f5f0
call fcn.00409c14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6b74c0
lea eax, [ebp - 0x1c]
call fcn.0040a558
pop eax
jmp eax

Function at 0x6b7bf4
Capabilities:
Set socket configuration

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, eax
xor esi, esi
xor edi, edi
movzx eax, byte [0x6b7c50]
cmp al, byte [ebx + 0x28]
je 0x6b7c18
mov esi, 0x401
mov eax, ebx
call fcn.006b7d60
mov edi, eax
movzx eax, byte [ebx + 0x28]
push eax
push esi
push edi
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_WSAAsyncSelect
movzx eax, byte [0x6b7c50]
cmp al, byte [ebx + 0x28]
jne 0x6b7c48
xor eax, eax
mov dword [esp], eax
push esp
push 0x8004667e
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_ioctlsocket
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x6b7ce8
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.006b7bf4
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00408a7c
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x6b7d50
call fcn.006b7370
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x6b7d3e
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.00408a7c
pop esi
pop ebx
ret

Function at 0x6b81e0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x6b826e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov edx, ebx
mov ecx, 0
call fcn.0040af00
mov eax, dword [ebp - 0xc]
call fcn.0040ae18
push eax
call sub.wsock32.dll_gethostbyname_1
mov ebx, eax
lea eax, [ebp - 8]
xor ecx, ecx
mov edx, 4
call fcn.00407e94
test ebx, ebx
je 0x6b8250
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
movzx ecx, byte [edx]
mov byte [ebp - 8], cl
movzx ecx, byte [edx + 1]
mov byte [ebp - 7], cl
movzx ecx, byte [edx + 2]
mov byte [ebp - 6], cl
movzx eax, byte [edx + 3]
mov byte [ebp - 5], al
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6b8275
lea eax, [ebp - 0xc]
call fcn.0040a57c
pop eax
jmp eax
Function at 0x6b84e0
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 0x6b8511
mov ecx, dword [0x8765a0]
mov dl, 1
mov eax, dword [0x6b5aa0]
call fcn.0042f51c
call fcn.00409c14
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 0x6b853e
mov ecx, dword [0x876410]
mov dl, 1
mov eax, dword [0x6b5aa0]
call fcn.0042f51c
call fcn.00409c14
xor eax, eax
push ebp
push 0x6b85ba
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.00408a7c
cmp byte [ebp + 8], 0
je 0x6b8596
mov eax, dword [ebp + 0x10]
push eax
movzx eax, 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.006b82fc
mov edi, dword [ebp - 4]
lea esi, [ebp - 0x18]
add edi, 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.006b7ce8
jmp 0x6b85b0
mov eax, dword [ebp + 0x10]
push eax
movzx eax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.006b7688
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6b85d7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x6b87f0
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
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.006b7a98
xor eax, eax
push ebp
push 0x6b8965
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 0x6b894d
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x6b883c
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x6b8846
call fcn.00409d08
jmp 0x6b896c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004b860c
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 0x6b8942
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 edi, eax
cmp edi, 0xffffffff
jne 0x6b88f5
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x6b88e2
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00408a7c
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.006b87a8
pop ecx
mov eax, dword [ebp - 4]
movzx edx, byte [0x6b8978]
cmp dl, byte [eax + 0x28]
je 0x6b8949
call fcn.0042f3b4
jmp 0x6b8949
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004b862c
jmp 0x6b8949
cmp edi, ebx
jge 0x6b8911
mov eax, dword [ebp - 0xc]
add eax, edi
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004b862c
jmp 0x6b8846
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.004b860c
cmp edx, dword [esp + 4]
jne 0x6b8931
cmp eax, dword [esp]
pop edx
pop eax
jne 0x6b8846
push ebp
call fcn.006b87a8
pop ecx
jmp 0x6b8949
push ebp
call fcn.006b87a8
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6b896c
mov eax, dword [ebp - 4]
call fcn.006b7aa0
pop eax
jmp eax
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6b89ac
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 0x6b8ad4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.006b7a98
xor eax, eax
push ebp
push 0x6b8ab5
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 0x6b89fc
call fcn.00409d08
jmp 0x6b8abc
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 0x6b8a9d
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x6b8a9d
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00408a7c
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 0x6b8a9d
lea ecx, [ebp - 0x28]
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.0042da60
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x6b8af0
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0x11
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x876950]
mov dl, 1
mov eax, dword [0x6b5aa0]
call fcn.0042f5f0
call fcn.00409c14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6b8abc
mov eax, dword [ebp - 4]
call fcn.006b7aa0
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6b8adb
lea eax, [ebp - 0x28]
call fcn.0040a558
pop eax
jmp eax
Function at 0x6b8b40
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x6b8cb7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.006b7a98
xor eax, eax
push ebp
push 0x6b8c98
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x6b8ba5
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x6b8ba5
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 0x6b8c80
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x6b8bb8
call fcn.00409d08
jmp 0x6b8c9f
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
test eax, eax
jne 0x6b8bdf
cmp dword [ebp - 0x10], 0
jle 0x6b8bdf
cmp ebx, dword [ebp - 0x10]
jle 0x6b8bdf
mov ebx, dword [ebp - 0x10]
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 0x6b8c80
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x6b8c80
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00408a7c
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 0x6b8c80
lea ecx, [ebp - 0x2c]
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.0042da60
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0x11
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
mov eax, 0x6b8cd4
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0x11
lea eax, [ebp - 0x28]
push eax
push 2
mov ecx, dword [0x876950]
mov dl, 1
mov eax, dword [0x6b5aa0]
call fcn.0042f5f0
call fcn.00409c14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6b8c9f
mov eax, dword [ebp - 4]
call fcn.006b7aa0
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6b8cbe
lea eax, [ebp - 0x2c]
call fcn.0040a558
pop eax
jmp eax