joyce8/EMBER2024-capa huggingface dataset:
Function at 0x563e40
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6539f0
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x7496c8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x50], esi
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x54], 0x10
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [esi + 0x3230]
push edx
call sub.WS2_32.dll_accept
mov dword [esi + 0x31f8], eax
or ebx, 0xffffffff
cmp eax, ebx
jne 0x563f48
call sub.WS2_32.dll_WSAGetLastError
mov edi, eax
mov dword [ebp - 0x4c], edi
cmp edi, 0x2733
je 0x563f24
mov eax, dword [esi + 0x3230]
push eax
call sub.WS2_32.dll_closesocket
mov dword [esi + 0x3230], ebx
mov dword [esi + 0x323c], 0
push edi
push str.Error_code___ld_n
lea ecx, [ebp - 0x34]
push ecx
call fcn.0061611b
add esp, 0xc
push 1
mov edx, dword [0x74f878]
push edx
mov ecx, esi
call fcn.005581e0
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
call fcn.005579a0
mov ecx, dword [0x74f878]
push ecx
mov ecx, dword [esi + 0xac]
call fcn.00560a60
mov edx, dword [esi + 0x3204]
mov dword [edx + 0x140], edi
mov eax, edi
jmp 0x563fc1
mov ecx, esi
call fcn.00557bc0
cmp eax, 0x1e
jle 0x563f44
mov eax, dword [esi + 0x3204]
mov edi, 0x7533
mov dword [eax + 0x140], edi
mov dword [ebp - 0x4c], edi
mov eax, edi
jmp 0x563fc1
push 1
mov ecx, dword [0x74f928]
push ecx
mov ecx, esi
call fcn.005581e0
mov edx, dword [esi + 0x3230]
push edx
call sub.WS2_32.dll_closesocket
mov dword [esi + 0x3230], ebx
mov dword [esi + 0x323c], edi
mov eax, 1
mov dword [esi + 0x3238], eax
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
push 0x8004667e
mov ecx, dword [esi + 0x31f8]
push ecx
call sub.WS2_32.dll_ioctlsocket
xor eax, eax
jmp 0x563fc1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00613241
mov esp, ebp
pop ebp
ret
Function at 0x563fe0
Capabilities:
Get local ipv4 addresses
Get socket information
Send data
Send data on socket

Disassembly:
push ebp
lea ebp, [esp - 0x158]
sub esp, 0x158
push 0xffffffffffffffff
push 0x653a20
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x7496c8]
xor eax, ebp
mov dword [ebp + 0x154], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x18], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x3204]
cmp dword [eax + 0x244], ebx
je 0x56405c
mov ecx, dword [0x74f888]
push ecx
mov ecx, dword [esi + 0xac]
call fcn.00560a60
mov edx, dword [esi + 0x3204]
mov eax, 0x755a
mov dword [edx + 0x140], eax
jmp 0x564207
mov dword [esi + 0x323c], ebx
lea edi, [esi + 0x3a40]
push edi
mov ecx, esi
call fcn.00563bb0
cmp eax, ebx
jne 0x564207
mov eax, dword [esi + 0x194]
cmp eax, ebx
je 0x56408e
cmp byte [eax + 0x15c], bl
jne 0x5641d9
mov ebx, 0x10
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp]
push ecx
mov edx, dword [edi]
push edx
call sub.WS2_32.dll_getsockname
test eax, eax
jge 0x564117
call sub.WS2_32.dll_WSAGetLastError
mov ebx, eax
mov eax, dword [edi]
push eax
call sub.WS2_32.dll_closesocket
mov dword [edi], 0xffffffff
push ebx
push str.Error_code___ld_n
lea ecx, [ebp + 0x134]
push ecx
call fcn.0061611b
add esp, 0xc
push 1
mov edx, dword [0x74f87c]
push edx
mov ecx, esi
call fcn.005581e0
lea eax, [ebp + 0x134]
push eax
mov ecx, esi
call fcn.005579a0
mov ecx, dword [0x74f87c]
push ecx
mov ecx, dword [esi + 0xac]
call fcn.00560a60
mov edx, dword [esi + 0x3204]
mov dword [edx + 0x140], ebx
mov eax, ebx
jmp 0x564207
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 0x10]
push ecx
mov edx, dword [esi + 0x31f4]
push edx
call sub.WS2_32.dll_getsockname
test eax, eax
jl 0x5640aa
movzx eax, byte [ebp + 3]
push eax
movzx ecx, byte [ebp + 2]
push ecx
movzx edx, byte [ebp + 0x17]
push edx
movzx eax, byte [ebp + 0x16]
push eax
movzx ecx, byte [ebp + 0x15]
push ecx
movzx edx, byte [ebp + 0x14]
push edx
push str.PORT__d__d__d__d__d__d_r_n
lea eax, [ebp + 0x20]
push eax
call fcn.0061611b
add esp, 0x20
push 1
mov ecx, dword [0x74f92c]
push ecx
mov ecx, esi
call fcn.005581e0
lea eax, [ebp + 0x20]
lea edx, [eax + 1]
jmp 0x564180
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x564180
sub eax, edx
push str.send___PORT
push 0
push eax
lea edx, [ebp + 0x20]
push edx
mov eax, dword [esi + 0x31f4]
push eax
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.005582d0
test eax, eax
je 0x5641bb
mov ecx, dword [esi + 0x3204]
mov dword [ecx + 0x140], eax
jmp 0x564207
push 6
lea ecx, [esi + 0x31e8]
call fcn.0059dc90
mov ecx, esi
call fcn.00557bf0
mov dword [esi + 0x9c], 4
xor eax, eax
jmp 0x564207
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x154]
xor ecx, ebp
call fcn.00613241
add ebp, 0x158
mov esp, ebp
pop ebp
ret
Function at 0x564230
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x653a50
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
lea edi, [esi + 0x3640]
push 0x3ff
push 0
push edi
call fcn.00613900
add esp, 0xc
push str.recv___PORT
push edi
mov ecx, esi
call fcn.00563080
test eax, eax
jne 0x564372
push str.Reply_on_PORT:_n
mov ecx, esi
call fcn.005579a0
push edi
mov ecx, esi
call fcn.005579a0
mov ecx, esi
cmp byte [edi], 0x32
je 0x5642ff
push 1
mov eax, dword [0x74f880]
push eax
call fcn.005581e0
mov ecx, dword [esi + 0x3a40]
push ecx
call sub.WS2_32.dll_closesocket
mov dword [esi + 0x3a40], 0xffffffff
push edi
mov ecx, dword [esi + 0xac]
call fcn.00560a60
mov edx, dword [esi + 0x3204]
mov eax, 0x7550
mov dword [edx + 0x140], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, 1
push edi
mov eax, dword [0x74f930]
push eax
call fcn.005581e0
mov eax, dword [esi + 0x3a40]
mov dword [esi + 0x3230], eax
mov dword [esi + 0x323c], edi
mov dword [ebp - 0x14], edi
lea ecx, [ebp - 0x14]
push ecx
push 0x8004667e
push eax
call sub.WS2_32.dll_ioctlsocket
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x564510
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x653a90
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x7496c8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x12c], esi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
push 1
mov eax, dword [0x74f944]
push eax
call fcn.005581e0
push 0x66d294
push edi
push str.TYPE__s_s
lea ecx, [ebp - 0x128]
push ecx
call fcn.0061611b
add esp, 0x10
lea eax, [ebp - 0x128]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x564583
sub eax, edx
push str.send___TYPE
push 0
push eax
lea edx, [ebp - 0x128]
push edx
mov eax, dword [esi + 0x31f4]
push eax
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.005582d0
test eax, eax
je 0x5645c1
mov ecx, dword [esi + 0x3204]
mov dword [ecx + 0x140], eax
jmp 0x564619
lea ecx, [esi + 0x31e8]
cmp byte [edi], 0x41
jne 0x5645d0
push 0x11
jmp 0x5645d2
push 7
call fcn.0059dc90
mov ecx, esi
call fcn.00557bf0
mov dword [esi + 0x9c], 4
xor eax, eax
jmp 0x564619
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00613241
mov esp, ebp
pop ebp
ret 4
Function at 0x564760
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
lea ebp, [esp - 0x118]
sub esp, 0x118
push 0xffffffffffffffff
push 0x653ae0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x7496c8]
xor eax, ebp
mov dword [ebp + 0x114], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x1c], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
push 1
mov eax, dword [0x74f950]
push eax
call fcn.005581e0
mov edi, dword [ebp + 0x120]
mov ecx, dword [ebp + 0x124]
cmp byte [esi + 0xd0], bl
je 0x5647cc
add edi, 0x30
adc ecx, ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], ecx
cmp byte [esi + 0xd7], bl
je 0x5647fd
mov eax, dword [esi + 0x18c]
cdq
cmp ecx, edx
jl 0x5647f7
jg 0x5647eb
cmp edi, eax
jb 0x5647f7
sub edi, eax
mov dword [ebp - 0x18], edi
sbb ecx, edx
mov dword [ebp - 0x14], ecx
jmp 0x5647fd
mov byte [esi + 0xd7], bl
mov dword [esi + 0x3a60], edi
mov dword [esi + 0x3a64], ecx
push 0x66d294
push ecx
push edi
push str.REST__I64d_s
lea ecx, [ebp]
push ecx
call fcn.0061611b
add esp, 0x14
lea edx, [ebp]
push edx
mov ecx, esi
call fcn.005579a0
lea eax, [ebp]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x564832
sub eax, edx
push str.send___REST
push ebx
push eax
lea eax, [ebp]
push eax
mov ecx, dword [esi + 0x31f4]
push ecx
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.005582d0
cmp eax, ebx
je 0x56486c
mov edx, dword [esi + 0x3204]
mov dword [edx + 0x140], eax
jmp 0x5648b8
push 0xa
lea ecx, [esi + 0x31e8]
call fcn.0059dc90
mov ecx, esi
call fcn.00557bf0
mov dword [esi + 0x9c], 4
xor eax, eax
jmp 0x5648b8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x114]
xor ecx, ebp
call fcn.00613241
add ebp, 0x118
mov esp, ebp
pop ebp
ret 8
Function at 0x564b60
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
lea ebp, [esp - 0x2da4]
mov eax, 0x2da4
call fcn.00614970
push 0xffffffffffffffff
push 0x653b50
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x7496c8]
xor eax, ebp
mov dword [ebp + 0x2da0], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], ecx
mov ebx, dword [ebp + 0x2db0]
mov edi, dword [ebp + 0x2db4]
mov dword [ebp - 0x18], edi
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], esi
push 0x2da0
push esi
lea eax, [ebp]
push eax
call fcn.00613900
mov ecx, dword [edi]
push ecx
push esi
mov edx, dword [ebx]
push edx
call fcn.00613900
add esp, 0x18
jmp 0x564be0
push 0
push 0x2da0
lea eax, [ebp]
push eax
mov ecx, dword [ebp + 0x2dac]
push ecx
call sub.WS2_32.dll_recv
mov dword [ebp - 0x28], eax
test eax, eax
jle 0x564c90
mov edx, dword [ebp - 0x14]
lea esi, [eax + edx]
mov dword [ebp - 0x24], esi
cmp esi, dword [edi]
jle 0x564c75
mov eax, dword [ebx]
mov dword [ebp - 0x20], eax
lea edi, [esi + esi]
push edi
call fcn.005e76b2
add esp, 4
mov esi, eax
test esi, esi
jne 0x564c41
push 1
mov ecx, dword [0x74f7bc]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.005581e0
mov eax, 0x753b
jmp 0x564cc4
push edi
push 0
push esi
call fcn.00613900
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
push eax
mov ecx, dword [ebx]
push ecx
push esi
call fcn.00614de0
mov dword [ebx], esi
mov edx, dword [ebp - 0x18]
mov dword [edx], edi
mov eax, dword [ebp - 0x20]
push eax
call fcn.005e76a7
add esp, 0x1c
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
push eax
lea ecx, [ebp]
push ecx
mov edx, dword [ebx]
add edx, dword [ebp - 0x14]
push edx
call fcn.00614de0
add esp, 0xc
mov dword [ebp - 0x14], esi
jmp 0x564be0
xor eax, eax
jmp 0x564cc4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2da0]
xor ecx, ebp
call fcn.00613241
add ebp, 0x2da4
mov esp, ebp
pop ebp
ret 0xc
Function at 0x566540
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x653df8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x18], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x194]
cmp dword [eax], ebx
je 0x56669a
cmp dword [eax + 0x168], ebx
je 0x56669a
lea ecx, [ebp - 0x14]
call fcn.00402500
mov byte [ebp - 4], 1
push 1
mov eax, dword [0x74f8fc]
push eax
mov ecx, esi
call fcn.005581e0
push 0x66d294
mov ecx, dword [esi + 0x194]
mov edx, dword [ecx + 0x168]
push edx
push str.USER__s_s
lea eax, [ebp - 0x14]
push eax
call fcn.00402f80
add esp, 0x10
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, esi
call fcn.005579a0
mov edx, dword [ebp - 0x14]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x5665e0
sub eax, edi
push str.send___Proxy_USER_n
push ebx
push eax
push edx
mov edx, dword [esi + 0x31f4]
push edx
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.005582d0
mov edi, eax
cmp edi, ebx
je 0x566636
mov eax, dword [esi + 0x3204]
mov dword [eax + 0x140], edi
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00402570
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x14
lea ecx, [esi + 0x31e8]
call fcn.0059dc90
mov ecx, esi
call fcn.00557bf0
mov dword [esi + 0x9c], 4
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00402570
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5666b0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x653e28
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x18], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x14]
call fcn.00402500
mov byte [ebp - 4], 1
push 1
mov eax, dword [0x74f900]
push eax
mov ecx, esi
call fcn.005581e0
push 0x66d294
mov ecx, dword [esi + 0xc0]
mov edx, dword [ecx + 0x10]
push edx
push str.PASS__s_s
lea eax, [ebp - 0x14]
push eax
call fcn.00402f80
add esp, 0x10
mov edx, dword [ebp - 0x14]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x566728
sub eax, edi
push str.send___PASS_n
push ebx
push eax
push edx
mov ecx, dword [esi + 0x31f4]
push ecx
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.005582d0
mov edi, eax
cmp edi, ebx
je 0x56677e
mov edx, dword [esi + 0x3204]
mov dword [edx + 0x140], edi
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00402570
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 3
lea ecx, [esi + 0x31e8]
call fcn.0059dc90
mov ecx, esi
call fcn.00557bf0
mov dword [esi + 0x9c], 4
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00402570
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x566800
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x653e58
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x18], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x194]
cmp dword [eax], ebx
je 0x56694f
cmp dword [eax + 0x16c], ebx
je 0x56694f
lea ecx, [ebp - 0x14]
call fcn.00402500
mov byte [ebp - 4], 1
push 1
mov eax, dword [0x74f900]
push eax
mov ecx, esi
call fcn.005581e0
push 0x66d294
mov ecx, dword [esi + 0x194]
mov edx, dword [ecx + 0x16c]
push edx
push str.PASS__s_s
lea eax, [ebp - 0x14]
push eax
call fcn.00402f80
add esp, 0x10
mov edx, dword [ebp - 0x14]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x566895
sub eax, edi
push str.send___proxy_PASS_n
push ebx
push eax
push edx
mov ecx, dword [esi + 0x31f4]
push ecx
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.005582d0
mov edi, eax
cmp edi, ebx
je 0x5668eb
mov edx, dword [esi + 0x3204]
mov dword [edx + 0x140], edi
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00402570
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x15
lea ecx, [esi + 0x31e8]
call fcn.0059dc90
mov ecx, esi
call fcn.00557bf0
mov dword [esi + 0x9c], 4
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00402570
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x567160
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x653f18
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x18], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x14]
call fcn.00402500
mov byte [ebp - 4], 1
push 1
mov eax, dword [0x74f8dc]
push eax
mov ecx, esi
call fcn.005581e0
mov ecx, dword [esi + 0xc0]
mov eax, dword [ecx + 4]
push 0x66d294
push 0x66d294
cmp eax, ebx
je 0x5671db
push eax
push str.CWD__s_sTYPE_I_s
lea edx, [ebp - 0x14]
push edx
call fcn.00402f80
add esp, 0x14
jmp 0x5671ec
push str.TYPE_I_sNOOP_s
lea eax, [ebp - 0x14]
push eax
call fcn.00402f80
add esp, 0x10
mov dword [esi + 0x9c], 0xb
mov ecx, esi
call fcn.00557bf0
push 0x3ff
push ebx
lea ecx, [esi + 0x3240]
push ecx
call fcn.00613900
add esp, 0xc
mov edx, dword [ebp - 0x14]
mov eax, edx
lea edi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x567220
sub eax, edi
push str.send___test_sequence
push ebx
push eax
push edx
mov edx, dword [esi + 0x31f4]
push edx
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.005582d0
mov edi, eax
cmp edi, ebx
je 0x567257
mov eax, dword [esi + 0x3204]
mov dword [eax + 0x140], edi
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00402570
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x567380
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x653f71
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x28], esi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x1c]
call fcn.00402500
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00402500
mov byte [ebp - 4], 2
mov eax, dword [esi + 0x194]
cmp dword [eax], ebx
je 0x56742b
mov ecx, dword [esi + 0xc0]
mov eax, dword [ecx + 0x14]
cmp eax, 0x15
je 0x5673fc
push eax
push str.:_ld
lea edx, [ebp - 0x18]
push edx
call fcn.00402f80
add esp, 0xc
jmp 0x567409
push 0x66b96c
lea ecx, [ebp - 0x18]
call fcn.00545860
mov eax, dword [esi + 0xc0]
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [eax]
push edx
mov eax, dword [eax + 0xc]
push eax
push str._s__s_s
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00402f80
add esp, 0x14
lea ecx, [ebp - 0x14]
call fcn.00402500
mov byte [ebp - 4], 3
push 1
mov edx, dword [0x74f8fc]
push edx
mov ecx, esi
call fcn.005581e0
mov eax, dword [esi + 0x194]
cmp dword [eax], ebx
je 0x567456
mov eax, dword [ebp - 0x1c]
jmp 0x567476
mov ecx, dword [esi + 0xc0]
mov edx, dword [ecx + 0xc]
push edx
lea ecx, [ebp - 0x24]
call fcn.004030c0
mov byte [ebp - 4], 4
mov ebx, 1
mov dword [ebp - 0x20], ebx
mov eax, dword [eax]
push 0x66d294
push eax
push str.USER__s_s
lea eax, [ebp - 0x14]
push eax
call fcn.00402f80
add esp, 0x10
mov dword [ebp - 4], 3
test bl, 1
je 0x5674a7
and ebx, 0xfffffffe
mov dword [ebp - 0x20], ebx
lea ecx, [ebp - 0x24]
call fcn.00402570
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, esi
call fcn.005579a0
mov edx, dword [ebp - 0x14]
mov eax, edx
lea edi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5674c0
sub eax, edi
push str.send___USER_n
push 0
push eax
push edx
mov edx, dword [esi + 0x31f4]
push edx
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.005582d0
mov edi, eax
test edi, edi
je 0x567530
mov eax, dword [esi + 0x3204]
mov dword [eax + 0x140], edi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00402570
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00402570
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00402570
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 2
lea ecx, [esi + 0x31e8]
call fcn.0059dc90
mov ecx, esi
call fcn.00557bf0
mov dword [esi + 0x9c], 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00402570
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00402570
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00402570
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x569380
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x654239
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x24], esi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x18]
call fcn.00402500
mov byte [ebp - 4], 1
push 0x66b96c
lea ecx, [ebp - 0x14]
call fcn.004030c0
mov byte [ebp - 4], 2
mov eax, dword [esi + 0xc0]
mov ecx, dword [eax + 4]
cmp ecx, ebx
je 0x569418
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x5693e7
sub eax, edi
test eax, eax
jle 0x569418
cmp byte [ecx + eax - 1], 0x2f
mov eax, 0x66b96c
je 0x569405
mov eax, 0x66fdf0
push eax
push ecx
push 0x66add0
lea ecx, [ebp - 0x14]
push ecx
call fcn.00402f80
add esp, 0x10
push str.Get_MDTM..._r_n
mov ecx, esi
call fcn.005579a0
mov edx, dword [esi + 0xc0]
cmp byte [edx + 0x19d], 0
je 0x569438
mov eax, dword [ebp - 0x14]
jmp 0x569453
push 0x66b96c
lea ecx, [ebp - 0x20]
call fcn.004030c0
mov byte [ebp - 4], 3
mov ebx, 1
mov dword [ebp - 0x1c], ebx
mov eax, dword [eax]
push 0x66d294
mov ecx, dword [esi + 0xc0]
mov edx, dword [ecx + 8]
push edx
push eax
push str.MDTM__s_s_s
lea eax, [ebp - 0x18]
push eax
call fcn.00402f80
add esp, 0x14
mov dword [ebp - 4], 2
test bl, 1
je 0x56948e
and ebx, 0xfffffffe
mov dword [ebp - 0x1c], ebx
lea ecx, [ebp - 0x20]
call fcn.00402570
mov edx, dword [ebp - 0x18]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x569496
sub eax, edi
push str.send___MDTM
push 0
push eax
push edx
mov ecx, dword [esi + 0x31f4]
push ecx
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.005582d0
mov edi, eax
test edi, edi
je 0x5694fa
mov edx, dword [esi + 0x3204]
mov dword [edx + 0x140], edi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00402570
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00402570
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x13
lea ecx, [esi + 0x31e8]
call fcn.0059dc90
mov ecx, esi
call fcn.00557bf0
mov dword [esi + 0x9c], 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00402570
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00402570
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret