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

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x40
cmp byte [rcx + 0xe8], 0
mov r14, r8
mov r15, rdx
mov rbx, rcx
jne 0x1400a8bd5
mov rcx, qword [rdx]
cmp qword [r8], rcx
mov qword [rsp + 0x68], rbp
cmovb rcx, qword [r8]
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], r12
xor r12d, r12d
mov qword [rsp + 0x60], rcx
cmp dword [rbx + 0xec], r12d
jne 0x1400a87d5
mov rax, qword [rbx + 0x90]
cmp qword [rbx + 0x88], rax
je 0x1400a87c8
cmp byte [rbx + 0xe9], r12b
je 0x1400a87d5
cmp qword [rbx + 0xb8], r12
jne 0x1400a87d5
xor dl, dl
jmp 0x1400a87d7
mov dl, 1
lea r8, [rsp + 0x60]
mov rcx, rbx
call fcn.1400a6fe0
cmp byte [rbx + 0xe8], r12b
jne 0x1400a8bc1
cmp qword [r14], 0xffffffffffffffff
je 0x1400a8805
call fcn.1400b7330
cmp qword [r14], rax
jbe 0x1400a8bc1
cmp byte [rbx + 0xe9], r12b
jne 0x1400a8a87
mov eax, dword [rbx + 0xf0]
xor bpl, bpl
cmp dword [rbx + 0xec], eax
jae 0x1400a8a87
nop word [rax + rax]
mov rdi, qword [rbx + 0xb8]
test rdi, rdi
je 0x1400a8848
mov qword [rbx + 0xb8], r12
jmp 0x1400a893e
mov rax, qword [rbx + 0x90]
cmp qword [rbx + 0x88], rax
je 0x1400a8a7e
mov rax, qword [rbx + 0x88]
mov ecx, 2
mov r11, qword [rbx + 0x90]
mov r9, rax
mov r10, r12
mov rdi, qword [rax]
mov rsi, qword [r11 - 8]
mov rax, qword [rax]
mov qword [r11 - 8], rax
sub r11, r9
sar r11, 3
dec r11
cmp rcx, r11
jge 0x1400a88e1
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [r9 + rcx*8 - 8]
mov r8, qword [r9 + rcx*8]
mov eax, dword [rdx + 0x20]
cmp dword [r8 + 0x20], eax
je 0x1400a88b7
setl al
jmp 0x1400a88c2
mov rax, qword [rdx + 0x18]
cmp qword [r8 + 0x18], rax
seta al
test al, al
je 0x1400a88c9
dec rcx
mov rax, qword [r9 + rcx*8]
mov qword [r9 + r10*8], rax
mov r10, rcx
lea rcx, [rcx*2 + 2]
cmp rcx, r11
jl 0x1400a88a0
jne 0x1400a88f0
mov rax, qword [r9 + rcx*8 - 8]
mov qword [r9 + r10*8], rax
lea r10, [rcx - 1]
lea rcx, [r10 - 1]
sar rcx, 1
test r10, r10
jle 0x1400a8932
nop dword [rax]
mov rdx, qword [r9 + rcx*8]
mov eax, dword [rsi + 0x20]
cmp dword [rdx + 0x20], eax
je 0x1400a8911
setl al
jmp 0x1400a891c
mov rax, qword [rsi + 0x18]
cmp qword [rdx + 0x18], rax
seta al
test al, al
je 0x1400a8932
mov qword [r9 + r10*8], rdx
mov r10, rcx
dec rcx
sar rcx, 1
test r10, r10
jg 0x1400a8900
mov qword [r9 + r10*8], rsi
sub qword [rbx + 0x90], 8
test rdi, rdi
je 0x1400a8a7e
or dword [rdi + 0x14], 1
xor edx, edx
inc dword [rbx + 0xec]
mov bpl, 1
mov ecx, dword [rbx + 0x128]
mov r8d, dword [rdi + 0x10]
mov r9d, dword [rbx + 0xec]
mov eax, r8d
div rcx
mov rax, qword [rbx + 0x120]
mov ecx, edx
mov rdx, qword [rax + rcx*8]
test rdx, rdx
je 0x1400a898e
nop
cmp r8d, dword [rdx]
je 0x1400a89a0
mov rdx, qword [rdx + 0x10]
test rdx, rdx
jne 0x1400a8980
mov rcx, qword [rbx + 0x128]
mov rax, qword [rbx + 0x120]
mov rdx, qword [rax + rcx*8]
mov rcx, qword [rbx + 0x128]
mov rax, qword [rbx + 0x120]
cmp rdx, qword [rax + rcx*8]
je 0x1400a8a1f
mov rcx, qword [rdx + 8]
test rcx, rcx
je 0x1400a8a1f
mov rax, qword [rcx]
mov rdx, rdi
movzx r8d, byte [rbx + 0xea]
call qword [rax + 0x20]
movzx ecx, al
test al, al
je 0x1400a89f5
sub ecx, 2
je 0x1400a89f5
cmp ecx, 1
jne 0x1400a8a63
dec dword [rbx + 0xec]
xor bpl, bpl
mov qword [rbx + 0xb8], rdi
jmp 0x1400a8a63
test byte [rdi + 0x14], bpl
je 0x1400a8a01
dec dword [rbx + 0xec]
mov rax, qword [rdi]
xor edx, edx
test byte [rdi + 0x14], 2
mov rcx, rdi
je 0x1400a8a4d
call qword [rax]
mov eax, 4
mov qword [rdi + 8], r12
xchg dword [rdi + 0x14], eax
jmp 0x1400a8a63
test byte [rdi + 0x14], bpl
je 0x1400a8a2f
lea eax, [r9 - 1]
mov dword [rbx + 0xec], eax
mov rax, qword [rdi]
xor edx, edx
test byte [rdi + 0x14], 2
mov rcx, rdi
je 0x1400a8a4d
call qword [rax]
mov eax, 4
mov qword [rdi + 8], r12
xchg dword [rdi + 0x14], eax
jmp 0x1400a8a63
call qword [rax]
mov rax, qword [rbx + 0x60]
xor r8d, r8d
mov rdx, rdi
mov rcx, rax
mov r9, qword [rax]
call qword [r9 + 0x18]
cmp qword [rbx + 0xb8], r12
jne 0x1400a8a7e
mov eax, dword [rbx + 0xf0]
cmp dword [rbx + 0xec], eax
jb 0x1400a8830
test bpl, bpl
jne 0x1400a87a6
cmp dword [rbx + 0xec], r12d
je 0x1400a8bb8
mov rax, qword [rbx + 0xc8]
cmp qword [rbx + 0xc0], rax
je 0x1400a8ab3
lea rcx, [rbx + 0xc0]
mov rdx, rbx
call fcn.14009f690
mov rcx, qword [rbx + 0xc8]
sub rcx, qword [rbx + 0xc0]
mov eax, dword [rbx + 0xec]
sar rcx, 3
cmp rax, rcx
ja 0x1400a8add
cmp qword [rbx + 0xb8], r12
je 0x1400a8b7d
mov rax, qword [rbx + 0x90]
cmp qword [rbx + 0x88], rax
je 0x1400a8b00
mov eax, dword [rbx + 0xf0]
cmp dword [rbx + 0xec], eax
jae 0x1400a8b00
mov dil, 1
jmp 0x1400a8b03
xor dil, dil
mov rax, qword [rbx + 0xc8]
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x78], r12
cmp qword [rbx + 0xc0], rax
jne 0x1400a8b66
cmp dword [rbx + 0x3c], r12d
jne 0x1400a8b29
cmp dword [rbx + 0x40], r12d
je 0x1400a8b66
call fcn.1400b7330
mov r8, rax
mov rdx, qword [rsp + 0x60]
cmp dword [rbx + 0x3c], r12d
je 0x1400a8b4e
mov ecx, dword [rbx + 0x3c]
add rcx, rax
cmp rdx, rcx
cmovb rcx, rdx
mov qword [rsp + 0x20], rcx
cmp dword [rbx + 0x40], r12d
je 0x1400a8b66
mov eax, dword [rbx + 0x40]
add rax, r8
cmp rdx, rax
cmovb rax, rdx
mov qword [rsp + 0x78], rax
mov rax, qword [rbx]
lea r8, [rsp + 0x78]
movzx r9d, dil
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [rax + 0x78]
mov rax, qword [rbx + 0xc8]
cmp qword [rbx + 0xc0], rax
je 0x1400a8bb8
mov rax, qword [0x14068db30]
test rax, rax
je 0x1400a8ba2
mov eax, dword [rax + 0x5c]
test eax, eax
js 0x1400a8bb8
jmp 0x1400a8ba7
mov eax, 1
cdqe
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x28], rax
call fcn.1400b82c0
cmp qword [r15], r12
jne 0x1400a87a6
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x68]
mov r12, qword [rsp + 0x30]
add rsp, 0x40
pop r15
pop r14
pop rbx
ret