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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov r14, r9
mov rsi, r8
mov r15, rdx
mov rdi, rcx
mov rbx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x100]
mov rax, qword [0x14039fd98]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov r12d, dword [rcx]
mov rax, qword [rdi + 0xb8]
mov qword [rsp + 0x60], rax
mov rcx, rbx
call fcn.140069580
test rax, rax
je 0x1400a9298
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x80], rsi
mov r15, qword [rsp + 0x108]
xor eax, eax
mov qword [rsp + 0x58], rax
xor eax, eax
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x38], 0
xor ebp, ebp
xor r13d, r13d
jmp 0x1400a8a6a
test al, 0x60
je 0x1400a8aa3
nop word cs:[rax + rax]
mov rsi, r13
inc rbp
mov rcx, rbx
call fcn.140069580
mov r13, rsi
cmp rbp, rax
jae 0x1400a9112
mov rcx, rbx
mov rdx, rbp
call fcn.1400a0a80
mov r14, rax
mov eax, dword [rax + 0x30]
test al, 2
jne 0x1400a8a50
mov edx, dword [r15]
mov rcx, qword [rdi + 0x20]
test byte [rcx + 0x15], 0x10
je 0x1400a8a40
test al, 0x40
jne 0x1400a8a99
cmp qword [r14 + 0x40], 0
jne 0x1400a8a50
jmp 0x1400a8aa3
mov eax, edx
not eax
test dword [r14 + 0x34], eax
je 0x1400a8a50
mov dword [rsp + 0x34], edx
mov rcx, r14
call fcn.1400a9b60
mov rsi, rax
mov rcx, qword [rsp + 0x60]
call fcn.1400a43a0
mov rcx, rax
mov rdx, rsi
call fcn.1400a4200
test eax, eax
je 0x1400a8ada
xor eax, eax
test byte [r14 + 0x30], 0x20
je 0x1400a8a50
jmp 0x1400a8adf
mov eax, 0x20
mov dword [rsp + 0x30], r12d
mov esi, dword [r14 + 0x1c]
shr esi, 1
and esi, 0x100
or esi, eax
xor esi, 0x100
mov rcx, rdi
mov rdx, r14
xor r8d, r8d
call fcn.1400a92d0
lea r12d, [rsi + 0x40]
test eax, eax
cmove r12d, esi
mov rcx, r14
call fcn.1400a9b60
mov r15, rax
movsxd rsi, dword [rdi + 0xac]
mov rcx, qword [rdi + 0x98]
call fcn.140069580
dec rax
xor ebx, ebx
cmp rax, rsi
setne bl
add rbx, rsi
mov rcx, qword [rdi + 0x98]
mov rdx, rbx
call fcn.1400a0a80
mov rsi, rax
mov rdx, qword [r14 + 0x20]
mov rcx, rax
call fcn.1400b36e0
mov edx, r12d
test eax, eax
jne 0x1400a8b85
mov eax, edx
and eax, 0x20
je 0x1400a8b85
or edx, 0x1c
mov rbx, qword [rsp + 0x110]
mov r15, qword [rsp + 0x108]
mov r12d, dword [rsp + 0x30]
jmp 0x1400a8d27
mov dword [rsp + 0x2c], edx
inc ebx
mov rcx, qword [rdi + 0x98]
call fcn.140069580
cmp ebx, eax
jge 0x1400a8c10
movsxd r12, ebx
jmp 0x1400a8bb6
inc r12
mov rcx, qword [rdi + 0x98]
call fcn.140069580
cdqe
cmp r12, rax
jge 0x1400a8c10
mov rcx, qword [rdi + 0x98]
mov rdx, r12
call fcn.1400a0a80
mov rsi, rax
mov rcx, rax
call fcn.1400a44c0
mov rcx, rax
mov rdx, r15
call fcn.1400a4200
test eax, eax
jne 0x1400a8ba0
mov rdx, qword [r14 + 0x20]
mov rcx, rsi
call fcn.1400b36e0
test eax, eax
jne 0x1400a8ba0
mov edx, dword [rsp + 0x2c]
or edx, 0xc
mov r12d, dword [rsp + 0x30]
mov rbx, qword [rsp + 0x110]
mov r15, qword [rsp + 0x108]
jmp 0x1400a8d27
mov rax, qword [rdi + 0x20]
test byte [rax + 0x15], 0x10
jne 0x1400a8c2f
mov rsi, r13
mov r12d, dword [rsp + 0x30]
mov rbx, qword [rsp + 0x110]
jmp 0x1400a8d1b
mov rcx, qword [rdi + 0x10]
call fcn.140069580
test rax, rax
mov rbx, qword [rsp + 0x110]
je 0x1400a8c99
xor r12d, r12d
jmp 0x1400a8c61
inc r12
mov rcx, qword [rdi + 0x10]
call fcn.140069580
cmp r12, rax
jae 0x1400a8c99
mov rcx, qword [rdi + 0x10]
mov rdx, r12
call fcn.1400a0a80
mov rsi, rax
mov rcx, rax
call fcn.1400a44c0
mov rcx, rax
mov rdx, r15
call fcn.1400a4200
test eax, eax
jne 0x1400a8c50
mov rdx, qword [r14 + 0x20]
mov rcx, rsi
call fcn.1400b36e0
test eax, eax
jne 0x1400a8c50
jmp 0x1400a8cfd
mov rax, qword [rdi]
mov rcx, qword [rax + 0x18]
call fcn.140069580
test rax, rax
je 0x1400a8d13
xor r12d, r12d
jmp 0x1400a8cc4
inc r12
mov rax, qword [rdi]
mov rcx, qword [rax + 0x18]
call fcn.140069580
cmp r12, rax
jae 0x1400a8d13
mov rax, qword [rdi]
mov rcx, qword [rax + 0x18]
mov rdx, r12
call fcn.1400a0a80
mov rsi, rax
mov rcx, rax
call fcn.1400a44c0
mov rcx, rax
mov rdx, r15
call fcn.1400a4200
test eax, eax
jne 0x1400a8cb0
mov rdx, qword [r14 + 0x20]
mov rcx, rsi
call fcn.1400b36e0
test eax, eax
jne 0x1400a8cb0
mov edx, dword [rsp + 0x2c]
or edx, 4
mov r12d, dword [rsp + 0x30]
mov r15, qword [rsp + 0x108]
jmp 0x1400a8d27
mov rsi, r13
mov r12d, dword [rsp + 0x30]
mov r15, qword [rsp + 0x108]
mov edx, dword [rsp + 0x2c]
test dl, 4
je 0x1400a8a53
mov eax, dword [r14 + 0x30]
test al, 0x10
jne 0x1400a9047
mov rcx, qword [rsp + 0x60]
test byte [rcx + 0x30], 0x10
jne 0x1400a8d50
test al, 8
je 0x1400a8d58
jmp 0x1400a9047
test al, 4
jne 0x1400a9047
mov dword [rsp + 0x2c], edx
mov eax, dword [r14 + 0x34]
mov dword [rsp + 0x3c], eax
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rbx + 0x58]
call fcn.140069580
test rax, rax
je 0x1400a8fda
xor r12d, r12d
jmp 0x1400a8d9a
inc r12
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rbx + 0x58]
call fcn.140069580
cmp r12, rax
jae 0x1400a8fda
mov rcx, qword [rbx + 0x58]
mov rdx, r12
call fcn.1400a0a80
mov r15, rax
mov rcx, r14
call fcn.1400a9b60
mov rcx, qword [r15 + 0x10]
test rcx, rcx
je 0x1400a8e10
mov r13, rax
call fcn.140069580
test rax, rax
je 0x1400a8d80
xor ebx, ebx
jmp 0x1400a8de1
inc rbx
mov rcx, qword [r15 + 0x10]
call fcn.140069580
cmp rbx, rax
jae 0x1400a8d80
mov rcx, qword [r15 + 0x10]
mov rdx, rbx
call fcn.1400a0a80
cmp dword [rax], 4
jne 0x1400a8dd0
mov rcx, qword [rax + 8]
mov rdx, r13
call fcn.1400a4200
test eax, eax
jne 0x1400a8dd0
jmp 0x1400a8e1b
test byte [rsp + 0x2c], 0x20
je 0x1400a8d80
mov rax, qword [r14 + 0x28]
test rax, rax
je 0x1400a8fb6
mov rbx, qword [rax]
test rbx, rbx
je 0x1400a8fb6
mov rax, qword [r15]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400a8fb6
mov rax, qword [rsp + 0x40]
cmp dword [rax], 1
jne 0x1400a8e8e
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400a8d80
cmp dword [rbx], 1
jne 0x1400a8f53
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x1400a8d80
mov rcx, qword [rsp + 0x50]
call fcn.1400a4200
test eax, eax
jne 0x1400a8d80
jmp 0x1400a8fb6
cmp dword [rbx], 1
jne 0x1400a8eaa
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x1400a8f58
jmp 0x1400a8d80
mov rcx, qword [rax + 8]
call fcn.140069580
test rax, rax
je 0x1400a8d80
xor eax, eax
mov qword [rsp + 0x68], rax
jmp 0x1400a8eec
mov r13, qword [rsp + 0x68]
inc r13
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 8]
call fcn.140069580
mov rcx, r13
mov qword [rsp + 0x68], r13
cmp r13, rax
jae 0x1400a8d80
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x68]
call fcn.1400a0a80
mov qword [rsp + 0x50], rax
mov rcx, qword [rbx + 8]
call fcn.140069580
test rax, rax
je 0x1400a8ec5
xor r13d, r13d
nop word cs:[rax + rax]
mov rcx, qword [rbx + 8]
mov rdx, r13
call fcn.1400a0a80
mov rcx, qword [rsp + 0x50]
mov rdx, rax
call fcn.1400b0c60
test eax, eax
je 0x1400a8fb6
inc r13
mov rcx, qword [rbx + 8]
call fcn.140069580
cmp r13, rax
jb 0x1400a8f20
jmp 0x1400a8ec5
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x40]
mov rbx, qword [rax + 8]
mov rcx, rbx
call fcn.140069580
test rax, rax
je 0x1400a8d80
xor r13d, r13d
jmp 0x1400a8f94
inc r13
mov rcx, rbx
call fcn.140069580
cmp r13, rax
jae 0x1400a8d80
mov rcx, rbx
mov rdx, r13
call fcn.1400a0a80
cmp dword [rax], 4
jne 0x1400a8f80
mov rdx, qword [rax + 8]
mov rcx, qword [rsp + 0x50]
call fcn.1400a4200
test eax, eax
jne 0x1400a8f80
mov r8d, dword [rsp + 0x3c]
and r8d, dword [r15 + 0x18]
mov r12d, dword [rsp + 0x30]
mov rbx, qword [rsp + 0x110]
mov r15, qword [rsp + 0x108]
mov edx, dword [rsp + 0x2c]
jmp 0x1400a9029
mov rax, qword [r14 + 0x28]
test rax, rax
mov rbx, qword [rsp + 0x110]
je 0x1400a900e
mov edx, dword [rsp + 0x2c]
test dl, 0x20
mov r12d, dword [rsp + 0x30]
mov r15, qword [rsp + 0x108]
je 0x1400a9047
cmp qword [rax], 0
mov r8d, dword [rsp + 0x3c]
je 0x1400a9029
jmp 0x1400a9047
mov edx, dword [rsp + 0x2c]
test dl, 0x20
mov r12d, dword [rsp + 0x30]
mov r15, qword [rsp + 0x108]
mov r8d, dword [rsp + 0x3c]
je 0x1400a9047
mov ecx, dword [rsp + 0x34]
mov eax, ecx
not eax
test r8d, eax
je 0x1400a8a53
or ecx, r8d
mov dword [rsp + 0x34], ecx
or edx, 0x80
cmp edx, r12d
jl 0x1400a8a53
test edx, edx
je 0x1400a8a53
cmp edx, r12d
jne 0x1400a90d0
mov r15, qword [rsp + 0x48]
test r15, r15
je 0x1400a90ed
mov rcx, r14
call fcn.1400a43a0
mov rbx, rax
mov rcx, r15
call fcn.1400a43a0
lea rcx, [rsp + 0x8c]
lea rdx, [rsp + 0x88]
mov r8, rax
mov r9, rbx
call fcn.140028f60
test eax, eax
je 0x1400a90c6
cmp dword [rsp + 0x8c], 0
jg 0x1400a90b1
cmp dword [rsp + 0x88], 0
jle 0x1400a90c6
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x48], r14
mov rax, rsi
mov qword [rsp + 0x58], rsi
mov rbx, qword [rsp + 0x110]
jmp 0x1400a9105
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x38], eax
mov r12d, edx
mov qword [rsp + 0x48], r14
mov rax, rsi
mov qword [rsp + 0x58], rsi
jmp 0x1400a8a53
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x38], eax
mov r12d, edx
mov qword [rsp + 0x48], r14
mov rax, rsi
mov qword [rsp + 0x58], rsi
mov r15, qword [rsp + 0x108]
jmp 0x1400a8a53
mov rbp, qword [rsp + 0x48]
test rbp, rbp
je 0x1400a9298
mov rsi, qword [rsp + 0x70]
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400a9132
call fcn.1400aa1d0
mov qword [rsi], rbp
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
mov qword [rax], rcx
mov r13, qword [rsp + 0x100]
mov dword [r13], r12d
mov eax, dword [rsp + 0x38]
mov dword [r15], eax
mov rcx, rbp
call fcn.1400a00d0
mov r15, qword [rsp + 0x80]
mov rcx, qword [r15]
test rcx, rcx
je 0x1400a9179
call fcn.1400aa1d0
mov qword [r15], 0
mov rax, qword [rdi + 0x20]
test byte [rax + 0x15], 0x20
je 0x1400a9298
mov rax, qword [rdi + 0xb8]
mov ecx, dword [rbp + 0x1c]
or ecx, dword [rax + 0x30]
test ecx, 0x1000
je 0x1400a9298
mov rcx, rbx
call fcn.140069580
test rax, rax
je 0x1400a9293
xor r14d, r14d
jmp 0x1400a91d4
inc r14
mov rcx, rbx
call fcn.140069580
cmp r14, rax
jae 0x1400a9293
mov rcx, rbx
mov rdx, r14
call fcn.1400a0a80
cmp qword [rax + 0x40], 0
je 0x1400a91c0
cmp qword [rbp + 0x38], 0
je 0x1400a91c0
mov rsi, rax
mov rcx, rax
call fcn.1400a9b60
mov rbx, rax
mov rcx, rbp
call fcn.1400a9b60
mov rcx, rax
mov rdx, rbx
mov rbx, qword [rsp + 0x110]
call fcn.1400a4200
test eax, eax
jne 0x1400a91c0
mov rcx, rsi
mov rdx, rbp
mov r8d, 0x5a
call fcn.1400a7b20
test eax, eax
je 0x1400a91c0
mov rcx, rsi
mov rdx, rbp
mov r8d, 0x302
call fcn.1400a7b20
test eax, eax
je 0x1400a91c0
mov rdx, qword [rbp + 0x38]
mov rcx, qword [rsi + 0x40]
call fcn.140026bf0
test eax, eax
jg 0x1400a91c0
mov rdx, qword [rbp + 0x38]
mov rcx, qword [rsi + 0x38]
call fcn.140026bf0
test eax, eax
jle 0x1400a91c0
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
call fcn.1400a92d0
test eax, eax
je 0x1400a9289
or byte [r13], 2
mov rcx, rsi
call fcn.1400a00d0
jmp 0x1400a9295
xor esi, esi
mov qword [r15], rsi
xor esi, esi
cmp r12d, 0x1c0
setge sil
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140265fe0
mov eax, esi
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret