Function at 0x140006b50
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, 0x158
mov dword [rsp + 0x24], 0
mov rax, qword [rsp + 0x160]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x160]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0xb0], 0
jle 0x140006bfd
mov rax, qword [rsp + 0x160]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x160]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x170]
cmp qword [rsp + 0xc0], rax
ja 0x140006c08
mov qword [rsp + 0x30], 0
jmp 0x140006c5c
mov rax, qword [rsp + 0x160]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x160]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x170]
mov rcx, qword [rsp + 0xd0]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x160]
lea rcx, [rsp + 0x120]
call fcn.14000da80
nop
movzx eax, byte [rsp + 0x128]
mov byte [rsp + 0x28], al
movzx eax, byte [rsp + 0x28]
test eax, eax
jne 0x140006c97
mov eax, dword [rsp + 0x24]
or eax, 4
mov dword [rsp + 0x24], eax
jmp 0x140007002
mov rax, qword [rsp + 0x160]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x160]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
and eax, 0x1c0
cmp eax, 0x40
je 0x140006df0
jmp 0x140006cec
mov rax, qword [rsp + 0x30]
dec rax
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jbe 0x140006df0
mov rax, qword [rsp + 0x160]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x160]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x160]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x160]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xe8], rax
movzx eax, byte [rsp + 0x2d]
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0xe8]
movzx eax, byte [rax + 0x58]
mov byte [rsp + 0x20], al
movzx edx, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
call fcn.14006f7d0
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x38], 0xffffffff
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x38], eax
jne 0x140006dc4
mov dword [rsp + 0x3c], 1
jmp 0x140006dcc
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x29], al
movzx eax, byte [rsp + 0x29]
test eax, eax
je 0x140006deb
mov eax, dword [rsp + 0x24]
or eax, 4
mov dword [rsp + 0x24], eax
jmp 0x140006df0
jmp 0x140006cdf
cmp dword [rsp + 0x24], 0
jne 0x140006ea4
mov rax, qword [rsp + 0x160]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x160]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0xf8], rax
mov r8, qword [rsp + 0x170]
mov rdx, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x80]
call qword [rsp + 0xf8]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x170]
cmp qword [rsp + 0x100], rax
je 0x140006ea4
mov eax, dword [rsp + 0x24]
or eax, 4
mov dword [rsp + 0x24], eax
jmp 0x140006fb7
jmp 0x140006eb3
mov rax, qword [rsp + 0x30]
dec rax
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jbe 0x140006fb7
mov rax, qword [rsp + 0x160]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x160]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x108]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x160]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x160]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x110], rax
movzx eax, byte [rsp + 0x2e]
mov byte [rsp + 0x21], al
mov rax, qword [rsp + 0x110]
movzx eax, byte [rax + 0x58]
mov byte [rsp + 0x21], al
movzx edx, byte [rsp + 0x21]
mov rcx, qword [rsp + 0x90]
call fcn.14006f7d0
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0xa4]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x40], 0xffffffff
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x40], eax
jne 0x140006f8b
mov dword [rsp + 0x44], 1
jmp 0x140006f93
mov dword [rsp + 0x44], 0
movzx eax, byte [rsp + 0x44]
mov byte [rsp + 0x2a], al
movzx eax, byte [rsp + 0x2a]
test eax, eax
je 0x140006fb2
mov eax, dword [rsp + 0x24]
or eax, 4
mov dword [rsp + 0x24], eax
jmp 0x140006fb7
jmp 0x140006ea6
mov rax, qword [rsp + 0x160]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x160]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x98]
mov qword [rax + 0x28], 0
jmp 0x140007002
mov rax, qword [rsp + 0x160]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x160]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x68], eax
mov byte [rsp + 0x2c], 0
mov rax, qword [rsp + 0x78]
cmp qword [rax + 0x48], 0
je 0x14000704b
mov dword [rsp + 0x4c], 0
jmp 0x140007053
mov dword [rsp + 0x4c], 4
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x68]
or ecx, eax
mov eax, ecx
or eax, dword [rsp + 0x4c]
movzx r8d, byte [rsp + 0x2c]
mov edx, eax
mov rcx, qword [rsp + 0x78]
call fcn.140065880
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x118], rax
lea rcx, [rsp + 0x120]
call fcn.14000e650
mov rax, qword [rsp + 0x118]
add rsp, 0x158
ret