Function at 0x432d20
Capabilities:
Connect socket

Disassembly:
push rbp
sub rsp, 0x110
lea rbp, [rsp + 0x80]
mov rax, qword [rbp + 0xd0]
mov rax, qword [rbp + 0xc8]
mov rax, qword [rbp + 0xc0]
mov rax, qword [0x00442300]
mov rax, qword [rax]
xor rax, rbp
mov qword [rbp + 0x88], rax
mov qword [rbp + 0x48], rcx
mov qword [rbp + 0x40], rdx
mov dword [rbp + 0x3c], r8d
mov dword [rbp + 0x38], r9d
mov dword [rbp + 0x34], 0
mov dword [rbp + 0x30], 0xffffffff
mov dword [rbp + 0x5c], 0
mov rax, qword [rbp + 0xc8]
mov qword [rax], 0xffffffffffffffff
mov rcx, qword [rbp + 0xd0]
xor edx, edx
mov r8d, 0x10
call fcn.0041ba90
cmp qword [rbp + 0x40], 0
jne 0x432e0d
cmp qword [rbp + 0xc0], 0
je 0x432e01
mov rax, qword [rbp + 0xc0]
mov dword [rax], 1
mov rax, qword [rbp + 0xc0]
mov r8, qword [rax + 8]
mov rax, qword [rbp + 0xc0]
mov r9, qword [rax + 0x10]
lea rcx, str.NULL_host
mov rax, rsp
mov qword [rax + 0x28], rcx
lea rcx, [0x00447292]
mov qword [rax + 0x20], rcx
xor eax, eax
mov edx, eax
mov rcx, rdx
call fcn.0041efc0
mov dword [rbp + 0x50], 0
jmp 0x4333c8
cmp dword [rbp + 0x3c], 0
jle 0x432e28
mov ecx, dword [rbp + 0x3c]
call fcn.00433410
cmp eax, 0
jne 0x432e8a
cmp qword [rbp + 0xc0], 0
je 0x432e7e
mov rax, qword [rbp + 0xc0]
mov dword [rax], 1
mov rax, qword [rbp + 0xc0]
mov r8, qword [rax + 8]
mov rax, qword [rbp + 0xc0]
mov r9, qword [rax + 0x10]
lea rcx, str.invalid_port
mov rax, rsp
mov qword [rax + 0x28], rcx
lea rcx, [0x00447292]
mov qword [rax + 0x20], rcx
xor eax, eax
mov edx, eax
mov rcx, rdx
call fcn.0041efc0
mov dword [rbp + 0x50], 0
jmp 0x4333c8
mov rdx, qword [rbp + 0x40]
mov r8, qword [rbp + 0xd0]
mov ecx, 2
mov r9d, 0x10
mov dword [rsp + 0x20], 1
call fcn.00433430
cmp eax, 0
je 0x432ed7
mov eax, dword [rbp + 0x3c]
mov cx, ax
call qword [sym.imp.WS2_32.dll_htons]
mov cx, ax
mov rax, qword [rbp + 0xd0]
mov word [rax + 2], cx
mov dword [rbp + 0x34], 4
cmp dword [rbp + 0x34], 0
jne 0x432f43
cmp qword [rbp + 0xc0], 0
je 0x432f37
mov rax, qword [rbp + 0xc0]
mov dword [rax], 0xf
mov rax, qword [rbp + 0xc0]
mov r8, qword [rax + 8]
mov rax, qword [rbp + 0xc0]
mov r9, qword [rax + 0x10]
lea rcx, str.host_not_found
mov rax, rsp
mov qword [rax + 0x28], rcx
lea rcx, [0x00447292]
mov qword [rax + 0x20], rcx
xor eax, eax
mov edx, eax
mov rcx, rdx
call fcn.0041efc0
mov dword [rbp + 0x50], 0
jmp 0x4333c8
cmp dword [rbp + 0x34], 4
jne 0x432f6d
mov ecx, 2
mov edx, 1
xor r8d, r8d
call qword [sym.imp.WS2_32.dll_socket]
mov rcx, rax
mov rax, qword [rbp + 0xc8]
mov qword [rax], rcx
mov rax, qword [rbp + 0xc8]
cmp qword [rax], 0xffffffffffffffff
jne 0x43300b
cmp qword [rbp + 0xc0], 0
je 0x432fff
mov rax, qword [rbp + 0xc0]
mov dword [rax], 9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov rax, qword [rbp + 0xc0]
mov dword [rax + 4], ecx
mov rax, qword [rbp + 0xc0]
mov rax, qword [rax + 8]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0xc0]
mov rax, qword [rax + 0x10]
mov qword [rbp + 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_strerror
mov r8, qword [rbp + 8]
mov r9, qword [rbp + 0x10]
mov rcx, rax
mov rax, rsp
mov qword [rax + 0x28], rcx
lea rcx, str.socket__:__s
mov qword [rax + 0x20], rcx
xor eax, eax
mov edx, eax
mov rcx, rdx
call fcn.0041efc0
mov dword [rbp + 0x50], 0
jmp 0x4333c8
mov rax, qword [rbp + 0xc8]
mov rcx, qword [rax]
call fcn.00433580
mov ecx, eax
xor eax, eax
cmp eax, ecx
je 0x4330d1
cmp qword [rbp + 0xc0], 0
je 0x4330a7
mov rax, qword [rbp + 0xc0]
mov dword [rax], 9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov rax, qword [rbp + 0xc0]
mov dword [rax + 4], ecx
mov rax, qword [rbp + 0xc0]
mov rax, qword [rax + 8]
mov qword [rbp - 8], rax
mov rax, qword [rbp + 0xc0]
mov rax, qword [rax + 0x10]
mov qword [rbp], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_strerror
mov r8, qword [rbp - 8]
mov r9, qword [rbp]
mov rcx, rax
mov rax, rsp
mov qword [rax + 0x28], rcx
lea rcx, str.Cannot_set_socket_to_non_blocking:__s
mov qword [rax + 0x20], rcx
xor eax, eax
mov edx, eax
mov rcx, rdx
call fcn.0041efc0
mov rax, qword [rbp + 0xc8]
mov rcx, qword [rax]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rax, qword [rbp + 0xc8]
mov qword [rax], 0xffffffffffffffff
mov dword [rbp + 0x50], 0
jmp 0x4333c8
mov rax, qword [rbp + 0xc8]
mov rcx, qword [rax]
mov r8, qword [rbp + 0x48]
xor eax, eax
mov edx, eax
call fcn.004335f0
cmp dword [rbp + 0x34], 4
jne 0x433112
mov rax, qword [rbp + 0xc8]
mov rcx, qword [rax]
mov rdx, qword [rbp + 0xd0]
mov r8d, 0x10
call qword [sym.imp.WS2_32.dll_connect]
mov dword [rbp + 0x30], eax
cmp dword [rbp + 0x30], 0
je 0x433125
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x5c], eax
cmp dword [rbp + 0x30], 0
je 0x4332f5
cmp dword [rbp + 0x5c], 0x2733
jne 0x4332f5
lea rax, [rbp + 0x5c]
mov qword [rbp + 0x28], rax
mov dword [rbp + 0x58], 4
mov dword [rbp + 0x1c], 0x2710
mov dword [rbp + 0x54], 0
mov dword [rbp + 0x18], 1
mov rax, qword [rbp + 0xc8]
mov rax, qword [rax]
mov qword [rbp + 0x60], rax
mov word [rbp + 0x68], 4
cmp qword [rbp + 0x48], 0
je 0x4331c9
mov rax, qword [rbp + 0x48]
cmp dword [rax], 1
jne 0x4331c9
mov rax, qword [rbp + 0x48]
movsxd rcx, dword [rax + 0x7cd4]
mov eax, dword [rbp + 0x18]
mov edx, eax
lea rax, [rbp + 0x60]
shl rdx, 4
add rax, rdx
mov qword [rax], rcx
mov eax, dword [rbp + 0x18]
mov ecx, eax
lea rax, [rbp + 0x60]
shl rcx, 4
add rax, rcx
mov word [rax + 8], 1
mov eax, dword [rbp + 0x18]
add eax, 1
mov dword [rbp + 0x18], eax
lea rax, [rbp + 0x60]
mov qword [rbp - 0x18], rax
mov eax, dword [rbp + 0x18]
mov dword [rbp - 0x10], eax
mov eax, dword [rbp + 0x1c]
mov dword [rbp - 0xc], eax
cmp qword [rbp + 0x48], 0
je 0x4331f9
mov rax, qword [rbp + 0x48]
add rax, 0x28
mov qword [rbp - 0x20], rax
jmp 0x433206
lea rax, [rbp + 0x54]
mov qword [rbp - 0x20], rax
jmp 0x433206
mov r8d, dword [rbp - 0xc]
mov edx, dword [rbp - 0x10]
mov rcx, qword [rbp - 0x18]
mov r9, qword [rbp - 0x20]
call fcn.0042e280
mov dword [rbp + 0x20], eax
cmp dword [rbp + 0x20], 1
je 0x4332aa
cmp qword [rbp + 0xc0], 0
je 0x433280
mov rax, qword [rbp + 0xc0]
mov dword [rax], 0x10
mov rax, qword [rbp + 0xc0]
mov r8, qword [rax + 8]
mov rax, qword [rbp + 0xc0]
mov r9, qword [rax + 0x10]
mov rcx, qword [rbp + 0x40]
mov edx, dword [rbp + 0x3c]
mov rax, rsp
mov dword [rax + 0x30], edx
mov qword [rax + 0x28], rcx
lea rcx, str.connect__s:_d_:_timeout
mov qword [rax + 0x20], rcx
xor eax, eax
mov edx, eax
mov rcx, rdx
call fcn.0041efc0
mov rax, qword [rbp + 0xc8]
mov rcx, qword [rax]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rax, qword [rbp + 0xc8]
mov qword [rax], 0xffffffffffffffff
mov dword [rbp + 0x50], 0
jmp 0x4333c8
mov rax, qword [rbp + 0xc8]
mov rcx, qword [rax]
mov r9, qword [rbp + 0x28]
mov edx, 0xffff
mov r8d, 0x1007
lea rax, [rbp + 0x58]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_getsockopt]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jne 0x4332f0
cmp dword [rbp + 0x5c], 0
jne 0x4332f0
mov dword [rbp + 0x30], 0
jmp 0x4332f5
cmp dword [rbp + 0x30], 0
je 0x4333c1
cmp qword [rbp + 0xc0], 0
je 0x433397
mov rax, qword [rbp + 0xc0]
mov dword [rax], 0x11
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov rax, qword [rbp + 0xc0]
mov dword [rax + 4], ecx
mov rax, qword [rbp + 0xc0]
mov rax, qword [rax + 8]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp + 0xc0]
mov rax, qword [rax + 0x10]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp + 0x40]
mov qword [rbp - 0x38], rax
mov eax, dword [rbp + 0x3c]
mov dword [rbp - 0x3c], eax
mov ecx, dword [rbp + 0x5c]
call sub.api_ms_win_crt_runtime_l1_1_0.dll_strerror
mov edx, dword [rbp - 0x3c]
mov rcx, qword [rbp - 0x38]
mov r8, qword [rbp - 0x30]
mov r9, qword [rbp - 0x28]
mov r10, rax
mov rax, rsp
mov qword [rax + 0x38], r10
mov dword [rax + 0x30], edx
mov qword [rax + 0x28], rcx
lea rcx, str.connect__s:_d_:_error__s
mov qword [rax + 0x20], rcx
xor eax, eax
mov edx, eax
mov rcx, rdx
call fcn.0041efc0
mov rax, qword [rbp + 0xc8]
mov rcx, qword [rax]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rax, qword [rbp + 0xc8]
mov qword [rax], 0xffffffffffffffff
mov dword [rbp + 0x50], 0
jmp 0x4333c8
mov dword [rbp + 0x50], 1
mov eax, dword [rbp + 0x50]
mov dword [rbp - 0x40], eax
mov rcx, qword [rbp + 0x88]
xor rcx, rbp
mov rax, qword [0x00442300]
mov rax, qword [rax]
sub rax, rcx
jne 0x4333f0
jmp 0x4333f5
call fcn.0041bf30
mov eax, dword [rbp - 0x40]
add rsp, 0x110
pop rbp
ret