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

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rdi, qword [rsp + 0xa8]
xor esi, esi
mov r12, qword [rcx + 0x10]
mov ebp, r9d
mov r13, rdx
mov rbx, rcx
test rdi, rdi
je 0x1400a88d6
cmp qword [rdx + 0x48], rsi
je 0x1400a88d4
mov rcx, r12
call fcn.1400cb360
mov dword [rdi], eax
lea r9d, [rsi + 0x10]
inc dword [rbx + 0x4c]
mov rcx, rbx
mov eax, dword [rsp + 0x90]
mov dword [rbx + 0x48], eax
mov r8d, dword [rdi]
mov rdx, qword [r13 + 0x48]
call fcn.1400a2d40
mov r8d, dword [rsp + 0x90]
jmp 0x1400a88d6
mov dword [rdi], esi
cmp dword [rsp + 0xa0], esi
je 0x1400a88ed
test byte [r13 + 0x64], 8
je 0x1400a88ed
movzx eax, word [r13 + 0x5e]
jmp 0x1400a88f2
movzx eax, word [r13 + 0x60]
movzx r14d, ax
mov dword [rsp + 0x80], r14d
cmp r14d, 1
jne 0x1400a8925
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x1400a8914
inc dword [rbx + 0x38]
mov edi, dword [rbx + 0x38]
jmp 0x1400a8952
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov edi, dword [rbx + rax*4 + 0x18c]
jmp 0x1400a8952
mov ecx, dword [rbx + 0x28]
mov edi, dword [rbx + 0x2c]
mov dword [rsp + 0xa8], edi
cmp r14d, ecx
jg 0x1400a8946
lea eax, [r14 + rdi]
sub ecx, r14d
mov dword [rbx + 0x2c], eax
mov dword [rbx + 0x28], ecx
jmp 0x1400a8959
mov eax, dword [rbx + 0x38]
lea edi, [rax + 1]
add eax, r14d
mov dword [rbx + 0x38], eax
mov dword [rsp + 0xa8], edi
mov rax, qword [rsp + 0xb0]
test rax, rax
je 0x1400a897d
cmp edi, dword [rsp + 0xb8]
jne 0x1400a8975
cmp qword [rax + 0x48], rsi
je 0x1400a897d
mov qword [rsp + 0xb0], rsi
mov qword [rsp + 0x38], r14
mov r15, rsi
test r14d, r14d
je 0x1400a8ac9
mov ebp, edi
mov dword [rsp + 0xa0], edi
mov rdi, qword [rsp + 0xb0]
mov r14, rsi
mov qword [rsp + 0x30], rsi
test rdi, rdi
je 0x1400a89ca
mov rax, qword [rdi + 8]
movzx ecx, word [rax + r15*2]
mov rax, qword [r13 + 8]
cmp cx, word [rax + r15*2]
jne 0x1400a89ca
cmp cx, 0xfffe
jne 0x1400a8a8b
mov rax, qword [r13 + 8]
movzx ecx, word [rax + r15*2]
cmp cx, 0xfffe
jne 0x1400a8af8
mov dword [rbx + 0x48], r8d
mov rax, qword [r13 + 0x50]
mov rcx, qword [rax + 8]
mov rdx, qword [r14 + rcx]
mov r14, qword [rbx]
test rdx, rdx
je 0x1400a8a08
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
call fcn.140077e60
mov rbp, rax
jmp 0x1400a8a0b
mov rbp, rsi
cmp byte [r14 + 0x55], sil
jne 0x1400a8a24
mov r8d, dword [rsp + 0xa0]
mov rdx, rbp
mov rcx, rbx
call fcn.14009f290
test rbp, rbp
je 0x1400a8a34
mov rdx, rbp
mov rcx, r14
call fcn.1400a25f0
mov r14, qword [rsp + 0x30]
mov ebp, dword [rsp + 0xa0]
mov eax, dword [r12 + 0xb8]
test eax, eax
jle 0x1400a8a8b
dec eax
movsxd rcx, eax
mov rax, qword [r12 + 0x68]
lea rdx, [rcx + rcx*2]
cmp byte [rax + rdx*8], 0x5c
lea r14, [rax + rdx*8]
jne 0x1400a8a86
mov rcx, qword [r12]
cmp byte [rcx + 0x55], sil
jne 0x1400a8a86
movsx edx, byte [r14 + 1]
mov r8, qword [r14 + 0x10]
call fcn.14007c3a0
mov word [r14], 0xa0
mov qword [r14 + 0x10], rsi
mov r14, qword [rsp + 0x30]
mov r8d, dword [rsp + 0x90]
inc ebp
add r14, 0x28
mov dword [rsp + 0xa0], ebp
inc r15
mov qword [rsp + 0x30], r14
cmp r15, qword [rsp + 0x38]
jl 0x1400a89a7
mov edi, dword [rsp + 0xa8]
mov r14d, dword [rsp + 0x80]
mov ebp, dword [rsp + 0x98]
test ebp, ebp
je 0x1400a8b43
mov rax, qword [r12 + 0x18]
movsxd rdx, dword [r12 + 0xb8]
cmp dword [rax + 0x3c], edx
jg 0x1400a8b12
mov r9d, r14d
mov dword [rsp + 0x20], ebp
mov r8d, edi
mov edx, 0x63
mov rcx, r12
call fcn.14007f7e0
jmp 0x1400a8b43
mov rdx, qword [r13 + 0x18]
movsx r9d, cx
mov rcx, qword [rbx + 0x10]
mov dword [rsp + 0x20], ebp
call fcn.14009f810
jmp 0x1400a8a40
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [r12 + 0xb8], eax
mov rax, qword [r12 + 0x68]
mov word [rax + rcx*8], 0x63
mov byte [rax + rcx*8 + 3], sil
mov dword [rax + rcx*8 + 4], edi
mov dword [rax + rcx*8 + 8], r14d
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rsi
cmp r14d, 1
jne 0x1400a8b89
test edi, edi
je 0x1400a8ba3
movzx edx, byte [rbx + 0x1f]
cmp dl, 8
jae 0x1400a8ba3
movzx ecx, byte [rbx + 0x25]
lea rax, [rbx + 0xc4]
test ecx, ecx
je 0x1400a8b74
cmp dword [rax + 0xc], edi
je 0x1400a8b83
inc esi
add rax, 0x14
cmp esi, ecx
jl 0x1400a8b65
movzx eax, dl
mov dword [rbx + rax*4 + 0x18c], edi
inc byte [rbx + 0x1f]
jmp 0x1400a8ba3
mov byte [rax + 6], 1
jmp 0x1400a8ba3
mov r8d, r14d
mov edx, edi
mov rcx, rbx
call fcn.14009efb0
cmp r14d, dword [rbx + 0x28]
jle 0x1400a8ba3
mov dword [rbx + 0x28], r14d
mov dword [rbx + 0x2c], edi
mov eax, edi
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret