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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0xf0
movaps xmmword [rax - 0x28], xmm6
mov rbx, r8
mov rdi, rdx
call fcn.10008a5d8
mov r11, qword [rbx]
lea rdx, [rsp + 0xa8]
mov rcx, rbx
call qword [r11 + 0x60]
mov rax, qword [rsp + 0x130]
test rax, rax
je 0x100089ed1
movdqu xmm6, xmmword [rax]
movaps xmmword [rsp + 0x60], xmm6
mov r8d, dword [rsp + 0x60]
test r8d, r8d
js 0x100089ec7
mov ebp, dword [rsp + 0xc0]
mov r9d, dword [rsp + 0x68]
mov dword [rsp + 0x54], ebp
cmp r9d, ebp
ja 0x100089ec7
cmp r8d, r9d
jg 0x100089ec7
mov rax, qword [rsp + 0x60]
shr rax, 0x20
test eax, eax
js 0x100089ec7
mov ecx, dword [rsp + 0xc4]
mov rdx, qword [rsp + 0x68]
shr rdx, 0x20
mov dword [rsp + 0x84], ecx
cmp edx, ecx
ja 0x100089ec7
cmp eax, edx
jg 0x100089ec7
test r8d, r8d
jne 0x100089e92
cmp r9d, ebp
jne 0x100089e92
test eax, eax
jne 0x100089e92
cmp edx, ecx
jne 0x100089e92
xor esi, esi
jmp 0x100089e97
mov esi, 1
mov r8d, dword [rsp + 0x140]
mov dword [rsp + 0x88], esi
test r8b, 1
jne 0x100089ebd
test esi, esi
jne 0x100089ebd
mov dword [rsp + 0x80], 1
jmp 0x100089f24
and dword [rsp + 0x80], 0
jmp 0x100089f24
mov eax, 0x8876086c
jmp 0x10008a5b7
mov ebp, dword [rsp + 0xc0]
mov ecx, dword [rsp + 0xc4]
xor r8d, r8d
and dword [rsp + 0x64], r8d
mov dword [rsp + 0x60], r8d
mov r8d, dword [rsp + 0x140]
xor esi, esi
mov eax, r8d
mov dword [rsp + 0x68], ebp
not eax
mov dword [rsp + 0x6c], ecx
mov dword [rsp + 0x54], ebp
movaps xmm6, xmmword [rsp + 0x60]
and eax, 1
mov dword [rsp + 0x84], ecx
mov dword [rsp + 0x88], esi
mov dword [rsp + 0x80], eax
mov eax, r8d
and eax, 0x10000
mov dword [rsp + 0xa0], eax
je 0x10008a23d
mov eax, dword [rsp + 0xa8]
xor r8d, r8d
mov dword [rsp + 0x50], r8d
cmp eax, 0x31545844
je 0x100089f6b
cmp eax, 0x32545844
je 0x100089f6b
cmp eax, 0x33545844
je 0x100089f6b
cmp eax, 0x34545844
je 0x100089f6b
cmp eax, 0x35545844
jne 0x100089f87
mov edx, ecx
or edx, ebp
test dl, 3
je 0x100089f87
inc r8d
mov eax, edx
mov ecx, r8d
shl eax, cl
test al, 3
jne 0x100089f74
mov dword [rsp + 0x50], r8d
mov rcx, qword [rsp + 0x120]
mov rsi, qword [rsp + 0x110]
mov rax, qword [rcx]
lea rbx, [rsi + 0x20]
mov rdx, rbx
call qword [rax + 0x18]
mov ecx, dword [rsp + 0x50]
mov r11d, dword [rsp + 0xb4]
mov r8d, dword [rsp + 0x84]
sub r11d, 3
mov edx, ebp
neg r11d
mov r11, qword [rbx]
lea r9d, [rcx + 1]
mov r10, qword [r11]
sbb eax, eax
and qword [rsp + 0x40], 0
add eax, 3
shl r8d, cl
shl edx, cl
add rsi, 0x18
mov rcx, r11
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x28], eax
and dword [rsp + 0x20], 0
call qword [r10 + 0xb8]
mov dword [rsp + 0x70], eax
test eax, eax
js 0x10008a1f4
mov rcx, qword [rsi]
mov rbp, qword [rsp + 0x110]
mov edx, dword [rsp + 0x50]
mov rax, qword [rcx]
lea r8, [rbp + 0x10]
call qword [rax + 0x90]
mov dword [rsp + 0x70], eax
test eax, eax
js 0x10008a1f4
cmp dword [rsp + 0x80], 0
jne 0x10008a1c5
and qword [rsp + 0x78], 0
mov ecx, 1
call fcn.10007ba6c
mov rdx, qword [rbp + 0x10]
mov rcx, qword [rsp + 0x120]
call fcn.100089cb0
xor ecx, ecx
mov dword [rsp + 0x70], eax
call fcn.10007ba6c
cmp dword [rsp + 0x70], 0
jge 0x10008a1c5
cmp dword [rsp + 0x50], 0
je 0x10008a09f
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x10008a210
mov rdx, qword [rcx]
call qword [rdx + 0x10]
and qword [rbp + 0x10], 0
jmp 0x10008a210
and qword [rsp + 0x40], 0
mov rcx, qword [rbx]
mov r9d, dword [rsp + 0xa8]
mov rax, qword [rcx]
mov r8d, dword [rsp + 0x84]
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x38], rdx
mov edx, dword [rsp + 0x54]
mov dword [rsp + 0x30], 1
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
call qword [rax + pe_nt_image_headers64]
mov dword [rsp + 0x54], eax
test eax, eax
jns 0x10008a129
mov rcx, qword [rbp + 0x10]
xor edi, edi
cmp rcx, rdi
je 0x10008a0fe
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov qword [rbp + 0x10], rdi
mov rcx, qword [rsi]
cmp rcx, rdi
je 0x10008a10f
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsi], rdi
mov rcx, qword [rbx]
cmp rcx, rdi
je 0x10008a120
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx], rdi
mov eax, dword [rsp + 0x54]
jmp 0x10008a5b7
mov rcx, qword [rbx]
mov r9, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x120]
mov rax, qword [rcx]
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
xor r8d, r8d
call qword [rax + 0x110]
mov rcx, qword [rsp + 0x78]
mov dword [rsp + 0x54], eax
test eax, eax
jns 0x10008a165
mov rdx, qword [rcx]
call qword [rdx + 0x10]
jmp 0x10008a0e9
mov rdx, qword [rbp + 0x10]
call fcn.100089cb0
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rcx]
mov dword [rsp + 0x54], eax
call qword [rdx + 0x10]
cmp dword [rsp + 0x54], 0
jge 0x10008a1c5
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x10008a198
mov rdx, qword [rcx]
call qword [rdx + 0x10]
and qword [rbp + 0x10], 0
mov rcx, qword [rsi]
test rcx, rcx
je 0x10008a1aa
mov rax, qword [rcx]
call qword [rax + 0x10]
and qword [rsi], 0
mov rcx, qword [rbx]
test rcx, rcx
je 0x10008a120
mov rax, qword [rcx]
call qword [rax + 0x10]
and qword [rbx], 0
jmp 0x10008a120
mov rax, qword [rbp + 0x10]
mov ecx, dword [rsp + 0xc4]
mov esi, dword [rsp + 0x88]
mov ebp, dword [rsp + 0xc0]
mov r8d, dword [rsp + 0x140]
mov qword [rsp + 0x78], rax
mov eax, dword [rsp + 0xa0]
jmp 0x10008a242
mov rdi, qword [rsp + 0x110]
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x10008a210
mov rax, qword [rcx]
call qword [rax + 0x10]
and qword [rdi + 0x10], 0
mov rcx, qword [rsi]
test rcx, rcx
je 0x10008a222
mov rax, qword [rcx]
call qword [rax + 0x10]
and qword [rsi], 0
mov rcx, qword [rbx]
test rcx, rcx
je 0x10008a234
mov rax, qword [rcx]
call qword [rax + 0x10]
and qword [rbx], 0
mov eax, dword [rsp + 0x70]
jmp 0x10008a5b7
mov qword [rsp + 0x78], rbx
movzx edx, r8b
mov ebx, 1
and edx, ebx
bts edx, 7
shl edx, 4
cmp dword [rsp + 0x80], 0
mov dword [rsp + 0x50], edx
je 0x10008a317
test eax, eax
jne 0x10008a317
bt dword [rsp + 0xb0], 9
jae 0x10008a317
bt r8d, 0x11
jae 0x10008a293
bts edx, 0xd
xor esi, esi
mov dword [rsp + 0x50], edx
jmp 0x10008a417
mov ecx, ebx
call fcn.10007ba6c
mov rax, qword [rsp + 0x120]
lea r8, [rsp + 0xc8]
mov r11, qword [rax]
lea rdx, [0x1000020b0]
mov rcx, rax
call qword [r11 + 0x58]
test eax, eax
js 0x10008a2fe
mov rcx, qword [rsp + 0xc8]
mov rax, qword [rcx]
call qword [rax + 0x68]
cmp eax, ebx
jne 0x10008a2e2
mov r9d, dword [rsp + 0x50]
bts r9d, 0xd
xor esi, esi
mov dword [rsp + 0x50], r9d
mov rcx, qword [rsp + 0xc8]
test rcx, rcx
je 0x10008a2fe
mov rax, qword [rcx]
call qword [rax + 0x10]
and qword [rsp + 0xc8], 0
xor ecx, ecx
call fcn.10007ba6c
mov ecx, dword [rsp + 0xc4]
mov ebp, dword [rsp + 0xc0]
mov edx, dword [rsp + 0x50]
test esi, esi
je 0x10008a409
mov eax, dword [rsp + 0xa8]
cmp eax, 0x31545844
je 0x10008a399
cmp eax, 0x32545844
je 0x10008a399
cmp eax, 0x32595559
je 0x10008a373
cmp eax, 0x33545844
je 0x10008a399
cmp eax, 0x34545844
je 0x10008a399
cmp eax, 0x35545844
je 0x10008a399
cmp eax, 0x42475247
je 0x10008a373
cmp eax, 0x47424752
je 0x10008a373
cmp eax, 0x59565955
je 0x10008a373
movdqa xmmword [rsp + 0x90], xmm6
jmp 0x10008a409
mov eax, dword [rsp + 0x60]
mov r8d, dword [rsp + 0x68]
mov r10d, dword [rsp + 0x64]
mov r9d, dword [rsp + 0x6c]
and eax, 0xfffffffe
inc r8d
and r8d, 0xfffffffe
cmp r8d, ebp
cmova r8d, ebp
jmp 0x10008a3d1
mov r8d, dword [rsp + 0x68]
mov r9d, dword [rsp + 0x6c]
mov eax, dword [rsp + 0x60]
mov r10d, dword [rsp + 0x64]
add r8d, 3
add r9d, 3
and r8d, 0xfffffffc
and r9d, 0xfffffffc
and eax, 0xfffffffc
and r10d, 0xfffffffc
cmp r8d, ebp
cmova r8d, ebp
cmp r9d, ecx
cmova r9d, ecx
mov dword [rsp + 0x9c], r9d
mov dword [rsp + 0x98], r8d
mov dword [rsp + 0x94], r10d
mov dword [rsp + 0x90], eax
test eax, eax
jne 0x10008a407
cmp r8d, ebp
jne 0x10008a407
test r10d, r10d
jne 0x10008a407
cmp r9d, ecx
jne 0x10008a407
xor esi, esi
jmp 0x10008a409
mov esi, ebx
cmp dword [rsp + 0xa0], 0
jne 0x10008a4a8
mov ecx, ebx
call fcn.10007ba6c
mov rcx, qword [rsp + 0x78]
mov r9d, dword [rsp + 0x50]
mov r11, qword [rcx]
mov eax, esi
lea rdx, [rsp + 0xd0]
neg eax
lea rax, [rsp + 0x90]
sbb r8, r8
and r8, rax
call qword [r11 + 0x68]
xor ecx, ecx
mov ebx, eax
call fcn.10007ba6c
xor ecx, ecx
cmp ebx, ecx
jge 0x10008a4dc
mov eax, dword [rsp + 0x140]
mov r9, qword [rsp + 0x128]
mov r8, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x110]
bts eax, 0x10
mov rdx, rdi
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x138]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x20], rax
call fcn.100089dd0
jmp 0x10008a5b7
mov rcx, qword [rsp + 0x78]
mov eax, esi
mov r9d, edx
mov r10, qword [rcx]
neg eax
lea rax, [rsp + 0x90]
sbb r8, r8
lea rdx, [rsp + 0xd0]
and r8, rax
call qword [r10 + 0x68]
xor ecx, ecx
cmp eax, ecx
jge 0x10008a4e1
jmp 0x10008a5b7
mov ebx, 1
cmp esi, ecx
je 0x10008a526
mov eax, dword [rsp + 0x60]
sub eax, dword [rsp + 0x90]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x68]
sub eax, dword [rsp + 0x90]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x64]
sub eax, dword [rsp + 0x94]
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x6c]
sub eax, dword [rsp + 0x94]
mov dword [rsp + 0x6c], eax
movaps xmm6, xmmword [rsp + 0x60]
mov rax, qword [rsp + 0xd8]
mov rdx, qword [rsp + 0x110]
mov dword [rdi + 0x10], ecx
movdqu xmmword [rdi + 0x2c], xmm6
mov qword [rdi], rax
mov eax, dword [rsp + 0xa8]
mov dword [rdi + 0x14], ecx
mov dword [rdi + 8], eax
mov eax, dword [rsp + 0xd0]
mov dword [rdi + 0x18], ecx
mov dword [rdi + 0xc], eax
mov eax, dword [rsp + 0xc0]
mov dword [rdi + 0x24], ecx
mov dword [rdi + 0x1c], eax
mov eax, dword [rsp + 0xc4]
mov dword [rdi + 0x3c], ecx
mov dword [rdi + 0x20], eax
mov eax, dword [rsp + 0x138]
mov dword [rdi + 0x48], ecx
mov dword [rdi + 0x50], eax
mov rax, qword [rsp + 0x128]
mov dword [rdi + 0x4c], ecx
mov rcx, qword [rsp + 0x120]
mov qword [rdi + 0x58], rax
mov eax, dword [rsp + 0x140]
mov dword [rdi + 0x28], ebx
mov dword [rdi + 0x40], ebx
mov dword [rdi + 0x44], ebx
mov dword [rdx], eax
mov qword [rdx + 8], rcx
mov rax, qword [rcx]
call qword [rax + 8]
xor eax, eax
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rdi
pop rsi
pop rbp
ret