Function at 0x10008e304
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.10008eb0c
mov r11, qword [rbx]
lea rdx, [rsp + 0xa8]
mov rcx, rbx
call qword [r11 + 0x60]
mov rax, qword [rsp + 0x130]
test rax, rax
je 0x10008e405
movdqu xmm6, xmmword [rax]
movaps xmmword [rsp + 0x60], xmm6
mov r8d, dword [rsp + 0x60]
test r8d, r8d
js 0x10008e3fb
mov ebp, dword [rsp + 0xc0]
mov r9d, dword [rsp + 0x68]
mov dword [rsp + 0x54], ebp
cmp r9d, ebp
ja 0x10008e3fb
cmp r8d, r9d
jg 0x10008e3fb
mov rax, qword [rsp + 0x60]
shr rax, 0x20
test eax, eax
js 0x10008e3fb
mov ecx, dword [rsp + 0xc4]
mov rdx, qword [rsp + 0x68]
shr rdx, 0x20
mov dword [rsp + 0x84], ecx
cmp edx, ecx
ja 0x10008e3fb
cmp eax, edx
jg 0x10008e3fb
test r8d, r8d
jne 0x10008e3c6
cmp r9d, ebp
jne 0x10008e3c6
test eax, eax
jne 0x10008e3c6
cmp edx, ecx
jne 0x10008e3c6
xor esi, esi
jmp 0x10008e3cb
mov esi, 1
mov r8d, dword [rsp + 0x140]
mov dword [rsp + 0x88], esi
test r8b, 1
jne 0x10008e3f1
test esi, esi
jne 0x10008e3f1
mov dword [rsp + 0x80], 1
jmp 0x10008e458
and dword [rsp + 0x80], 0
jmp 0x10008e458
mov eax, 0x8876086c
jmp 0x10008eaeb
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 0x10008e771
mov eax, dword [rsp + 0xa8]
xor r8d, r8d
mov dword [rsp + 0x50], r8d
cmp eax, 0x31545844
je 0x10008e49f
cmp eax, 0x32545844
je 0x10008e49f
cmp eax, 0x33545844
je 0x10008e49f
cmp eax, 0x34545844
je 0x10008e49f
cmp eax, 0x35545844
jne 0x10008e4bb
mov edx, ecx
or edx, ebp
test dl, 3
je 0x10008e4bb
inc r8d
mov eax, edx
mov ecx, r8d
shl eax, cl
test al, 3
jne 0x10008e4a8
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 0x10008e728
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 0x10008e728
cmp dword [rsp + 0x80], 0
jne 0x10008e6f9
and qword [rsp + 0x78], 0
mov ecx, 1
call fcn.10007ff94
mov rdx, qword [rbp + 0x10]
mov rcx, qword [rsp + 0x120]
call fcn.10008e1e4
xor ecx, ecx
mov dword [rsp + 0x70], eax
call fcn.10007ff94
cmp dword [rsp + 0x70], 0
jge 0x10008e6f9
cmp dword [rsp + 0x50], 0
je 0x10008e5d3
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x10008e744
mov rdx, qword [rcx]
call qword [rdx + 0x10]
and qword [rbp + 0x10], 0
jmp 0x10008e744
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 0x10008e65d
mov rcx, qword [rbp + 0x10]
xor edi, edi
cmp rcx, rdi
je 0x10008e632
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov qword [rbp + 0x10], rdi
mov rcx, qword [rsi]
cmp rcx, rdi
je 0x10008e643
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsi], rdi
mov rcx, qword [rbx]
cmp rcx, rdi
je 0x10008e654
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx], rdi
mov eax, dword [rsp + 0x54]
jmp 0x10008eaeb
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 0x10008e699
mov rdx, qword [rcx]
call qword [rdx + 0x10]
jmp 0x10008e61d
mov rdx, qword [rbp + 0x10]
call fcn.10008e1e4
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rcx]
mov dword [rsp + 0x54], eax
call qword [rdx + 0x10]
cmp dword [rsp + 0x54], 0
jge 0x10008e6f9
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x10008e6cc
mov rdx, qword [rcx]
call qword [rdx + 0x10]
and qword [rbp + 0x10], 0
mov rcx, qword [rsi]
test rcx, rcx
je 0x10008e6de
mov rax, qword [rcx]
call qword [rax + 0x10]
and qword [rsi], 0
mov rcx, qword [rbx]
test rcx, rcx
je 0x10008e654
mov rax, qword [rcx]
call qword [rax + 0x10]
and qword [rbx], 0
jmp 0x10008e654
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 0x10008e776
mov rdi, qword [rsp + 0x110]
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x10008e744
mov rax, qword [rcx]
call qword [rax + 0x10]
and qword [rdi + 0x10], 0
mov rcx, qword [rsi]
test rcx, rcx
je 0x10008e756
mov rax, qword [rcx]
call qword [rax + 0x10]
and qword [rsi], 0
mov rcx, qword [rbx]
test rcx, rcx
je 0x10008e768
mov rax, qword [rcx]
call qword [rax + 0x10]
and qword [rbx], 0
mov eax, dword [rsp + 0x70]
jmp 0x10008eaeb
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 0x10008e84b
test eax, eax
jne 0x10008e84b
bt dword [rsp + 0xb0], 9
jae 0x10008e84b
bt r8d, 0x11
jae 0x10008e7c7
bts edx, 0xd
xor esi, esi
mov dword [rsp + 0x50], edx
jmp 0x10008e94b
mov ecx, ebx
call fcn.10007ff94
mov rax, qword [rsp + 0x120]
lea r8, [rsp + 0xc8]
mov r11, qword [rax]
lea rdx, [0x100002240]
mov rcx, rax
call qword [r11 + 0x58]
test eax, eax
js 0x10008e832
mov rcx, qword [rsp + 0xc8]
mov rax, qword [rcx]
call qword [rax + 0x68]
cmp eax, ebx
jne 0x10008e816
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 0x10008e832
mov rax, qword [rcx]
call qword [rax + 0x10]
and qword [rsp + 0xc8], 0
xor ecx, ecx
call fcn.10007ff94
mov ecx, dword [rsp + 0xc4]
mov ebp, dword [rsp + 0xc0]
mov edx, dword [rsp + 0x50]
test esi, esi
je 0x10008e93d
mov eax, dword [rsp + 0xa8]
cmp eax, 0x31545844
je 0x10008e8cd
cmp eax, 0x32545844
je 0x10008e8cd
cmp eax, 0x32595559
je 0x10008e8a7
cmp eax, 0x33545844
je 0x10008e8cd
cmp eax, 0x34545844
je 0x10008e8cd
cmp eax, 0x35545844
je 0x10008e8cd
cmp eax, 0x42475247
je 0x10008e8a7
cmp eax, 0x47424752
je 0x10008e8a7
cmp eax, 0x59565955
je 0x10008e8a7
movdqa xmmword [rsp + 0x90], xmm6
jmp 0x10008e93d
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 0x10008e905
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 0x10008e93b
cmp r8d, ebp
jne 0x10008e93b
test r10d, r10d
jne 0x10008e93b
cmp r9d, ecx
jne 0x10008e93b
xor esi, esi
jmp 0x10008e93d
mov esi, ebx
cmp dword [rsp + 0xa0], 0
jne 0x10008e9dc
mov ecx, ebx
call fcn.10007ff94
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.10007ff94
xor ecx, ecx
cmp ebx, ecx
jge 0x10008ea10
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.10008e304
jmp 0x10008eaeb
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 0x10008ea15
jmp 0x10008eaeb
mov ebx, 1
cmp esi, ecx
je 0x10008ea5a
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