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

Disassembly:
mov dword [rsp + 0x10], edx
push r15
sub rsp, 0x70
mov r15, rcx
test rcx, rcx
je 0x140091215
mov eax, dword [rcx + 0x750]
bt rax, 0x10
jae 0x14009150f
jmp 0x140091233
mov rax, qword [reloc.WS2_32.dll_htonl]
test rax, rax
je 0x140091233
mov eax, dword [rax + 0x150]
bt rax, 0x10
jae 0x14009150f
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0x98], rsi
mov qword [rsp + 0x68], rdi
xor ebx, ebx
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r14
mov r14, qword [0x1402e6b48]
mov esi, reloc.WS2_32.dll_recv
mov rbp, rbx
mov r13, rbx
mov r12d, ebx
nop word [rax + rax]
cmp esi, 0xb0
jle 0x14009132e
mov rcx, r14
call fcn.1401e3610
mov rdi, rax
test rax, rax
je 0x1400912db
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov dword [rax + 0x18], ebx
mov dword [rax + 0x1c], 2
mov eax, 1
mov qword [rdi + 0x28], rbx
mov word [rdi + 0x20], ax
lea rax, [rdi + 0x50]
mov dword [rdi + 0x38], ebx
mov qword [rdi + 0x30], rbx
mov dword [rdi + 0x3c], ebx
mov dword [rdi + 0x40], ebx
mov qword [rdi + 0x10], rax
mov word [rdi + 0x44], bx
mov word [rdi + 0x46], bx
mov qword [rdi + 0x48], rbx
mov rcx, qword [0x1402e6b50]
mov qword [rdi + 0x50], rbx
call fcn.1401e3610
mov rcx, qword [0x1402e6b58]
mov rbx, rax
call fcn.1401e3610
mov ecx, 1
mov dword [rax], ecx
or dword [rdi + 0x1c], ecx
mov qword [rdi + 0x50], rbx
mov qword [rdi + 0x10], rbx
xor ebx, ebx
mov qword [rdi + 0x70], rax
mov dword [rdi + 0x68], 0x800
mov dword [rdi + 0x78], ecx
mov eax, 0x800
mov qword [rdi + 0x58], rbx
mov qword [rdi + 0x60], rbx
jmp 0x1400913c7
test r12b, 2
je 0x14009138f
mov rcx, r14
call fcn.1401e3610
mov rdi, rax
test rax, rax
je 0x140091383
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov dword [rax + 0x18], ebx
mov dword [rax + 0x1c], 2
mov eax, 1
mov qword [rdi + 0x28], rbx
mov word [rdi + 0x20], ax
lea rax, [rdi + 0x50]
mov dword [rdi + 0x38], ebx
mov qword [rdi + 0x30], rbx
mov dword [rdi + 0x3c], ebx
mov dword [rdi + 0x40], ebx
mov qword [rdi + 0x10], rax
mov word [rdi + 0x44], bx
mov word [rdi + 0x46], bx
mov qword [rdi + 0x48], rbx
mov eax, 0xb0
cmp esi, eax
cmovl eax, esi
jmp 0x1400913c7
mov rcx, r14
call fcn.1401e3610
mov rdi, rax
test rax, rax
je 0x1400913bd
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov dword [rax + 0x18], ebx
mov dword [rax + 0x1c], ebx
mov eax, 1
mov word [rdi + 0x20], ax
lea rax, [rdi + 0x28]
mov qword [rdi + 0x10], rax
mov eax, 0xd8
cmp esi, eax
cmovl eax, esi
test rdi, rdi
je 0x1400914d6
cmp eax, 0x10
jl 0x1400914d1
sub esi, eax
test r13, r13
je 0x1400913e6
mov qword [r13], rdi
jmp 0x1400913e9
mov rbp, rdi
and r12d, 0xfffffffd
mov r13, rdi
test esi, esi
jg 0x140091280
test r12b, 4
je 0x140091402
or dword [rdi + 0x1c], 4
test rbp, rbp
je 0x1400914e3
mov rcx, qword [rbp + 0x10]
mov dword [rbp + 0x18], ebx
xor eax, eax
mov dword [rcx], eax
mov dword [rcx + 8], eax
mov dword [rcx + 0xc], eax
mov word [rcx + 2], bx
mov dword [rcx + 4], reloc.WS2_32.dll_recv
mov qword [rsp + 0x40], rbp
mov eax, 6
mov byte [rsp + 0x38], 0
mov dword [rsp + 0x30], ebx
mov word [rcx], ax
mov eax, dword [r15 + 0x6d0]
xor r9d, r9d
mov dword [rcx + 8], eax
mov eax, dword [r15 + 0x520]
xor r8d, r8d
mov dword [rcx + 0xc], eax
mov dword [rbp + 0x18], reloc.WS2_32.dll_recv
mov qword [rbp], rbx
mov eax, dword [r15 + 0x568]
mov rdx, qword [r15 + 0x3d0]
mov rcx, r15
mov word [rsp + 0x28], bx
mov dword [rsp + 0x20], eax
call fcn.1400c7a10
mov r8, rax
test rax, rax
je 0x1400914db
mov eax, dword [rbp + 0x18]
mov qword [r8 + 0x40], rbp
mov rdx, r15
mov dword [r8 + 0x20], eax
mov eax, 0x100
mov word [r8 + 0x8a], ax
mov eax, dword [rsp + 0x88]
mov r9, qword [r15]
mov rcx, qword [r15 + 8]
mov dword [rsp + 0x30], eax
mov eax, 1
mov dword [rsp + 0x28], eax
add r9, 0xc8
mov dword [rsp + 0x20], eax
call fcn.1400952d0
jmp 0x1400914e3
mov rcx, rdi
jmp 0x1400914de
test rbp, rbp
je 0x1400914e3
mov rcx, rbp
call fcn.140077120
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x98]
mov rbp, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x80]
mov r14, qword [rsp + 0x50]
add rsp, 0x70
pop r15
ret