Function at 0x140166640
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
sub rsp, 0x188
mov rax, qword [rsp + 0x190]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x4c], 0
mov rax, qword [rsp + 0x190]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
mov r8d, 0x38
xor edx, edx
lea rcx, [rsp + 0x148]
call sub.VCRUNTIME140.dll_memset
cmp qword [rsp + 0x1a8], 0
je 0x1401666ce
mov rax, qword [rsp + 0x1a8]
cmp dword [rax], 0x40
jl 0x1401666ce
mov qword [rsp + 0x1a8], 0
movzx eax, word [rsp + 0x1c0]
btr eax, 8
mov word [rsp + 0x1c0], ax
mov rax, qword [rsp + 0x198]
cmp dword [rax], 0x40
jle 0x1401666fc
mov r8d, 0x40
lea rdx, str.at_most__d_tables_in_a_join
mov rcx, qword [rsp + 0x190]
call fcn.14014a5e0
xor eax, eax
jmp 0x140167b87
movzx eax, word [rsp + 0x1c0]
and eax, 0x20
test eax, eax
je 0x140166718
mov dword [rsp + 0xc8], 1
jmp 0x140166729
mov rax, qword [rsp + 0x198]
mov eax, dword [rax]
mov dword [rsp + 0xc8], eax
mov eax, dword [rsp + 0xc8]
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x90], 0x3d0
cmp dword [rsp + 0x54], 1
jle 0x140166765
movsxd rax, dword [rsp + 0x90]
mov ecx, dword [rsp + 0x54]
dec ecx
movsxd rcx, ecx
imul rcx, rcx, 0x70
add rax, rcx
mov dword [rsp + 0x90], eax
movsxd rax, dword [rsp + 0x90]
add rax, 0x70
mov rdx, rax
mov rcx, qword [rsp + 0x58]
call fcn.140148b40
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 0x67]
test eax, eax
je 0x1401667ad
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
call fcn.140149250
mov qword [rsp + 0x40], 0
jmp 0x140167b55
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x190]
mov qword [rax], rcx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x198]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x1a8]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x1b0]
mov qword [rax + 0x18], rcx
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x40]
mov dword [rcx + rax + 0x28], 0xffffffff
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov dword [rcx + rax + 0x28], 0xffffffff
mov rax, qword [rsp + 0x40]
movzx ecx, byte [rsp + 0x54]
mov byte [rax + 0x40], cl
mov rcx, qword [rsp + 0x190]
call fcn.140141610
mov dword [rsp + 0xcc], eax
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0xcc]
mov dword [rax + 0x30], ecx
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0xcc]
mov dword [rax + 0x34], ecx
mov rax, qword [rsp + 0x40]
movzx ecx, word [rsp + 0x1c0]
mov word [rax + 0x3c], cx
mov rax, qword [rsp + 0x40]
movzx ecx, word [rsp + 0x1c8]
mov word [rax + 0x3e], cx
mov rax, qword [rsp + 0x190]
movsx eax, word [rax + 0xe0]
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 0x38], eax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x1b8]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x40]
add rax, 0x41
mov r8d, 0x2f
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x70
add rax, 0x70
mov ecx, 0x70
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x40]
lea rcx, [rdx + rcx + 0x360]
mov r8, rax
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x40]
add rax, 0x258
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov dword [rax + 4], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x108]
mov dword [rcx + rax + 8], 0xffffff9d
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x40]
add rax, 0x70
mov qword [rsp + 0x150], rax
movsxd rax, dword [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x158], rax
mov rcx, qword [rsp + 0x158]
call fcn.140209fc0
mov rax, qword [rsp + 0x40]
add rax, 0x70
mov rdx, qword [rsp + 0x40]
mov rcx, rax
call fcn.1402003c0
mov rax, qword [rsp + 0x40]
add rax, 0x70
mov r8b, 0x2c
mov rdx, qword [rsp + 0x1a0]
mov rcx, rax
call fcn.140200530
cmp dword [rsp + 0x54], 0
jne 0x140166a2a
cmp qword [rsp + 0x1a8], 0
je 0x1401669c7
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x1a8]
movzx ecx, byte [rcx]
mov byte [rax + 0x41], cl
movzx eax, word [rsp + 0x1c0]
and eax, 0x100
test eax, eax
je 0x1401669f0
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x60]
and eax, 0x10
test eax, eax
jne 0x1401669f0
mov rax, qword [rsp + 0x40]
mov byte [rax + 0x43], 1
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x20], 0
je 0x140166a28
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x20]
mov eax, dword [rax + 4]
and eax, 0x400
test eax, eax
jne 0x140166a28
lea r8, str.SCAN_CONSTANT_ROW
xor edx, edx
mov rcx, qword [rsp + 0x190]
call fcn.140140d50
nop
jmp 0x140166aa1
mov dword [rsp + 0x48], 0
movsxd rax, dword [rsp + 0x48]
imul rax, rax, 0x68
mov rcx, qword [rsp + 0x198]
mov edx, dword [rcx + rax + 0x4c]
mov rcx, qword [rsp + 0x108]
call fcn.1402064c0
mov rax, qword [rsp + 0x40]
add rax, 0x70
movsxd rcx, dword [rsp + 0x48]
imul rcx, rcx, 0x68
mov rdx, qword [rsp + 0x198]
lea rcx, [rdx + rcx + 8]
mov r8, rax
mov rdx, rcx
mov rcx, qword [rsp + 0x190]
call fcn.1402009f0
nop
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x198]
mov eax, dword [rax]
cmp dword [rsp + 0x48], eax
jl 0x140166a32
mov rax, qword [rsp + 0x40]
add rax, 0x70
mov rdx, rax
mov rcx, qword [rsp + 0x198]
call fcn.140200990
cmp qword [rsp + 0x1b8], 0
je 0x140166aee
mov rax, qword [rsp + 0x1b8]
cmp qword [rax + 0x60], 0
je 0x140166aee
mov rax, qword [rsp + 0x40]
add rax, 0x70
mov rdx, qword [rsp + 0x1b8]
mov rcx, rax
call fcn.1402005d0
nop
mov rax, qword [rsp + 0x190]
cmp dword [rax + 0x30], 0
je 0x140166b01
jmp 0x140167b55
mov dword [rsp + 0x48], 0
jmp 0x140166b15
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x150]
mov eax, dword [rax + 0x1c]
cmp dword [rsp + 0x48], eax
jge 0x140166c0d
movsxd rax, dword [rsp + 0x48]
imul rax, rax, 0x38
mov rcx, qword [rsp + 0x150]
add rax, qword [rcx + 0x20]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
movzx eax, word [rax + 0x12]
and eax, 2
test eax, eax
je 0x140166b5c
jmp 0x140166b0b
mov rax, qword [rsp + 0xe8]
mov rax, qword [rax]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0xe8]
cmp qword [rax + 0x30], 0
jne 0x140166c08
cmp dword [rsp + 0x54], 0
je 0x140166b9a
mov rcx, qword [rsp + 0x110]
call fcn.140210f70
test eax, eax
je 0x140166c08
mov rax, qword [rsp + 0x110]
mov eax, dword [rax + 4]
and eax, 2
test eax, eax
je 0x140166bc9
mov eax, 0x68
imul rax, rax, 0
mov rcx, qword [rsp + 0x198]
movzx eax, byte [rcx + rax + 0x44]
and eax, 0x40
test eax, eax
jne 0x140166c08
mov r9d, 0x10
mov rax, qword [rsp + 0x40]
mov r8d, dword [rax + 0x34]
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x190]
call fcn.14016bcb0
mov rax, qword [rsp + 0xe8]
movzx eax, word [rax + 0x12]
or eax, 4
mov rcx, qword [rsp + 0xe8]
mov word [rcx + 0x12], ax
jmp 0x140166b0b
movzx eax, word [rsp + 0x1c0]
and eax, 0x100
test eax, eax
je 0x140166cc7
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x60]
and eax, 0x10
test eax, eax
je 0x140166c5d
movzx eax, word [rsp + 0x1c0]
btr eax, 8
mov word [rsp + 0x1c0], ax
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 0x3c]
btr eax, 8
mov rcx, qword [rsp + 0x40]
mov word [rcx + 0x3c], ax
jmp 0x140166cc7
mov rax, qword [rsp + 0x40]
add rax, 0x70
mov r9, qword [rsp + 0x1b0]
mov r8, rax
mov rdx, qword [rsp + 0x198]
mov rcx, qword [rsp + 0x190]
call fcn.140206eb0
test eax, eax
je 0x140166c95
mov rax, qword [rsp + 0x40]
mov byte [rax + 0x43], 1
jmp 0x140166cc7
cmp qword [rsp + 0x1a8], 0
jne 0x140166cc7
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 0x3c]
bts eax, 7
mov rcx, qword [rsp + 0x40]
mov word [rcx + 0x3c], ax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x1b0]
mov qword [rax + 0x10], rcx
cmp dword [rsp + 0x54], 1
jne 0x140166ce3
lea rcx, [rsp + 0x148]
call fcn.140210aa0
test eax, eax
jne 0x140166e04
lea rcx, [rsp + 0x148]
call fcn.14020e9e0
mov dword [rsp + 0xa0], eax
cmp dword [rsp + 0xa0], 0
je 0x140166d06
jmp 0x140167b55
movzx eax, byte [rsp + 0x175]
and eax, 4
test eax, eax
je 0x140166d7f
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x58], 0
je 0x140166d5c
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x58]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x120]
mov rcx, qword [rcx + 0x50]
mov qword [rax + 0x58], rcx
mov rdx, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x58]
call fcn.14020a280
nop
jmp 0x140166d15
lea rcx, [rsp + 0x148]
call fcn.14020e9e0
mov dword [rsp + 0xa0], eax
cmp dword [rsp + 0xa0], 0
je 0x140166d7f
jmp 0x140167b55
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.14020fb10
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 0x67]
test eax, eax
je 0x140166d9d
jmp 0x140167b55
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x10], 0
je 0x140166ddd
mov rcx, qword [rsp + 0x40]
call fcn.1402109a0
mov rax, qword [rsp + 0x40]
movsx eax, word [rax + 0x48]
inc eax
movzx edx, ax
mov rcx, qword [rsp + 0x40]
call fcn.14020fb10
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 0x67]
test eax, eax
je 0x140166ddd
jmp 0x140167b55
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 0x3c]
and eax, 0x100
test eax, eax
je 0x140166e04
mov rax, qword [rsp + 0x40]
movsx eax, word [rax + 0x48]
sub eax, 0x1e
mov rcx, qword [rsp + 0x40]
mov word [rcx + 0x48], ax
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x10], 0
jne 0x140166e2f
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x30]
and rax, 0x1000
test rax, rax
je 0x140166e2f
mov rcx, qword [rsp + 0x40]
call fcn.140211810
nop
mov rax, qword [rsp + 0x190]
cmp dword [rax + 0x30], 0
je 0x140166e42
jmp 0x140167b55
mov qword [rsp + 0xc0], 0xffffffffffffffff
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0x40]
cmp eax, 2
jl 0x140166eb0
cmp qword [rsp + 0x1b0], 0
je 0x140166eb0
movzx eax, word [rsp + 0x1c0]
and eax, 0x400
test eax, eax
jne 0x140166eb0
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x60]
and eax, 0x100
test eax, eax
jne 0x140166eb0
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x40]
call fcn.140210fd0
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0x40]
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0x40]
cmp eax, 2
jl 0x140166eda
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x60]
and eax, 0x80000
test eax, eax
jne 0x140166eda
mov rcx, qword [rsp + 0x40]
call fcn.140211360
nop
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x40]
movsx ecx, word [rcx + 0x48]
movsx eax, word [rax + 0xe0]
add eax, ecx
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov word [rcx + 0xe0], ax
movzx eax, word [rsp + 0x1c0]
and eax, 4
test eax, eax
je 0x14016707d
mov eax, 0x70
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx + rax + 0x3c0]
mov eax, dword [rax + 0x38]
mov dword [rsp + 0x94], eax
mov eax, dword [rsp + 0x94]
and eax, 0x1000
test eax, eax
je 0x140166f53
mov dword [rsp + 0xd0], 1
jmp 0x140166f5e
mov dword [rsp + 0xd0], 0
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0xd4], eax
cmp dword [rsp + 0xd4], 0
jne 0x140166fe4
movzx eax, word [rsp + 0x1c0]
and eax, 8
test eax, eax
je 0x14016707d
mov eax, 0x68
imul rax, rax, 0
mov rcx, qword [rsp + 0x198]
mov rax, qword [rcx + rax + 0x28]
movzx eax, byte [rax + 0x3f]
cmp eax, 1
je 0x14016707d
mov eax, dword [rsp + 0x94]
and eax, 0x2000
test eax, eax
je 0x140166fcf
movzx eax, word [rsp + 0x1c0]
and eax, 0x10
test eax, eax
je 0x14016707d
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x60]
and eax, 0x8000000
test eax, eax
jne 0x14016707d
cmp dword [rsp + 0xd4], 0
je 0x140166ffb
mov dword [rsp + 0xd8], 1
jmp 0x140167006
mov dword [rsp + 0xd8], 2
mov rax, qword [rsp + 0x40]
movzx ecx, byte [rsp + 0xd8]
mov byte [rax + 0x42], cl
mov eax, 0x68
imul rax, rax, 0
mov rcx, qword [rsp + 0x198]
mov rax, qword [rcx + rax + 0x28]
mov eax, dword [rax + 0x30]
and eax, 0x80
test eax, eax
jne 0x14016707d
mov eax, dword [rsp + 0x94]
and eax, 0x40
test eax, eax
je 0x14016707d
movzx eax, word [rsp + 0x1c0]
and eax, 8
test eax, eax
je 0x14016705a
mov byte [rsp + 0x4c], 8
mov eax, dword [rsp + 0x94]
and eax, 0xffffffbf
mov ecx, 0x70
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rdx + rcx + 0x3c0]
mov dword [rcx + 0x38], eax
mov dword [rsp + 0x48], 0
mov rax, qword [rsp + 0x40]
add rax, 0x360
mov qword [rsp + 0x68], rax
jmp 0x1401670af
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x68]
add rax, 0x70
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x54]
cmp dword [rsp + 0x48], eax
jge 0x1401678ce
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 0x40]
imul rax, rax, 0x68
mov rcx, qword [rsp + 0x198]
lea rax, [rcx + rax + 8]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax + 0x60]
mov rcx, qword [rsp + 0x58]
call fcn.140181050
mov dword [rsp + 0x7c], eax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x60]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x30]
and eax, 0x4000
test eax, eax
jne 0x140167137
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x3f]
cmp eax, 2
jne 0x14016713c
jmp 0x14016736c
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x38]
and eax, 0x400
test eax, eax
je 0x1401671b6
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
call fcn.140183770
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x44]
mov dword [rsp + 0x104], eax
mov dword [rsp + 0x30], 0xfffffff5
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, dword [rsp + 0x104]
mov edx, 0xad
mov rcx, qword [rsp + 0x60]
call fcn.140140800
nop
jmp 0x14016736c
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x3f]
cmp eax, 1
jne 0x1401671c9
jmp 0x14016736c
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x38]
and eax, 0x40
test eax, eax
jne 0x1401671ea
movzx eax, word [rsp + 0x1c0]
and eax, 0x20
test eax, eax
je 0x140167201
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 0x3c]
and eax, 0x50
test eax, eax
je 0x140167341
mov dword [rsp + 0xdc], 0x70
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0x42]
test eax, eax
je 0x140167241
mov dword [rsp + 0xdc], 0x71
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x88]
mov edx, dword [rdx + 0x44]
mov dword [rcx + rax + 0x28], edx
mov eax, dword [rsp + 0xdc]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x70]
mov r8d, dword [rsp + 0x7c]
mov rax, qword [rsp + 0x88]
mov edx, dword [rax + 0x44]
mov rcx, qword [rsp + 0x190]
call fcn.140162af0
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0x42]
test eax, eax
jne 0x14016732c
mov rax, qword [rsp + 0x70]
movsx eax, word [rax + 0x36]
cmp eax, 0x40
jge 0x14016732c
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x30]
and eax, 0xe0
test eax, eax
jne 0x14016732c
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x38]
and eax, 0x404000
test eax, eax
jne 0x14016732c
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x118], rax
mov dword [rsp + 0xa4], 0
jmp 0x1401672fe
mov rax, qword [rsp + 0x118]
shr rax, 1
mov qword [rsp + 0x118], rax
mov eax, dword [rsp + 0xa4]
inc eax
mov dword [rsp + 0xa4], eax
cmp qword [rsp + 0x118], 0
je 0x14016730b
jmp 0x1401672db
movsxd rax, dword [rsp + 0xa4]
mov r9d, 0xfffffffd
mov r8, rax
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x60]
call fcn.1401412e0
nop
movzx eax, byte [rsp + 0x4c]
movzx edx, ax
mov rcx, qword [rsp + 0x60]
call fcn.140141080
nop
jmp 0x14016736c
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov rax, qword [rsp + 0x70]
mov r8d, dword [rax + 0x28]
mov edx, dword [rsp + 0x7c]
mov rcx, qword [rsp + 0x190]
call fcn.1401830c0
nop
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x38]
and eax, 0x200
test eax, eax
je 0x14016764b
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x98], rax
mov dword [rsp + 0x78], 0x70
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x30]
and eax, 0x80
test eax, eax
je 0x1401673ec
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x64]
and eax, 3
cmp eax, 2
jne 0x1401673ec
movzx eax, word [rsp + 0x1c0]
and eax, 0x20
test eax, eax
je 0x1401673ec
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 4]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x78], 0
jmp 0x14016757d
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0x42]
test eax, eax
je 0x140167480
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x20]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xf0], rax
mov eax, dword [rsp + 0x1c8]
mov dword [rsp + 0x50], eax
cmp qword [rsp + 0xf0], 0
je 0x14016745d
mov rax, qword [rsp + 0x98]
cmp qword [rsp + 0xf0], rax
je 0x14016745d
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0xf0], rax
jmp 0x140167420
mov dword [rsp + 0x78], 0x71
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x40]
mov edx, dword [rsp + 0x50]
mov dword [rcx + rax + 0x28], edx
jmp 0x14016757d
cmp dword [rsp + 0x1c8], 0
je 0x1401674b1
movzx eax, word [rsp + 0x1c0]
and eax, 0x20
test eax, eax
je 0x1401674b1
mov eax, dword [rsp + 0x1c8]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x78], 0x65
jmp 0x14016757d
mov rax, qword [rsp + 0x190]
mov eax, dword [rax + 0x34]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x190]
mov eax, dword [rax + 0x34]
inc eax
mov rcx, qword [rsp + 0x190]
mov dword [rcx + 0x34], eax
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x64]
shr eax, 0xc
and eax, 1
test eax, eax
je 0x140167521
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x60]
and eax, 0x1000000
test eax, eax
jne 0x140167521
mov r9, qword [rsp + 0x88]
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x190]
call fcn.1402115d0
nop
mov rax, qword [rsp + 0x98]
cmp qword [rax + 0x48], 0
je 0x14016757d
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 0x3c]
and eax, 0x10
test eax, eax
jne 0x14016757d
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov rax, qword [rsp + 0x98]
mov r8, qword [rax + 0x48]
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x190]
call fcn.14020c820
nop
mov rax, qword [rsp + 0x68]
mov ecx, dword [rsp + 0x50]
mov dword [rax + 8], ecx
cmp dword [rsp + 0x78], 0
je 0x14016764b
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x98]
mov r9d, dword [rax + 0x58]
mov r8d, dword [rsp + 0x50]
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x60]
call fcn.140140710
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x190]
call fcn.140141490
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x38]
and eax, 0xf
test eax, eax
je 0x14016764b
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x38]
and eax, 0x8002
test eax, eax
jne 0x14016764b
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x38]
and eax, 0x80000
test eax, eax
jne 0x14016764b
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x38]
and eax, 0x100000
test eax, eax
jne 0x14016764b
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 0x3c]
and eax, 1
test eax, eax
jne 0x14016764b
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0x43]
cmp eax, 2
je 0x14016764b
mov dx, 2
mov rcx, qword [rsp + 0x60]
call fcn.140141080
nop
cmp dword [rsp + 0x7c], 0
jl 0x140167664
mov edx, dword [rsp + 0x7c]
mov rcx, qword [rsp + 0x190]
call fcn.14016e5f0
nop
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 0x3c]
and eax, 0x10
test eax, eax
je 0x1401678c9
mov edx, 0x14
mov rcx, qword [rsp + 0x40]
call fcn.1401fbd50
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x128]
mov qword [rax + 0x38], rcx
cmp qword [rsp + 0x128], 0
je 0x1401678c9
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x190]
mov ecx, dword [rcx + 0x34]
mov dword [rax], ecx
mov rax, qword [rsp + 0x190]
mov eax, dword [rax + 0x34]
inc eax
mov rcx, qword [rsp + 0x190]
mov dword [rcx + 0x34], eax
mov rax, qword [rsp + 0x190]
mov eax, dword [rax + 0x38]
inc eax
mov dword [rsp + 0xe4], eax
mov rax, qword [rsp + 0x190]
mov ecx, dword [rsp + 0xe4]
mov dword [rax + 0x38], ecx
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rsp + 0xe4]
mov dword [rax + 4], ecx
mov rax, qword [rsp + 0xb0]
mov r9d, dword [rax + 4]
mov r8d, 0x10000
mov edx, 0x4d
mov rcx, qword [rsp + 0x60]
call fcn.1401404e0
mov rax, qword [rsp + 0x190]
mov eax, dword [rax + 0x38]
inc eax
mov dword [rsp + 0xe0], eax
mov rax, qword [rsp + 0x190]
mov ecx, dword [rsp + 0xe0]
mov dword [rax + 0x38], ecx
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rsp + 0xe0]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0xb0]
mov r9d, dword [rax + 8]
xor r8d, r8d
mov edx, 0x4b
mov rcx, qword [rsp + 0x60]
call fcn.1401404e0
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x30]
and eax, 0x80
test eax, eax
jne 0x14016784d
mov r9d, 1
mov rax, qword [rsp + 0xb0]
mov r8d, dword [rax]
mov edx, 0x76
mov rcx, qword [rsp + 0x60]
call fcn.1401404e0
xor r8d, r8d
mov edx, 1
mov rax, qword [rsp + 0x190]
mov rcx, qword [rax]
call fcn.1401810c0
mov qword [rsp + 0xf8], rax
cmp qword [rsp + 0xf8], 0
je 0x14016784b
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0xf8]
mov qword [rcx + rax + 0x20], 0
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0xf8]
mov rcx, qword [rcx + 0x18]
mov byte [rax + rcx], 0
mov r8d, 0xfffffff8
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x60]
call fcn.140141400
nop
jmp 0x14016789e
mov rcx, qword [rsp + 0x70]
call fcn.140155350
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
movzx eax, word [rax + 0x5e]
mov r9d, eax
mov rax, qword [rsp + 0xb0]
mov r8d, dword [rax]
mov edx, 0x76
mov rcx, qword [rsp + 0x60]
call fcn.1401404e0
mov rdx, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x190]
call fcn.140141490
nop
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x38]
and eax, 0xffffffbf
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x38], eax
mov rax, qword [rsp + 0x40]
mov byte [rax + 0x41], 0
mov rax, qword [rsp + 0x40]
mov byte [rax + 0x43], 3
jmp 0x140167097
mov rcx, qword [rsp + 0x60]
call fcn.140141c80
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 0x4c], eax
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 0x67]
test eax, eax
je 0x1401678f2
jmp 0x140167b55
mov dword [rsp + 0x48], 0
jmp 0x140167906
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x54]
cmp dword [rsp + 0x48], eax
jge 0x140167b3c
mov rax, qword [rsp + 0x190]
cmp dword [rax + 0x30], 0
je 0x140167927
jmp 0x140167b55
movsxd rax, dword [rsp + 0x48]
imul rax, rax, 0x70
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax + 0x360]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x60]
mov eax, dword [rax + 0x38]
mov dword [rsp + 0xa8], eax
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 0x40]
imul rax, rax, 0x68
mov rcx, qword [rsp + 0x198]
lea rax, [rcx + rax + 8]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov eax, dword [rax + 0x40]
shr eax, 4
and eax, 1
test eax, eax
je 0x140167a1e
mov rax, qword [rsp + 0xb8]
mov eax, dword [rax + 0x40]
shr eax, 3
and eax, 1
test eax, eax
je 0x1401679cf
mov rax, qword [rsp + 0xb8]
mov r9d, dword [rax + 0x30]
mov rax, qword [rsp + 0xb8]
mov r8d, dword [rax + 0x34]
mov edx, 0xa
mov rcx, qword [rsp + 0x60]
call fcn.1401404e0
nop
jmp 0x140167a1e
mov edx, 0xf
mov rcx, qword [rsp + 0x60]
call fcn.140140460
mov dword [rsp + 0x100], eax
mov rax, qword [rsp + 0xb8]
mov r9d, dword [rax + 0x30]
mov rax, qword [rsp + 0xb8]
mov r8d, dword [rax + 0x34]
mov edx, 0xa
mov rcx, qword [rsp + 0x60]
call fcn.1401404e0
mov edx, dword [rsp + 0x100]
mov rcx, qword [rsp + 0x60]
call fcn.140141130
nop
mov eax, dword [rsp + 0xa8]
and eax, 0x404000
test eax, eax
je 0x140167a95
mov eax, dword [rsp + 0xa8]
and eax, 0x4000
test eax, eax
je 0x140167a67
mov rax, qword [rsp + 0x40]
add rax, 0x70
mov r9, qword [rsp + 0x68]
mov r8, qword [rsp + 0xc0]
mov rdx, rax
mov rcx, qword [rsp + 0x190]
call fcn.140207370
nop
jmp 0x140167a83
mov r9, qword [rsp + 0xc0]
mov r8, qword [rsp + 0x68]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.140207f50
nop
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 0x67]
test eax, eax
je 0x140167a95
jmp 0x140167b55
movzx r9d, word [rsp + 0x1c0]
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x198]
mov rcx, qword [rsp + 0x190]
call fcn.1401fbe60
mov dword [rsp + 0x138], eax
mov rcx, qword [rsp + 0x60]
call fcn.140141c80
mov rcx, qword [rsp + 0x68]
mov dword [rcx + 0x20], eax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x190]
call fcn.1401fc550
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x68]
mov ecx, dword [rcx + 0x18]
mov dword [rax + 0x30], ecx
mov eax, dword [rsp + 0xa8]
and eax, 0x2000
test eax, eax
jne 0x140167b37
movzx eax, word [rsp + 0x1c0]
and eax, 0x20
jmp 0x1401678fc
mov rcx, qword [rsp + 0x60]
call fcn.140141c80
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 0x50], eax
mov rax, qword [rsp + 0x40]
jmp 0x140167b87
cmp qword [rsp + 0x40], 0
je 0x140167b85
mov rax, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x40]
movzx ecx, word [rcx + 0x38]
mov word [rax + 0xe0], cx
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
call fcn.14020a2c0
nop
xor eax, eax
add rsp, 0x188
ret