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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rax, [rsp + 0x44]
mov rbx, rcx
mov r14, rdx
mov rdi, r9
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
cmp dword [rbx + 0x34], 0
jne 0x1401a802c
mov rax, qword [r14 + 0x58]
mov dword [rsp + 0x44], 0
movzx eax, word [rax + 4]
movzx ebp, ax
mov dword [rsp + 0x24], eax
mov rsi, rax
imul rbp, rbp, 0x78
lea r12, [r14 + rbp + 0x60]
mov qword [rsp + 0x48], r12
test r8d, r8d
je 0x1401a7f87
mov rdx, rbp
add rdx, r14
mov r15, qword [rdx + 0xb0]
test r15, r15
je 0x1401a7f87
mov eax, dword [rdx + 0x68]
and eax, 2
mov dword [rsp + 0x38], eax
jne 0x1401a7f0e
mov r13d, dword [rdx + 0x6c]
cmp dword [rbx + 0x34], 0
jne 0x1401a7e29
cmp dword [r15 + 0x14], 0
jne 0x1401a7e29
cmp rdi, qword [r15 + 0x20]
jle 0x1401a7e29
xor r8d, r8d
mov rdx, r15
mov rcx, rbx
mov r13d, dword [r15 + 0x1c]
call fcn.1401a19b0
jmp 0x1401a7e02
imul r8, rsi, 0x78
lea r15, [r14 + r8]
cmp dword [r15 + 0x6c], r13d
jge 0x1401a7f36
mov rax, qword [r15 + 0x60]
cmp r13d, dword [rax + 8]
jle 0x1401a7e51
mov dword [rbx + 0x34], 0x10b
jmp 0x1401a7f51
mov rcx, qword [r15 + 0x78]
call fcn.140216000
lea r9d, [r13 - 1]
mov rdx, r12
mov rcx, rbx
mov qword [r15 + 0x78], 0
mov dword [r15 + 0x6c], r9d
call fcn.1401aa230
cmp dword [rbx + 0x34], 0
jne 0x1401a7f51
mov rdx, qword [r15 + 0x70]
test rdx, rdx
je 0x1401a7f9e
mov rax, qword [rdx]
movzx ecx, byte [rax]
movzx r9d, byte [rax + 1]
shl ecx, 8
add ecx, r9d
movzx r9d, cx
cmp dword [rdx + 0xc], r9d
jle 0x1401a7ead
cmp r9d, 3
jg 0x1401a7eb9
mov dword [rbx + 0x34], 0x10b
jmp 0x1401a7f66
movzx ecx, cx
lea rdx, [r14 + rbp + 0xc8]
mov dword [rsp + 0x3c], r9d
add rcx, rax
call fcn.1401e2b60
mov r9d, dword [rsp + 0x3c]
mov rdx, r12
mov rcx, rbx
movzx eax, al
add r9d, eax
movsxd r9, r9d
mov qword [r15 + 0x80], r9
call fcn.1401a9d20
jmp 0x1401a7f51
cmp dword [r15 + 0x14], 0
jne 0x1401a7f14
cmp rdi, qword [r15 + 0x20]
jge 0x1401a7f14
xor r8d, r8d
mov rdx, r15
mov rcx, rbx
call fcn.1401a1a70
cmp dword [rbx + 0x34], 0
je 0x1401a7ef3
imul rax, rsi, 0x78
mov edx, dword [r15 + 0x1c]
add rax, r14
cmp edx, dword [rax + 0x6c]
jge 0x1401a7f36
inc edx
mov rcx, rbx
mov dword [rax + 0x6c], edx
mov rdx, r12
call fcn.1401aa680
jmp 0x1401a7f51
cmp dword [rbx + 0x34], 0
jne 0x1401a7f51
imul rax, rsi, 0x78
xor r8d, r8d
mov rdx, r12
mov rcx, rbx
call qword [r14 + rax + 0x88]
imul rax, rsi, 0x78
add rax, r14
cmp qword [rax + 0x70], 0
je 0x1401a7f9e
cmp dword [rsp + 0x38], 0
jne 0x1401a7f7c
imul rax, rsi, 0x78
cmp rdi, qword [r14 + rax + 0xc8]
jle 0x1401a7f9e
cmp dword [rbx + 0x34], 0
je 0x1401a7f3c
jmp 0x1401a7f9e
cmp rdi, qword [rax + 0xc8]
jge 0x1401a7f9e
jmp 0x1401a7f74
imul rsi, rsi, 0x78
mov r8, qword [rsp + 0x28]
mov rdx, r12
mov rcx, rbx
call qword [r14 + rsi + 0x88]
mov rax, qword [rsp + 0x48]
cmp qword [rax + 0x10], 0
jne 0x1401a7fef
mov r8d, dword [rsp + 0x24]
mov rdx, r14
mov rcx, rbx
mov r9d, 1
call fcn.1401a6ec0
mov rcx, r14
call fcn.1401a8100
mov rax, qword [r14 + 0x58]
movzx edx, word [rax + 4]
mov rax, rdx
imul rdx, rdx, 0x78
imul rax, rax, 0x78
lea rdx, [r14 + rdx + 0x60]
cmp qword [r14 + rax + 0x70], 0
mov qword [rsp + 0x48], rdx
jne 0x1401a800b
jmp 0x1401a802c
cmp dword [rsp + 0x44], 0
jne 0x1401a7faa
mov r8, qword [rsp + 0x30]
mov edx, dword [rsp + 0x24]
mov rcx, r14
call fcn.1401a6da0
test eax, eax
jne 0x1401a7faa
cmp byte [r14 + 0x48], 0
mov rdx, qword [rsp + 0x48]
je 0x1401a8024
mov r8d, dword [rdx + 0x70]
test r8d, r8d
je 0x1401a7d9d
mov rcx, r14
call qword [r14 + 0x38]
nop
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret