Function at 0x43e880
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Get local ipv4 addresses
Get socket information
Send data
Send data on socket

Disassembly:
sub esp, 0x100
mov eax, dword [0x554efc]
xor eax, esp
mov dword [esp + 0xfc], eax
push esi
mov esi, dword [esp + 0x108]
push edi
test esi, esi
je 0x43e9ee
push 6
push 1
xorps xmm0, xmm0
push 2
movups xmmword [esp + 0x18], xmm0
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 0x30], eax
mov ecx, 2
mov word [esp + 0xc], cx
mov dword [esp + 8], 0x10
cmp eax, 0xffffffff
jne 0x43e8e9
push str.socket_failed
push 0
push 9
call fcn.004224c0
add esp, 0xc
jmp 0x43e9ee
cmp dword [esi + 0x28], 0
je 0x43ea83
push str.PASV_r_n
lea eax, [esp + 0x40]
push 0xc8
push eax
call fcn.0040a4c0
lea ecx, [esp + 0x48]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43e911
push 0
sub ecx, edx
lea eax, [esp + 0x40]
push ecx
push eax
push dword [esi + 0x2c]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x43e94e
push str.send_failed
push 0
push 9
call fcn.004224c0
add esp, 0xc
push dword [esi + 0x30]
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x43e9e7
push esi
call fcn.0043ef30
mov edi, dword [sym.imp.WS2_32.dll_closesocket]
add esp, 4
cmp eax, 2
je 0x43e97b
mov ecx, dword [esi + 0x30]
push ecx
cmp eax, 5
je 0x43e943
call edi
mov dword [esi + 0x30], 0xffffffff
mov dword [esi + 0x28], 0
mov eax, dword [esi + 0x448]
lea ecx, [esi + 0x3c]
add ecx, eax
mov al, byte [ecx]
cmp al, 0x30
jl 0x43e990
cmp al, 0x39
jle 0x43e997
test al, al
je 0x43e997
inc ecx
jmp 0x43e986
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x30]
push eax
push str._u__u__u__u__u__u
push ecx
call fcn.00424a50
add esp, 0x20
cmp eax, 6
je 0x43ea08
push str.Invalid_answer_to_PASV_n
push 0x7d0
push 9
call fcn.004224c0
mov eax, dword [esi + 0x30]
add esp, 0xc
cmp eax, 0xffffffff
je 0x43e9ee
push eax
call edi
mov dword [esi + 0x30], 0xffffffff
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0xfc]
xor ecx, esp
call fcn.00457db8
add esp, 0x100
ret
movzx eax, byte [esp + 0x1c]
push dword [esp + 8]
mov byte [esp + 0x38], al
movzx eax, byte [esp + 0x24]
mov byte [esp + 0x39], al
movzx eax, byte [esp + 0x28]
mov byte [esp + 0x3a], al
movzx eax, byte [esp + 0x2c]
mov byte [esp + 0x3b], al
movzx eax, byte [esp + 0x30]
mov byte [esp + 0x3c], al
movzx eax, byte [esp + 0x34]
mov byte [esp + 0x3d], al
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], eax
mov ax, word [esp + 0x3c]
mov word [esp + 0x12], ax
lea eax, [esp + 0x10]
push eax
push dword [esi + 0x30]
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jns 0x43eb64
push str.Failed_to_create_a_data_connection
push 0
push 9
call fcn.004224c0
add esp, 0xc
push dword [esi + 0x30]
jmp 0x43e9e5
mov edi, dword [sym.imp.WS2_32.dll_getsockname]
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x10]
push ecx
push eax
call edi
push dword [esp + 8]
xor eax, eax
mov word [esp + 0x12], ax
lea eax, [esp + 0x10]
push eax
push dword [esi + 0x30]
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
jns 0x43eabd
push str.bind_failed
jmp 0x43e934
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x10]
push eax
push dword [esi + 0x30]
call edi
push 1
push dword [esi + 0x30]
call dword [sym.imp.WS2_32.dll_listen]
test eax, eax
jns 0x43eae5
push str.listen_failed
jmp 0x43e934
movzx eax, byte [esp + 0xf]
push eax
movzx eax, byte [esp + 0x12]
push eax
movzx eax, byte [esp + 0x1b]
push eax
movzx eax, byte [esp + 0x1e]
push eax
movzx eax, byte [esp + 0x21]
push eax
movzx eax, byte [esp + 0x24]
push eax
push str.PORT__d__d__d__d__d__d_r_n
lea eax, [esp + 0x58]
push 0xc8
push eax
call fcn.0040a4c0
lea ecx, [esp + 0x60]
mov byte [esp + 0x127], 0
add esp, 0x24
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43eb30
push 0
sub ecx, edx
lea eax, [esp + 0x40]
push ecx
push eax
push dword [esi + 0x2c]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
js 0x43e92f
push esi
call fcn.0043ef30
add esp, 4
cmp eax, 2
jne 0x43e940
mov eax, dword [esi + 0x30]
mov ecx, dword [esp + 0x104]
pop edi
pop esi
xor ecx, esp
call fcn.00457db8
add esp, 0x100
ret