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

Disassembly:
mov r11, rsp
push rsi
push r12
push r14
sub rsp, 0x90
mov rax, qword [0x1802407e8]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r14, rdx
mov dword [rsp + 0x30], r8d
mov rdx, qword [rdx + 0x18]
xor r8d, r8d
mov qword [rsp + 0x20], r9
mov rsi, rcx
mov qword [rsp + 0x28], rdx
mov r12d, r8d
cmp r8w, word [r14 + 0x60]
jae 0x1800bb11a
mov qword [r11 + 0x18], rbx
lea r10, [fcn.18004fcc0]
mov qword [r11 - 0x28], rdi
lea edi, [r8 + 1]
mov qword [r11 - 0x30], r13
mov r13d, r8d
mov qword [r11 - 0x38], r15
mov r15d, r8d
lea r11, [0x18004fb10]
mov qword [rsp + 0x88], rbp
nop dword [rax + rax]
mov rax, qword [r14 + 8]
movsx rcx, word [rax + r15*2]
cmp ecx, 0xfffffffe
jne 0x1800bae62
mov rax, qword [r14 + 0x50]
test byte [r9 + 0x3c], 0x58
setne bpl
mov rbx, qword [rax + r13 + 8]
jmp 0x1800baeba
test ecx, ecx
js 0x1800bb0e0
mov rax, qword [rdx + 8]
lea rcx, [rcx + rcx*2]
test byte [rax + rcx*8 + 0x12], 0x20
je 0x1800bb0e0
movzx eax, word [rax + rcx*8 + 0x10]
test ax, ax
jne 0x1800bae8c
mov rbx, r8
jmp 0x1800baeb7
cmp byte [rdx + 0x3f], 0
je 0x1800bae97
mov rbx, r8
jmp 0x1800baeb7
mov rbx, qword [rdx + 0x50]
test rbx, rbx
jne 0x1800baea5
mov rbx, r8
jmp 0x1800baeb7
cmp dword [rbx], eax
jge 0x1800baeae
mov rbx, r8
jmp 0x1800baeb7
shl rax, 5
mov rbx, qword [rax + rbx - 0x18]
mov ebp, r8d
mov word [rsp + 0x5c], di
mov qword [rsp + 0x40], r10
mov qword [rsp + 0x48], r11
mov dword [rsp + 0x60], r8d
test rbx, rbx
je 0x1800bb0e0
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.180048390
cmp word [rsp + 0x5c], 0
jne 0x1800bb0c5
mov rcx, qword [rsi]
test rcx, rcx
je 0x1800baf04
mov edx, 0x20
call fcn.180007150
jmp 0x1800baf0e
mov ecx, 0x20
call fcn.180006980
mov rdi, rax
test rax, rax
je 0x1800bb0f8
mov rax, qword [rsi + 0x60]
xor r9d, r9d
mov qword [rdi + 0x18], rax
xor r8d, r8d
mov rcx, qword [rsi]
mov rdx, rbx
call fcn.18004e3a0
mov qword [rdi], rax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x44]
mov dword [rdi + 8], eax
mov eax, dword [rsp + 0x30]
mov dword [rdi + 0xc], eax
mov dword [rdi + 0x10], r12d
mov byte [rdi + 0x14], bpl
cmp qword [r14 + 0x20], 0
jne 0x1800baf67
mov rcx, qword [rsi]
mov rdx, r14
call fcn.18007a130
test rax, rax
je 0x1800baf73
mov rax, qword [r14 + 0x20]
movzx ecx, byte [rax + r15]
mov byte [rdi + 0x15], cl
mov qword [rsi + 0x60], rdi
cmp qword [rdi + 0x18], 0
jne 0x1800bb0c0
mov rcx, qword [rsi]
test rcx, rcx
je 0x1800baf96
mov edx, 0x18
call fcn.180007150
jmp 0x1800bafa0
mov ecx, 0x18
call fcn.180006980
mov rcx, rax
test rax, rax
je 0x1800bafcd
mov rax, qword [rsi + 0xc0]
mov qword [rcx], rax
lea rax, [0x1800baca0]
mov qword [rsi + 0xc0], rcx
mov qword [rcx + 0x10], rax
mov qword [rcx + 8], rsi
jmp 0x1800bb0c0
mov rbx, qword [rsi + 0x60]
mov rdi, qword [rsi]
test rbx, rbx
je 0x1800bb0c0
nop dword [rax]
mov rax, qword [rbx + 0x18]
mov qword [rsi + 0x60], rax
mov rdx, qword [rbx]
test rdx, rdx
je 0x1800baff8
mov rcx, rdi
call fcn.18004e140
test rdi, rdi
je 0x1800bb058
cmp rbx, qword [rdi + 0x1f0]
jae 0x1800bb041
cmp rbx, qword [rdi + 0x1e0]
jb 0x1800bb025
mov rax, qword [rdi + 0x1d8]
mov qword [rbx], rax
mov qword [rdi + 0x1d8], rbx
jmp 0x1800bb0b3
cmp rbx, qword [rdi + 0x1e8]
jb 0x1800bb041
mov rax, qword [rdi + 0x1c8]
mov qword [rbx], rax
mov qword [rdi + 0x1c8], rbx
jmp 0x1800bb0b3
cmp qword [rdi + 0x308], 0
je 0x1800bb058
mov rdx, rbx
mov rcx, rdi
call fcn.180006be0
jmp 0x1800bb0b3
cmp dword [reloc.WS2_32.dll_accept], 0
je 0x1800bb0aa
mov rcx, qword [0x18024ba98]
test rcx, rcx
je 0x1800bb073
call qword [0x180241820]
mov rcx, rbx
call qword [0x1802417d8]
dec qword [0x18024b888]
movsxd rcx, eax
sub qword [0x18024b840], rcx
mov rcx, rbx
call qword [0x1802417c8]
mov rcx, qword [0x18024ba98]
test rcx, rcx
je 0x1800bb0b3
call qword [0x180241830]
jmp 0x1800bb0b3
mov rcx, rbx
call qword [0x1802417c8]
mov rbx, qword [rsi + 0x60]
test rbx, rbx
jne 0x1800bafe0
mov edi, 1
mov rdx, qword [rsp + 0x28]
lea r10, [fcn.18004fcc0]
mov r9, qword [rsp + 0x20]
lea r11, [0x18004fb10]
xor r8d, r8d
movzx eax, word [r14 + 0x60]
inc r12d
inc r15
add r13, 0x20
cmp r12d, eax
jl 0x1800bae40
mov rbp, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x80]
mov r13, qword [rsp + 0x78]
mov rbx, qword [rsp + 0xc0]
mov r15, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.18015c7e0
add rsp, 0x90
pop r14
pop r12
pop rsi
ret