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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x318
mov qword [rsp + 0x258], 0xfffffffffffffffe
mov rax, qword [0x18009b018]
xor rax, rsp
mov qword [rsp + 0x300], rax
mov dword [rsp + 0x24], 0
cmp qword [rsp + 0x360], 0
jbe 0x18001614c
mov rax, qword [rsp + 0x358]
movsx eax, byte [rax]
cmp eax, 0x2b
je 0x18001613e
mov rax, qword [rsp + 0x358]
movsx eax, byte [rax]
cmp eax, 0x2d
jne 0x18001614c
mov qword [rsp + 0xf8], 1
jmp 0x180016158
mov qword [rsp + 0xf8], 0
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x348]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x68]
and eax, 0xe00
cmp eax, 0x800
jne 0x1800161f8
mov rax, qword [rsp + 0x28]
add rax, 2
cmp rax, qword [rsp + 0x360]
ja 0x1800161f8
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x358]
add rcx, rax
mov rax, rcx
movsx eax, byte [rax]
cmp eax, 0x30
jne 0x1800161f8
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x358]
add rcx, rax
mov rax, rcx
movsx eax, byte [rax + 1]
cmp eax, 0x78
je 0x1800161ea
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x358]
add rcx, rax
mov rax, rcx
movsx eax, byte [rax + 1]
cmp eax, 0x58
jne 0x1800161f8
mov rax, qword [rsp + 0x28]
add rax, 2
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x348]
mov rdx, qword [rax + 0x40]
lea rcx, [rsp + 0x1e0]
call fcn.180010fd0
mov eax, dword [rsp + 0x24]
or eax, 1
mov dword [rsp + 0x24], eax
lea rax, [rsp + 0x1e0]
mov qword [rsp + 0x140], rax
mov rcx, qword [rsp + 0x140]
call fcn.18000f4a0
mov qword [rsp + 0x108], rax
lea rcx, [rsp + 0x1e0]
call fcn.180011b10
lea rax, [rsp + 0x2c0]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
mov rcx, rax
call fcn.18000fb80
nop
lea rcx, [rsp + 0x2c0]
call fcn.180017bb0
xor r8d, r8d
mov rdx, qword [rsp + 0x360]
lea rcx, [rsp + 0x2c0]
call fcn.180018280
nop
lea rax, [rsp + 0x2c0]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x18], 0x10
jb 0x1800162d5
mov dword [rsp + 0x3c], 1
jmp 0x1800162dd
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
test eax, eax
je 0x1800162f6
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov qword [rsp + 0x100], rax
xor eax, eax
imul rax, rax, 1
mov rcx, qword [rsp + 0x100]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x360]
mov rdx, qword [rsp + 0x358]
add rdx, rcx
mov rcx, rdx
mov edx, 1
imul rdx, rdx, 0
mov r8, qword [rsp + 0x358]
add r8, rdx
mov rdx, r8
mov r8, qword [rsp + 0x108]
mov r8, qword [r8]
mov qword [rsp + 0x158], r8
mov r9, rax
mov r8, rcx
mov rcx, qword [rsp + 0x108]
mov rax, qword [rsp + 0x158]
call qword [rax + 0x38]
mov rax, qword [rsp + 0x348]
mov rdx, qword [rax + 0x40]
lea rcx, [rsp + 0x1f0]
call fcn.180010fd0
mov eax, dword [rsp + 0x24]
or eax, 2
mov dword [rsp + 0x24], eax
lea rax, [rsp + 0x1f0]
mov qword [rsp + 0x160], rax
mov rcx, qword [rsp + 0x160]
call fcn.18000f800
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x1f0]
call fcn.180011b10
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
lea rdx, [rsp + 0x2e0]
mov rcx, qword [rsp + 0x60]
call qword [rax + 0x28]
mov eax, dword [rsp + 0x24]
or eax, 4
mov dword [rsp + 0x24], eax
lea rax, [rsp + 0x2e0]
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x78]
cmp qword [rax + 0x18], 0x10
jb 0x180016419
mov dword [rsp + 0x40], 1
jmp 0x180016421
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x18001643a
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov qword [rsp + 0x110], rax
xor eax, eax
imul rax, rax, 1
mov rcx, qword [rsp + 0x110]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movsx eax, byte [rax]
cmp eax, 0x7f
je 0x180016532
mov rax, qword [rsp + 0x30]
movsx eax, byte [rax]
test eax, eax
jle 0x180016532
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
call qword [rax + 0x20]
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0x30]
movsx eax, byte [rax]
cmp eax, 0x7f
je 0x180016532
mov rax, qword [rsp + 0x30]
movsx eax, byte [rax]
test eax, eax
jle 0x180016532
mov rax, qword [rsp + 0x30]
movsx rax, byte [rax]
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x360]
sub rdx, rcx
mov rcx, rdx
cmp rax, rcx
jae 0x180016532
mov rax, qword [rsp + 0x30]
movsx rax, byte [rax]
mov rcx, qword [rsp + 0x360]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x360], rax
movzx r9d, byte [rsp + 0x20]
mov r8d, 1
mov rdx, qword [rsp + 0x360]
lea rcx, [rsp + 0x2c0]
call fcn.180019ee0
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x30]
movsx eax, byte [rcx + rax]
test eax, eax
jle 0x18001652d
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
jmp 0x180016488
lea rax, [rsp + 0x2c0]
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x178]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x360], rax
mov rax, qword [rsp + 0x348]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x180], rax
cmp qword [rsp + 0x180], 0
jle 0x1800165df
mov rax, qword [rsp + 0x348]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x360]
cmp qword [rsp + 0x188], rax
jbe 0x1800165df
mov rax, qword [rsp + 0x348]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x360]
mov rcx, qword [rsp + 0x190]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x118], rax
jmp 0x1800165eb
mov qword [rsp + 0x118], 0
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x348]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x6c]
and eax, 0x1c0
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0x40
je 0x180016804
cmp dword [rsp + 0x38], 0x100
je 0x180016804
lea rax, [rsp + 0x200]
mov rdi, rax
mov rsi, qword [rsp + 0x340]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x80], rax
jmp 0x180016669
mov rax, qword [rsp + 0x80]
dec rax
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
jbe 0x18001668b
movzx edx, byte [rsp + 0x350]
lea rcx, [rsp + 0x200]
call fcn.180011cb0
jmp 0x180016656
lea rax, [rsp + 0x260]
lea rcx, [rsp + 0x200]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x260]
mov rdi, qword [rsp + 0x340]
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov qword [rsp + 0x58], 0
lea rax, [rsp + 0x210]
mov rdi, rax
mov rsi, qword [rsp + 0x340]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x2c0]
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x88]
cmp qword [rax + 0x18], 0x10
jb 0x18001672e
mov dword [rsp + 0x44], 1
jmp 0x180016736
mov dword [rsp + 0x44], 0
movzx eax, byte [rsp + 0x44]
test eax, eax
je 0x180016752
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x90], rax
xor eax, eax
imul rax, rax, 1
mov rcx, qword [rsp + 0x120]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
jmp 0x1800167a3
mov rax, qword [rsp + 0x90]
dec rax
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x98]
inc rax
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x90], 0
jbe 0x1800167c8
mov rax, qword [rsp + 0x98]
movzx edx, byte [rax]
lea rcx, [rsp + 0x210]
call fcn.180011cb0
jmp 0x18001677d
lea rax, [rsp + 0x270]
lea rcx, [rsp + 0x210]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x270]
mov rdi, qword [rsp + 0x340]
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
jmp 0x180016b1d
cmp dword [rsp + 0x38], 0x100
jne 0x1800169e9
lea rax, [rsp + 0x220]
mov rdi, rax
mov rsi, qword [rsp + 0x340]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x2c0]
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0x18], 0x10
jb 0x180016875
mov dword [rsp + 0x48], 1
jmp 0x18001687d
mov dword [rsp + 0x48], 0
movzx eax, byte [rsp + 0x48]
test eax, eax
je 0x180016899
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0xa8], rax
xor eax, eax
imul rax, rax, 1
mov rcx, qword [rsp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb0], rax
jmp 0x1800168ea
mov rax, qword [rsp + 0xa8]
dec rax
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xb0]
inc rax
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0xa8], 0
jbe 0x18001690f
mov rax, qword [rsp + 0xb0]
movzx edx, byte [rax]
lea rcx, [rsp + 0x220]
call fcn.180011cb0
jmp 0x1800168c4
lea rax, [rsp + 0x280]
lea rcx, [rsp + 0x220]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x280]
mov rdi, qword [rsp + 0x340]
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x230]
mov rdi, rax
mov rsi, qword [rsp + 0x340]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xb8], rax
jmp 0x180016982
mov rax, qword [rsp + 0xb8]
dec rax
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0
jbe 0x1800169a4
movzx edx, byte [rsp + 0x350]
lea rcx, [rsp + 0x230]
call fcn.180011cb0
jmp 0x18001696f
lea rax, [rsp + 0x290]
lea rcx, [rsp + 0x230]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x290]
mov rdi, qword [rsp + 0x340]
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov qword [rsp + 0x58], 0
jmp 0x180016b1d
lea rax, [rsp + 0x240]
mov rdi, rax
mov rsi, qword [rsp + 0x340]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x2c0]
mov qword [rsp + 0x1a8], rax
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0xc0]
cmp qword [rax + 0x18], 0x10
jb 0x180016a4c
mov dword [rsp + 0x4c], 1
jmp 0x180016a54
mov dword [rsp + 0x4c], 0
movzx eax, byte [rsp + 0x4c]
test eax, eax
je 0x180016a70
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0xc8], rax
xor eax, eax
imul rax, rax, 1
mov rcx, qword [rsp + 0x130]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xd0], rax
jmp 0x180016ac1
mov rax, qword [rsp + 0xc8]
dec rax
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xd0]
inc rax
mov qword [rsp + 0xd0], rax
cmp qword [rsp + 0xc8], 0
jbe 0x180016ae6
mov rax, qword [rsp + 0xd0]
movzx edx, byte [rax]
lea rcx, [rsp + 0x240]
call fcn.180011cb0
jmp 0x180016a9b
lea rax, [rsp + 0x2a0]
lea rcx, [rsp + 0x240]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x2a0]
mov rdi, qword [rsp + 0x340]
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x1c0]
mov rdi, rax
mov rsi, qword [rsp + 0x340]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x2c0]
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0xd8]
cmp qword [rax + 0x18], 0x10
jb 0x180016b80
mov dword [rsp + 0x50], 1
jmp 0x180016b88
mov dword [rsp + 0x50], 0
movzx eax, byte [rsp + 0x50]
test eax, eax
je 0x180016ba4
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x360]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x138]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xe8], rax
jmp 0x180016c02
mov rax, qword [rsp + 0xe0]
dec rax
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe8]
inc rax
mov qword [rsp + 0xe8], rax
cmp qword [rsp + 0xe0], 0
jbe 0x180016c27
mov rax, qword [rsp + 0xe8]
movzx edx, byte [rax]
lea rcx, [rsp + 0x1c0]
call fcn.180011cb0
jmp 0x180016bdc
lea rax, [rsp + 0x2b0]
lea rcx, [rsp + 0x1c0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x2b0]
mov rdi, qword [rsp + 0x340]
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x348]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x250], rax
mov rax, qword [rsp + 0x348]
mov qword [rax + 0x28], 0
lea rax, [rsp + 0x1d0]
mov rdi, rax
mov rsi, qword [rsp + 0x340]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xf0], rax
jmp 0x180016cbe
mov rax, qword [rsp + 0xf0]
dec rax
mov qword [rsp + 0xf0], rax
cmp qword [rsp + 0xf0], 0
jbe 0x180016ce0
movzx edx, byte [rsp + 0x350]
lea rcx, [rsp + 0x1d0]
call fcn.180011cb0
jmp 0x180016cab
lea rax, [rsp + 0x1d0]
mov rdi, qword [rsp + 0x338]
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x2e0]
call fcn.180017a90
nop
lea rcx, [rsp + 0x2c0]
call fcn.180017a90
nop
mov rax, qword [rsp + 0x338]
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.180047960
add rsp, 0x318
pop rdi
pop rsi
ret