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

Disassembly:
mov dword [rsp + 0x20], r9d
push rbx
push rsi
push r13
push r14
sub rsp, 0x98
test byte [rcx + 0x28], 2
mov r11d, r9d
mov rax, qword [rcx + 8]
mov r14, r8
mov r13d, edx
mov rbx, rcx
lea rsi, [rax + 0xc8]
mov qword [rsp + 0x70], rsi
je 0x1400a27d1
mov ecx, dword [rax + 0x19c]
mov qword [rsp + 0xc8], rbp
mov qword [rsp + 0x90], rdi
xor edi, edi
mov qword [rsp + 0x88], r12
mov qword [rsp + 0x80], r15
mov r15d, dword [rax + 0x1a4]
add r15d, ecx
mov dword [rsp + 0x68], ecx
mov dword [rsp + 0x5c], r15d
cmp qword [rbx + 0x10], rdi
je 0x1400a2083
mov edx, dword [rbx + 0x1c]
mov ecx, dword [rbx + 0x18]
call fcn.140058b30
mov rcx, qword [0x140167f88]
mov rax, qword [rcx]
call qword [rax + 0x2f0]
mov edi, dword [rbx + 0x1c]
mov r11d, dword [rsp + 0xd8]
inc edi
add edi, eax
mov r10, qword [rbx + 0x60]
test r10, r10
je 0x1400a209e
test byte [rsi + 0x84], 2
je 0x1400a209e
cmp edi, dword [r10 + 0x2c]
cmovl edi, dword [r10 + 0x2c]
cmp dword [rbx + 0x80], 0
je 0x1400a20b8
mov rax, qword [rsi + 0x40]
test rax, rax
je 0x1400a20b8
mov eax, dword [rax + 0xc]
cmp edi, eax
cmovl edi, eax
mov r9, qword [rbx + 0x68]
test r9, r9
je 0x1400a20ca
cmp edi, dword [r9 + 0xc]
cmovl edi, dword [r9 + 0xc]
mov eax, dword [rsi + 0x28]
lea ecx, [r13 - 3]
add eax, edi
mov dword [rbx + 0x2c], r13d
mov dword [rsp + 0x58], eax
mov eax, dword [r14]
mov dword [rbx + 0x30], eax
mov eax, edi
cdq
mov dword [rbx + 0x34], r11d
sub eax, edx
mov dword [rbx + 0x38], edi
mov r12d, dword [r14]
sar eax, 1
add r12d, eax
mov rax, qword [rsi + 0x40]
mov r8d, dword [rax + 8]
mov dword [rbx + 0x44], r8d
mov eax, dword [rsi + 0x24]
add eax, r8d
cdq
sub eax, edx
sar eax, 1
add ecx, eax
mov dword [rbx + 0x3c], ecx
mov ecx, r12d
mov rax, qword [rsi + 0x40]
mov eax, dword [rax + 0xc]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
mov dword [rbx + 0x40], ecx
mov rax, qword [rsi + 0x40]
mov ecx, dword [rax + 0xc]
mov eax, r8d
cdq
mov dword [rbx + 0x48], ecx
mov r11d, dword [rsi + 0x24]
sub eax, edx
sar eax, 1
mov ecx, eax
lea eax, [r13 - 1]
add eax, ecx
mov dword [rsp + 0x50], eax
add eax, r11d
mov dword [rsp + 0x48], eax
sub eax, r8d
sub eax, r13d
cdq
sub eax, edx
sar eax, 1
lea ebp, [r8 + rax]
mov eax, r11d
cdq
add ebp, r13d
sub eax, edx
sar eax, 1
add eax, r8d
cmp eax, r11d
cmovg r11d, eax
test r9, r9
jne 0x1400a2209
cmp qword [rsi + 0x50], r9
jne 0x1400a2209
lea eax, [r11 + r13]
lea r11d, [rcx - 1]
add r11d, eax
mov dword [rsp + 0x44], r11d
xor r8d, r8d
lea edx, [r8 + r11]
add edx, dword [rsi + 0x1c]
mov dword [rbx + 0x4c], edx
mov r9d, dword [r14]
mov dword [rbx + 0x50], r9d
mov rax, qword [rbx + 8]
mov dword [rsp + 0x54], r9d
mov ecx, dword [rax + 0x1a0]
add ecx, dword [rax + 0x198]
xor eax, eax
sub ecx, edx
mov dword [rbx + 0x58], edi
mov dword [rbx + 0x54], ecx
mov dword [rsp + 0x4c], eax
test r10, r10
je 0x1400a22d8
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400a21e1
mov eax, dword [rsi + 0x1c]
mov edx, dword [rsi + 0x84]
lea r15d, [rax + r8]
mov r8d, dword [r10 + 0x28]
add r15d, r11d
mov dword [rsp + 0x40], r8d
test dl, 2
je 0x1400a223f
mov eax, dword [r10 + 0x2c]
mov dword [rsp + 0xc0], eax
jmp 0x1400a2246
add ecx, dword [rsi + 0x18]
add ecx, r11d
lea r11d, [r13 - 1]
add r11d, ecx
mov dword [rsp + 0x44], r11d
test r9, r9
je 0x1400a2229
mov r8d, dword [r9 + 8]
jmp 0x1400a2198
mov rax, qword [rsi + 0x50]
test rax, rax
je 0x1400a2195
mov r8d, dword [rax + 8]
jmp 0x1400a2198
mov dword [rsp + 0xc0], edi
test rcx, rcx
je 0x1400a229c
test dl, 1
je 0x1400a229c
mov edx, dword [rbx + 0x1c]
mov ecx, dword [rbx + 0x18]
call fcn.140058b30
mov rcx, qword [rbx + 0x10]
lea r8, [rsp + 0x60]
mov r9d, 1
mov dword [rsp + 0x64], 0
lea rdx, [rsp + 0x64]
mov dword [rsp + 0x60], 0
call fcn.140058c70
mov eax, dword [rsi + 0x20]
add eax, dword [rsp + 0x64]
mov r10, qword [rbx + 0x60]
add r15d, eax
mov r9d, dword [rsp + 0x54]
mov r8d, dword [rsp + 0x40]
mov ecx, dword [rsp + 0xc0]
cmp dword [r10 + 0x20], r15d
jne 0x1400a22bb
cmp dword [r10 + 0x24], r9d
jne 0x1400a22bb
cmp dword [r10 + 0x28], r8d
jne 0x1400a22bb
cmp dword [r10 + 0x2c], ecx
je 0x1400a22d3
mov rax, qword [r10]
mov r9d, r8d
mov r8d, dword [rsp + 0x54]
mov edx, r15d
mov dword [rsp + 0x20], ecx
mov rcx, r10
call qword [rax + 0x18]
mov r15d, dword [rsp + 0x5c]
mov ecx, dword [r14]
lea eax, [rcx + rdi]
cmp eax, dword [rsp + 0x68]
jl 0x1400a22ed
cmp ecx, r15d
jg 0x1400a22ed
xor al, al
jmp 0x1400a22ef
mov al, 1
mov r15d, dword [rsp + 0xf8]
xor ecx, ecx
movzx eax, al
test r15d, r15d
cmovne ecx, eax
movzx eax, byte [rbx + 0x28]
shr al, 2
mov dword [rsp + 0x40], ecx
test al, 1
je 0x1400a2323
mov rcx, qword [rbx + 8]
call fcn.140039a60
test eax, eax
je 0x1400a2323
mov dil, 1
jmp 0x1400a2326
xor dil, dil
cmp qword [rbx + 0x90], 0
jne 0x1400a233a
cmp byte [rsi + 0x71], 0
jne 0x1400a233a
xor dl, dl
jmp 0x1400a233c
mov dl, 1
cmp byte [rsp + 0x40], 0
mov byte [rsp + 0xc0], dl
jne 0x1400a26bd
mov rcx, rbx
call fcn.1400a2bc0
mov rcx, rbx
mov dword [rsp + 0x60], eax
call fcn.1400a2b60
movzx edx, byte [rsp + 0xc0]
mov dword [rsp + 0x40], eax
test dl, dl
je 0x1400a267d
mov rcx, qword [rbx + 8]
test byte [rcx + 0x6d], 0xfe
jne 0x1400a238e
test r15d, r15d
jne 0x1400a2514
jmp 0x1400a2504
test r15d, r15d
je 0x1400a2504
cmp dword [rsi + 0x38], 0
je 0x1400a2423
cmp qword [rbx + 0x90], 0
mov edx, ebp
mov r8d, dword [rsp + 0x48]
mov r9d, r12d
cmovne edx, dword [rsp + 0x50]
mov rcx, rbx
mov qword [rsp + 0x20], rsi
call fcn.1400a27e0
cmp dword [rbx + 0x80], 0
je 0x1400a23ee
test byte [rbx + 0x28], 1
je 0x1400a23ee
mov r9d, dword [rsp + 0x58]
mov r8d, r12d
add r9d, dword [r14]
mov edx, ebp
mov rcx, rbx
mov qword [rsp + 0x20], rsi
call fcn.1400a2aa0
cmp qword [rbx + 0x90], 0
je 0x1400a2423
cmp dword [rsp + 0xf0], 0
mov rcx, rbx
mov r8d, dword [r14]
mov edx, dword [rsp + 0x50]
mov qword [rsp + 0x20], rsi
je 0x1400a2416
mov r9d, r12d
jmp 0x1400a241e
mov r9d, dword [rsp + 0x58]
add r9d, r8d
call fcn.1400a2aa0
cmp dword [rbx + 0x80], 0
je 0x1400a247b
cmp byte [rsi + 0x70], 0
je 0x1400a247b
mov r8d, dword [rbx + 0x40]
xor eax, eax
test byte [rbx + 0x28], 1
mov edx, dword [rbx + 0x3c]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], eax
je 0x1400a245a
test dil, dil
je 0x1400a2454
mov rcx, qword [rsi + 0x48]
jmp 0x1400a2469
mov rcx, qword [rsi + 0x60]
jmp 0x1400a2469
test dil, dil
je 0x1400a2465
mov rcx, qword [rsi + 0x40]
jmp 0x1400a2469
mov rcx, qword [rsi + 0x58]
mov eax, dword [rcx + 0xc]
mov r10, qword [rcx]
mov r9d, dword [rcx + 8]
mov dword [rsp + 0x20], eax
call qword [r10 + 0x40]
mov rcx, qword [rbx + 0x68]
test rcx, rcx
je 0x1400a2499
mov edx, dword [rcx + 0xc]
mov eax, edx
sar eax, 1
sub r12d, eax
test dil, dil
jne 0x1400a24b1
mov rcx, qword [rbx + 0x70]
jmp 0x1400a24dc
mov rcx, qword [rsi + 0x50]
test rcx, rcx
je 0x1400a2504
mov edx, dword [rcx + 0xc]
mov eax, edx
sar eax, 1
sub r12d, eax
test dil, dil
je 0x1400a24d8
mov rax, qword [rcx]
mov r8d, r12d
mov r9d, dword [rcx + 8]
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], edx
mov edx, dword [rsp + 0x44]
call qword [rax + 0x40]
jmp 0x1400a2504
mov rcx, qword [rsi + 0x68]
test rcx, rcx
je 0x1400a2504
mov r10, qword [rcx]
xor eax, eax
mov r9d, dword [rcx + 8]
mov r8d, r12d
mov edx, dword [rsp + 0x44]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], eax
mov eax, dword [rcx + 0xc]
mov dword [rsp + 0x20], eax
call qword [r10 + 0x40]
mov rax, qword [rbx]
mov edx, r15d
mov rcx, rbx
call qword [rax + 8]
mov dword [rsp + 0x4c], eax
mov rdx, qword [rbx + 0x60]
test rdx, rdx
je 0x1400a2555
test r15d, r15d
je 0x1400a252f
mov rcx, qword [rbx + 8]
call fcn.14004e7b0
mov rdx, qword [rbx + 0x60]
cmp qword [rdx + 0x30], 0
mov rcx, rdx
je 0x1400a254b
test r15d, r15d
je 0x1400a254b
mov rcx, qword [rbx + 8]
call fcn.14004e9c0
mov rcx, qword [rbx + 0x60]
mov eax, dword [rcx + 0x28]
add eax, dword [rcx + 0x20]
mov dword [rsp + 0x4c], eax
test r15d, r15d
je 0x1400a266e
cmp rbx, qword [rsp + 0xe0]
jne 0x1400a266e
mov ecx, 1
call fcn.1400445c0
test al, al
je 0x1400a266e
mov rax, qword [rbx + 8]
cmp qword [0x140167528], rax
jne 0x1400a266e
cmp dword [rsi + 0x7c], 0
je 0x1400a266e
mov eax, dword [rbx + 0x50]
mov ecx, 1
mov r12d, dword [rbx + 0x58]
inc eax
mov edi, dword [rbx + 0x54]
dec r12d
mov dword [rsp + 0x48], eax
dec edi
mov eax, dword [rbx + 0x4c]
inc eax
mov dword [rsp + 0x54], eax
call fcn.1400445c0
test al, al
je 0x1400a266e
mov edx, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x60]
call fcn.140036e30
mov rcx, qword [0x140167f88]
mov edx, eax
mov r8, qword [rcx]
call qword [r8 + 0x278]
mov rcx, qword [0x140167f88]
xor r9d, r9d
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r9 + 2]
call qword [rax + 0x260]
xor ecx, ecx
call fcn.140059520
sub r12d, eax
xor ecx, ecx
dec r12d
call fcn.140059540
sub edi, eax
xor ecx, ecx
dec edi
mov dword [rsp + 0x40], edi
call fcn.140059580
mov edi, eax
xor ecx, ecx
add edi, dword [rsp + 0x48]
call fcn.140059560
mov rcx, qword [0x140167f88]
mov edx, eax
add edx, dword [rsp + 0x54]
mov r8d, edi
mov r9d, dword [rsp + 0x40]
mov dword [rsp + 0x20], r12d
mov rax, qword [rcx]
call qword [rax + 0xd0]
mov rcx, qword [0x140167f88]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x260]
movzx edx, byte [rsp + 0xc0]
mov eax, dword [rsp + 0x58]
add dword [r14], eax
mov r12, qword [rsp + 0xe8]
mov eax, dword [rsp + 0x4c]
cmp eax, dword [r12]
jle 0x1400a2693
mov dword [r12], eax
mov ecx, dword [rbx + 0x80]
test ecx, ecx
je 0x1400a27b1
test byte [rbx + 0x28], 1
je 0x1400a27b1
test dl, dl
je 0x1400a26c9
mov eax, dword [rbx + 0x44]
cdq
sub eax, edx
sar eax, 1
sub ebp, eax
inc ebp
jmp 0x1400a26cc
xor eax, eax
mov dword [rsp + 0x4c], eax
test dl, dl
je 0x1400a267d
jmp 0x1400a2676
mov ebp, r13d
mov eax, dword [r14]
sub r13d, ebp
add r13d, dword [rsp + 0xd8]
xor edi, edi
mov dword [rsp + 0xc0], ebp
mov dword [rsp + 0x48], eax
test ecx, ecx
jle 0x1400a2754
mov esi, dword [rsp + 0xc0]
xor ebp, ebp
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x78]
xor eax, eax
mov dword [rsp + 0x38], r15d
inc edi
cmp edi, dword [rbx + 0x80]
mov r9d, r13d
mov r8, r14
mov edx, esi
mov rcx, qword [rcx + rbp]
sete al
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
call fcn.1400a1fe0
mov eax, dword [rbx + 0x80]
lea rbp, [rbp + 8]
cmp edi, eax
jl 0x1400a2700
mov rsi, qword [rsp + 0x70]
test eax, eax
je 0x1400a2760
test byte [rbx + 0x28], 1
je 0x1400a2760
mov eax, dword [rsi + 0x14]
add dword [r14], eax
cmp dword [rsp + 0xf0], 0
jne 0x1400a27b1
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x68]
cmp eax, ecx
jge 0x1400a277b
cmp dword [r14], ecx
jl 0x1400a2788
mov ecx, dword [rsp + 0x5c]
cmp eax, ecx
jle 0x1400a278f
cmp dword [r14], ecx
jle 0x1400a278f
mov ecx, 1
jmp 0x1400a2791
xor ecx, ecx
test r15d, r15d
je 0x1400a27b1
test ecx, ecx
jne 0x1400a27b1
mov r9d, dword [r14]
mov r8d, eax
mov edx, dword [rsp + 0x50]
mov rcx, rbx
mov qword [rsp + 0x20], rsi
call fcn.1400a2aa0
mov r12, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xc8]
mov r15, qword [rsp + 0x80]
add rsp, 0x98
pop r14
pop r13
pop rsi
pop rbx
ret