Function at 0x14016a760
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
mov eax, 0x138
call fcn.14028b850
sub rsp, rax
mov rcx, qword [rsp + 0x160]
call fcn.140146c30
cmp qword [rsp + 0x140], 0
jne 0x14016a7b0
mov rcx, qword [rsp + 0x160]
call fcn.140146fc0
mov qword [rsp + 0x108], rax
jmp 0x14016a7c0
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x160]
call fcn.140146fc0
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x160]
call fcn.140146fc0
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x160]
call fcn.140146fc0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x14016a810
jmp 0x14016afb3
mov rdx, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x48]
call fcn.140089df0
test rax, rax
jne 0x14016a82c
jmp 0x14016afb3
mov rcx, qword [rsp + 0x48]
call fcn.14016afd0
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x48]
mov dword [rax + 0x10], 0
mov r8d, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x150]
mov rcx, qword [rsp + 0x28]
call fcn.14008f710
test eax, eax
jne 0x14016a866
jmp 0x14016afb3
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 8]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 8]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x40], eax
jg 0x14016a8e6
mov edx, dword [rsp + 0x20]
add edx, 1
mov rcx, qword [rsp + 0x28]
call fcn.14008b680
test rax, rax
jne 0x14016a8a3
jmp 0x14016afb3
mov ecx, dword [rsp + 0x40]
mov eax, dword [rsp + 0x20]
sub eax, ecx
add eax, 1
movsxd r8, eax
shl r8, 3
movsxd rcx, dword [rsp + 0x40]
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
lea rcx, [rax + rcx*8]
xor edx, edx
call sub.MSVCR90.dll_memset
mov eax, dword [rsp + 0x20]
add eax, 1
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0x28]
mov eax, dword [rsp + 0x40]
mov dword [rcx + 8], eax
mov ecx, dword [rsp + 0x20]
mov eax, dword [rsp + 0x40]
sub eax, ecx
mov dword [rsp + 0x50], eax
movsxd rcx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
lea rax, [rax + rcx*8]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x40]
sub eax, 1
movsxd rcx, eax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
lea rax, [rax + rcx*8]
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0x20]
sub eax, 1
movsxd rcx, eax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov rax, qword [rax + rcx*8]
mov qword [rsp + 0x78], rax
cmp dword [rsp + 0x20], 1
jne 0x14016a958
mov qword [rsp + 0x110], 0
jmp 0x14016a976
mov eax, dword [rsp + 0x20]
sub eax, 2
movsxd rcx, eax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov rax, qword [rax + rcx*8]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x88], rax
mov edx, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
call fcn.14008b680
test rax, rax
jne 0x14016a99e
jmp 0x14016afb3
mov rax, qword [rsp + 0x150]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x158]
mov eax, dword [rax + 0x10]
mov ecx, dword [rsp + 0x68]
xor ecx, eax
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x10], ecx
mov rcx, qword [rsp + 0x30]
mov eax, dword [rsp + 0x50]
mov dword [rcx + 8], eax
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + 0x14]
mov dword [rcx + 0x14], eax
movsxd rcx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
lea rax, [rax + rcx*8]
mov qword [rsp + 0x70], rax
mov edx, dword [rsp + 0x20]
add edx, 1
mov rcx, qword [rsp + 0x58]
call fcn.14008b680
test rax, rax
jne 0x14016aa0e
jmp 0x14016afb3
mov dword [rsp + 0x3c], 0
jmp 0x14016aa37
mov eax, dword [rsp + 0x3c]
add eax, 1
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x80]
sub rax, 8
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x3c], eax
jge 0x14016af54
mov qword [rsp + 0xa0], 0
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax - 8]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0xb0], rax
jne 0x14016aa98
mov qword [rsp + 0xb8], 0xffffffffffffffff
jmp 0x14016ade9
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x80], rax
jne 0x14016aab5
mov qword [rsp + 0x118], 0
jmp 0x14016aac9
mov rax, qword [rsp + 0x80]
mov rax, qword [rax - 0x10]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0xd0], rax
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xb0]
call fcn.1400eac60
mov qword [rsp + 0xb8], rax
mov rcx, qword [rsp + 0xb8]
imul rcx, qword [rsp + 0x78]
mov rax, qword [rsp + 0xa8]
sub rax, rcx
mov qword [rsp + 0xa0], rax
mov ecx, 0xffffffff
mov rax, qword [rsp + 0x88]
and rax, rcx
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x88]
shr rax, 0x20
mov ecx, 0xffffffff
and rax, rcx
mov qword [rsp + 0xc8], rax
mov ecx, 0xffffffff
mov rax, qword [rsp + 0xb8]
and rax, rcx
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xb8]
shr rax, 0x20
mov ecx, 0xffffffff
and rax, rcx
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xe0]
imul rax, qword [rsp + 0xe8]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0xd8]
imul rax, qword [rsp + 0xe8]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xd8]
imul rax, qword [rsp + 0xf8]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xe0]
imul rax, qword [rsp + 0xf8]
mov qword [rsp + 0xf8], rax
mov rcx, qword [rsp + 0xf0]
mov rax, qword [rsp + 0x100]
add rax, rcx
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0xf0]
cmp qword [rsp + 0x100], rax
jae 0x14016ac43
mov qword [rsp + 0x120], 1
jmp 0x14016ac4f
mov qword [rsp + 0x120], 0
mov rcx, qword [rsp + 0x120]
shl rcx, 0x20
mov rax, qword [rsp + 0xf8]
add rax, rcx
mov qword [rsp + 0xf8], rax
mov rcx, qword [rsp + 0x100]
shr rcx, 0x20
mov eax, 0xffffffff
and rcx, rax
mov rax, qword [rsp + 0xf8]
add rax, rcx
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0x100]
shl rax, 0x20
mov qword [rsp + 0xf0], rax
mov rcx, qword [rsp + 0xf0]
mov rax, qword [rsp + 0xe8]
add rax, rcx
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xf0]
cmp qword [rsp + 0xe8], rax
jae 0x14016ace4
mov qword [rsp + 0x128], 1
jmp 0x14016acf0
mov qword [rsp + 0x128], 0
mov rcx, qword [rsp + 0x128]
mov rax, qword [rsp + 0xf8]
add rax, rcx
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xa0]
cmp qword [rsp + 0xc8], rax
jb 0x14016ad61
mov rax, qword [rsp + 0xa0]
cmp qword [rsp + 0xc8], rax
jne 0x14016ad66
mov rax, qword [rsp + 0xd0]
cmp qword [rsp + 0xc0], rax
ja 0x14016ad66
jmp 0x14016ade9
mov rax, qword [rsp + 0xb8]
sub rax, 1
mov qword [rsp + 0xb8], rax
mov rcx, qword [rsp + 0x78]
mov rax, qword [rsp + 0xa0]
add rax, rcx
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0xa0], rax
jae 0x14016ada3
jmp 0x14016ade9
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0xc0], rax
jae 0x14016adc9
mov rax, qword [rsp + 0xc8]
sub rax, 1
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0x88]
mov rax, qword [rsp + 0xc0]
sub rax, rcx
mov qword [rsp + 0xc0], rax
jmp 0x14016ad2b
mov r9, qword [rsp + 0xb8]
mov r8d, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
mov rdx, qword [rdx]
mov rcx, qword [rsp + 0x58]
mov rcx, qword [rcx]
call fcn.1400e9ac0
mov qword [rsp + 0x98], rax
movsxd rdx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x58]
mov rcx, qword [rcx]
mov rax, qword [rsp + 0x98]
mov qword [rcx + rdx*8], rax
mov rax, qword [rsp + 0x60]
sub rax, 8
mov qword [rsp + 0x60], rax
mov r9d, dword [rsp + 0x20]
add r9d, 1
mov r8, qword [rsp + 0x58]
mov r8, qword [r8]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x60]
call fcn.1400eb410
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x98]
mov rax, qword [rsp + 0xb8]
sub rax, rcx
mov qword [rsp + 0xb8], rax
xor eax, eax
sub rax, qword [rsp + 0x98]
mov qword [rsp + 0x98], rax
mov dword [rsp + 0x90], 0
jmp 0x14016aead
mov eax, dword [rsp + 0x90]
add eax, 1
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x90], eax
jge 0x14016aeef
movsxd rcx, dword [rsp + 0x90]
mov rdx, qword [rsp + 0x48]
mov rdx, qword [rdx]
mov rax, qword [rsp + 0x98]
mov rdx, qword [rdx + rcx*8]
and rdx, rax
movsxd rcx, dword [rsp + 0x90]
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov qword [rax + rcx*8], rdx
jmp 0x14016ae9c
mov r9d, dword [rsp + 0x20]
mov r8, qword [rsp + 0x58]
mov r8, qword [r8]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x60]
call fcn.1400eafd0
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx]
add rcx, qword [rsp + 0x98]
mov rax, qword [rsp + 0x80]
mov qword [rax], rcx
mov rax, qword [rsp + 0x70]
sub rax, 8
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0xb8]
mov qword [rcx], rax
jmp 0x14016aa18
mov rcx, qword [rsp + 0x28]
mov eax, dword [rsp + 0x68]
mov dword [rcx + 0x10], eax
mov rcx, qword [rsp + 0x28]
mov eax, dword [rsp + 0x20]
mov dword [rcx + 8], eax
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + 0x14]
mov dword [rcx + 0x14], eax
cmp qword [rsp + 0x148], 0
je 0x14016af9f
mov r8d, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x148]
call fcn.14008fa00
test eax, eax
jne 0x14016af9f
jmp 0x14016afb3
mov rcx, qword [rsp + 0x160]
call fcn.140146ed0
mov eax, 1
jmp 0x14016afc2
mov rcx, qword [rsp + 0x160]
call fcn.140146ed0
xor eax, eax
add rsp, 0x138
ret