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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rdi, qword [rcx + 0x10]
mov rbx, rcx
mov rcx, rdi
mov r15, r9
mov rbp, r8
mov rsi, rdx
mov eax, dword [rdi + 0x3c]
mov dword [rsp + 0x30], eax
call fcn.140112390
mov r13d, dword [rsp + 0xa8]
xor r12d, r12d
mov dword [rsp + 0x80], eax
mov r14d, eax
test r13d, r13d
je 0x1400a8217
xor r9d, r9d
mov dword [rsp + 0x20], r12d
mov r8d, r13d
lea edx, [r12 + 0x2e]
mov rcx, rdi
call fcn.1401089e0
mov rsi, qword [rsp + 0xb0]
mov dword [rsp + 0xa8], eax
test rsi, rsi
je 0x1400a80f4
inc dword [rsi]
mov eax, dword [rbp + 0xc]
lea r14d, [r13 + 1]
mov r8d, dword [rbp + 8]
mov r9d, r14d
mov edx, 0x2a
mov dword [rsp + 0x20], eax
mov rcx, rdi
call fcn.1401089e0
mov r8, qword [rdi + 8]
mov r12d, eax
mov rcx, qword [rdi]
test r8, r8
je 0x1400a8170
cmp byte [rcx + 0x51], 0
jne 0x1400a8170
test eax, eax
jns 0x1400a8131
mov eax, dword [rdi + 0x3c]
dec eax
cdqe
lea rdx, [rax + rax*2]
lea r14, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 + 1]
mov r8, qword [r14 + 0x10]
call fcn.140087680
test rsi, rsi
jne 0x1400a815d
mov qword [r14 + 0x10], rsi
mov byte [r14 + 1], sil
lea r14d, [r13 + 1]
jmp 0x1400a8187
mov qword [r14 + 0x10], rsi
mov byte [r14 + 1], 0xfa
lea r14d, [r13 + 1]
jmp 0x1400a8187
test rsi, rsi
je 0x1400a8187
cmp qword [rcx + 0x328], 0
jne 0x1400a8187
mov rcx, rsi
call fcn.1400efb80
mov r9d, dword [rsp + 0x80]
lea r8d, [r12 + 2]
mov edx, 0x2b
mov dword [rsp + 0x20], r8d
mov rcx, rdi
call fcn.1401089e0
mov eax, dword [rsp + 0xa8]
mov edx, dword [rdi + 0x3c]
cmp edx, eax
jbe 0x1400a81c3
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 8]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
lea ecx, [rdx - 1]
mov r9d, r14d
mov edx, 0x21
mov dword [rax + 0x64], ecx
mov rcx, rdi
mov eax, dword [rbp + 0xc]
mov r8d, dword [rbp + 8]
dec eax
mov dword [rsp + 0x20], eax
call fcn.1401089e0
xor r12d, r12d
mov r9d, r13d
mov rcx, rdi
mov dword [rsp + 0x20], r12d
lea edx, [r12 + 0x19]
lea r8d, [r12 + 1]
call fcn.1401089e0
mov rsi, qword [rsp + 0x88]
mov r14d, dword [rsp + 0x80]
mov rax, qword [rbx]
cmp byte [rax + 0x51], 0
je 0x1400a8227
xor eax, eax
jmp 0x1400a8482
mov edx, dword [rsi + 0x10]
mov r8d, r14d
mov rcx, rdi
call fcn.140078080
movzx ecx, byte [r15]
sub ecx, 0xa
je 0x1400a8595
sub ecx, 1
je 0x1400a84a3
sub ecx, 1
je 0x1400a82f8
sub ecx, 1
je 0x1400a8290
cmp ecx, 1
je 0x1400a82f8
mov r9d, dword [rbp + 0xc]
mov edx, 0x23
mov r8d, dword [rbp + 8]
mov rcx, rdi
mov dword [rsp + 0x20], r12d
call fcn.1401089e0
mov r8d, dword [rbp + 0xc]
mov rcx, rbx
mov edx, dword [rbp + 8]
call fcn.1400da510
jmp 0x1400a840a
mov r8d, dword [r15 + 8]
test r8d, r8d
jne 0x1400a82cc
mov ecx, dword [rbp + 0xc]
mov edx, dword [rbx + 0x44]
mov r8d, dword [rbx + 0x48]
cmp ecx, edx
jg 0x1400a82b5
lea eax, [r8 + rcx]
sub edx, ecx
mov dword [rbx + 0x48], eax
mov dword [rbx + 0x44], edx
jmp 0x1400a82c1
mov eax, dword [rbx + 0x54]
lea r8d, [rax + 1]
add eax, ecx
mov dword [rbx + 0x54], eax
mov dword [r15 + 8], r8d
mov eax, dword [rbp + 0xc]
mov dword [r15 + 0xc], eax
mov r9d, dword [rbp + 0xc]
mov rcx, rbx
mov edx, dword [rbp + 8]
call fcn.1400db500
mov r8d, dword [r15 + 4]
xor r9d, r9d
mov rcx, rdi
mov dword [rsp + 0x20], r12d
lea edx, [r9 + 0x16]
call fcn.1401089e0
jmp 0x1400a840a
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x1400a830f
inc dword [rbx + 0x54]
mov r14d, dword [rbx + 0x54]
inc dword [rbx + 0x54]
mov esi, dword [rbx + 0x54]
jmp 0x1400a8334
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov r14d, dword [rbx + rax*4 + 0x24]
test al, al
jne 0x1400a8328
inc dword [rbx + 0x54]
mov esi, dword [rbx + 0x54]
jmp 0x1400a8334
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov esi, dword [rbx + rax*4 + 0x24]
mov r9d, dword [rbp + 0xc]
mov edx, 0x31
mov r8d, dword [rbp + 8]
mov rcx, rdi
mov dword [rsp + 0x20], r14d
call fcn.1401089e0
mov r8d, dword [r15 + 4]
mov r9d, esi
mov edx, 0x4a
mov dword [rsp + 0x20], r12d
mov rcx, rdi
call fcn.1401089e0
mov r8d, dword [r15 + 4]
mov r9d, r14d
mov edx, 0x4b
mov dword [rsp + 0x20], esi
mov rcx, rdi
call fcn.1401089e0
mov rdx, qword [rdi + 8]
test rdx, rdx
je 0x1400a8395
movsxd rax, dword [rdi + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 8
test esi, esi
je 0x1400a83cd
movzx edx, byte [rbx + 0x1f]
cmp dl, 8
jae 0x1400a83cd
mov ecx, r12d
lea rax, [rbx + 0x88]
nop dword [rax]
cmp dword [rax + 0xc], esi
je 0x1400a83c9
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x1400a83b0
mov dword [rbx + rdx*4 + 0x24], esi
inc byte [rbx + 0x1f]
jmp 0x1400a83cd
mov byte [rax + 6], 1
test r14d, r14d
je 0x1400a8402
movzx edx, byte [rbx + 0x1f]
cmp dl, 8
jae 0x1400a8402
mov ecx, r12d
lea rax, [rbx + 0x88]
cmp dword [rax + 0xc], r14d
je 0x1400a849a
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x1400a83e5
mov dword [rbx + rdx*4 + 0x24], r14d
inc byte [rbx + 0x1f]
mov r14d, dword [rsp + 0x80]
mov rax, qword [rsp + 0x88]
mov r8d, dword [rax + 0xc]
test r8d, r8d
je 0x1400a8435
mov r9d, dword [rsp + 0xb8]
mov edx, 0x8c
mov rcx, rdi
mov dword [rsp + 0x20], r12d
call fcn.1401089e0
mov r10, qword [rdi + 0x30]
mov ecx, 0xffffffff
sub ecx, r14d
js 0x1400a8459
mov r9, qword [r10 + 0x80]
test r9, r9
je 0x1400a8459
mov edx, dword [rdi + 0x3c]
movsxd r8, ecx
mov dword [r9 + r8*4], edx
mov edx, dword [rdi + 0x3c]
xor r9d, r9d
mov r8d, dword [rsp + 0xa0]
dec edx
mov dword [r10 + 0x64], edx
mov rcx, rdi
mov dword [rsp + 0x20], r12d
lea edx, [r9 + 0x12]
call fcn.1401089e0
mov eax, dword [rsp + 0x30]
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov byte [rax + 6], 1
jmp 0x1400a8402
mov rax, qword [rsi]
lea r12, [r15 + 1]
movzx edx, byte [r12]
mov rcx, qword [rax + 8]
mov rcx, qword [rcx]
call fcn.1400d40c0
mov byte [r12], al
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x1400a84d0
inc dword [rbx + 0x54]
mov r14d, dword [rbx + 0x54]
jmp 0x1400a84dd
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov r14d, dword [rbx + rax*4 + 0x24]
mov r8d, dword [rbp + 8]
mov r9d, 1
mov rcx, rdi
mov dword [rsp + 0x20], r14d
lea edx, [r9 + 0x30]
call fcn.1401089e0
mov r8, qword [rdi + 8]
mov rcx, qword [rdi]
test r8, r8
je 0x1400a8558
cmp byte [rcx + 0x51], 0
jne 0x1400a8558
test eax, eax
jns 0x1400a8513
mov eax, dword [rdi + 0x3c]
dec eax
cdqe
lea rdx, [rax + rax*2]
lea rsi, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 + 1]
mov r8, qword [rsi + 0x10]
call fcn.140087680
mov qword [rsi + 0x10], 0
test r12, r12
jne 0x1400a853f
mov byte [rsi + 1], r12b
jmp 0x1400a8558
mov rcx, qword [rdi]
mov r8d, 1
mov rdx, r12
call fcn.1400d6690
mov qword [rsi + 0x10], rax
mov byte [rsi + 1], 0xff
mov edx, dword [rbp + 8]
mov r8d, 1
mov rcx, rbx
call fcn.1400da510
mov r8d, dword [r15 + 4]
xor r12d, r12d
mov r9d, r14d
mov dword [rsp + 0x20], r12d
mov rcx, rdi
lea edx, [r12 + 0x6e]
call fcn.1401089e0
mov edx, r14d
mov rcx, rbx
call fcn.1400fbb60
jmp 0x1400a8402
mov r8d, dword [r15 + 4]
mov r9d, 1
mov edx, dword [rbp + 8]
mov rcx, rbx
call fcn.1400db500
jmp 0x1400a840a