Function at 0x1400b2dc0
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 [0x1402e6b48]
call fcn.1401e3610
cmp esi, 0xb0
mov rdi, rax
jle 0x1400b2ea5
test rax, rax
je 0x1400b2e5a
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 [0x1402e6b50]
mov qword [rdi + 0x50], rbx
call fcn.1401e3610
mov rcx, qword [0x1402e6b58]
mov rbx, rax
call fcn.1401e3610
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 0x1400b2f19
test r12b, 2
je 0x1400b2ef1
test rax, rax
je 0x1400b2eea
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 0x1400b2f14
test rax, rax
je 0x1400b2f0f
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 0x1400b306f
cmp eax, 4
jl 0x1400b306a
sub esi, eax
test r13, r13
je 0x1400b2f38
mov qword [r13], rdi
jmp 0x1400b2f3b
mov r14, rdi
and r12d, 0xfffffffd
mov r13, rdi
test esi, esi
jg 0x1400b2e00
test r12b, 4
je 0x1400b2f54
or dword [rdi + 0x1c], 4
test r14, r14
je 0x1400b307c
cmp dword [rsp + 0xe0], 0
je 0x1400b2f74
mov esi, dword [r15 + 0x510]
movzx edx, bpl
jmp 0x1400b2f7d
mov esi, dword [r15 + 0x514]
xor dl, dl
mov edi, ebx
cmp byte [r15 + 0x724], bpl
jne 0x1400b2f8a
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.1400a5f40
test eax, eax
je 0x1400b3058
cmp eax, 0x2747
jne 0x1400b3060
mov byte [r15 + 0x737], bpl
mov eax, ebp
lock xadd dword [0x1402e68e8], eax
lock xadd dword [0x1402e675c], ebp
jmp 0x1400b307c
mov byte [r15 + 0x737], 0
lock xadd dword [0x1402e675c], ebp
jmp 0x1400b307c
mov rcx, rdi
jmp 0x1400b3077
test r14, r14
je 0x1400b307c
mov rcx, r14
call fcn.140077120
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret