joyce8/EMBER2024-capa huggingface dataset:
Function at 0x565390
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 0x6561a0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x74d890]
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 0x56540c
mov ecx, dword [0x753a48]
push ecx
mov ecx, dword [esi + 0xac]
call fcn.00561de0
mov edx, dword [esi + 0x3204]
mov eax, 0x755a
mov dword [edx + 0x140], eax
jmp 0x5655b7
mov dword [esi + 0x323c], ebx
lea edi, [esi + 0x3a40]
push edi
mov ecx, esi
call fcn.00564f60
cmp eax, ebx
jne 0x5655b7
mov eax, dword [esi + 0x194]
cmp eax, ebx
je 0x56543e
cmp byte [eax + 0x15c], bl
jne 0x565589
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 0x5654c7
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.006186ab
add esp, 0xc
push 1
mov edx, dword [0x753a3c]
push edx
mov ecx, esi
call fcn.00559660
lea eax, [ebp + 0x134]
push eax
mov ecx, esi
call fcn.00558e10
mov ecx, dword [0x753a3c]
push ecx
mov ecx, dword [esi + 0xac]
call fcn.00561de0
mov edx, dword [esi + 0x3204]
mov dword [edx + 0x140], ebx
mov eax, ebx
jmp 0x5655b7
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 0x56545a
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.006186ab
add esp, 0x20
push 1
mov ecx, dword [0x753aec]
push ecx
mov ecx, esi
call fcn.00559660
lea eax, [ebp + 0x20]
lea edx, [eax + 1]
jmp 0x565530
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x565530
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.00559750
test eax, eax
je 0x56556b
mov ecx, dword [esi + 0x3204]
mov dword [ecx + 0x140], eax
jmp 0x5655b7
push 6
lea ecx, [esi + 0x31e8]
call fcn.0059f480
mov ecx, esi
call fcn.00559070
mov dword [esi + 0x9c], 4
xor eax, eax
jmp 0x5655b7
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.006157d3
add ebp, 0x158
mov esp, ebp
pop ebp
ret
Function at 0x5655e0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6561d0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x74d890]
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.00615eb0
add esp, 0xc
push str.recv___PORT
push edi
mov ecx, esi
call fcn.00564430
test eax, eax
jne 0x565722
push str.Reply_on_PORT:_n
mov ecx, esi
call fcn.00558e10
push edi
mov ecx, esi
call fcn.00558e10
mov ecx, esi
cmp byte [edi], 0x32
je 0x5656af
push 1
mov eax, dword [0x753a40]
push eax
call fcn.00559660
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.00561de0
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 [0x753af0]
push eax
call fcn.00559660
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 0x5658c0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x656210
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x74d890]
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 [0x753b04]
push eax
call fcn.00559660
push 0x67029c
push edi
push str.TYPE__s_s
lea ecx, [ebp - 0x128]
push ecx
call fcn.006186ab
add esp, 0x10
lea eax, [ebp - 0x128]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x565933
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.00559750
test eax, eax
je 0x565971
mov ecx, dword [esi + 0x3204]
mov dword [ecx + 0x140], eax
jmp 0x5659c9
lea ecx, [esi + 0x31e8]
cmp byte [edi], 0x41
jne 0x565980
push 0x11
jmp 0x565982
push 7
call fcn.0059f480
mov ecx, esi
call fcn.00559070
mov dword [esi + 0x9c], 4
xor eax, eax
jmp 0x5659c9
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.006157d3
mov esp, ebp
pop ebp
ret 4
Function at 0x565b10
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
lea ebp, [esp - 0x118]
sub esp, 0x118
push 0xffffffffffffffff
push 0x656260
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x74d890]
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 [0x753b10]
push eax
call fcn.00559660
mov edi, dword [ebp + 0x120]
mov ecx, dword [ebp + 0x124]
cmp byte [esi + 0xd0], bl
je 0x565b7c
add edi, 0x30
adc ecx, ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], ecx
cmp byte [esi + 0xd7], bl
je 0x565bad
mov eax, dword [esi + 0x18c]
cdq
cmp ecx, edx
jl 0x565ba7
jg 0x565b9b
cmp edi, eax
jb 0x565ba7
sub edi, eax
mov dword [ebp - 0x18], edi
sbb ecx, edx
mov dword [ebp - 0x14], ecx
jmp 0x565bad
mov byte [esi + 0xd7], bl
mov dword [esi + 0x3a60], edi
mov dword [esi + 0x3a64], ecx
push 0x67029c
push ecx
push edi
push str.REST__I64d_s
lea ecx, [ebp]
push ecx
call fcn.006186ab
add esp, 0x14
lea edx, [ebp]
push edx
mov ecx, esi
call fcn.00558e10
lea eax, [ebp]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x565be2
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.00559750
cmp eax, ebx
je 0x565c1c
mov edx, dword [esi + 0x3204]
mov dword [edx + 0x140], eax
jmp 0x565c68
push 0xa
lea ecx, [esi + 0x31e8]
call fcn.0059f480
mov ecx, esi
call fcn.00559070
mov dword [esi + 0x9c], 4
xor eax, eax
jmp 0x565c68
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.006157d3
add ebp, 0x118
mov esp, ebp
pop ebp
ret 8
Function at 0x565f10
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
lea ebp, [esp - 0x2da4]
mov eax, 0x2da4
call fcn.00616f00
push 0xffffffffffffffff
push 0x6562d0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x74d890]
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.00615eb0
mov ecx, dword [edi]
push ecx
push esi
mov edx, dword [ebx]
push edx
call fcn.00615eb0
add esp, 0x18
jmp 0x565f90
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 0x566040
mov edx, dword [ebp - 0x14]
lea esi, [eax + edx]
mov dword [ebp - 0x24], esi
cmp esi, dword [edi]
jle 0x566025
mov eax, dword [ebx]
mov dword [ebp - 0x20], eax
lea edi, [esi + esi]
push edi
call fcn.005e9aa7
add esp, 4
mov esi, eax
test esi, esi
jne 0x565ff1
push 1
mov ecx, dword [0x75397c]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.00559660
mov eax, 0x753b
jmp 0x566074
push edi
push 0
push esi
call fcn.00615eb0
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
push eax
mov ecx, dword [ebx]
push ecx
push esi
call fcn.00617370
mov dword [ebx], esi
mov edx, dword [ebp - 0x18]
mov dword [edx], edi
mov eax, dword [ebp - 0x20]
push eax
call fcn.005e9ab2
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.00617370
add esp, 0xc
mov dword [ebp - 0x14], esi
jmp 0x565f90
xor eax, eax
jmp 0x566074
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.006157d3
add ebp, 0x2da4
mov esp, ebp
pop ebp
ret 0xc
Function at 0x567910
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x656578
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x74d890]
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 0x567a6a
cmp dword [eax + 0x168], ebx
je 0x567a6a
lea ecx, [ebp - 0x14]
call fcn.00402500
mov byte [ebp - 4], 1
push 1
mov eax, dword [0x753abc]
push eax
mov ecx, esi
call fcn.00559660
push 0x67029c
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.00402f70
add esp, 0x10
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, esi
call fcn.00558e10
mov edx, dword [ebp - 0x14]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x5679b0
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.00559750
mov edi, eax
cmp edi, ebx
je 0x567a06
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.0059f480
mov ecx, esi
call fcn.00559070
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 0x567a80
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6565a8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x74d890]
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 [0x753ac0]
push eax
mov ecx, esi
call fcn.00559660
push 0x67029c
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.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 0x567af8
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.00559750
mov edi, eax
cmp edi, ebx
je 0x567b4e
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.0059f480
mov ecx, esi
call fcn.00559070
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 0x567bd0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6565d8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x74d890]
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 0x567d1f
cmp dword [eax + 0x16c], ebx
je 0x567d1f
lea ecx, [ebp - 0x14]
call fcn.00402500
mov byte [ebp - 4], 1
push 1
mov eax, dword [0x753ac0]
push eax
mov ecx, esi
call fcn.00559660
push 0x67029c
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.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 0x567c65
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.00559750
mov edi, eax
cmp edi, ebx
je 0x567cbb
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.0059f480
mov ecx, esi
call fcn.00559070
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 0x568530
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x656698
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x74d890]
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 [0x753a9c]
push eax
mov ecx, esi
call fcn.00559660
mov ecx, dword [esi + 0xc0]
mov eax, dword [ecx + 4]
push 0x67029c
push 0x67029c
cmp eax, ebx
je 0x5685ab
push eax
push str.CWD__s_sTYPE_I_s
lea edx, [ebp - 0x14]
push edx
call fcn.00402f70
add esp, 0x14
jmp 0x5685bc
push str.TYPE_I_sNOOP_s
lea eax, [ebp - 0x14]
push eax
call fcn.00402f70
add esp, 0x10
mov dword [esi + 0x9c], 0xb
mov ecx, esi
call fcn.00559070
push 0x3ff
push ebx
lea ecx, [esi + 0x3240]
push ecx
call fcn.00615eb0
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 0x5685f0
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.00559750
mov edi, eax
cmp edi, ebx
je 0x568627
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 0x568750
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6566f1
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x74d890]
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 0x5687fb
mov ecx, dword [esi + 0xc0]
mov eax, dword [ecx + 0x14]
cmp eax, 0x15
je 0x5687cc
push eax
push str.:_ld
lea edx, [ebp - 0x18]
push edx
call fcn.00402f70
add esp, 0xc
jmp 0x5687d9
push 0x66e97c
lea ecx, [ebp - 0x18]
call fcn.00546c40
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.00402f70
add esp, 0x14
lea ecx, [ebp - 0x14]
call fcn.00402500
mov byte [ebp - 4], 3
push 1
mov edx, dword [0x753abc]
push edx
mov ecx, esi
call fcn.00559660
mov eax, dword [esi + 0x194]
cmp dword [eax], ebx
je 0x568826
mov eax, dword [ebp - 0x1c]
jmp 0x568846
mov ecx, dword [esi + 0xc0]
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 0x67029c
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 0x568877
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.00558e10
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 0x568890
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.00559750
mov edi, eax
test edi, edi
je 0x568900
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.0059f480
mov ecx, esi
call fcn.00559070
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 0x56a750
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6569b9
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x74d890]
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 0x66e97c
lea ecx, [ebp - 0x14]
call fcn.004030b0
mov byte [ebp - 4], 2
mov eax, dword [esi + 0xc0]
mov ecx, dword [eax + 4]
cmp ecx, ebx
je 0x56a7e8
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x56a7b7
sub eax, edi
test eax, eax
jle 0x56a7e8
cmp byte [ecx + eax - 1], 0x2f
mov eax, 0x66e97c
je 0x56a7d5
mov eax, 0x672df8
push eax
push ecx
push 0x66dde0
lea ecx, [ebp - 0x14]
push ecx
call fcn.00402f70
add esp, 0x10
push str.Get_MDTM..._r_n
mov ecx, esi
call fcn.00558e10
mov edx, dword [esi + 0xc0]
cmp byte [edx + 0x19d], 0
je 0x56a808
mov eax, dword [ebp - 0x14]
jmp 0x56a823
push 0x66e97c
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 0x67029c
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.00402f70
add esp, 0x14
mov dword [ebp - 4], 2
test bl, 1
je 0x56a85e
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 0x56a866
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.00559750
mov edi, eax
test edi, edi
je 0x56a8ca
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.0059f480
mov ecx, esi
call fcn.00559070
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
Function at 0x56f600
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x656d58
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x74d890]
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.005aa4c0
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 + 0x14c], 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.005a9d50
mov edx, dword [ebp + 0x18]
mov dword [esi + 8], edx
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x24c], eax
mov ecx, esi
call fcn.0056ec70
push edi
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi + 0x880], eax
mov dword [ebp - 4], edi
jmp 0x56f6ae
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