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

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rdi, qword [rcx + 0x58]
mov r13d, r8d
mov rbp, rcx
mov rsi, rdx
mov r12d, r8d
shr r13d, 0x1f
test rdi, rdi
je 0x1400a5d00
test r13b, r13b
je 0x1400a5d00
movsxd rax, dword [rdi]
lea rbx, [rdi + 8]
test eax, eax
jle 0x1400a5dd2
sub eax, 1
lea rax, [rax + rax*2]
lea r14, [rdi + rax*8 + 0x20]
jmp 0x1400a5cd6
test rsi, rsi
je 0x1400a5ce4
xor ecx, ecx
mov r9d, 0xffffffff
mov r8, rsi
call fcn.140057e00
test eax, eax
je 0x1400a5ce9
add rbx, 0x18
cmp rbx, r14
je 0x1400a5dc0
test byte [rbx + 0x11], 8
je 0x1400a5cc9
mov rdx, qword [rbx]
test rdx, rdx
jne 0x1400a5cb0
cmp rdx, rsi
jne 0x1400a5cc9
mov eax, dword [rbx + 0x14]
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rcx, qword [rbp]
test rsi, rsi
je 0x1400a5db8
mov rdx, rsi
call fcn.14002a250
mov rsi, rax
test rax, rax
je 0x1400a5db8
test byte [rax + 4], 8
jne 0x1400a5e00
test rdi, rdi
je 0x1400a5f00
movsxd rax, dword [rdi]
cmp dword [rdi + 4], eax
jle 0x1400a5ed0
lea edx, [rax + 1]
pxor xmm0, xmm0
mov dword [rdi], edx
lea rdx, [rax + rax*2]
lea rdx, [rdi + rdx*8]
movups xmmword [rdx + 8], xmm0
mov qword [rdx + 0x18], 0
mov qword [rdx + 8], rsi
lea rdx, [rax + rax*2]
lea ecx, [r13*8]
lea rdx, [rdi + rdx*8 + 0x10]
movzx r13d, byte [rdx + 9]
and r13d, 0xfffffff7
or r13d, ecx
mov byte [rdx + 9], r13b
test r12d, r12d
jns 0x1400a5d92
mov ecx, dword [rbp + 0x38]
lea r12d, [rcx + 1]
mov dword [rbp + 0x38], r12d
lea rax, [rax + rax*2]
mov dword [rdi + rax*8 + 0x1c], r12d
mov eax, r12d
mov qword [rbp + 0x58], rdi
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
xor esi, esi
jmp 0x1400a5d2b
mov rcx, qword [rbp]
test rsi, rsi
jne 0x1400a5d0d
jmp 0x1400a5d34
mov rcx, qword [rcx]
test rdx, rdx
je 0x1400a5d37
call fcn.14002a250
mov rsi, rax
test rax, rax
je 0x1400a5d34
test byte [rax + 4], 8
je 0x1400a5d34
nop dword [rax]
mov rbx, qword [rbp + 0x10]
movsxd rdi, dword [rbx + 0x90]
cmp edi, dword [rbx + 0x94]
jge 0x1400a5f1f
lea eax, [rdi + 1]
mov dword [rbx + 0x90], eax
movsxd rax, edi
lea rdx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
lea rax, [rax + rdx*8]
mov qword [rax], 0xf
mov qword [rax + 8], 0
mov qword [rax + 0x10], 0
mov rcx, qword [rbp]
mov byte [rbp + 0x23], 0
mov eax, r12d
cmp byte [rcx + 0x67], 0
jne 0x1400a5e84
test r12d, r12d
js 0x1400a5f11
cmp qword [rbp + 0x10], 0
je 0x1400a5e84
mov r8d, eax
mov rcx, rbp
mov rdx, rsi
mov dword [rsp + 0x3c], eax
call fcn.1400a4df0
mov rcx, qword [rbp]
mov eax, dword [rsp + 0x3c]
mov byte [rbp + 0x23], 1
mov rdx, rsi
mov dword [rsp + 0x3c], eax
call fcn.140018b80
mov r8, qword [rbx]
mov eax, dword [rsp + 0x3c]
lea rdx, [0x1401f50c0]
mov ecx, dword [rbx + 0x90]
cmp byte [r8 + 0x67], 0
jne 0x1400a5ebe
mov rdx, qword [rbx + 0x88]
lea r8, [rdi + rdi*2]
lea rdx, [rdx + r8*8]
mov dword [rdx + 8], ecx
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rcx, qword [rbp]
mov rdx, rdi
mov r8, rsi
call fcn.14003fdf0
mov rdi, rax
mov eax, r12d
test rdi, rdi
je 0x1400a5d9e
mov eax, dword [rdi]
sub eax, 1
cdqe
jmp 0x1400a5d61
mov rcx, qword [rbp]
mov rdx, rsi
call fcn.140027d40
mov rdi, rax
jmp 0x1400a5ee2
mov eax, dword [rbp + 0x38]
add eax, 1
mov dword [rbp + 0x38], eax
jmp 0x1400a5e63
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf
mov rcx, rbx
mov dword [rsp + 0x20], 0
call fcn.1400445b0
movsxd rdi, eax
jmp 0x1400a5e49