Function at 0x1400a4480
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 [0x14039bf08]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov r12d, dword [rcx]
mov rax, qword [rdi + 0xa8]
mov qword [rsp + 0x60], rax
mov rcx, rbx
call fcn.140066880
test rax, rax
je 0x1400a4cf8
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 0x1400a454a
test al, 0x60
je 0x1400a4583
nop word cs:[rax + rax]
mov rsi, r13
inc rbp
mov rcx, rbx
call fcn.140066880
mov r13, rsi
cmp rbp, rax
jae 0x1400a4b72
mov rcx, rbx
mov rdx, rbp
call fcn.14009bb10
mov r14, rax
mov eax, dword [rax + 0x30]
test al, 2
jne 0x1400a4530
mov edx, dword [r15]
mov rcx, qword [rdi + 0x20]
test byte [rcx + 0x15], 0x10
je 0x1400a4520
test al, 0x40
jne 0x1400a4579
cmp qword [r14 + 0x40], 0
jne 0x1400a4530
jmp 0x1400a4583
mov eax, edx
not eax
test dword [r14 + 0x34], eax
je 0x1400a4530
mov dword [rsp + 0x34], edx
mov rcx, r14
call fcn.1400a5630
mov rsi, rax
mov rcx, qword [rsp + 0x60]
call fcn.1400a08e0
mov rcx, rax
mov rdx, rsi
call fcn.1400a0740
test eax, eax
je 0x1400a45ba
xor eax, eax
test byte [r14 + 0x30], 0x20
je 0x1400a4530
jmp 0x1400a45bf
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.1400a4d30
lea r12d, [rsi + 0x40]
test eax, eax
cmove r12d, esi
mov rcx, r14
call fcn.1400a5630
mov r15, rax
movsxd rsi, dword [rdi + 0xa0]
mov rcx, qword [rdi + 0x98]
call fcn.140066880
dec rax
xor ebx, ebx
cmp rax, rsi
setne bl
add rbx, rsi
mov rcx, qword [rdi + 0x98]
mov rdx, rbx
call fcn.14009bb10
mov rsi, rax
mov rdx, qword [r14 + 0x20]
mov rcx, rax
call fcn.1400acdd0
mov edx, r12d
test eax, eax
jne 0x1400a4665
mov eax, edx
and eax, 0x20
je 0x1400a4665
or edx, 0x1c
mov rbx, qword [rsp + 0x110]
mov r15, qword [rsp + 0x108]
mov r12d, dword [rsp + 0x30]
jmp 0x1400a4787
mov dword [rsp + 0x2c], edx
inc ebx
mov rcx, qword [rdi + 0x98]
call fcn.140066880
cmp ebx, eax
jge 0x1400a46e0
movsxd r12, ebx
jmp 0x1400a4696
inc r12
mov rcx, qword [rdi + 0x98]
call fcn.140066880
cdqe
cmp r12, rax
jge 0x1400a46e0
mov rcx, qword [rdi + 0x98]
mov rdx, r12
call fcn.14009bb10
mov rsi, rax
mov rcx, rax
call fcn.1400a0a00
mov rcx, rax
mov rdx, r15
call fcn.1400a0740
test eax, eax
jne 0x1400a4680
mov rdx, qword [r14 + 0x20]
mov rcx, rsi
call fcn.1400acdd0
test eax, eax
jne 0x1400a4680
mov edx, dword [rsp + 0x2c]
or edx, 0xc
mov r12d, dword [rsp + 0x30]
jmp 0x1400a475e
mov rax, qword [rdi + 0x20]
test byte [rax + 0x15], 0x10
jne 0x1400a46f7
mov rsi, r13
mov r12d, dword [rsp + 0x30]
jmp 0x1400a4773
mov rcx, qword [rdi + 0x10]
call fcn.140066880
test rax, rax
mov r12d, dword [rsp + 0x30]
je 0x1400a4770
xor ebx, ebx
jmp 0x1400a4721
inc rbx
mov rcx, qword [rdi + 0x10]
call fcn.140066880
cmp rbx, rax
jae 0x1400a4770
mov rcx, qword [rdi + 0x10]
mov rdx, rbx
call fcn.14009bb10
mov rsi, rax
mov rcx, rax
call fcn.1400a0a00
mov rcx, rax
mov rdx, r15
call fcn.1400a0740
test eax, eax
jne 0x1400a4710
mov rdx, qword [r14 + 0x20]
mov rcx, rsi
call fcn.1400acdd0
test eax, eax
jne 0x1400a4710
mov edx, dword [rsp + 0x2c]
or edx, 4
mov rbx, qword [rsp + 0x110]
mov r15, qword [rsp + 0x108]
jmp 0x1400a4787
mov rsi, r13
mov rbx, qword [rsp + 0x110]
mov r15, qword [rsp + 0x108]
mov edx, dword [rsp + 0x2c]
test dl, 4
je 0x1400a4533
mov eax, dword [r14 + 0x30]
test al, 0x10
jne 0x1400a4aa7
mov rcx, qword [rsp + 0x60]
test byte [rcx + 0x2c], 0x10
jne 0x1400a47b0
test al, 8
je 0x1400a47b8
jmp 0x1400a4aa7
test al, 4
jne 0x1400a4aa7
mov dword [rsp + 0x2c], edx
mov eax, dword [r14 + 0x34]
mov dword [rsp + 0x3c], eax
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rbx + 0x50]
call fcn.140066880
test rax, rax
je 0x1400a4a3a
xor r12d, r12d
jmp 0x1400a47fa
inc r12
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rbx + 0x50]
call fcn.140066880
cmp r12, rax
jae 0x1400a4a3a
mov rcx, qword [rbx + 0x50]
mov rdx, r12
call fcn.14009bb10
mov r15, rax
mov rcx, r14
call fcn.1400a5630
mov rcx, qword [r15 + 0x10]
test rcx, rcx
je 0x1400a4870
mov r13, rax
call fcn.140066880
test rax, rax
je 0x1400a47e0
xor ebx, ebx
jmp 0x1400a4841
inc rbx
mov rcx, qword [r15 + 0x10]
call fcn.140066880
cmp rbx, rax
jae 0x1400a47e0
mov rcx, qword [r15 + 0x10]
mov rdx, rbx
call fcn.14009bb10
cmp dword [rax], 4
jne 0x1400a4830
mov rcx, qword [rax + 8]
mov rdx, r13
call fcn.1400a0740
test eax, eax
jne 0x1400a4830
jmp 0x1400a487b
test byte [rsp + 0x2c], 0x20
je 0x1400a47e0
mov rax, qword [r14 + 0x28]
test rax, rax
je 0x1400a4a16
mov rbx, qword [rax]
test rbx, rbx
je 0x1400a4a16
mov rax, qword [r15]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400a4a16
mov rax, qword [rsp + 0x40]
cmp dword [rax], 1
jne 0x1400a48ee
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400a47e0
cmp dword [rbx], 1
jne 0x1400a49b3
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x1400a47e0
mov rcx, qword [rsp + 0x50]
call fcn.1400a0740
test eax, eax
jne 0x1400a47e0
jmp 0x1400a4a16
cmp dword [rbx], 1
jne 0x1400a490a
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x1400a49b8
jmp 0x1400a47e0
mov rcx, qword [rax + 8]
call fcn.140066880
test rax, rax
je 0x1400a47e0
xor eax, eax
mov qword [rsp + 0x68], rax
jmp 0x1400a494c
mov r13, qword [rsp + 0x68]
inc r13
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 8]
call fcn.140066880
mov rcx, r13
mov qword [rsp + 0x68], r13
cmp r13, rax
jae 0x1400a47e0
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x68]
call fcn.14009bb10
mov qword [rsp + 0x50], rax
mov rcx, qword [rbx + 8]
call fcn.140066880
test rax, rax
je 0x1400a4925
xor r13d, r13d
nop word cs:[rax + rax]
mov rcx, qword [rbx + 8]
mov rdx, r13
call fcn.14009bb10
mov rcx, qword [rsp + 0x50]
mov rdx, rax
call fcn.1400aad70
test eax, eax
je 0x1400a4a16
inc r13
mov rcx, qword [rbx + 8]
call fcn.140066880
cmp r13, rax
jb 0x1400a4980
jmp 0x1400a4925
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x40]
mov rbx, qword [rax + 8]
mov rcx, rbx
call fcn.140066880
test rax, rax
je 0x1400a47e0
xor r13d, r13d
jmp 0x1400a49f4
inc r13
mov rcx, rbx
call fcn.140066880
cmp r13, rax
jae 0x1400a47e0
mov rcx, rbx
mov rdx, r13
call fcn.14009bb10
cmp dword [rax], 4
jne 0x1400a49e0
mov rdx, qword [rax + 8]
mov rcx, qword [rsp + 0x50]
call fcn.1400a0740
test eax, eax
jne 0x1400a49e0
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 0x1400a4a89
mov rax, qword [r14 + 0x28]
test rax, rax
mov rbx, qword [rsp + 0x110]
je 0x1400a4a6e
mov edx, dword [rsp + 0x2c]
test dl, 0x20
mov r12d, dword [rsp + 0x30]
mov r15, qword [rsp + 0x108]
je 0x1400a4aa7
cmp qword [rax], 0
mov r8d, dword [rsp + 0x3c]
je 0x1400a4a89
jmp 0x1400a4aa7
mov edx, dword [rsp + 0x2c]
test dl, 0x20
mov r12d, dword [rsp + 0x30]
mov r15, qword [rsp + 0x108]
mov r8d, dword [rsp + 0x3c]
je 0x1400a4aa7
mov ecx, dword [rsp + 0x34]
mov eax, ecx
not eax
test r8d, eax
je 0x1400a4533
or ecx, r8d
mov dword [rsp + 0x34], ecx
or edx, 0x80
cmp edx, r12d
jl 0x1400a4533
test edx, edx
je 0x1400a4533
cmp edx, r12d
jne 0x1400a4b30
mov r15, qword [rsp + 0x48]
test r15, r15
je 0x1400a4b4d
mov rcx, r14
call fcn.1400a08e0
mov rbx, rax
mov rcx, r15
call fcn.1400a08e0
lea rcx, [rsp + 0x8c]
lea rdx, [rsp + 0x88]
mov r8, rax
mov r9, rbx
call fcn.140028cf0
test eax, eax
je 0x1400a4b26
cmp dword [rsp + 0x8c], 0
jg 0x1400a4b11
cmp dword [rsp + 0x88], 0
jle 0x1400a4b26
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 0x1400a4b65
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 0x1400a4533
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 0x1400a4533
mov rbp, qword [rsp + 0x48]
test rbp, rbp
je 0x1400a4cf8
mov rsi, qword [rsp + 0x70]
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400a4b92
call fcn.1400a5c80
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.14009b120
mov r15, qword [rsp + 0x80]
mov rcx, qword [r15]
test rcx, rcx
je 0x1400a4bd9
call fcn.1400a5c80
mov qword [r15], 0
mov rax, qword [rdi + 0x20]
test byte [rax + 0x15], 0x20
je 0x1400a4cf8
mov rax, qword [rdi + 0xa8]
mov ecx, dword [rbp + 0x1c]
or ecx, dword [rax + 0x2c]
test ecx, 0x1000
je 0x1400a4cf8
mov rcx, rbx
call fcn.140066880
test rax, rax
je 0x1400a4cf3
xor r14d, r14d
jmp 0x1400a4c34
inc r14
mov rcx, rbx
call fcn.140066880
cmp r14, rax
jae 0x1400a4cf3
mov rcx, rbx
mov rdx, r14
call fcn.14009bb10
cmp qword [rax + 0x40], 0
je 0x1400a4c20
cmp qword [rbp + 0x38], 0
je 0x1400a4c20
mov rsi, rax
mov rcx, rax
call fcn.1400a5630
mov rbx, rax
mov rcx, rbp
call fcn.1400a5630
mov rcx, rax
mov rdx, rbx
mov rbx, qword [rsp + 0x110]
call fcn.1400a0740
test eax, eax
jne 0x1400a4c20
mov rcx, rsi
mov rdx, rbp
mov r8d, 0x5a
call fcn.1400a36f0
test eax, eax
je 0x1400a4c20
mov rcx, rsi
mov rdx, rbp
mov r8d, 0x302
call fcn.1400a36f0
test eax, eax
je 0x1400a4c20
mov rdx, qword [rbp + 0x38]
mov rcx, qword [rsi + 0x40]
call fcn.140026b60
test eax, eax
jg 0x1400a4c20
mov rdx, qword [rbp + 0x38]
mov rcx, qword [rsi + 0x38]
call fcn.140026b60
test eax, eax
jle 0x1400a4c20
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
call fcn.1400a4d30
test eax, eax
je 0x1400a4ce9
or byte [r13], 2
mov rcx, rsi
call fcn.14009b120
jmp 0x1400a4cf5
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.140263300
mov eax, esi
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret