Function at 0x140006a18
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, 0x78
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 8]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x90]
movzx eax, byte [rax]
and eax, 1
test eax, eax
je 0x140006d62
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 0x102]
test eax, eax
jne 0x140006ac9
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x88]
mov cl, byte [rcx + 8]
mov byte [rax + 0x102], cl
lea r8, [rsp + 0x32]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.140001180
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
and eax, 0x80000000
test eax, eax
je 0x140006ab2
mov eax, dword [rsp + 0x40]
jmp 0x140006f4a
xor eax, eax
test eax, eax
jne 0x140006a7e
mov dl, byte [rsp + 0x32]
mov rcx, qword [rsp + 0x88]
call fcn.140001fa4
mov rax, qword [rsp + 0x90]
movzx eax, byte [rax]
and eax, 0x10
test eax, eax
jne 0x140006d1e
mov byte [rsp + 0x31], 0
mov byte [rsp + 0x30], 0
mov rax, qword [rsp + 0x88]
mov al, byte [rax + 0x17]
mov byte [rsp + 0x3c], al
cmp byte [rsp + 0x3c], 0x10
je 0x140006b0d
cmp byte [rsp + 0x3c], 0x20
je 0x140006b67
cmp byte [rsp + 0x3c], 0x40
je 0x140006b67
mov rax, qword [rsp + 0x88]
mov al, byte [rax + 0xff]
mov byte [rsp + 0x34], al
cmp byte [rsp + 0x34], 0
je 0x140006b3b
cmp byte [rsp + 0x34], 1
je 0x140006b56
cmp byte [rsp + 0x34], 2
je 0x140006b5d
cmp byte [rsp + 0x34], 3
je 0x140006b62
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 0x101]
cmp eax, 6
jne 0x140006b54
mov byte [rsp + 0x30], 0x10
jmp 0x140006b62
mov byte [rsp + 0x30], 8
jmp 0x140006b62
mov byte [rsp + 0x30], 0x10
jmp 0x140006c28
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 0xff]
cmp eax, 3
je 0x140006b99
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 0x101]
cmp eax, 4
jne 0x140006b99
mov dword [rsp + 0x44], 1
jmp 0x140006ba1
mov dword [rsp + 0x44], 0
mov al, byte [rsp + 0x44]
mov byte [rsp + 0x31], al
mov rax, qword [rsp + 0x88]
mov al, byte [rax + 0xff]
mov byte [rsp + 0x38], al
cmp byte [rsp + 0x38], 0
je 0x140006bd7
cmp byte [rsp + 0x38], 1
je 0x140006c1c
cmp byte [rsp + 0x38], 2
je 0x140006c23
cmp byte [rsp + 0x38], 3
je 0x140006c28
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 0x101]
cmp eax, 5
jne 0x140006c1a
mov rax, qword [rsp + 0x88]
cmp dword [rax], 0
jne 0x140006c15
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x20]
bts rax, 7
mov rcx, qword [rsp + 0x88]
mov qword [rcx + 0x20], rax
mov byte [rsp + 0x30], 0x20
jmp 0x140006c28
mov byte [rsp + 0x30], 8
jmp 0x140006c28
mov byte [rsp + 0x30], 0x20
movzx eax, byte [rsp + 0x31]
test eax, eax
je 0x140006cdb
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x88]
mov cl, byte [rcx + 8]
mov byte [rax + 0x106], cl
lea r8, [rsp + 0x33]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.140001180
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
and eax, 0x80000000
test eax, eax
je 0x140006c82
mov eax, dword [rsp + 0x48]
jmp 0x140006f4a
xor eax, eax
test eax, eax
jne 0x140006c4e
mov dl, byte [rsp + 0x33]
mov rcx, qword [rsp + 0x88]
call fcn.140002004
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 0x105]
cmp eax, 5
jne 0x140006cdb
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 0xff]
cmp eax, 1
jne 0x140006ccb
mov dword [rsp + 0x4c], 8
jmp 0x140006cd3
mov dword [rsp + 0x4c], 0x20
mov al, byte [rsp + 0x4c]
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x140006d1e
mov r8b, byte [rsp + 0x30]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.140002064
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
and eax, 0x80000000
test eax, eax
je 0x140006d18
mov eax, dword [rsp + 0x50]
jmp 0x140006f4a
xor eax, eax
test eax, eax
jne 0x140006ce4
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 0xff]
cmp eax, 3
je 0x140006d4e
mov rax, qword [rsp + 0x90]
movzx eax, byte [rax]
and eax, 0x10
test eax, eax
jne 0x140006d4e
mov dword [rsp + 0x54], 0
jmp 0x140006d56
mov dword [rsp + 0x54], 1
mov rax, qword [rsp + 0x68]
mov cl, byte [rsp + 0x54]
mov byte [rax + 0x14], cl
mov rax, qword [rsp + 0x90]
movzx eax, byte [rax]
and eax, 2
test eax, eax
je 0x140006dbf
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 9]
mov rcx, qword [rsp + 0x90]
mov r8b, byte [rcx + rax + 1]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.140002064
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x58]
and eax, 0x80000000
test eax, eax
je 0x140006db9
mov eax, dword [rsp + 0x58]
jmp 0x140006f4a
xor eax, eax
test eax, eax
jne 0x140006d74
mov rax, qword [rsp + 0x90]
movzx eax, byte [rax]
and eax, 4
test eax, eax
je 0x140006e9f
mov eax, 5
imul rax, rax, 0
mov rcx, qword [rsp + 0x90]
movzx eax, byte [rcx + rax + 8]
test eax, eax
je 0x140006e0c
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x20]
bts rax, 7
mov rcx, qword [rsp + 0x88]
mov qword [rcx + 0x20], rax
mov eax, 5
imul rax, rax, 0
mov ecx, 5
imul rcx, rcx, 0
mov edx, 5
imul rdx, rdx, 0
mov r8, qword [rsp + 0x90]
lea rdx, [r8 + rdx + 4]
mov r8, qword [rsp + 0x68]
movzx r8d, byte [r8 + 8]
mov r9, qword [rsp + 0x90]
mov al, byte [r9 + rax + 8]
mov byte [rsp + 0x28], al
mov rax, qword [rsp + 0x90]
mov al, byte [rax + rcx + 7]
mov byte [rsp + 0x20], al
mov r9b, byte [rdx + r8]
xor r8d, r8d
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.1400021f4
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x5c]
and eax, 0x80000000
test eax, eax
je 0x140006e95
mov eax, dword [rsp + 0x5c]
jmp 0x140006f4a
xor eax, eax
test eax, eax
jne 0x140006e0c
mov rax, qword [rsp + 0x90]
movzx eax, byte [rax]
and eax, 8
test eax, eax
je 0x140006f45
mov eax, 5
imul rax, rax, 1
mov ecx, 5
imul rcx, rcx, 1
mov edx, 5
imul rdx, rdx, 1
mov r8, qword [rsp + 0x90]
lea rdx, [r8 + rdx + 4]
mov r8, qword [rsp + 0x68]
movzx r8d, byte [r8 + 8]
mov r9, qword [rsp + 0x90]
mov al, byte [r9 + rax + 8]
mov byte [rsp + 0x28], al
mov rax, qword [rsp + 0x90]
mov al, byte [rax + rcx + 7]
mov byte [rsp + 0x20], al
mov r9b, byte [rdx + r8]
mov r8b, 1
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.1400021f4
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
and eax, 0x80000000
test eax, eax
je 0x140006f3b
mov eax, dword [rsp + 0x60]
jmp 0x140006f4a
xor eax, eax
test eax, eax
jne 0x140006eb5
mov eax, 0x100000
add rsp, 0x78
ret