joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407b50
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00405e50

Function at 0x407b60
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x641398
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x428
push ebx
push esi
xor ebx, ebx
xor eax, eax
push edi
mov esi, ecx
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x34], ax
mov dword [ebp - 4], ebx
push 0x3ff
lea ecx, [ebp - 0x433]
push ebx
push ecx
mov byte [ebp - 0x434], bl
call fcn.006100a0
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
lea eax, [edi + edx]
add esp, 0xc
mov ecx, esi
mov word [ebp - 0x18], 0x24
mov dword [ebp - 0x16], 0x20009203
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x12], eax
call fcn.00404180
test eax, eax
jne 0x407c07
mov dword [ebp - 4], 0xffffffff
pop edi
pop esi
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x34], ax
mov dword [ebp - 0x20], 7
mov eax, 0xe0000001
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
cmp byte [esi + 0x2d10], bl
je 0x407c1f
cmp edi, ebx
jbe 0x407c1f
mov ecx, dword [ebp + 8]
push edi
push ecx
mov ecx, esi
call fcn.00407b50
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov cx, word [ebp - 0x10]
mov dword [ebp - 0x434], edx
mov edx, dword [ebp + 8]
push edi
mov dword [ebp - 0x430], eax
push edx
lea eax, [ebp - 0x42a]
push eax
mov word [ebp - 0x42c], cx
call fcn.00610e50
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
push ecx
push edx
lea eax, [ebp + edi - 0x42a]
push eax
call fcn.00610e50
mov ecx, dword [ebp + 0xc]
mov eax, dword [esi + 0x48]
add esp, 0x18
push ebx
add ecx, 0xa
push ecx
lea edx, [ebp - 0x434]
push edx
push eax
call dword [sym.imp.WS2_32.dll_send]
or edi, 0xffffffff
cmp eax, edi
jne 0x407cb0
mov dword [ebp - 4], edi
pop edi
xor ecx, ecx
pop esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], cx
mov eax, 0xe0000005
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esi + 0x48]
push ebx
push 0xa
lea edx, [ebp - 0x18]
push edx
push eax
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, edi
je 0x407c85
cmp byte [ebp - 0x18], 0x24
jne 0x407d0e
cmp dword [ebp - 0x16], 0x55aa0000
je 0x407d31
mov edx, dword [0x700724]
mov eax, dword [edx + 0xc]
mov ecx, 0x700724
call eax
add eax, 0x10
mov dword [ebp + 8], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x16]
push ecx
lea edx, [ebp + 8]
push str.Bad_data_type._Type_received:__04Xh
push edx
call fcn.00405ab0
add esp, 0xc
mov byte [ebp - 4], bl
lea ecx, [ebp + 8]
call fcn.004014a0
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x34]
call fcn.00405700
pop edi
pop esi
mov eax, 0xe0000005
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x34]
call fcn.00405700
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x408210
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6414a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov eax, dword [0x700724]
mov edx, dword [eax + 0xc]
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0x700724
call edx
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 1
mov edx, dword [0x700724]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x10], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x700724
call eax
add eax, 0x10
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 4
xor edi, edi
xor ecx, ecx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], cx
mov byte [ebp - 4], 5
mov ebx, 0x20009138
mov ecx, esi
mov dword [ebp - 0x16], edi
mov word [ebp - 0x1c], 0x24
mov dword [ebp - 0x1a], ebx
call fcn.00404180
test eax, eax
jne 0x4082dc
mov byte [ebp - 4], 4
xor edx, edx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], dx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004052c0
pop edi
pop esi
mov eax, 0xe0000001
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
cmp byte [esi + 0x2d10], 0
je 0x4082ec
mov ecx, esi
call fcn.00407d60
mov ecx, dword [esi + 0x48]
push edi
push 0xa
lea eax, [ebp - 0x1c]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x408336
mov byte [ebp - 4], 4
xor edx, edx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], dx
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x2c]
call fcn.004052c0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 0x1a], ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
mov word [ebp - 0x1c], 0x124
mov edi, dword [eax - 0xc]
mov ecx, dword [ebp - 0x1c]
add edi, 0x1c
mov dword [ebp - 0x16], edi
mov ax, word [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov dword [0x7031c8], ecx
mov dword [0x7031cc], edx
mov word [0x7031d0], ax
mov eax, dword [ebx]
cmp dword [eax - 4], 1
mov ecx, dword [eax - 0xc]
mov dword [ebp + 8], ecx
jle 0x408382
push ecx
mov ecx, ebx
call fcn.00404a90
mov edi, dword [ebp - 0x16]
mov eax, dword [ebp + 8]
mov ebx, dword [ebx]
push eax
push ebx
push 0x7031d2
call fcn.00610e50
mov ecx, dword [esi + 0x48]
add esp, 0xc
xor ebx, ebx
push ebx
add edi, 0xa
push edi
push 0x7031c8
push ecx
call dword [sym.imp.WS2_32.dll_send]
or ecx, 0xffffffff
cmp eax, ecx
jne 0x4083e7
mov byte [ebp - 4], 4
xor edx, edx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x2c]
call fcn.004052c0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov byte [ebp - 4], 4
xor eax, eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x2c]
call fcn.004052c0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x408780
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6414a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov eax, dword [0x700724]
mov edx, dword [eax + 0xc]
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0x700724
call edx
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 1
mov edx, dword [0x700724]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x10], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x700724
call eax
add eax, 0x10
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 4
mov edi, 7
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
mov byte [ebp - 4], 5
mov ecx, esi
mov dword [ebp - 0x16], ebx
mov word [ebp - 0x1c], 0x24
mov dword [ebp - 0x1a], 0x20009230
call fcn.00404180
test eax, eax
jne 0x408848
mov byte [ebp - 4], 4
xor edx, edx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004052c0
pop edi
pop esi
mov eax, 0xe0000001
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
cmp byte [esi + 0x2d10], bl
je 0x408857
mov ecx, esi
call fcn.00407d60
mov ecx, dword [esi + 0x48]
push ebx
push 0xa
lea eax, [ebp - 0x1c]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x40889d
mov byte [ebp - 4], 4
xor edx, edx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x2c]
call fcn.004052c0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov dword [ebp - 0x1a], 0x20009138
mov word [ebp - 0x1c], 0x124
mov eax, dword [eax - 0xc]
mov edx, dword [ebp - 0x1c]
lea ecx, [eax + eax + 0x1c]
mov dword [ebp - 0x16], ecx
mov eax, dword [ebp - 0x18]
mov cx, word [ebp - 0x14]
mov dword [0x7059c8], edx
mov dword [0x7059cc], eax
mov word [0x7059d0], cx
mov eax, dword [edi]
cmp dword [eax - 4], 1
mov edx, dword [eax - 0xc]
mov dword [ebp + 8], edx
jle 0x4088eb
push edx
mov ecx, edi
call fcn.00401370
mov ecx, dword [ebp + 8]
mov edi, dword [edi]
lea edx, [ecx + ecx]
push edx
push edi
push 0x7059d2
call fcn.00610e50
mov eax, dword [ebp - 0x16]
mov ecx, dword [esi + 0x48]
add esp, 0xc
push ebx
add eax, 0xa
push eax
push 0x7059c8
push ecx
call dword [sym.imp.WS2_32.dll_send]
or ecx, 0xffffffff
cmp eax, ecx
jne 0x408954
mov byte [ebp - 4], 4
xor edx, edx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x2c]
call fcn.004052c0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov byte [ebp - 4], 4
xor eax, eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x2c]
call fcn.004052c0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x409480
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6414e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, 7
xor eax, eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], ebx
mov word [ebp - 0x3c], ax
mov byte [ebp - 4], 1
call fcn.00404180
test eax, eax
jne 0x4094fb
mov byte [ebp - 4], bl
xor ecx, ecx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], ebx
mov word [ebp - 0x3c], cx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], 8
jb 0x4094eb
mov edx, dword [ebp + 8]
push edx
call fcn.0060faf6
add esp, 4
xor eax, eax
mov word [ebp + 8], ax
mov eax, 0xe0000001
jmp 0x409616
cmp byte [edi + 0x2d10], bl
je 0x40950a
mov ecx, edi
call fcn.00407d60
mov eax, dword [ebp + 0x18]
lea eax, [eax + eax + 2]
mov dword [ebp - 0x10], eax
add eax, 0xa
push eax
mov dword [ebp - 0x14], eax
call fcn.005fb5ce
add esp, 4
lea ecx, [ebp + 8]
push ecx
mov esi, eax
lea edx, [ebp - 0x10]
push edx
lea eax, [esi + 0xa]
push eax
mov ecx, edi
call fcn.00404c00
test eax, eax
jne 0x409579
mov byte [ebp - 4], bl
mov esi, 7
xor ecx, ecx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], ebx
mov word [ebp - 0x3c], cx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], 8
jb 0x409569
mov edx, dword [ebp + 8]
push edx
call fcn.0060faf6
add esp, 4
xor eax, eax
mov word [ebp + 8], ax
mov eax, 0xfffffffe
jmp 0x409616
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x1e], ecx
mov word [ebp - 0x20], 0x24
mov eax, dword [ebp - 0x20]
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1a], edx
mov ecx, dword [ebp - 0x1c]
mov dx, word [ebp - 0x18]
push ebx
mov dword [esi + 4], ecx
push eax
mov word [esi + 8], dx
mov ecx, dword [edi + 0x48]
push esi
push ecx
call dword [sym.imp.WS2_32.dll_send]
or ecx, 0xffffffff
cmp eax, ecx
jne 0x4095e5
mov byte [ebp - 4], bl
mov esi, 7
xor edx, edx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], ebx
mov word [ebp - 0x3c], dx
mov dword [ebp - 4], ecx
cmp dword [ebp + 0x1c], 8
jb 0x4095de
mov eax, dword [ebp + 8]
push eax
call fcn.0060faf6
add esp, 4
xor ecx, ecx
lea eax, [ecx - 4]
jmp 0x409612
mov byte [ebp - 4], bl
mov esi, 7
xor edx, edx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], ebx
mov word [ebp - 0x3c], dx
mov dword [ebp - 4], ecx
cmp dword [ebp + 0x1c], 8
jb 0x40960e
mov eax, dword [ebp + 8]
push eax
call fcn.0060faf6
add esp, 4
xor ecx, ecx
xor eax, eax
mov word [ebp + 8], cx
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [ebp + 0x1c], esi
mov dword [ebp + 0x18], ebx
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x20
Function at 0x409630
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x6414f8
push eax
mov eax, 0x1028
mov dword fs:[0], esp
call fcn.00612380
push ebx
push esi
mov ebx, 7
xor esi, esi
xor eax, eax
push edi
mov edi, ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], esi
mov word [ebp - 0x34], ax
mov dword [ebp - 4], esi
call fcn.00404180
test eax, eax
jne 0x4096a1
mov dword [ebp - 4], 0xffffffff
pop edi
mov dword [ebp - 0x24], esi
xor ecx, ecx
pop esi
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x34], cx
mov eax, 0xe0000001
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
cmp byte [edi + 0x2d10], 0
je 0x4096b1
mov ecx, edi
call fcn.00407d60
push 0x1000
lea edx, [ebp - 0x1034]
push esi
push edx
call fcn.006100a0
mov edx, dword [edi + 0x48]
mov eax, dword [ebp + 0xc]
add esp, 0xc
push esi
push 0xa
lea ecx, [ebp - 0x18]
push ecx
push edx
mov dword [ebp - 0x12], esi
mov word [ebp - 0x18], 0x124
mov dword [ebp - 0x16], eax
call dword [sym.imp.WS2_32.dll_send]
or ebx, 0xffffffff
cmp eax, ebx
jne 0x409715
mov dword [ebp - 4], ebx
xor eax, eax
pop edi
mov dword [ebp - 0x24], esi
mov word [ebp - 0x34], ax
pop esi
mov eax, ebx
mov dword [ebp - 0x20], 7
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [edi + 0x48]
push esi
push 0xa
lea ecx, [ebp - 0x1034]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, ebx
je 0x4096ed
mov eax, dword [ebp - 0x1034]
mov ecx, dword [ebp - 0x1030]
mov dx, word [ebp - 0x102c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
mov word [ebp - 0x10], dx
cmp al, 0x24
je 0x409771
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x34]
call fcn.00405700
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x1032]
cmp eax, 0x20009207
je 0x409793
cmp eax, 0x2000920a
je 0x409793
cmp eax, 0x2000920b
je 0x409793
cmp eax, 0x2000920c
jne 0x40974e
mov ebx, dword [ebp - 0x102e]
push ebx
call fcn.005fb5ce
push ebx
mov esi, eax
push 0
push esi
call fcn.006100a0
mov eax, dword [edi + 0x48]
add esp, 0x10
push 0
push ebx
push esi
push eax
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x4097ee
push esi
call fcn.0060faf6
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00405700
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
push ecx
push ebx
push esi
mov ecx, edi
call fcn.00409440
push esi
test eax, eax
jne 0x40982f
call fcn.0060faf6
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00405700
pop edi
pop esi
mov eax, 0xfffffffd
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
call fcn.0060faf6
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00405700
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x40e6a0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1218
call fcn.00612380
push ebx
push esi
push edi
xor eax, eax
push 0x206
mov ebx, ecx
push eax
lea ecx, [ebp - 0x216]
push ecx
mov word [ebp - 0x218], ax
call fcn.006100a0
add esp, 0xc
mov dword [ebp - 4], 0
mov ecx, ebx
call fcn.00404180
test eax, eax
je 0x40e782
cmp byte [ebx + 0x2d10], 0
je 0x40e6f6
mov ecx, ebx
call fcn.00407d60
push 0xfff
lea edx, [ebp - 0x1217]
push 0
push edx
mov dword [ebp - 0xa], 0
mov word [ebp - 0x10], 0x124
mov dword [ebp - 0xe], 0x20009126
call fcn.006100a0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov dx, word [ebp - 8]
mov esi, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x1214], ecx
push 0
mov dword [ebp - 0x1218], eax
push 0x212
mov word [ebp - 0x1210], dx
mov ecx, 0x82
lea edi, [ebp - 0x120e]
lea eax, [ebp - 0x1218]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x48]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x40e782
mov eax, dword [ebx + 0x48]
push 0
lea edx, [ebp - 0x218]
push edx
push eax
mov ecx, ebx
call fcn.0040e050
test eax, eax
jne 0x40e7a8
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, 5
jl 0x40e6d7
pop edi
xor al, al
pop esi
movzx eax, al
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x218]
push ecx
push 0x104
push edx
mov bl, 1
call fcn.00611c28
add esp, 0xc
pop edi
pop esi
movzx eax, bl
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40ec00
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
push esi
push edi
xor eax, eax
push 0x206
mov edi, ecx
push eax
lea ecx, [ebp - 0x216]
push ecx
mov word [ebp - 0x218], ax
call fcn.006100a0
mov ebx, dword [sym.imp.WS2_32.dll_recv]
add esp, 0xc
mov dword [ebp - 0x10], 0
lea esp, [esp]
mov ecx, edi
call fcn.00404180
test eax, eax
je 0x40eda9
cmp byte [edi + 0x2d10], 0
je 0x40ec5f
mov ecx, edi
call fcn.00407d60
mov ecx, dword [edi + 0x48]
mov edx, dword [ebp + 0xc]
xor esi, esi
push esi
push 0xa
lea eax, [ebp - 0xc]
push eax
push ecx
mov dword [ebp - 6], esi
mov word [ebp - 0xc], 0x124
mov dword [ebp - 0xa], edx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x40eda9
mov edx, dword [edi + 0x48]
push esi
push 0xb
push 0x70d1d0
push edx
call ebx
cmp eax, 0xffffffff
je 0x40eca1
test eax, eax
jne 0x40eca6
mov esi, 1
cmp dword [0x70d1d2], 0x20009110
mov ecx, dword [0x70d1d0]
mov edx, dword [0x70d1d4]
mov dword [ebp - 0xc], ecx
mov cx, word [0x70d1d8]
mov dword [ebp - 8], edx
mov word [ebp - 4], cx
jne 0x40ecf3
cmp dword [0x70d1d6], 1
jne 0x40ecf3
mov cl, byte [0x70d1da]
cmp cl, 1
jne 0x40ece9
xor esi, esi
xor eax, eax
jmp 0x40ed00
cmp cl, 3
jne 0x40ecf7
mov esi, 1
xor eax, eax
jmp 0x40ed00
cmp eax, 0xffffffff
je 0x40ed8d
test eax, eax
je 0x40ed8d
mov edx, dword [edi + 0x48]
push 0
push 0xb
push 0x70d1d0
push edx
call ebx
cmp eax, 0xffffffff
je 0x40ed68
test eax, eax
je 0x40ed68
mov ecx, dword [0x70d1d0]
mov edx, dword [0x70d1d4]
mov dword [ebp - 0xc], ecx
mov cx, word [0x70d1d8]
xor esi, esi
cmp dword [0x70d1d2], 0x20009110
mov dword [ebp - 8], edx
mov word [ebp - 4], cx
jne 0x40ed68
cmp dword [0x70d1d6], 1
jne 0x40ed68
mov cl, byte [0x70d1da]
test cl, cl
je 0x40ed00
cmp cl, 1
je 0x40ed91
cmp cl, 3
jne 0x40ed00
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x218]
push ecx
push edx
push eax
mov bl, 1
call fcn.00611c28
add esp, 0xc
pop edi
pop esi
movzx eax, bl
pop ebx
mov esp, ebp
pop ebp
ret 0xc
test esi, esi
jne 0x40ed68
mov eax, dword [edi + 0x48]
push 0
lea edx, [ebp - 0x218]
push edx
push eax
mov ecx, edi
call fcn.0040e050
test eax, eax
jne 0x40ed68
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, 5
jl 0x40ec40
pop edi
xor al, al
pop esi
movzx eax, al
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x410a10
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x641ea8
push eax
mov eax, 0x202c
mov dword fs:[0], esp
call fcn.00612380
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x24], ebx
je 0x410a80
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea ecx, [ebp + 8]
push ecx
push ebx
lea edx, [ebp - 0x1c]
push edx
mov eax, edx
push eax
push ebx
push 0x20009140
mov ecx, esi
call fcn.004104b0
neg eax
sbb eax, eax
and eax, 0x1fffffff
pop esi
add eax, 0xe0000001
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xdf8
xor ecx, ecx
mov dword [ebp - 0x24], 7
mov dword [ebp - 0x28], ebx
mov word [ebp - 0x38], cx
mov dword [ebp - 4], ebx
mov ecx, esi
call fcn.00404180
test eax, eax
jne 0x410acc
mov dword [ebp - 4], 0xffffffff
xor edx, edx
pop esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], dx
mov eax, 0xe0000001
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xdf8
cmp byte [esi + 0x2d10], bl
je 0x410adb
mov ecx, esi
call fcn.00407d60
push 0xfff
lea eax, [ebp - 0x2037]
push ebx
push eax
mov byte [ebp - 0x2038], bl
call fcn.006100a0
add esp, 0xc
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp + 0xdfc]
push edx
lea eax, [ebp - 0x2038]
push eax
mov ecx, esi
call fcn.004038e0
test eax, eax
jne 0x410b3f
mov dword [ebp - 4], 0xffffffff
xor ecx, ecx
pop esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], cx
lea eax, [ecx - 2]
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xdf8
mov dword [ebp - 0x16], 0x20009204
mov word [ebp - 0x18], 0x24
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x12], 0xdf8
mov eax, dword [ebp - 0x14]
mov cx, word [ebp - 0x10]
mov dword [ebp - 0x1038], edx
push 0xdf8
lea edx, [ebp - 0x2038]
mov dword [ebp - 0x1034], eax
push edx
lea eax, [ebp - 0x102e]
push eax
mov word [ebp - 0x1030], cx
call fcn.00610e50
mov edx, dword [esi + 0x48]
add esp, 0xc
push ebx
push 0xe02
lea ecx, [ebp - 0x1038]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_send]
or ecx, 0xffffffff
cmp eax, ecx
jne 0x410bcb
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x38]
call fcn.00405700
pop esi
mov eax, 0xfffffffc
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xdf8
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x38]
call fcn.00405700
mov ecx, dword [ebp - 0xc]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xdf8