Function at 0x1400f0790
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov dword [rsp + 0x24], 3
mov r8d, 4
mov edx, reloc.WS2_32.dll_recv
mov ecx, dword [rsp + 0x88]
call fcn.1401155e0
mov dword [rsp + 0x2c], eax
mov r8d, 4
mov edx, ntohs
mov ecx, dword [rsp + 0x88]
call fcn.1401155e0
mov dword [rsp + 0x54], eax
mov r8d, 4
xor edx, edx
mov ecx, dword [rsp + 0x88]
call fcn.1401155e0
mov dword [rsp + 0x64], eax
mov r8d, ntohs
xor edx, edx
mov ecx, dword [rsp + 0x88]
call fcn.1401155e0
mov dword [rsp + 0x44], eax
mov r8d, 4
mov edx, 0x1c
mov ecx, dword [rsp + 0x88]
call fcn.1401155e0
mov dword [rsp + 0x6c], eax
mov r8d, 1
mov edx, 0x19
mov ecx, dword [rsp + 0x88]
call fcn.1401155e0
mov dword [rsp + 0x60], eax
mov r8d, 1
mov edx, 0x18
mov ecx, dword [rsp + 0x88]
call fcn.1401155e0
mov dword [rsp + 0x40], eax
mov r8d, 1
mov edx, reloc.WS2_32.dll_setsockopt
mov ecx, dword [rsp + 0x88]
call fcn.1401155e0
mov dword [rsp + 0x5c], eax
mov dword [rsp + 0x3c], 0
mov rcx, qword [rsp + 0x80]
call fcn.1400a5900
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x1a5
jb 0x1400f08ff
cmp dword [rsp + 0x30], 0x1a8
jbe 0x1400f08c4
cmp dword [rsp + 0x30], 0x1bc
jbe 0x1400f08ff
cmp dword [rsp + 0x30], 0x1c0
jbe 0x1400f08c4
jmp 0x1400f08ff
mov r9, qword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
mov edx, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x80]
call fcn.1400ef680
mov edx, eax
lea rcx, [rsp + 0x24]
call fcn.1400ef620
movzx eax, al
test eax, eax
jne 0x1400f08ff
xor eax, eax
jmp 0x1400f0c3d
mov r9, qword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
mov edx, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x80]
call fcn.1400ef680
mov edx, eax
lea rcx, [rsp + 0x24]
call fcn.1400ef620
movzx eax, al
test eax, eax
jne 0x1400f093a
xor eax, eax
jmp 0x1400f0c3d
mov rcx, qword [rsp + 0x80]
call fcn.1400a5900
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0x9c
jb 0x1400f09b0
cmp dword [rsp + 0x34], 0x9f
jbe 0x1400f0975
cmp dword [rsp + 0x34], 0xbd
jbe 0x1400f09b0
cmp dword [rsp + 0x34], 0xc1
jbe 0x1400f0975
jmp 0x1400f09b0
mov r9, qword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
mov edx, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x80]
call fcn.1400ef680
mov edx, eax
lea rcx, [rsp + 0x24]
call fcn.1400ef620
movzx eax, al
test eax, eax
jne 0x1400f09b0
xor eax, eax
jmp 0x1400f0c3d
mov r9, qword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
mov edx, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x80]
call fcn.1400ef680
mov edx, eax
lea rcx, [rsp + 0x24]
call fcn.1400ef620
movzx eax, al
test eax, eax
jne 0x1400f09eb
xor eax, eax
jmp 0x1400f0c3d
mov dword [rsp + 0x48], 1
mov r8d, 1
mov edx, reloc.WS2_32.dll_socket
mov ecx, dword [rsp + 0x88]
call fcn.1401155e0
test eax, eax
jne 0x1400f0a16
mov dword [rsp + 0x48], 0
cmp dword [rsp + 0x40], 0
je 0x1400f0a2e
cmp dword [rsp + 0x5c], 1
je 0x1400f0a2e
mov dword [rsp + 0x4c], 0
jmp 0x1400f0a36
mov dword [rsp + 0x4c], 1
cmp dword [rsp + 0x4c], 0
jne 0x1400f0a47
mov dword [rsp + 0x50], 0
jmp 0x1400f0a4f
mov dword [rsp + 0x50], 1
movzx eax, byte [rsp + 0x50]
mov byte [rsp + 0x20], al
cmp dword [rsp + 0x40], 0
je 0x1400f0a72
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1400f0a72
mov dword [rsp + 0x3c], 1
jmp 0x1400f0a8a
cmp dword [rsp + 0x40], 0
jne 0x1400f0a8a
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1400f0a8a
mov dword [rsp + 0x3c], 2
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1400f0aac
cmp dword [rsp + 0x2c], 0xf
je 0x1400f0aa4
mov eax, dword [rsp + 0x54]
cmp dword [rsp + 0x2c], eax
jne 0x1400f0aac
mov dword [rsp + 0x24], 1
cmp dword [rsp + 0x60], 0
je 0x1400f0bc3
mov r9, qword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
mov edx, dword [rsp + 0x64]
mov rcx, qword [rsp + 0x80]
call fcn.1400ef6e0
mov edx, eax
lea rcx, [rsp + 0x24]
call fcn.1400ef620
movzx eax, al
test eax, eax
jne 0x1400f0af2
xor eax, eax
jmp 0x1400f0c3d
mov dword [rsp + 0x28], 2
mov r8d, 2
mov edx, 5
mov ecx, dword [rsp + 0x88]
call fcn.1401155e0
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x1400f0b33
cmp dword [rsp + 0x38], 1
je 0x1400f0b3d
cmp dword [rsp + 0x38], 2
je 0x1400f0b47
cmp dword [rsp + 0x38], 3
je 0x1400f0b51
jmp 0x1400f0b5b
mov dword [rsp + 0x28], 2
jmp 0x1400f0b62
mov dword [rsp + 0x28], 3
jmp 0x1400f0b62
mov dword [rsp + 0x28], 1
jmp 0x1400f0b62
mov dword [rsp + 0x28], 4
jmp 0x1400f0b62
xor eax, eax
jmp 0x1400f0c3d
mov r8d, 5
mov edx, 7
mov ecx, dword [rsp + 0x88]
call fcn.1401155e0
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x28], 4
jne 0x1400f0b93
cmp dword [rsp + 0x58], 0
jne 0x1400f0b93
mov dword [rsp + 0x28], 5
mov r9d, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x28]
mov edx, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x48]
call fcn.1400eefe0
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x44]
mov edx, eax
mov rcx, qword [rsp + 0x80]
call fcn.1400a56a0
jmp 0x1400f0c01
xor edx, edx
mov rcx, qword [rsp + 0x80]
call fcn.1400a55f0
mov r9d, dword [rsp + 0x3c]
mov r8d, 2
mov edx, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x48]
call fcn.1400eefe0
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x68]
mov edx, eax
mov rcx, qword [rsp + 0x80]
call fcn.1400a56a0
mov r9, qword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
mov edx, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0x80]
call fcn.1400efc70
mov edx, eax
lea rcx, [rsp + 0x24]
call fcn.1400ef620
movzx eax, al
test eax, eax
jne 0x1400f0c39
xor eax, eax
jmp 0x1400f0c3d
mov eax, dword [rsp + 0x24]
add rsp, 0x78
ret