joyce8/EMBER2024-capa huggingface dataset:
Function at 0x56e400
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 0x661090
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x758898]
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 + 0x3214]
cmp dword [eax + 0x24c], ebx
je 0x56e47c
mov ecx, dword [0x75eaa0]
push ecx
mov ecx, dword [esi + 0xb4]
call fcn.0056ae20
mov edx, dword [esi + 0x3214]
mov eax, 0x755a
mov dword [edx + 0x14c], eax
jmp 0x56e627
mov dword [esi + 0x324c], ebx
lea edi, [esi + 0x3a50]
push edi
mov ecx, esi
call fcn.0056dfd0
cmp eax, ebx
jne 0x56e627
mov eax, dword [esi + 0x19c]
cmp eax, ebx
je 0x56e4ae
cmp byte [eax + 0x15c], bl
jne 0x56e5f9
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 0x56e537
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.0062304b
add esp, 0xc
push 1
mov edx, dword [0x75ea94]
push edx
mov ecx, esi
call fcn.00562550
lea eax, [ebp + 0x134]
push eax
mov ecx, esi
call fcn.00561d20
mov ecx, dword [0x75ea94]
push ecx
mov ecx, dword [esi + 0xb4]
call fcn.0056ae20
mov edx, dword [esi + 0x3214]
mov dword [edx + 0x14c], ebx
mov eax, ebx
jmp 0x56e627
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 0x10]
push ecx
mov edx, dword [esi + 0x3204]
push edx
call sub.WS2_32.dll_getsockname
test eax, eax
jl 0x56e4ca
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.0062304b
add esp, 0x20
push 1
mov ecx, dword [0x75eb44]
push ecx
mov ecx, esi
call fcn.00562550
lea eax, [ebp + 0x20]
lea edx, [eax + 1]
jmp 0x56e5a0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x56e5a0
sub eax, edx
push str.send___PORT
push 0
push eax
lea edx, [ebp + 0x20]
push edx
mov eax, dword [esi + 0x3204]
push eax
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.00562640
test eax, eax
je 0x56e5db
mov ecx, dword [esi + 0x3214]
mov dword [ecx + 0x14c], eax
jmp 0x56e627
push 6
lea ecx, [esi + 0x31f8]
call fcn.005a9a50
mov ecx, esi
call fcn.00561f50
mov dword [esi + 0xa4], 4
xor eax, eax
jmp 0x56e627
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.0062016f
add ebp, 0x158
mov esp, ebp
pop ebp
ret
Function at 0x56e650
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6610c0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x758898]
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 + 0x3650]
push 0x3ff
push 0
push edi
call fcn.00620850
add esp, 0xc
push str.recv___PORT
push edi
mov ecx, esi
call fcn.0056d4a0
test eax, eax
jne 0x56e792
push str.Reply_on_PORT:_n
mov ecx, esi
call fcn.00561d20
push edi
mov ecx, esi
call fcn.00561d20
mov ecx, esi
cmp byte [edi], 0x32
je 0x56e71f
push 1
mov eax, dword [0x75ea98]
push eax
call fcn.00562550
mov ecx, dword [esi + 0x3a50]
push ecx
call sub.WS2_32.dll_closesocket
mov dword [esi + 0x3a50], 0xffffffff
push edi
mov ecx, dword [esi + 0xb4]
call fcn.0056ae20
mov edx, dword [esi + 0x3214]
mov eax, 0x7550
mov dword [edx + 0x14c], 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 [0x75eb48]
push eax
call fcn.00562550
mov eax, dword [esi + 0x3a50]
mov dword [esi + 0x3240], eax
mov dword [esi + 0x324c], 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 0x56e930
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x661100
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x758898]
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 [0x75eb5c]
push eax
call fcn.00562550
push 0x67b29c
push edi
push str.TYPE__s_s
lea ecx, [ebp - 0x128]
push ecx
call fcn.0062304b
add esp, 0x10
lea eax, [ebp - 0x128]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x56e9a3
sub eax, edx
push str.send___TYPE
push 0
push eax
lea edx, [ebp - 0x128]
push edx
mov eax, dword [esi + 0x3204]
push eax
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.00562640
test eax, eax
je 0x56e9e1
mov ecx, dword [esi + 0x3214]
mov dword [ecx + 0x14c], eax
jmp 0x56ea39
lea ecx, [esi + 0x31f8]
cmp byte [edi], 0x41
jne 0x56e9f0
push 0x11
jmp 0x56e9f2
push 7
call fcn.005a9a50
mov ecx, esi
call fcn.00561f50
mov dword [esi + 0xa4], 4
xor eax, eax
jmp 0x56ea39
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.0062016f
mov esp, ebp
pop ebp
ret 4
Function at 0x56eb80
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
lea ebp, [esp - 0x118]
sub esp, 0x118
push 0xffffffffffffffff
push 0x661150
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x758898]
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 [0x75eb68]
push eax
call fcn.00562550
mov edi, dword [ebp + 0x120]
mov ecx, dword [ebp + 0x124]
cmp byte [esi + 0xd8], bl
je 0x56ebec
add edi, 0x30
adc ecx, ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], ecx
cmp byte [esi + 0xdf], bl
je 0x56ec1d
mov eax, dword [esi + 0x194]
cdq
cmp ecx, edx
jl 0x56ec17
jg 0x56ec0b
cmp edi, eax
jb 0x56ec17
sub edi, eax
mov dword [ebp - 0x18], edi
sbb ecx, edx
mov dword [ebp - 0x14], ecx
jmp 0x56ec1d
mov byte [esi + 0xdf], bl
mov dword [esi + 0x3a70], edi
mov dword [esi + 0x3a74], ecx
push 0x67b29c
push ecx
push edi
push str.REST__I64d_s
lea ecx, [ebp]
push ecx
call fcn.0062304b
add esp, 0x14
lea edx, [ebp]
push edx
mov ecx, esi
call fcn.00561d20
lea eax, [ebp]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x56ec52
sub eax, edx
push str.send___REST
push ebx
push eax
lea eax, [ebp]
push eax
mov ecx, dword [esi + 0x3204]
push ecx
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.00562640
cmp eax, ebx
je 0x56ec8c
mov edx, dword [esi + 0x3214]
mov dword [edx + 0x14c], eax
jmp 0x56ecd8
push 0xa
lea ecx, [esi + 0x31f8]
call fcn.005a9a50
mov ecx, esi
call fcn.00561f50
mov dword [esi + 0xa4], 4
xor eax, eax
jmp 0x56ecd8
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.0062016f
add ebp, 0x118
mov esp, ebp
pop ebp
ret 8
Function at 0x56ef80
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
lea ebp, [esp - 0x2da4]
mov eax, 0x2da4
call fcn.006218a0
push 0xffffffffffffffff
push 0x6611c0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x758898]
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.00620850
mov ecx, dword [edi]
push ecx
push esi
mov edx, dword [ebx]
push edx
call fcn.00620850
add esp, 0x18
jmp 0x56f000
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 0x56f0b0
mov edx, dword [ebp - 0x14]
lea esi, [eax + edx]
mov dword [ebp - 0x24], esi
cmp esi, dword [edi]
jle 0x56f095
mov eax, dword [ebx]
mov dword [ebp - 0x20], eax
lea edi, [esi + esi]
push edi
call fcn.005f4427
add esp, 4
mov esi, eax
test esi, esi
jne 0x56f061
push 1
mov ecx, dword [0x75e9d4]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.00562550
mov eax, 0x753b
jmp 0x56f0e4
push edi
push 0
push esi
call fcn.00620850
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
push eax
mov ecx, dword [ebx]
push ecx
push esi
call fcn.00621d10
mov dword [ebx], esi
mov edx, dword [ebp - 0x18]
mov dword [edx], edi
mov eax, dword [ebp - 0x20]
push eax
call fcn.005f4432
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.00621d10
add esp, 0xc
mov dword [ebp - 0x14], esi
jmp 0x56f000
xor eax, eax
jmp 0x56f0e4
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.0062016f
add ebp, 0x2da4
mov esp, ebp
pop ebp
ret 0xc
Function at 0x5709a0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x661468
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x758898]
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 + 0x19c]
cmp dword [eax], ebx
je 0x570afa
cmp dword [eax + 0x168], ebx
je 0x570afa
lea ecx, [ebp - 0x14]
call fcn.00402500
mov byte [ebp - 4], 1
push 1
mov eax, dword [0x75eb14]
push eax
mov ecx, esi
call fcn.00562550
push 0x67b29c
mov ecx, dword [esi + 0x19c]
mov edx, dword [ecx + 0x168]
push edx
push str.USER__s_s
lea eax, [ebp - 0x14]
push eax
call fcn.00402f70
add esp, 0x10
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, esi
call fcn.00561d20
mov edx, dword [ebp - 0x14]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x570a40
sub eax, edi
push str.send___Proxy_USER_n
push ebx
push eax
push edx
mov edx, dword [esi + 0x3204]
push edx
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.00562640
mov edi, eax
cmp edi, ebx
je 0x570a96
mov eax, dword [esi + 0x3214]
mov dword [eax + 0x14c], 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 + 0x31f8]
call fcn.005a9a50
mov ecx, esi
call fcn.00561f50
mov dword [esi + 0xa4], 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 0x570b10
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x661498
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x758898]
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 [0x75eb18]
push eax
mov ecx, esi
call fcn.00562550
push 0x67b29c
mov ecx, dword [esi + 0xc8]
mov edx, dword [ecx + 0x10]
push edx
push str.PASS__s_s
lea eax, [ebp - 0x14]
push eax
call fcn.00402f70
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 0x570b88
sub eax, edi
push str.send___PASS_n
push ebx
push eax
push edx
mov ecx, dword [esi + 0x3204]
push ecx
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.00562640
mov edi, eax
cmp edi, ebx
je 0x570bde
mov edx, dword [esi + 0x3214]
mov dword [edx + 0x14c], 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 + 0x31f8]
call fcn.005a9a50
mov ecx, esi
call fcn.00561f50
mov dword [esi + 0xa4], 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 0x570c60
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6614c8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x758898]
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 + 0x19c]
cmp dword [eax], ebx
je 0x570daf
cmp dword [eax + 0x16c], ebx
je 0x570daf
lea ecx, [ebp - 0x14]
call fcn.00402500
mov byte [ebp - 4], 1
push 1
mov eax, dword [0x75eb18]
push eax
mov ecx, esi
call fcn.00562550
push 0x67b29c
mov ecx, dword [esi + 0x19c]
mov edx, dword [ecx + 0x16c]
push edx
push str.PASS__s_s
lea eax, [ebp - 0x14]
push eax
call fcn.00402f70
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 0x570cf5
sub eax, edi
push str.send___proxy_PASS_n
push ebx
push eax
push edx
mov ecx, dword [esi + 0x3204]
push ecx
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.00562640
mov edi, eax
cmp edi, ebx
je 0x570d4b
mov edx, dword [esi + 0x3214]
mov dword [edx + 0x14c], 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 + 0x31f8]
call fcn.005a9a50
mov ecx, esi
call fcn.00561f50
mov dword [esi + 0xa4], 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 0x5715c0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x661588
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x758898]
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 [0x75eaf4]
push eax
mov ecx, esi
call fcn.00562550
mov ecx, dword [esi + 0xc8]
mov eax, dword [ecx + 4]
push 0x67b29c
push 0x67b29c
cmp eax, ebx
je 0x57163b
push eax
push str.CWD__s_sTYPE_I_s
lea edx, [ebp - 0x14]
push edx
call fcn.00402f70
add esp, 0x14
jmp 0x57164c
push str.TYPE_I_sNOOP_s
lea eax, [ebp - 0x14]
push eax
call fcn.00402f70
add esp, 0x10
mov dword [esi + 0xa4], 0xb
mov ecx, esi
call fcn.00561f50
push 0x3ff
push ebx
lea ecx, [esi + 0x3250]
push ecx
call fcn.00620850
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 0x571680
sub eax, edi
push str.send___test_sequence
push ebx
push eax
push edx
mov edx, dword [esi + 0x3204]
push edx
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.00562640
mov edi, eax
cmp edi, ebx
je 0x5716b7
mov eax, dword [esi + 0x3214]
mov dword [eax + 0x14c], 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 0x5717e0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6615e1
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x758898]
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 + 0x19c]
cmp dword [eax], ebx
je 0x57188b
mov ecx, dword [esi + 0xc8]
mov eax, dword [ecx + 0x14]
cmp eax, 0x15
je 0x57185c
push eax
push str.:_ld
lea edx, [ebp - 0x18]
push edx
call fcn.00402f70
add esp, 0xc
jmp 0x571869
push 0x67997c
lea ecx, [ebp - 0x18]
call fcn.0054f250
mov eax, dword [esi + 0xc8]
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.00402f70
add esp, 0x14
lea ecx, [ebp - 0x14]
call fcn.00402500
mov byte [ebp - 4], 3
push 1
mov edx, dword [0x75eb14]
push edx
mov ecx, esi
call fcn.00562550
mov eax, dword [esi + 0x19c]
cmp dword [eax], ebx
je 0x5718b6
mov eax, dword [ebp - 0x1c]
jmp 0x5718d6
mov ecx, dword [esi + 0xc8]
mov edx, dword [ecx + 0xc]
push edx
lea ecx, [ebp - 0x24]
call fcn.004030b0
mov byte [ebp - 4], 4
mov ebx, 1
mov dword [ebp - 0x20], ebx
mov eax, dword [eax]
push 0x67b29c
push eax
push str.USER__s_s
lea eax, [ebp - 0x14]
push eax
call fcn.00402f70
add esp, 0x10
mov dword [ebp - 4], 3
test bl, 1
je 0x571907
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.00561d20
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 0x571920
sub eax, edi
push str.send___USER_n
push 0
push eax
push edx
mov edx, dword [esi + 0x3204]
push edx
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.00562640
mov edi, eax
test edi, edi
je 0x571990
mov eax, dword [esi + 0x3214]
mov dword [eax + 0x14c], 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 + 0x31f8]
call fcn.005a9a50
mov ecx, esi
call fcn.00561f50
mov dword [esi + 0xa4], 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 0x5737e0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6618a9
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x758898]
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 0x67997c
lea ecx, [ebp - 0x14]
call fcn.004030b0
mov byte [ebp - 4], 2
mov eax, dword [esi + 0xc8]
mov ecx, dword [eax + 4]
cmp ecx, ebx
je 0x573878
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x573847
sub eax, edi
test eax, eax
jle 0x573878
cmp byte [ecx + eax - 1], 0x2f
mov eax, 0x67997c
je 0x573865
mov eax, 0x67e070
push eax
push ecx
push 0x678de0
lea ecx, [ebp - 0x14]
push ecx
call fcn.00402f70
add esp, 0x10
push str.Get_MDTM..._r_n
mov ecx, esi
call fcn.00561d20
mov edx, dword [esi + 0xc8]
cmp byte [edx + 0x1ad], 0
je 0x573898
mov eax, dword [ebp - 0x14]
jmp 0x5738b3
push 0x67997c
lea ecx, [ebp - 0x20]
call fcn.004030b0
mov byte [ebp - 4], 3
mov ebx, 1
mov dword [ebp - 0x1c], ebx
mov eax, dword [eax]
push 0x67b29c
mov ecx, dword [esi + 0xc8]
mov edx, dword [ecx + 8]
push edx
push eax
push str.MDTM__s_s_s
lea eax, [ebp - 0x18]
push eax
call fcn.00402f70
add esp, 0x14
mov dword [ebp - 4], 2
test bl, 1
je 0x5738ee
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 0x5738f6
sub eax, edi
push str.send___MDTM
push 0
push eax
push edx
mov ecx, dword [esi + 0x3204]
push ecx
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.00562640
mov edi, eax
test edi, edi
je 0x57395a
mov edx, dword [esi + 0x3214]
mov dword [edx + 0x14c], 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 + 0x31f8]
call fcn.005a9a50
mov ecx, esi
call fcn.00561f50
mov dword [esi + 0xa4], 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
Function at 0x578680
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x661c48
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x758898]
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 - 0x14], esi
call fcn.005b4a80
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi], vtable.FTPSession.0
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
mov dword [esi + 0x158], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x20], eax
mov dword [esi + 0xfc], eax
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0xc], ecx
mov ecx, esi
call fcn.005b4390
mov edx, dword [ebp + 0x18]
mov dword [esi + 8], edx
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x254], eax
mov ecx, esi
call fcn.00577cf0
push edi
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi + 0x888], eax
mov dword [ebp - 4], edi
jmp 0x57872e
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14