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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rdi, qword [rsp + 0xa0]
xor esi, esi
mov r10, qword [rcx]
mov rbp, r8
mov rbx, qword [rcx + 0x10]
movzx r11d, r9w
mov r12, qword [rsp + 0xb0]
mov rax, qword [rdi + 0x20]
movsxd r14, dword [rdi]
mov r15, qword [rcx + 8]
mov qword [rsp + 0x88], rax
mov rax, qword [r10]
mov qword [rsp + 0x30], rax
movzx eax, byte [rbx + 0x10]
imul rax, rax, 0x68
mov dword [r12], esi
mov qword [rsp + 0x20], rax
mov rax, qword [r10 + 8]
mov qword [rbx], rdx
mov r8, qword [rdi + 8]
mov qword [rsp + 0x28], rax
test r14d, r14d
jle 0x14010ec90
mov r10, qword [rsp + 0xb8]
add r8, 5
mov r9d, r14d
nop dword [rax]
movsxd rax, dword [r8 + 3]
imul rdx, rax, 0x38
add rdx, qword [r15 + 0x20]
mov byte [r8], sil
mov rax, qword [rdx + 0x28]
and rax, rbp
cmp rax, qword [rdx + 0x28]
jne 0x14010ec86
test word [rdx + 0x14], r11w
jne 0x14010ec86
test r10, r10
jne 0x14010ec82
movzx eax, byte [rdx + 0x17]
sub al, 0x49
cmp al, 1
jbe 0x14010ec86
mov byte [r8], 1
add r8, 0xc
sub r9, 1
jne 0x14010ec50
mov rcx, qword [rsp + 0x88]
lea rbp, [r14*8]
mov r8, rbp
xor edx, edx
mov r13, r14
call fcn.1400b4b10
mov rcx, qword [rsp + 0x20]
movabs rax, 0x546d42aea2879f2e
mov rdx, qword [rsp + 0x28]
mov r8, rdi
mov qword [rdi + 0x30], rsi
mov dword [rdi + 0x28], esi
mov dword [rdi + 0x3c], esi
mov qword [rdi + 0x40], rax
mov qword [rdi + 0x48], 0x19
mov dword [rdi + 0x50], esi
mov rax, qword [rcx + rdx + 0x58]
mov qword [rdi + 0x58], rax
mov dword [rdi + 0x78], esi
mov rdx, qword [rcx + rdx + 0x28]
mov rcx, qword [rsp + 0x30]
call fcn.140111c30
test eax, eax
je 0x14010ed07
cmp eax, 0x13
cmove eax, esi
jmp 0x14010f0ce
mov rcx, qword [rbx + 0x48]
mov r8, rbp
xor edx, edx
mov r14d, 0xffffffff
call fcn.1400b4b10
xorps xmm0, xmm0
mov r10d, esi
movups xmmword [rbx + 0x18], xmm0
movups xmmword [rbx + 0x28], xmm0
mov rax, qword [rdi + 8]
test r13, r13
jle 0x14010ee51
lea rbp, [rax + 5]
mov r11, rsi
mov rax, qword [rsp + 0x88]
movsxd rcx, dword [rax + r11*8]
lea r8d, [rcx - 1]
test r8d, r8d
js 0x14010ee3e
cmp r8d, r13d
jge 0x14010ef4f
movsxd rax, dword [rbp + 3]
test eax, eax
js 0x14010ef4f
cmp eax, dword [r15 + 0x14]
jge 0x14010ef4f
mov r9, rcx
mov rcx, qword [rbx + 0x48]
cmp qword [rcx + r9*8 - 8], rsi
jne 0x14010ef4f
cmp byte [rbp], sil
je 0x14010ef4f
imul rdx, rax, 0x38
add rdx, qword [r15 + 0x20]
mov rax, qword [rdx + 0x28]
or qword [rbx], rax
mov eax, r8d
cmp r8d, r14d
mov qword [rcx + r9*8 - 8], rdx
cmovle eax, r14d
mov r14d, eax
mov rax, qword [rsp + 0x88]
cmp byte [rax + r11*8 + 4], sil
je 0x14010edeb
cmp r10d, 0x10
jge 0x14010ede1
movzx eax, word [rsp + 0xa8]
bt eax, r10d
jb 0x14010ede1
movzx eax, word [rbx + 0x22]
bts eax, r8d
mov word [rbx + 0x22], ax
cmp byte [rdx + 0x17], 0x4a
jne 0x14010edeb
or dword [rbx + 0x1c], 2
mov ecx, r10d
mov eax, 1
shl eax, cl
cmp r10d, 0x1f
cmovg eax, esi
test dword [rdi + 0x78], eax
je 0x14010ee0d
mov eax, dword [rbx + 0x30]
bts eax, r8d
mov dword [rbx + 0x30], eax
jmp 0x14010ee22
test byte [rdx + 0x14], 1
je 0x14010ee22
and dword [rdi + 0x50], 0xfffffffe
mov dword [rdi + 0x3c], esi
mov dword [r12], 1
movzx eax, byte [rdx + 0x17]
sub al, 0x49
cmp al, 1
ja 0x14010ee36
cmp dword [r12], esi
jne 0x14010eea6
mov rax, qword [rsp + 0x88]
inc r10d
inc r11
add rbp, 0xc
cmp r11, r13
jl 0x14010ed45
lea eax, [r14 + 1]
mov ecx, esi
mov word [rbx + 0x3c], ax
test r14d, r14d
js 0x14010ee78
mov rax, qword [rbx + 0x48]
cmp qword [rax], rsi
je 0x14010ef4f
inc ecx
add rax, 8
cmp ecx, r14d
jle 0x14010ee64
mov eax, dword [rdi + 0x28]
mov dword [rbx + 0x18], eax
mov eax, dword [rbx + 0x1c]
xor eax, dword [rdi + 0x38]
and eax, 1
xor dword [rbx + 0x1c], eax
mov rax, qword [rdi + 0x30]
mov dword [rdi + 0x38], esi
mov qword [rbx + 0x28], rax
cmp dword [rdi + 0x3c], esi
je 0x14010ef7c
mov eax, dword [rdi + 0x10]
jmp 0x14010ef7e
cmp dword [rdi + 0x38], esi
je 0x14010ef3a
mov rbx, qword [rdi + 0x30]
test rbx, rbx
je 0x14010ef33
cmp dword [reloc.WS2_32.dll_accept], esi
je 0x14010ef23
mov rcx, qword [0x140247198]
test rcx, rcx
je 0x14010eedd
mov rax, qword [0x14023d750]
call qword [case.0x1400faf48.0]
mov rax, qword [0x14023d708]
mov rcx, rbx
call qword [case.0x1400faf48.0]
dec qword [0x140246f88]
mov rcx, rbx
movsxd rdx, eax
mov rax, qword [0x14023d6f8]
sub qword [0x140246f40], rdx
call qword [case.0x1400faf48.0]
mov rcx, qword [0x140247198]
test rcx, rcx
je 0x14010ef33
mov rax, qword [0x14023d760]
jmp 0x14010ef2d
mov rax, qword [0x14023d6f8]
mov rcx, rbx
call qword [case.0x1400faf48.0]
mov qword [rdi + 0x30], rsi
mov dword [rdi + 0x38], esi
mov rax, qword [rsp + 0xb8]
mov dword [rax], 1
xor eax, eax
jmp 0x14010f0ce
mov rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
mov r8, qword [r8 + rdx + 0x28]
lea rdx, str._s.xBestIndex_malfunction
mov r8, qword [r8]
call fcn.1401c8980
mov eax, 1
jmp 0x14010f0ce
mov eax, esi
mov byte [rbx + 0x20], al
mov word [rbx + 0x12], si
movsd xmm0, qword [rdi + 0x40]
call fcn.1401c65e0
mov word [rbx + 0x14], ax
mov ecx, 0x28
mov rax, qword [rdi + 0x48]
cmp rax, 8
jae 0x14010efbf
cmp rax, 2
jb 0x14010f00e
nop dword [rax + rax]
add cx, 0xfff6
add rax, rax
cmp rax, 8
jb 0x14010efb0
jmp 0x14010effd
cmp rax, 0xff
jbe 0x14010efe0
nop word [rax + rax]
add cx, 0x28
shr rax, 4
cmp rax, 0xff
ja 0x14010efd0
cmp rax, 0xf
jbe 0x14010effd
nop word [rax + rax]
add cx, 0xa
shr rax, 1
cmp rax, 0xf
ja 0x14010eff0
and eax, 7
lea rdx, [0x140207288]
add cx, word [rdx + rax*2]
lea esi, [rcx - 0xa]
mov edx, dword [rbx + 0x38]
mov eax, edx
bts edx, 0xc
mov word [rbx + 0x16], si
mov ecx, dword [rdi + 0x50]
btr eax, 0xc
and cl, 1
mov rcx, qword [rsp + 0x80]
cmove edx, eax
mov dword [rbx + 0x38], edx
mov rdx, rbx
call fcn.140110f50
test byte [rbx + 0x1c], 1
mov esi, eax
je 0x14010f0cc
mov rdi, qword [rbx + 0x28]
test rdi, rdi
je 0x14010f0c8
cmp dword [reloc.WS2_32.dll_accept], 0
je 0x14010f0b8
mov rcx, qword [0x140247198]
test rcx, rcx
je 0x14010f072
mov rax, qword [0x14023d750]
call qword [case.0x1400faf48.0]
mov rax, qword [0x14023d708]
mov rcx, rdi
call qword [case.0x1400faf48.0]
dec qword [0x140246f88]
mov rcx, rdi
movsxd rdx, eax
mov rax, qword [0x14023d6f8]
sub qword [0x140246f40], rdx
call qword [case.0x1400faf48.0]
mov rcx, qword [0x140247198]
test rcx, rcx
je 0x14010f0c8
mov rax, qword [0x14023d760]
jmp 0x14010f0c2
mov rax, qword [0x14023d6f8]
mov rcx, rdi
call qword [case.0x1400faf48.0]
and dword [rbx + 0x1c], 0xfffffffe
mov eax, esi
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret