Function at 0x4471f6
Capabilities:
Connect socket
Send data
Send data on socket
Set socket configuration

Disassembly:
push 0x248
mov eax, 0x4cd3a5
call fcn.004019a4
mov esi, ecx
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp + 0x18]
cmp dword [ebx + 0x14], 0
mov dword [ebp - 0x250], eax
je 0x44722a
or eax, 0xffffffff
jmp 0x44757a
mov eax, dword [ebp + 0x14]
push 2
pop edi
cmp eax, 1
je 0x44724e
cmp eax, edi
je 0x44724e
push eax
lea eax, [ebx + 0x40]
push str.Invalid_direction__d_n
push eax
call dword [sym.imp.msvcrt.dll_sprintf]
add esp, 0xc
jmp 0x447222
push 0x10
lea eax, [ebp - 0x238]
push 0
push eax
call dword [sym.imp.msvcrt.dll_memset]
add esp, 0xc
mov word [ebp - 0x238], di
push ebx
push 0x32
push str.PASV
call fcn.00446a14
test eax, eax
je 0x447222
lea eax, [ebx + 0x40]
push 0x28
push eax
mov dword [ebp - 0x248], eax
call dword [sym.imp.msvcrt.dll_strchr]
pop ecx
pop ecx
test eax, eax
je 0x447222
lea ecx, [ebp - 0x224]
inc eax
push ecx
lea ecx, [ebp - 0x228]
push ecx
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x220]
push ecx
push str._d__d__d__d__d__d
push eax
call dword [sym.imp.msvcrt.dll_sscanf]
add esp, 0x20
cmp byte [ebx + 0x444], 0
je 0x4472eb
lea eax, [ebp - 0x228]
mov ecx, esi
push eax
call fcn.00447c42
test eax, eax
je 0x447222
mov al, byte [ebp - 0x220]
mov byte [ebp - 0x234], al
mov al, byte [ebp - 0x21c]
mov byte [ebp - 0x233], al
mov al, byte [ebp - 0x218]
mov byte [ebp - 0x232], al
mov al, byte [ebp - 0x214]
mov byte [ebp - 0x231], al
mov al, byte [ebp - 0x228]
mov byte [ebp - 0x236], al
mov al, byte [ebp - 0x224]
mov byte [ebp - 0x235], al
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x440]
test eax, eax
je 0x44736d
push eax
lea eax, [ebp - 0x210]
push str.REST__lld
push eax
call dword [sym.imp.msvcrt.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x210]
push ebx
push 0x33
push eax
call fcn.00446a14
test eax, eax
je 0x44757a
push 6
xor esi, esi
inc esi
push esi
push edi
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
je 0x447222
push 4
lea eax, [ebp - 0x254]
mov dword [ebp - 0x254], esi
mov esi, dword [sym.imp.WS2_32.dll_setsockopt]
push eax
push 4
push 0xffff
push edi
call esi
cmp eax, 0xffffffff
jne 0x4473b5
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x447222
xor eax, eax
push 4
mov dword [ebp - 0x244], eax
lea eax, [ebp - 0x244]
push eax
push 0x80
push 0xffff
push edi
call esi
or esi, 0xffffffff
cmp eax, esi
jne 0x4473e8
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, esi
jmp 0x44757a
push dword [ebp - 0x250]
lea eax, [ebp - 0x110]
push str._s_r_n
push eax
call dword [sym.imp.msvcrt.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x110]
push 0
push eax
call dword [sym.imp.msvcrt.dll_strlen]
pop ecx
push eax
lea eax, [ebp - 0x110]
push eax
push dword [ebx + 0x18]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x447455
lea ecx, [ebp - 0x240]
call fcn.0044826f
lea ecx, [ebp - 0x240]
call fcn.00421884
lea ecx, [ebp - 0x240]
mov dword [ebp - method.mc::MyStrPath.virtual_0], vtable.micro::utils::QString.0
call fcn.004b9e50
jmp 0x4473e1
push 0x10
lea eax, [ebp - 0x238]
push eax
push edi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, esi
jne 0x447488
lea ecx, [ebp - 0x240]
call fcn.0044826f
lea ecx, [ebp - 0x240]
call fcn.00421884
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x44743e
push ebx
push 0x31
call fcn.00446785
test eax, eax
jne 0x447518
xor ebx, ebx
lea ecx, [ebp - 0x24c]
push ebx
push esi
push dword [ebp - 0x248]
call fcn.004b9de6
mov dword [ebp - 4], ebx
mov esi, vtable.micro::utils::QString.0
mov dword [ebp - 0x240], esi
mov dword [ebp - 0x23c], ebx
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x240]
call fcn.004ba6d4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x24c], esi
call fcn.004b9e50
lea ecx, [ebp - 0x240]
call fcn.00421884
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x240], esi
call fcn.004b9e50
jmp 0x447222
push 0x448
call dword [sym.imp.msvcrt.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, eax
pop ecx
test esi, esi
je 0x447533
mov ecx, esi
call fcn.004c56bd
jmp 0x447535
xor esi, esi
test esi, esi
je 0x4473a9
push 0x448
push 0
push esi
call dword [sym.imp.msvcrt.dll_memset]
mov eax, dword [ebp + 0x14]
xor ecx, ecx
mov dword [esi + 0x14], eax
add esp, 0xc
mov dword [esi + 0x18], edi
cmp dword [ebx + 0x34], 1
cmove ecx, ebx
xor eax, eax
mov dword [esi + 0x30], ecx
inc eax
mov ecx, dword [ebx + 0x38]
mov dword [esi + 0x38], ecx
mov ecx, dword [ebx + 0x3c]
mov dword [esi + 0x3c], ecx
mov ecx, dword [ebp - 0x23c]
mov dword [ecx], esi
call fcn.00401a27
ret 0x14