Function at 0x8a5e10
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, 0xf8
mov qword [rsp + 0x148], rdx
mov edx, dword [rsp + 0x160]
mov qword [rsp + 0x150], r8
mov qword [rsp + 0x140], rcx
mov r8d, edx
mov dword [rsp + 0xb8], r9d
mov word [rsp + 0x80], r9w
test dx, dx
je 0x8a5e6b
mov rax, qword [rcx]
mov rax, qword [rax]
test byte [rax + 0x60], 0x40
jne 0x8a6112
mov rax, qword [rsp + 0x148]
mov eax, dword [rax]
mov dword [rsp + 0xbc], eax
mov esi, eax
cmp ax, 0x3f
ja 0x8a6112
mov ecx, esi
movzx r14d, ax
mov eax, 1
xor esi, esi
shl rax, cl
test dword [rsp + 0xb8], 0x803
setne sil
add si, 0x182
sub rax, 1
mov word [rsp + 0x84], si
mov qword [rsp + 0x90], rax
je 0x8a6674
mov qword [rsp + 0x78], 0
movzx eax, dx
xor r15d, r15d
mov dword [rsp + 0xb0], eax
movzx eax, r8w
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0x88], 0
jmp 0x8a5f3d
cmp r15, qword [rsp + 0x90]
jae 0x8a68da
mov rdi, qword [rsp + 0x78]
lea rax, [rdi + 1]
cmp qword [rsp + 0x98], rdi
je 0x8a68e0
mov rsi, qword [rsp + 0x30]
mov qword [rsp + 0x78], rax
mov rsi, qword [rsi + 8]
or qword [rsp + 0x88], rsi
mov rdi, qword [rsp + 0x78]
mov r11d, edi
cmp dword [rsp + 0xb0], edi
jle 0x8a663e
mov rax, qword [rsp + 0x150]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + rdi*8]
mov qword [rsp + 0x30], rax
test word [rsp + 0x80], 0x800
jne 0x8a5f02
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x38]
test dh, 4
jne 0x8a665c
movzx eax, word [rsp + 0x80]
and ax, 0x80
mov word [rsp + 0x86], ax
je 0x8a5fa7
mov rax, qword [rsp + 0x30]
xor r8d, r8d
mov word [rax + 0x1e], r8w
mov rax, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x140]
movzx ecx, byte [rax + 0x10]
lea rax, [rcx*8]
sub rax, rcx
shl rax, 4
add rax, qword [rsi + 8]
mov eax, dword [rax + 0x4c]
mov dword [rsp + 0x38], eax
test r14d, r14d
je 0x8a67d0
mov r9, qword [rsp + 0x88]
mov dword [rsp + 0x40], r14d
lea r13d, [r14 - 1]
xor esi, esi
mov dword [rsp + 0x44], r11d
mov r14, qword [rsp + 0x148]
not r9
jmp 0x8a6010
lea rax, [rsi + 1]
cmp r13, rsi
je 0x8a61c4
mov rsi, rax
mov rdi, r15
mov ecx, esi
mov ebp, esi
shr rdi, cl
and edi, 1
jne 0x8a6000
mov r12, rsi
shl r12, 5
mov rbx, qword [r14 + r12 + 8]
test rbx, rbx
jne 0x8a6045
jmp 0x8a6000
mov rax, qword [rbx + 0x20]
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x8a6000
mov eax, dword [rbx + 4]
test eax, 0x41000
je 0x8a6128
test eax, 0x40000
jne 0x8a6038
mov rbx, qword [rbx + 0x10]
jmp 0x8a6040
mov edx, eax
movzx ecx, byte [rsp + 0x83]
xor cl, byte [rsp + 0xb5]
and edx, 1
cmp cl, dl
je 0x8a6515
nop dword [rax]
mov edi, dword [rsp + 0x40]
test edi, edi
je 0x8a6596
movzx eax, word [rsp + 0xb6]
cmp eax, edi
jg 0x8a6596
cmp byte [rsp + 0x44], 0
jne 0x8a65a1
cmp byte [rsp + 0x50], 0
jne 0x8a65a1
cmp r15, qword [rsp + 0x90]
je 0x8a6674
lea ecx, [r14 - 1]
test ecx, ecx
jle 0x8a6112
cmp ecx, 0x3f
jg 0x8a68c7
mov eax, 1
mov rdx, r15
shl rax, cl
sub rax, 1
and rdx, rax
cmp rdx, rax
je 0x8a68c7
mov r8d, 1
jmp 0x8a610d
mov rax, r8
mov rdx, r15
shl rax, cl
sub rax, 1
and rdx, rax
cmp rdx, rax
je 0x8a68c7
sub ecx, 1
jne 0x8a60f4
xor eax, eax
add rsp, 0xf8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
movzx eax, byte [rbx]
add eax, 0x59
test al, 0xfd
jne 0x8a6000
mov eax, dword [rsp + 0x38]
cmp dword [rbx + 0x2c], eax
jne 0x8a6000
movsx r8d, word [rbx + 0x30]
mov edx, dword [rsp + 0x38]
mov qword [rsp + 0x48], r9
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x28], 0
lea rcx, [rax + 0x78]
movzx eax, word [rsp + 0x84]
mov dword [rsp + 0x20], eax
call fcn.008a44b0
mov r9, qword [rsp + 0x48]
test rax, rax
mov r8, rax
je 0x8a6000
movzx eax, word [rax + 0x14]
cmp ax, 1
je 0x8a6890
mov qword [rsp + 0x48], r8
test al, 0x82
je 0x8a61aa
cmp word [rbx + 0x30], 0
jns 0x8a67ef
mov eax, 1
mov ecx, ebp
shl rax, cl
or r15, rax
lea rax, [rsi + 1]
cmp r13, rsi
jne 0x8a600d
mov rax, qword [rsp + 0x30]
mov r14d, dword [rsp + 0x40]
mov r11d, dword [rsp + 0x44]
mov edx, dword [rax + 0x38]
test dh, 0x10
jne 0x8a669d
test dh, 1
jne 0x8a6796
mov rax, qword [rsp + 0x30]
mov r9, qword [rax + 0x20]
test r9, r9
je 0x8a6112
test byte [r9 + 0x64], 4
jne 0x8a6112
movzx eax, word [r9 + 0x5e]
movzx esi, byte [r9 + 0x62]
mov word [rsp + 0xb6], ax
movzx eax, word [r9 + 0x60]
mov byte [rsp + 0x50], sil
mov dword [rsp + 0x68], eax
test sil, sil
jne 0x8a67b5
test eax, eax
je 0x8a60b2
mov eax, 1
mov ecx, r11d
mov byte [rsp + 0x44], 0
xor r13d, r13d
shl rax, cl
mov byte [rsp + 0xb5], 0
mov qword [rsp + 0xa8], rax
mov byte [rsp + 0xb4], 0
jmp 0x8a62b7
movzx edx, word [rdi + 0x3e]
cmp edx, r13d
jg 0x8a62cf
mov rdi, qword [rsp + 0x30]
mov rcx, qword [rdi + 0x48]
mov r8, qword [rcx + r13*8]
movzx edx, word [r8 + 0x14]
test word [rsp + 0x84], dx
je 0x8a65c0
movzx edi, byte [rsp + 0x50]
test dx, 0x180
mov eax, 0
cmovne edi, eax
mov byte [rsp + 0x50], dil
add r13, 1
cmp dword [rsp + 0x68], r13d
jle 0x8a609c
mov rdi, qword [rsp + 0x30]
mov dword [rsp + 0x40], r13d
mov dword [rsp + 0x48], r13d
movzx eax, word [rdi + 0x18]
cmp eax, r13d
jg 0x8a6268
test r14d, r14d
setg r12b
test r9, r9
je 0x8a6611
mov rcx, qword [r9 + 0x38]
mov rdx, qword [r9 + 8]
mov r11d, 0xffffffff
movzx ecx, byte [rcx + r13]
movsx rdx, word [rdx + r13*2]
and ecx, 1
mov byte [rsp + 0x83], cl
mov rcx, qword [r9 + 0x18]
cmp dx, word [rcx + 0x34]
je 0x8a6340
cmp byte [rsp + 0x50], 0
movsx r11d, dx
je 0x8a6340
test r11d, r11d
js 0x8a6630
cmp eax, dword [rsp + 0x48]
jg 0x8a6340
lea rax, [rdx + rdx*2]
mov rdx, qword [rcx + 8]
lea rax, [rdx + rax*8]
test byte [rax + 8], 0xf
setne byte [rsp + 0x50]
nop word [rax + rax]
test r12b, r12b
je 0x8a6080
lea rax, [r13*8]
mov qword [rsp + 0x70], r13
xor esi, esi
mov r13, r9
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x148]
lea rbp, [rax + 8]
jmp 0x8a6389
add esi, 1
add rbp, 0x20
cmp r14d, esi
jle 0x8a6080
test dil, dil
je 0x8a6080
mov rbx, r15
mov ecx, esi
mov edi, r12d
shr rbx, cl
and ebx, 1
jne 0x8a6370
mov rdx, qword [rbp]
mov rcx, rdx
test rdx, rdx
jne 0x8a63bd
jmp 0x8a6370
mov rax, qword [rcx + 0x20]
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x8a63d7
mov eax, dword [rcx + 4]
test eax, 0x41000
je 0x8a63e0
test eax, 0x40000
jne 0x8a63b0
mov rcx, qword [rcx + 0x10]
test rcx, rcx
jne 0x8a63bd
mov edi, r12d
jmp 0x8a6370
test byte [rsp + 0x80], 0xc0
setne dil
cmp r11d, 0xffffffff
jl 0x8a6560
movzx eax, byte [rcx]
add eax, 0x59
test al, 0xfd
jne 0x8a6370
mov eax, dword [rsp + 0x38]
cmp dword [rcx + 0x2c], eax
jne 0x8a6370
movsx eax, word [rcx + 0x30]
cmp eax, r11d
jne 0x8a6370
cmp r11d, 0xffffffff
je 0x8a6494
mov rax, qword [rsp + 0x140]
mov dword [rsp + 0x6c], r11d
mov rcx, qword [rax]
mov qword [rsp + 0x58], rcx
call fcn.0089daa0
mov rcx, qword [rsp + 0x58]
mov r11d, dword [rsp + 0x6c]
lea r10, [0x011331c0]
test rax, rax
je 0x8a6624
mov rcx, qword [rsp + 0x60]
mov rdx, qword [r13 + 0x40]
mov r8, qword [rdx + rcx]
mov rcx, qword [rax]
jmp 0x8a6483
movzx edx, byte [r10 + rdx]
cmp byte [r10 + rax], dl
jne 0x8a6370
add rbx, 1
movzx eax, byte [rcx + rbx]
movzx edx, byte [r8 + rbx]
cmp eax, edx
jne 0x8a6470
test eax, eax
jne 0x8a647f
cmp word [rsp + 0x86], 0
mov r9, r13
mov r13, qword [rsp + 0x70]
je 0x8a64b4
mov rdi, qword [rsp + 0x30]
lea eax, [r13 + 1]
mov word [rdi + 0x1e], ax
mov rdi, qword [rsp + 0x148]
movsxd rax, esi
shl rax, 5
movzx eax, byte [rdi + rax + 0x18]
test byte [rsp + 0x80], 0x40
jne 0x8a6515
cmp byte [rsp + 0xb4], 0
jne 0x8a6060
mov edx, eax
and edx, 1
cmp dl, byte [rsp + 0x83]
je 0x8a6688
mov rdi, qword [rsp + 0x170]
mov rdx, qword [rsp + 0xa8]
mov byte [rsp + 0xb5], 1
mov byte [rsp + 0xb4], 1
or qword [rdi], rdx
test al, 2
je 0x8a6533
mov rdi, qword [rsp + 0x30]
movzx eax, word [rdi + 0x18]
cmp eax, dword [rsp + 0x48]
jne 0x8a6080
or dword [rdi + 0x38], 0x80000
movzx edi, byte [rsp + 0x44]
cmp r11d, 0xffffffff
mov eax, 1
mov ecx, esi
cmove edi, eax
mov eax, 1
shl rax, cl
mov byte [rsp + 0x44], dil
or r15, rax
jmp 0x8a62a8
movsxd rax, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x38]
mov dword [rsp + 0x58], r11d
shl rax, 5
add rax, qword [r13 + 0x50]
mov rdx, qword [rax + 8]
call fcn.008a3ea0
mov r11d, dword [rsp + 0x58]
test eax, eax
jne 0x8a6370
mov rdx, qword [rbp]
jmp 0x8a6424
cmp byte [rsp + 0x44], 0
je 0x8a60b2
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsi + 8]
or qword [rsp + 0xa0], rdi
test r14d, r14d
je 0x8a5f02
jmp 0x8a66ae
test r14d, r14d
setg r12b
and edx, 1
je 0x8a62d6
mov esi, dword [rsp + 0x40]
mov r11, qword [r8]
lea edx, [rsi + 1]
cmp eax, edx
jle 0x8a62d6
lea rdx, [r13 + 1]
jmp 0x8a65fc
add rdx, 1
cmp eax, edx
jle 0x8a62d6
mov r8, qword [rcx + rdx*8]
cmp qword [r8], r11
jne 0x8a65f0
xor r12d, r12d
test r9, r9
jne 0x8a62df
mov byte [rsp + 0x83], 0
mov r11d, 0xffffffff
jmp 0x8a6340
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
jmp 0x8a6458
cmp r11d, 0xfffffffe
setne byte [rsp + 0x50]
jmp 0x8a6340
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x38]
test dh, 4
je 0x8a5f84
cmp byte [rax + 0x20], 0
je 0x8a68ea
test byte [rsp + 0xb8], 0x80
jne 0x8a68ea
movzx eax, byte [rsp + 0xbc]
jmp 0x8a6114
mov byte [rsp + 0xb5], 0
mov byte [rsp + 0xb4], 1
jmp 0x8a6515
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsi + 8]
or qword [rsp + 0xa0], rdi
xor r12d, r12d
mov r13, qword [rsp + 0x148]
mov ebp, 1
lea rsi, [0x00876b00]
mov rax, r12
lea rdi, [0x0086c140]
mov r12, r15
mov r15, rax
jmp 0x8a6713
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x38], rdx
lea rcx, [rax + 0x260]
call fcn.00878920
mov rdx, qword [rsp + 0x38]
test rax, rax
je 0x8a6749
mov rdx, qword [rsp + 0xa0]
not rdx
test rdx, rax
je 0x8a672d
add r15, 1
cmp r14d, r15d
jle 0x8a6741
bt r12, r15
mov ebx, r15d
jb 0x8a670a
mov rax, r15
shl rax, 5
mov rdx, qword [r13 + rax + 8]
test rdx, rdx
jne 0x8a66d7
mov rax, rbp
mov ecx, ebx
shl rax, cl
or r12, rax
add r15, 1
cmp r14d, r15d
jg 0x8a6713
mov r15, r12
jmp 0x8a5f02
mov eax, 1
lea rcx, [rsp + 0xc0]
mov qword [rsp + 0xc8], rsi
mov word [rsp + 0xe4], ax
mov qword [rsp + 0xd0], rdi
mov dword [rsp + 0xe8], 0
call fcn.008760e0
cmp word [rsp + 0xe4], 0
je 0x8a670a
mov rax, rbp
mov ecx, ebx
shl rax, cl
or r12, rax
jmp 0x8a6738
xor ecx, ecx
mov dword [rsp + 0x68], 1
xor r9d, r9d
mov word [rsp + 0xb6], cx
mov byte [rsp + 0x50], 1
jmp 0x8a6236
and dh, 0x80
je 0x8a6881
test eax, eax
je 0x8a60b2
mov byte [rsp + 0x50], 0
jmp 0x8a6236
test dh, 0x10
je 0x8a61df
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsi + 8]
or qword [rsp + 0xa0], rdi
jmp 0x8a5f02
mov rax, qword [rsp + 0x140]
mov rdx, qword [r14 + r12 + 8]
mov qword [rsp + 0x58], r9
mov rcx, qword [rax]
mov qword [rsp + 0x50], rcx
call fcn.0089daa0
mov rcx, qword [rsp + 0x50]
mov r9, qword [rsp + 0x58]
test rax, rax
mov r8, qword [rsp + 0x48]
mov rbx, rax
je 0x8a68ce
mov rdx, qword [r8]
mov qword [rsp + 0x48], r9
call fcn.0089ddc0
mov r9, qword [rsp + 0x48]
lea r10, [0x011331c0]
test rax, rax
je 0x8a6000
mov rcx, qword [rax]
mov r8, qword [rbx]
jmp 0x8a686b
movzx edx, byte [r10 + rdx]
cmp byte [r10 + rax], dl
jne 0x8a6000
add rdi, 1
movzx eax, byte [r8 + rdi]
movzx edx, byte [rcx + rdi]
cmp eax, edx
jne 0x8a6858
test eax, eax
jne 0x8a6867
jmp 0x8a61aa
test eax, eax
jne 0x8a67ab
jmp 0x8a65a1
mov rax, qword [rsp + 0x30]
movzx edx, word [rax + 0x3c]
test dx, dx
je 0x8a6000
mov rax, qword [rax + 0x48]
sub edx, 1
lea rdx, [rax + rdx*8 + 8]
jmp 0x8a68bd
add rax, 8
cmp rdx, rax
je 0x8a6000
cmp qword [rax], r8
jne 0x8a68b0
jmp 0x8a61aa
mov eax, ecx
jmp 0x8a6114
mov rax, qword [rcx]
mov rbx, qword [rax + 0x10]
jmp 0x8a6829
je 0x8a6674
mov eax, 0xffffffff
jmp 0x8a6114
cmp qword [rsp + 0x90], r15
je 0x8a6674
jmp 0x8a68e0