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

Disassembly:
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
sub rsp, 0x158
mov dword [rsp + 0x24], 0
mov rdx, qword [rsp + 0x160]
lea rcx, [rsp + 0x120]
call fcn.14000db20
nop
movzx eax, byte [rsp + 0x128]
mov byte [rsp + 0x28], al
movzx eax, byte [rsp + 0x28]
test eax, eax
je 0x140001da3
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
cmp qword [rsp + 0xd0], 1
jg 0x140001a09
mov qword [rsp + 0x90], 0
jmp 0x140001a55
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 rax, qword [rax + 0x28]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
dec rax
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], 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
mov rax, qword [rsp + 0xe8]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x78]
and eax, 0x1c0
cmp eax, 0x40
je 0x140001bc4
jmp 0x140001ab7
mov rax, qword [rsp + 0x30]
dec rax
mov qword [rsp + 0x30], rax
cmp dword [rsp + 0x24], 0
jne 0x140001bc4
cmp qword [rsp + 0x30], 0
jle 0x140001bc4
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 + 0x130]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0x98], 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 + 0xf8], rax
movzx eax, byte [rsp + 0x2e]
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0xf8]
movzx eax, byte [rax + 0x58]
mov byte [rsp + 0x20], al
movzx edx, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x98]
call fcn.14006f7f0
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x38], 0xffffffff
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x38], eax
jne 0x140001b9a
mov dword [rsp + 0x3c], 1
jmp 0x140001ba2
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x29], al
movzx eax, byte [rsp + 0x29]
test eax, eax
je 0x140001bbf
mov eax, dword [rsp + 0x24]
or eax, 4
mov dword [rsp + 0x24], eax
jmp 0x140001aaa
cmp dword [rsp + 0x24], 0
jne 0x140001c85
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 + 0x100], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x100]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0xa0], rax
movzx edx, byte [rsp + 0x168]
mov rcx, qword [rsp + 0xa0]
call fcn.14006f7f0
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0xbc]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x40], 0xffffffff
mov eax, dword [rsp + 0x64]
cmp dword [rsp + 0x40], eax
jne 0x140001c60
mov dword [rsp + 0x44], 1
jmp 0x140001c68
mov dword [rsp + 0x44], 0
movzx eax, byte [rsp + 0x44]
mov byte [rsp + 0x2a], al
movzx eax, byte [rsp + 0x2a]
test eax, eax
je 0x140001c85
mov eax, dword [rsp + 0x24]
or eax, 4
mov dword [rsp + 0x24], eax
jmp 0x140001c94
mov rax, qword [rsp + 0x30]
dec rax
mov qword [rsp + 0x30], rax
cmp dword [rsp + 0x24], 0
jne 0x140001da1
cmp qword [rsp + 0x30], 0
jle 0x140001da1
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 + 0xa8], rax
mov rax, qword [rsp + 0x108]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0xa8], 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 + 0x2f]
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 + 0xa8]
call fcn.14006f7f0
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0xc0]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x48], 0xffffffff
mov eax, dword [rsp + 0x6c]
cmp dword [rsp + 0x48], eax
jne 0x140001d77
mov dword [rsp + 0x4c], 1
jmp 0x140001d7f
mov dword [rsp + 0x4c], 0
movzx eax, byte [rsp + 0x4c]
mov byte [rsp + 0x2b], al
movzx eax, byte [rsp + 0x2b]
test eax, eax
je 0x140001d9c
mov eax, dword [rsp + 0x24]
or eax, 4
mov dword [rsp + 0x24], eax
jmp 0x140001c87
jmp 0x140001da3
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 + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0x28], 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 + 0x88], rax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x74], eax
mov byte [rsp + 0x2d], 0
mov rax, qword [rsp + 0x88]
cmp qword [rax + 0x48], 0
je 0x140001e3e
mov dword [rsp + 0x54], 0
jmp 0x140001e46
mov dword [rsp + 0x54], 4
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x74]
or ecx, eax
mov eax, ecx
or eax, dword [rsp + 0x54]
movzx r8d, byte [rsp + 0x2d]
mov edx, eax
mov rcx, qword [rsp + 0x88]
call fcn.140065920
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x118], rax
lea rcx, [rsp + 0x120]
call fcn.14000e6f0
mov rax, qword [rsp + 0x118]
add rsp, 0x158
ret