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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
push r14
sub rsp, 0x80
mov r14, rcx
test rcx, rcx
je 0x140090442
mov eax, dword [rcx + 0x750]
bt rax, 0xc
jae 0x140090762
jmp 0x140090460
mov rax, qword [reloc.WS2_32.dll_htonl]
test rax, rax
je 0x140090460
mov eax, dword [rax + 0x150]
bt rax, 0xc
jae 0x140090762
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x68], rdi
xor ebx, ebx
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r15
mov r15, qword [0x1402e6b48]
mov esi, 0x98
mov rbp, rbx
mov r13, rbx
mov r12d, ebx
nop dword [rax]
cmp esi, 0xb0
jle 0x14009054e
mov rcx, r15
call fcn.1401e3610
mov rdi, rax
test rax, rax
je 0x1400904fb
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 0x1400905e7
test r12b, 2
je 0x1400905af
mov rcx, r15
call fcn.1401e3610
mov rdi, rax
test rax, rax
je 0x1400905a3
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 0x1400905e7
mov rcx, r15
call fcn.1401e3610
mov rdi, rax
test rax, rax
je 0x1400905dd
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 0x14009072f
cmp eax, 0x98
jl 0x14009072a
sub esi, eax
test r13, r13
je 0x140090608
mov qword [r13], rdi
jmp 0x14009060b
mov rbp, rdi
and r12d, 0xfffffffd
mov r13, rdi
test esi, esi
jg 0x1400904a0
test r12b, 4
je 0x140090624
or dword [rdi + 0x1c], 4
test rbp, rbp
je 0x14009073c
mov dword [rbp + 0x18], ebx
mov rbx, qword [rbp + 0x10]
xor edx, edx
mov rcx, rbx
mov r8d, 0x98
call fcn.1401e42d0
mov rcx, qword [rsp + 0xa0]
xor edx, edx
mov eax, 2
mov word [rbx + 2], dx
mov dword [rbx + 4], 0x98
mov word [rbx], ax
cmp word [rcx], 0x7b
jne 0x140090676
mov rax, qword [rcx]
mov qword [rbx + 8], rax
mov rax, qword [rcx + 8]
mov qword [rbx + 0x10], rax
mov eax, dword [rsp + 0x98]
mov qword [rsp + 0x40], rbp
mov byte [rsp + 0x38], dl
mov dword [rbx + 0x88], eax
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x30], edx
mov dword [rbx + 0x8c], eax
mov eax, dword [r14 + 0x520]
mov word [rsp + 0x28], dx
mov dword [rbx + 0x90], eax
mov dword [rbp + 0x18], 0x98
mov qword [rbp], rdx
mov eax, dword [r14 + 0x568]
mov rdx, qword [r14 + 0x3d0]
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
mov dword [rsp + 0x20], eax
call fcn.1400c7a10
mov r8, rax
test rax, rax
je 0x140090734
mov eax, dword [rbp + 0x18]
mov qword [r8 + 0x40], rbp
mov rdx, r14
mov dword [r8 + 0x20], eax
mov eax, 0x100
mov word [r8 + 0x8a], ax
mov eax, dword [rsp + 0xb0]
mov r9, qword [r14]
mov rcx, qword [r14 + 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 0x14009073c
mov rcx, rdi
jmp 0x140090737
test rbp, rbp
je 0x14009073c
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 + 0x70]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x90]
mov r15, qword [rsp + 0x50]
add rsp, 0x80
pop r14
ret