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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62b237
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov eax, dword [0x6f175c]
push ebx
push esi
push edi
mov ebx, ecx
xor esi, esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], eax
push 0x6f5cb8
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.0060193a
mov ecx, dword [0x6f753c]
push 1
push ecx
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.0054b020
mov edx, dword [ebx + 0xb0]
mov edx, dword [edx + 4]
cmp edx, esi
je 0x5581ad
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, esi
jle 0x5581ad
mov al, byte [edx + ecx - 1]
cmp al, 0x2f
mov eax, 0x6f5cb8
je 0x55819a
mov eax, 0x6c7ddc
push eax
push edx
lea eax, [ebp - 0x1c]
push 0x6c5124
push eax
call fcn.005fa6fb
add esp, 0x10
mov ecx, dword [ebx + 0xb0]
mov al, byte [ecx + 0x189]
test al, al
je 0x5581c2
mov eax, dword [ebp - 0x1c]
jmp 0x5581dc
push 0x6f5cb8
lea ecx, [ebp - 0x24]
call fcn.0060193a
mov dword [ebp - 0x20], 1
mov eax, dword [eax]
mov byte [ebp - 4], 3
mov edx, dword [ebx + 0xb0]
push 0x6c5da8
mov ecx, dword [edx + 8]
lea edx, [ebp - 0x18]
push ecx
push eax
push str.RETR__s_s_s
push edx
call fcn.005fa6fb
mov al, byte [ebp - 0x20]
add esp, 0x14
test al, 1
mov dword [ebp - 4], 2
je 0x558213
lea ecx, [ebp - 0x24]
call fcn.006018cc
mov eax, dword [0x6f175c]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebx + 0xb0]
mov byte [ebx + 0x320f], 0
mov byte [ebp - 4], 4
mov al, byte [ecx + 0x186]
test al, al
je 0x558329
mov esi, dword [ebp - 0x18]
xor edi, edi
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x2c], edi
mov word [ebp - 0x30], di
call fcn.00401070
cmp esi, edi
je 0x55829e
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x55829e
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
push eax
push 0xffffffffffffffff
push esi
push eax
push eax
call edi
test eax, eax
mov dword [ebp - 0x2c], eax
je 0x55829e
lea edx, [eax + eax + 2]
push edx
call fcn.005fdccd
add esp, 4
mov dword [ebp - 0x34], eax
test eax, eax
je 0x5582a1
mov ecx, dword [ebp - 0x2c]
push ecx
push eax
push 0xffffffffffffffff
push esi
push 0
push 0
call edi
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x34]
test eax, eax
mov byte [ebp - 4], 5
jne 0x5582ac
lea eax, [ebp - 0x30]
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call edi
mov esi, eax
test esi, esi
je 0x5582fc
push esi
lea ecx, [ebp - 0x14]
call fcn.00601c99
mov ecx, dword [ebp - 0x34]
test ecx, ecx
jne 0x5582df
lea ecx, [ebp - 0x30]
push 0
push 0
push esi
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0xfde9
call edi
test eax, eax
je 0x5582fc
mov byte [ebx + 0x320f], 1
mov al, byte [ebx + 0x320f]
test al, al
jne 0x55831b
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push edx
push 0x6c5098
push eax
call fcn.005fa6fb
add esp, 0xc
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call fcn.00401070
jmp 0x55833e
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
push ecx
push 0x6c5098
push edx
call fcn.005fa6fb
add esp, 0xc
mov edx, dword [ebp - 0x14]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [ebx + 0x31e4]
push str.send___RETR
not ecx
dec ecx
push 0
push ecx
push edx
push eax
call sub.WS2_32.dll_send
push eax
mov ecx, ebx
call fcn.0054b1b0
mov esi, eax
test esi, esi
je 0x5583b3
mov ecx, dword [ebx + 0x31f4]
mov byte [ebp - 4], 2
mov dword [ecx + 0x140], esi
lea ecx, [ebp - 0x14]
call fcn.006018cc
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.006018cc
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.006018cc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xb
lea ecx, [ebx + 0x31d8]
call fcn.0059ba50
mov ecx, ebx
call fcn.0054d540
mov ecx, ebx
mov dword [ebx + 0x8c], 4
call fcn.005553c0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.006018cc
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.006018cc
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.006018cc
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret