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

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
xor ebx, ebx
mov esi, 4
mov r15, rcx
lea ebp, [rsi - 3]
mov r14, rbx
mov r13, rbx
mov r12d, ebx
nop word [rax + rax]
mov rcx, qword [0x1402e8788]
call fcn.1401e6440
cmp esi, 0xb0
mov rdi, rax
jle 0x1400b5335
test rax, rax
je 0x1400b52ea
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov dword [rax + 0x18], ebx
mov dword [rax + 0x1c], 2
mov word [rax + 0x20], bp
add rax, 0x50
mov qword [rdi + 0x28], rbx
mov dword [rdi + 0x38], ebx
mov qword [rdi + 0x30], rbx
mov qword [rdi + 0x10], rax
mov dword [rdi + 0x3c], ebx
mov dword [rdi + 0x40], ebx
mov word [rdi + 0x44], bx
mov word [rdi + 0x46], bx
mov qword [rdi + 0x48], rbx
mov rcx, qword [0x1402e8790]
mov qword [rdi + 0x50], rbx
call fcn.1401e6440
mov rcx, qword [0x1402e8798]
mov rbx, rax
call fcn.1401e6440
mov dword [rax], ebp
or dword [rdi + 0x1c], ebp
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], ebp
mov eax, 0x800
mov qword [rdi + 0x58], rbx
mov qword [rdi + 0x60], rbx
jmp 0x1400b53a9
test r12b, 2
je 0x1400b5381
test rax, rax
je 0x1400b537a
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov dword [rax + 0x18], ebx
mov dword [rax + 0x1c], 2
mov word [rax + 0x20], bp
add rax, 0x50
mov qword [rdi + 0x28], rbx
mov dword [rdi + 0x38], ebx
mov qword [rdi + 0x30], rbx
mov qword [rdi + 0x10], rax
mov dword [rdi + 0x3c], ebx
mov dword [rdi + 0x40], ebx
mov word [rdi + 0x44], bx
mov word [rdi + 0x46], bx
mov qword [rdi + 0x48], rbx
mov eax, 0xb0
jmp 0x1400b53a4
test rax, rax
je 0x1400b539f
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov dword [rax + 0x18], ebx
mov dword [rax + 0x1c], ebx
mov word [rax + 0x20], bp
add rax, 0x28
mov qword [rdi + 0x10], rax
mov eax, 0xd8
cmp esi, eax
cmovl eax, esi
test rdi, rdi
je 0x1400b54ff
cmp eax, 4
jl 0x1400b54fa
sub esi, eax
test r13, r13
je 0x1400b53c8
mov qword [r13], rdi
jmp 0x1400b53cb
mov r14, rdi
and r12d, 0xfffffffd
mov r13, rdi
test esi, esi
jg 0x1400b5290
test r12b, 4
je 0x1400b53e4
or dword [rdi + 0x1c], 4
test r14, r14
je 0x1400b550c
cmp dword [rsp + 0xe0], 0
je 0x1400b5404
mov esi, dword [r15 + 0x510]
movzx edx, bpl
jmp 0x1400b540d
mov esi, dword [r15 + 0x514]
xor dl, dl
mov edi, ebx
cmp byte [r15 + 0x724], bpl
jne 0x1400b541a
mov edi, ebp
mov rbx, qword [r14 + 0x10]
mov ecx, 4
mov byte [rbx], reloc.WS2_32.dll_ntohl
mov byte [rbx + 1], dl
call sub.WS2_32.dll_htons
mov word [rbx + 2], ax
mov dword [r14 + 0x18], 4
mov rbx, qword [r15 + 8]
mov ecx, esi
call sub.WS2_32.dll_htonl
mov rdx, qword [rsp + 0xd8]
xor r8d, r8d
movzx ecx, word [rdx + 0x244]
mov dword [rsp + 0x88], r8d
mov dword [rsp + 0x80], edi
mov qword [rsp + 0x78], r8
mov word [rsp + 0x70], cx
mov dword [rsp + 0x68], eax
movzx eax, word [r15 + 0x7e0]
lea r9, [rdx + 0xd8]
mov rcx, rbx
mov word [rsp + 0x60], ax
movzx eax, word [rbx + 0x5e]
mov word [rsp + 0x58], ax
mov dword [rsp + 0x50], r8d
mov dword [rsp + 0x48], r8d
mov dword [rsp + 0x40], ebp
mov word [rsp + 0x38], r8w
mov qword [rsp + 0x30], r8
mov dword [rsp + 0x28], r8d
mov r8, rdx
mov rdx, r15
mov qword [rsp + 0x20], r14
call fcn.1400a83d0
test eax, eax
je 0x1400b54e8
cmp eax, 0x2747
jne 0x1400b54f0
mov byte [r15 + 0x737], bpl
mov eax, ebp
lock xadd dword [0x1402e8528], eax
lock xadd dword [0x1402e839c], ebp
jmp 0x1400b550c
mov byte [r15 + 0x737], 0
lock xadd dword [0x1402e839c], ebp
jmp 0x1400b550c
mov rcx, rdi
jmp 0x1400b5507
test r14, r14
je 0x1400b550c
mov rcx, r14
call fcn.1400795b0
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret