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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [rsp + 0xb0]
mov al, byte [rax + 0xb]
and al, 0x1f
mov byte [rsp + 0x31], al
mov rax, qword [rsp + 0xb0]
mov al, byte [rax + 0xc]
and al, 0x1f
mov byte [rsp + 0x30], al
mov byte [rsp + 0x32], 0
mov byte [rsp + 0x33], 0
mov byte [rsp + 0x3a], 0
mov byte [rsp + 0x3d], 0
mov dword [rsp + 0x58], 0
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x1400085d1
cmp dword [rsp + 0x50], 1
je 0x140008671
cmp dword [rsp + 0x50], 2
je 0x140008676
cmp dword [rsp + 0x50], 3
je 0x14000869c
cmp dword [rsp + 0x50], 4
je 0x1400086ea
cmp dword [rsp + 0x50], 5
je 0x14000876e
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov al, byte [rax + 6]
shr al, 7
and al, 1
movzx eax, al
test eax, eax
je 0x140008609
mov rax, qword [rsp + 0xa8]
cmp dword [rax], 5
jne 0x140008609
mov eax, 0x80200001
jmp 0x140008b76
mov rax, qword [rsp + 0x78]
mov al, byte [rax + 7]
and al, 1
movzx eax, al
test eax, eax
je 0x14000863e
mov rax, qword [rsp + 0xa8]
cmp dword [rax], 2
je 0x140008634
mov rax, qword [rsp + 0xa8]
cmp dword [rax], 1
jne 0x14000863e
mov eax, 0x80200001
jmp 0x140008b76
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax + 0x20]
test eax, eax
je 0x14000866c
mov rax, qword [rsp + 0x78]
mov al, byte [rax + 0xd]
shr al, 6
and al, 1
movzx eax, al
test eax, eax
jne 0x14000866c
mov eax, 0x80200004
jmp 0x140008b76
jmp 0x1400087e7
jmp 0x1400087e7
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov al, byte [rax + 0xe]
and al, 0x1f
mov byte [rsp + 0x32], al
jmp 0x1400087e7
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov al, byte [rax + 0xe]
and al, 0x1f
mov byte [rsp + 0x32], al
mov rax, qword [rsp + 0x80]
mov al, byte [rax + 0xe]
shr al, 5
and al, 1
mov byte [rsp + 0x33], al
mov rax, qword [rsp + 0x80]
mov al, byte [rax + 0xe]
shr al, 7
and al, 1
mov byte [rsp + 0x3d], al
jmp 0x1400087e7
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov al, byte [rax + 0xe]
and al, 0x1f
mov byte [rsp + 0x32], al
mov rax, qword [rsp + 0x68]
mov al, byte [rax + 0xe]
shr al, 5
and al, 1
mov byte [rsp + 0x33], al
mov rax, qword [rsp + 0x68]
mov al, byte [rax + 0xe]
shr al, 6
and al, 1
mov byte [rsp + 0x3a], al
mov rax, qword [rsp + 0x68]
mov al, byte [rax + 0x10]
shr al, 5
and al, 3
movzx eax, al
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0xa8]
movzx eax, byte [rax + 0xf8]
test eax, eax
je 0x14000876c
mov rax, qword [rsp + 0x68]
mov al, byte [rax + 0x10]
shr al, 7
and al, 1
movzx eax, al
test eax, eax
jne 0x14000876c
mov eax, 0x8020000a
jmp 0x140008b76
jmp 0x1400087e7
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov al, byte [rax + 0xe]
and al, 0x1f
mov byte [rsp + 0x32], al
mov rax, qword [rsp + 0x70]
mov al, byte [rax + 0xe]
shr al, 5
and al, 1
mov byte [rsp + 0x33], al
mov rax, qword [rsp + 0x70]
mov al, byte [rax + 0xf]
shr al, 5
and al, 3
movzx eax, al
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x70]
mov al, byte [rax + 0xf]
and al, 0x1f
movzx eax, al
lea rcx, [0x14005c820]
lea rax, [rcx + rax*8]
mov rcx, qword [rsp + 0xa8]
movzx ecx, byte [rcx + 0xf9]
movzx eax, byte [rax + rcx]
test eax, eax
jne 0x1400087e7
mov eax, 0x80200001
jmp 0x140008b76
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov al, byte [rax + 0x14]
mov byte [rsp + 0x3b], al
mov byte [rsp + 0x36], 0
mov byte [rsp + 0x37], 0
mov byte [rsp + 0x38], 0
movzx eax, byte [rsp + 0x31]
test eax, eax
je 0x140008837
movzx eax, byte [rsp + 0x31]
sar eax, 4
and eax, 1
mov byte [rsp + 0x37], al
movzx eax, byte [rsp + 0x31]
and eax, 0xf
mov byte [rsp + 0x31], al
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x140008881
movzx eax, byte [rsp + 0x3b]
test eax, eax
je 0x140008866
movzx eax, byte [rsp + 0x30]
sar eax, 4
and eax, 1
mov byte [rsp + 0x38], al
movzx eax, byte [rsp + 0x30]
and eax, 0xf
mov byte [rsp + 0x30], al
jmp 0x140008881
movzx eax, byte [rsp + 0x30]
sar eax, 3
and eax, 1
mov byte [rsp + 0x36], al
movzx eax, byte [rsp + 0x30]
and eax, 7
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x36]
test eax, eax
je 0x1400088ee
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
cmp dword [rax], 0
jne 0x1400088cb
mov rax, qword [rsp + 0xa8]
movzx eax, byte [rax + 0xff]
test eax, eax
jne 0x1400088cb
mov rax, qword [rsp + 0xa8]
movzx eax, byte [rax + 0x101]
cmp eax, 5
jne 0x1400088cb
mov dword [rsp + 0x5c], 1
jmp 0x1400088d3
mov dword [rsp + 0x5c], 0
mov al, byte [rsp + 0x5c]
mov byte [rsp + 0x41], al
movzx eax, byte [rsp + 0x41]
test eax, eax
je 0x1400088ee
mov eax, 0x80200003
jmp 0x140008b76
mov al, byte [rsp + 0x32]
mov byte [rsp + 0x20], al
mov r9b, byte [rsp + 0x30]
mov r8b, byte [rsp + 0x31]
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x48]
call fcn.1400080b0
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
and eax, 0x80000000
test eax, eax
je 0x14000892c
mov eax, dword [rsp + 0x60]
jmp 0x140008b76
xor eax, eax
test eax, eax
jne 0x1400088ee
movzx eax, byte [rsp + 0x37]
test eax, eax
je 0x140008953
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x15]
cmp eax, 1
jne 0x140008953
mov eax, 0x80200003
jmp 0x140008b76
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x140008974
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x16]
cmp eax, 1
jne 0x140008974
mov eax, 0x80200003
jmp 0x140008b76
movzx eax, byte [rsp + 0x33]
test eax, eax
je 0x140008a51
mov rax, qword [rsp + 0x48]
mov al, byte [rax + 0x19]
mov byte [rsp + 0x39], al
mov rax, qword [rsp + 0x48]
mov al, byte [rax + 0x15]
mov byte [rsp + 0x34], al
mov byte [rsp + 0x35], 0xf0
mov rax, qword [rsp + 0xa8]
cmp dword [rax + 0xc], 3
jne 0x1400089d1
movzx eax, byte [rsp + 0x31]
cmp eax, 4
jne 0x1400089c5
movzx eax, byte [rsp + 0x30]
cmp eax, 4
jne 0x1400089c5
movzx eax, byte [rsp + 0x32]
mov rax, qword [rsp + 0x48]
mov al, byte [rax + 0x17]
mov byte [rsp + 0x35], al
mov rax, qword [rsp + 0xa8]
cmp dword [rax + 0xc], 4
je 0x1400089ed
mov rax, qword [rsp + 0xa8]
cmp dword [rax + 0xc], 5
jne 0x140008a1d
movzx eax, byte [rsp + 0x31]
test eax, eax
je 0x140008a00
movzx eax, byte [rsp + 0x31]
cmp eax, 4
jne 0x140008a0f
movzx eax, byte [rsp + 0x30]
cmp eax, 4
jne 0x140008a0f
movzx eax, byte [rsp + 0x32]
movzx eax, byte [rsp + 0x31]
test eax, eax
jne 0x140008a1d
mov byte [rsp + 0x34], 0xf1
movzx eax, byte [rsp + 0x34]
movzx ecx, byte [rsp + 0x39]
cmp eax, ecx
je 0x140008a47
movzx eax, byte [rsp + 0x34]
movzx ecx, byte [rsp + 0x35]
cmp eax, ecx
je 0x140008a47
movzx eax, byte [rsp + 0x39]
movzx ecx, byte [rsp + 0x35]
cmp eax, ecx
jne 0x140008a51
mov eax, 0x80200003
jmp 0x140008b76
movzx eax, byte [rsp + 0x3a]
test eax, eax
je 0x140008ac3
mov rax, qword [rsp + 0xa8]
cmp dword [rax + 0xc], 4
je 0x140008a70
mov rax, qword [rsp + 0xa8]
mov rax, qword [rsp + 0x48]
mov al, byte [rax + 0x15]
mov byte [rsp + 0x3c], al
mov rax, qword [rsp + 0x48]
mov al, byte [rax + 0x17]
mov byte [rsp + 0x42], al
mov rax, qword [rsp + 0x48]
mov al, byte [rax + 0x16]
mov byte [rsp + 0x43], al
movzx eax, byte [rsp + 0x3c]
movzx ecx, byte [rsp + 0x42]
cmp eax, ecx
je 0x140008ab9
movzx eax, byte [rsp + 0x3b]
test eax, eax
je 0x140008ac3
movzx eax, byte [rsp + 0x3c]
movzx ecx, byte [rsp + 0x43]
cmp eax, ecx
jne 0x140008ac3
mov eax, 0x80200003
jmp 0x140008b76
movzx eax, byte [rsp + 0x3d]
test eax, eax
je 0x140008b21
mov rax, qword [rsp + 0x48]
mov al, byte [rax + 0x15]
mov byte [rsp + 0x3e], al
mov rax, qword [rsp + 0x48]
mov al, byte [rax + 0x17]
mov byte [rsp + 0x3f], al
mov rax, qword [rsp + 0x48]
mov al, byte [rax + 0x16]
mov byte [rsp + 0x40], al
movzx eax, byte [rsp + 0x3e]
movzx ecx, byte [rsp + 0x3f]
cmp eax, ecx
je 0x140008b1a
movzx eax, byte [rsp + 0x3e]
movzx ecx, byte [rsp + 0x40]
cmp eax, ecx
je 0x140008b1a
movzx eax, byte [rsp + 0x3f]
movzx ecx, byte [rsp + 0x40]
cmp eax, ecx
jne 0x140008b21
mov eax, 0x80200003
jmp 0x140008b76
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
je 0x140008b45
cmp dword [rsp + 0x54], 1
je 0x140008b45
cmp dword [rsp + 0x54], 2
je 0x140008b47
cmp dword [rsp + 0x54], 3
je 0x140008b5d
jmp 0x140008b71
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x13]
test eax, eax
jne 0x140008b5b
mov eax, 0x8020000a
jmp 0x140008b76
jmp 0x140008b71
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x13]
test eax, eax
je 0x140008b71
mov eax, 0x8020000a
jmp 0x140008b76
mov eax, 0x100000
add rsp, 0x98
ret