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

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x58], 0
mov eax, dword [rsp + 0x90]
shr eax, 0x10
and eax, 0xf
mov dword [rsp + 0x40], eax
mov edx, dword [rsp + 0x88]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0x50]
call fcn.140087660
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + 8]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
je 0x14008c3db
mov edx, dword [rsp + 0x54]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0x50]
call fcn.140087660
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 4]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
shr eax, 0x1c
cmp eax, 9
je 0x14008c0ca
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
and eax, 0xf0ff0000
cmp eax, 0x80030000
jne 0x14008c3c9
cmp dword [rsp + 0x3c], 0
je 0x14008c3c9
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
and eax, 0xffff
lea r8, [rsp + 0x4c]
mov edx, eax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0x50]
call fcn.140021f30
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x4c]
shl eax, 3
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x50]
and eax, 0x3100000
mov ecx, dword [rsp + 0x48]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x4c], 0x20000000
jae 0x14008c13b
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x20]
jb 0x14008c13b
mov eax, dword [rsp + 0x50]
and eax, 0x100000
test eax, eax
je 0x14008c17d
cmp dword [rsp + 0x4c], 0xffffffff
jne 0x14008c15b
mov eax, dword [rsp + 0x50]
shr eax, 0x1c
cmp eax, 3
jne 0x14008c15b
mov eax, dword [rsp + 0x48]
and eax, 0x800000
test eax, eax
je 0x14008c16d
mov edx, 0xbff
mov rcx, qword [rsp + 0x80]
call fcn.140087960
mov dword [rsp + 0x4c], 0
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x28], eax
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x80]
call fcn.14008bfd0
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x90]
mov ecx, dword [rsp + 0x3c]
or ecx, eax
mov eax, ecx
and eax, 2
test eax, eax
jne 0x14008c1c9
mov eax, dword [rsp + 0x3c]
and eax, 1
test eax, eax
je 0x14008c1d7
mov eax, dword [rsp + 0x3c]
shr eax, 0x10
and eax, 0xf
cmp eax, dword [rsp + 0x38]
jbe 0x14008c1d7
mov eax, dword [rsp + 0x3c]
shr eax, 0x10
and eax, 0xf
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 0x7f]
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax + 0x78]
cmp eax, dword [rsp + 0x38]
jae 0x14008c213
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 0x7f]
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax + 0x78]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x38], eax
jbe 0x14008c225
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x38]
mov ecx, 8
mov dword [rsp + 0x68], ecx
movzx ecx, al
mov eax, dword [rsp + 0x68]
shl eax, cl
dec eax
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
shr eax, 0x10
and eax, 0x7f
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0x7f
je 0x14008c268
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
shr eax, 0x1c
cmp eax, 9
je 0x14008c29c
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x44]
not ecx
and eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 3
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 4], eax
jmp 0x14008c398
cmp dword [rsp + 0x24], 0
je 0x14008c2da
mov eax, dword [rsp + 0x3c]
and eax, 1
test eax, eax
jne 0x14008c2da
mov eax, dword [rsp + 0x90]
mov ecx, dword [rsp + 0x3c]
or ecx, eax
mov eax, ecx
and eax, 2
test eax, eax
jne 0x14008c2f2
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x20]
and ecx, eax
mov eax, ecx
add eax, dword [rsp + 0x24]
cmp eax, dword [rsp + 0x28]
jbe 0x14008c2f2
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x44]
not ecx
and eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x24], eax
jne 0x14008c335
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x20]
and ecx, eax
mov eax, ecx
test eax, eax
jne 0x14008c335
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
and eax, 0xffff
add eax, 0x90000000
mov rcx, qword [rsp + 0x30]
mov dword [rcx], eax
mov eax, dword [rsp + 0x20]
shr eax, 3
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 4], eax
jmp 0x14008c398
mov eax, dword [rsp + 0x50]
and eax, 0xb800000
mov ecx, dword [rsp + 0x28]
shl ecx, 0xd
add eax, ecx
mov ecx, dword [rsp + 0x24]
shl ecx, 8
mov edx, 0xa0000000
lea rax, [rax + rdx]
lea eax, [rax + rcx]
mov rcx, qword [rsp + 0x30]
mov dword [rcx], eax
mov eax, dword [rsp + 0x28]
dec eax
mov ecx, dword [rsp + 0x20]
and ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x30]
add eax, dword [rcx]
mov rcx, qword [rsp + 0x30]
mov dword [rcx], eax
mov eax, dword [rsp + 0x28]
dec eax
not eax
mov ecx, dword [rsp + 0x20]
and ecx, eax
mov eax, ecx
shr eax, 3
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 4], eax
mov eax, dword [rsp + 0x48]
and eax, 0x800000
test eax, eax
je 0x14008c3b9
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x24], eax
jbe 0x14008c3b7
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x58], eax
jmp 0x14008c3c9
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 8]
mov dword [rsp + 0x54], eax
jmp 0x14008c068
mov eax, dword [rsp + 0x40]
shl eax, 0x10
mov ecx, dword [rsp + 0x48]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x60]
mov dword [rcx], eax
mov eax, dword [rsp + 0x48]
and eax, 0x800000
test eax, eax
je 0x14008c408
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x5c], eax
jmp 0x14008c410
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x40]
mov ecx, 8
mov dword [rsp + 0x6c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x6c]
shl eax, cl
dec eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x40]
not ecx
and eax, ecx
shr eax, 3
mov rcx, qword [rsp + 0x60]
mov dword [rcx + 4], eax
add rsp, 0x78
ret