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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push r15
sub rsp, 0x60
mov rax, r9
mov r15, rcx
test r8, r8
je 0x1400bb1bb
test rax, rax
je 0x1400bb1bb
mov rax, qword [rsp + 0x90]
test rax, rax
je 0x1400bb1bb
cmp byte [rax + 0x71d], 0
jne 0x1400bb1c5
mov rax, rcx
add rsp, 0x60
pop r15
ret
mov rdx, qword [rax + 0x678]
mov qword [rsp + 0x50], rsi
test rdx, rdx
je 0x1400bb4a5
movzx eax, byte [rsp + 0x98]
xor esi, esi
mov ecx, esi
cmp byte [rax + rdx], cl
setne cl
test ecx, ecx
je 0x1400bb4a5
mov rax, qword [0x1402e8788]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r14
lea ebp, [rsi + 8]
mov r12, rsi
mov r14, rsi
mov r13d, esi
lea ebx, [rsi + 1]
nop dword [rax + rax]
cmp ebp, 0xb0
jle 0x1400bb2dd
mov rcx, rax
call fcn.1401e6440
mov rdi, rax
test rax, rax
je 0x1400bb286
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov dword [rax + 0x18], esi
mov dword [rax + 0x1c], 2
mov word [rax + 0x20], bx
add rax, 0x50
mov qword [rdi + 0x28], rsi
mov dword [rdi + 0x38], esi
mov qword [rdi + 0x30], rsi
mov qword [rdi + 0x10], rax
mov dword [rdi + 0x3c], esi
mov dword [rdi + 0x40], esi
mov word [rdi + 0x44], si
mov word [rdi + 0x46], si
mov qword [rdi + 0x48], rsi
mov rcx, qword [0x1402e8790]
mov qword [rdi + 0x50], rsi
call fcn.1401e6440
mov rcx, qword [0x1402e8798]
mov rbx, rax
call fcn.1401e6440
mov r9d, 1
mov dword [rax], r9d
or dword [rdi + 0x1c], r9d
mov qword [rdi + 0x50], rbx
mov qword [rdi + 0x10], rbx
mov ebx, r9d
mov qword [rdi + 0x70], rax
mov qword [rdi + 0x58], rsi
mov qword [rdi + 0x60], rsi
mov dword [rdi + 0x68], 0x800
mov dword [rdi + 0x78], ebx
mov eax, 0x800
jmp 0x1400bb36c
test r13b, 2
je 0x1400bb339
mov rcx, rax
call fcn.1401e6440
mov rdi, rax
test rax, rax
je 0x1400bb32d
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov dword [rax + 0x18], esi
mov dword [rax + 0x1c], 2
mov word [rax + 0x20], bx
add rax, 0x50
mov qword [rdi + 0x28], rsi
mov dword [rdi + 0x38], esi
mov qword [rdi + 0x30], rsi
mov qword [rdi + 0x10], rax
mov dword [rdi + 0x3c], esi
mov dword [rdi + 0x40], esi
mov word [rdi + 0x44], si
mov word [rdi + 0x46], si
mov qword [rdi + 0x48], rsi
mov eax, 0xb0
cmp ebp, eax
cmovl eax, ebp
jmp 0x1400bb36c
mov rcx, rax
call fcn.1401e6440
mov rdi, rax
test rax, rax
je 0x1400bb362
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov dword [rax + 0x18], esi
mov dword [rax + 0x1c], esi
mov word [rax + 0x20], bx
add rax, 0x28
mov qword [rdi + 0x10], rax
mov eax, 0xd8
cmp ebp, eax
cmovl eax, ebp
test rdi, rdi
je 0x1400bb493
cmp eax, 8
jl 0x1400bb486
sub ebp, eax
test r14, r14
je 0x1400bb38a
mov qword [r14], rdi
jmp 0x1400bb38d
mov r12, rdi
mov rax, qword [0x1402e8788]
and r13d, 0xfffffffd
mov r14, rdi
test ebp, ebp
jg 0x1400bb230
test r13b, 4
je 0x1400bb3b0
or dword [rdi + 0x1c], 4
nop dword [rax]
test r12, r12
je 0x1400bb4a0
test r15, r15
jne 0x1400bb3c4
add qword [r12 + 0x10], 0x20
mov rbx, qword [r12 + 0x10]
mov rbp, qword [rsp + 0x90]
xor eax, eax
mov qword [rbx], rax
mov byte [rbx], reloc.WS2_32.dll_ntohs
mov byte [rbx + 1], al
cmp word [rbp + 0x6d8], 1
jne 0x1400bb3eb
mov eax, reloc.WS2_32.dll_sendto
lea edi, [rax + 8]
movzx ecx, di
call sub.WS2_32.dll_htons
mov word [rbx + 2], ax
movzx ecx, word [rbp + 0x6d8]
call sub.WS2_32.dll_htons
mov rcx, qword [rsp + 0x88]
mov word [rbx + 6], ax
mov dword [rcx], esi
mov rax, r15
test r15, r15
je 0x1400bb42d
nop dword [rax]
add esi, dword [rax + 0x18]
mov rax, qword [rax]
test rax, rax
jne 0x1400bb420
mov dword [rcx], esi
mov r8, qword [rsp + 0x78]
mov r9d, 1
mov rdx, r15
mov rcx, r12
mov byte [rsp + 0x28], 0
mov dword [r12 + 0x18], edi
mov dword [rsp + 0x20], edi
call fcn.1400abbf0
mov rcx, qword [rsp + 0x80]
mov qword [rcx], rbx
mov r13, qword [rsp + 0x38]
mov r12, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x58]
mov r14, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x50]
add rsp, 0x60
pop r15
ret
mov rcx, rdi
call fcn.1400795b0
mov rax, r15
jmp 0x1400bb45c
test r12, r12
je 0x1400bb4a0
mov rcx, r12
call fcn.1400795b0
mov rax, r15
jmp 0x1400bb45c
mov rax, r15
mov rsi, qword [rsp + 0x50]
add rsp, 0x60
pop r15
ret