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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65e769
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x755898]
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 - 0x34], esi
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x24]
call fcn.00402500
mov byte [ebp - 4], 1
push 0x676974
lea ecx, [ebp - 0x2c]
call fcn.004030b0
mov byte [ebp - 4], 2
push 1
mov eax, dword [0x75bb34]
push eax
mov ecx, esi
call fcn.00560b40
mov ecx, dword [esi + 0xc0]
mov ecx, dword [ecx + 4]
cmp ecx, ebx
je 0x56ff21
mov eax, ecx
lea edi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x56fef0
sub eax, edi
test eax, eax
jle 0x56ff21
cmp byte [ecx + eax - 1], 0x2f
mov eax, 0x676974
je 0x56ff0e
mov eax, 0x67ae60
push eax
push ecx
push 0x675de0
lea edx, [ebp - 0x2c]
push edx
call fcn.00402f70
add esp, 0x10
mov eax, dword [esi + 0xc0]
cmp byte [eax + 0x19d], 0
je 0x56ff35
mov eax, dword [ebp - 0x2c]
jmp 0x56ff50
push 0x676974
lea ecx, [ebp - 0x38]
call fcn.004030b0
mov byte [ebp - 4], 3
mov ebx, 1
mov dword [ebp - 0x30], ebx
mov eax, dword [eax]
push 0x678294
mov ecx, dword [esi + 0xc0]
mov edx, dword [ecx + 8]
push edx
push eax
push str.RETR__s_s_s
lea eax, [ebp - 0x24]
push eax
call fcn.00402f70
add esp, 0x14
mov dword [ebp - 4], 2
test bl, 1
je 0x56ff8b
and ebx, 0xfffffffe
mov dword [ebp - 0x30], ebx
lea ecx, [ebp - 0x38]
call fcn.00402570
lea ecx, [ebp - 0x28]
call fcn.00402500
mov byte [ebp - 4], 4
mov byte [esi + 0x3227], 0
mov ecx, dword [esi + 0xc0]
mov edx, dword [ebp - 0x24]
push edx
cmp byte [ecx + 0x19a], 0
je 0x570047
lea ecx, [ebp - 0x20]
call fcn.00406f80
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x56ffcb
lea eax, [ebp - 0x1c]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
call ebx
mov edi, eax
test edi, edi
je 0x57001b
push edi
lea ecx, [ebp - 0x28]
call fcn.00402850
mov ecx, dword [ebp - 0x20]
test ecx, ecx
jne 0x56fffe
lea ecx, [ebp - 0x1c]
push 0
push 0
push edi
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0xfde9
call ebx
test eax, eax
je 0x57001b
mov byte [esi + 0x3227], 1
cmp byte [esi + 0x3227], 0
jne 0x570039
mov eax, dword [ebp - 0x24]
push eax
push 0x675ea0
lea ecx, [ebp - 0x28]
push ecx
call fcn.00402f70
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.00401210
jmp 0x570058
push 0x675ea0
lea eax, [ebp - 0x28]
push eax
call fcn.00402f70
add esp, 0xc
mov edx, dword [ebp - 0x28]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x570060
sub eax, edi
push str.send___RETR
push 0
push eax
push edx
mov ecx, dword [esi + 0x31fc]
push ecx
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.00560c30
mov edi, eax
test edi, edi
je 0x5700c0
mov edx, dword [esi + 0x320c]
mov dword [edx + 0x144], edi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00402570
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00402570
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00402570
mov eax, edi
jmp 0x570137
push 0xb
lea ecx, [esi + 0x31f0]
call fcn.005a6df0
mov ecx, esi
call fcn.00560550
mov dword [esi + 0x9c], 4
mov ecx, esi
call fcn.0056b1e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00402570
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00402570
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00402570
xor eax, eax
jmp 0x570137
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.0061d2ff
mov esp, ebp
pop ebp
ret