Function at 0x18005c230
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, 0x168
mov rax, qword [rsp + 0x170]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x68], rax
mov byte [rsp + 0x4c], 0
mov rax, qword [rsp + 0x170]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov r8d, 0x28
xor edx, edx
lea rcx, [rsp + 0x130]
call fcn.18014b5d0
cmp qword [rsp + 0x188], 0
je 0x18005c2aa
mov rax, qword [rsp + 0x188]
cmp dword [rax], 0x40
jl 0x18005c2aa
mov qword [rsp + 0x188], 0
mov rax, qword [rsp + 0x178]
cmp dword [rax], 0x40
jle 0x18005c2d8
mov r8d, 0x40
lea rdx, str.at_most__d_tables_in_a_join
mov rcx, qword [rsp + 0x170]
call fcn.180042030
xor eax, eax
jmp 0x18005d4df
movzx eax, word [rsp + 0x1a0]
and eax, 0x20
test eax, eax
je 0x18005c2f4
mov dword [rsp + 0xb8], 1
jmp 0x18005c305
mov rax, qword [rsp + 0x178]
mov eax, dword [rax]
mov dword [rsp + 0xb8], eax
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
dec eax
cdqe
imul rax, rax, 0x70
add rax, 0x3e0
mov dword [rsp + 0xc0], eax
movsxd rax, dword [rsp + 0xc0]
add rax, 0x70
mov rdx, rax
mov rcx, qword [rsp + 0x60]
call fcn.180041100
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0x67]
test eax, eax
je 0x18005c371
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x60]
call fcn.1800417f0
mov qword [rsp + 0x40], 0
jmp 0x18005d4a6
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x170]
mov qword [rax], rcx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x178]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x188]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x180]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x190]
mov qword [rax + 0x18], rcx
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x40]
mov dword [rcx + rax + 0x30], 0xffffffff
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov dword [rcx + rax + 0x30], 0xffffffff
mov rax, qword [rsp + 0x40]
movzx ecx, byte [rsp + 0x50]
mov byte [rax + 0x48], cl
mov rcx, qword [rsp + 0x170]
call fcn.180039a80
mov dword [rsp + 0xbc], eax
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0xbc]
mov dword [rax + 0x38], ecx
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0xbc]
mov dword [rax + 0x3c], ecx
mov rax, qword [rsp + 0x40]
movzx ecx, word [rsp + 0x1a0]
mov word [rax + 0x44], cx
mov rax, qword [rsp + 0x40]
movzx ecx, word [rsp + 0x1a8]
mov word [rax + 0x46], cx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x170]
mov ecx, dword [rcx + 0xc8]
mov dword [rax + 0x40], ecx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x198]
mov qword [rax + 0x28], rcx
mov rax, qword [rsp + 0x40]
add rax, 0x49
mov r8d, 0x37
xor edx, edx
mov rcx, rax
call fcn.18014b5d0
movsxd rax, dword [rsp + 0x50]
imul rax, rax, 0x70
add rax, 0x70
mov ecx, 0x70
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x40]
lea rcx, [rdx + rcx + 0x370]
mov r8, rax
xor edx, edx
call fcn.18014b5d0
mov rax, qword [rsp + 0x40]
add rax, 0x268
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov dword [rax + 4], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x100]
mov dword [rcx + rax + 8], 0xffffff9d
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x40]
add rax, 0x80
mov qword [rsp + 0x138], rax
movsxd rax, dword [rsp + 0xc0]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x140], rax
mov rcx, qword [rsp + 0x140]
call fcn.1800ef460
mov rax, qword [rsp + 0x40]
add rax, 0x80
mov rdx, qword [rsp + 0x40]
mov rcx, rax
call fcn.1800e6a30
mov rax, qword [rsp + 0x40]
add rax, 0x80
mov r8b, 0x2c
mov rdx, qword [rsp + 0x180]
mov rcx, rax
call fcn.1800e6ba0
cmp dword [rsp + 0x50], 0
jne 0x18005c5de
cmp qword [rsp + 0x188], 0
je 0x18005c59d
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x188]
movzx ecx, byte [rcx]
mov byte [rax + 0x49], cl
movzx eax, word [rsp + 0x1a0]
and eax, 0x100
test eax, eax
je 0x18005c5c6
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x60]
and eax, 0x10
test eax, eax
jne 0x18005c5c6
mov rax, qword [rsp + 0x40]
mov byte [rax + 0x4b], 1
lea r8, str.SCAN_CONSTANT_ROW
xor edx, edx
mov rcx, qword [rsp + 0x170]
call fcn.180039260
jmp 0x18005c656
mov dword [rsp + 0x48], 0
movsxd rax, dword [rsp + 0x48]
imul rax, rax, 0x68
mov rcx, qword [rsp + 0x178]
mov edx, dword [rcx + rax + 0x4c]
mov rcx, qword [rsp + 0x100]
call fcn.1800ecc60
mov rax, qword [rsp + 0x40]
add rax, 0x80
movsxd rcx, dword [rsp + 0x48]
imul rcx, rcx, 0x68
mov rdx, qword [rsp + 0x178]
lea rcx, [rdx + rcx + 8]
mov r8, rax
mov rdx, rcx
mov rcx, qword [rsp + 0x170]
call fcn.1800e6fe0
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x178]
mov eax, dword [rax]
cmp dword [rsp + 0x48], eax
jl 0x18005c5e6
mov rax, qword [rsp + 0x40]
add rax, 0x80
mov rdx, rax
mov rcx, qword [rsp + 0x178]
call fcn.1800e6f90
mov rax, qword [rsp + 0x40]
add rax, 0x80
mov rdx, qword [rsp + 0x198]
mov rcx, rax
call fcn.1800e6c40
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0x67]
test eax, eax
je 0x18005c69e
jmp 0x18005d4a6
mov dword [rsp + 0x48], 0
jmp 0x18005c6b2
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x138]
mov eax, dword [rax + 0x1c]
cmp dword [rsp + 0x48], eax
jge 0x18005c76a
movsxd rax, dword [rsp + 0x48]
imul rax, rax, 0x38
mov rcx, qword [rsp + 0x138]
add rax, qword [rcx + 0x20]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
movzx eax, word [rax + 0x12]
and eax, 2
test eax, eax
je 0x18005c6f9
jmp 0x18005c6a8
mov rax, qword [rsp + 0xa8]
cmp qword [rax + 0x30], 0
jne 0x18005c765
cmp dword [rsp + 0x50], 0
je 0x18005c723
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rax]
call fcn.1800f5700
test eax, eax
je 0x18005c765
mov r9d, 0x10
mov rax, qword [rsp + 0x40]
mov r8d, dword [rax + 0x3c]
mov rax, qword [rsp + 0xa8]
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x170]
call fcn.180061230
mov rax, qword [rsp + 0xa8]
movzx eax, word [rax + 0x12]
or eax, 4
mov rcx, qword [rsp + 0xa8]
mov word [rcx + 0x12], ax
jmp 0x18005c6a8
movzx eax, word [rsp + 0x1a0]
and eax, 0x100
test eax, eax
je 0x18005c826
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x60]
and eax, 0x10
test eax, eax
je 0x18005c7ba
movzx eax, word [rsp + 0x1a0]
btr eax, 8
mov word [rsp + 0x1a0], ax
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 0x44]
btr eax, 8
mov rcx, qword [rsp + 0x40]
mov word [rcx + 0x44], ax
jmp 0x18005c826
mov rax, qword [rsp + 0x40]
add rax, 0x80
mov r9, qword [rsp + 0x190]
mov r8, rax
mov rdx, qword [rsp + 0x178]
mov rcx, qword [rsp + 0x170]
call fcn.1800ed490
test eax, eax
je 0x18005c7f4
mov rax, qword [rsp + 0x40]
mov byte [rax + 0x4b], 1
jmp 0x18005c826
cmp qword [rsp + 0x188], 0
jne 0x18005c826
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 0x44]
bts eax, 7
mov rcx, qword [rsp + 0x40]
mov word [rcx + 0x44], ax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x190]
mov qword [rax + 0x10], rcx
cmp dword [rsp + 0x50], 1
jne 0x18005c83e
lea rcx, [rsp + 0x130]
call fcn.1800f5240
test eax, eax
jne 0x18005c8b5
lea rcx, [rsp + 0x130]
call fcn.1800f3340
mov dword [rsp + 0xfc], eax
cmp dword [rsp + 0xfc], 0
je 0x18005c861
jmp 0x18005d4a6
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.1800f43b0
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0x67]
test eax, eax
je 0x18005c87f
jmp 0x18005d4a6
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x10], 0
je 0x18005c8b5
mov rax, qword [rsp + 0x40]
movsx eax, word [rax + 0x50]
inc eax
movzx edx, ax
mov rcx, qword [rsp + 0x40]
call fcn.1800f43b0
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0x67]
test eax, eax
je 0x18005c8b5
jmp 0x18005d4a6
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x10], 0
jne 0x18005c8e2
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x30]
and rax, 0x1000
test rax, rax
je 0x18005c8e2
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x78], 0xffffffffffffffff
mov rax, qword [rsp + 0x170]
cmp dword [rax + 0x30], 0
je 0x18005c8f5
jmp 0x18005d4a6
mov qword [rsp + 0xb0], 0xffffffffffffffff
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0x48]
cmp eax, 2
jl 0x18005c963
cmp qword [rsp + 0x190], 0
je 0x18005c963
movzx eax, word [rsp + 0x1a0]
and eax, 0x400
test eax, eax
jne 0x18005c963
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x60]
and eax, 0x100
test eax, eax
jne 0x18005c963
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x40]
call fcn.1800f5760
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0x48]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0x48]
cmp eax, 2
jl 0x18005c98c
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x60]
and eax, 0x80000
test eax, eax
jne 0x18005c98c
mov rcx, qword [rsp + 0x40]
call fcn.1800f5a40
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x40]
movsx ecx, word [rcx + 0x50]
add ecx, dword [rax + 0xc8]
mov eax, ecx
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov dword [rcx + 0xc8], eax
movzx eax, word [rsp + 0x1a0]
and eax, 4
test eax, eax
je 0x18005cb18
mov eax, 0x70
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx + rax + 0x3d0]
mov eax, dword [rax + 0x38]
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x88]
and eax, 0x1000
test eax, eax
je 0x18005ca03
mov dword [rsp + 0xc4], 1
jmp 0x18005ca0e
mov dword [rsp + 0xc4], 0
mov eax, dword [rsp + 0xc4]
mov dword [rsp + 0xc8], eax
cmp dword [rsp + 0xc8], 0
jne 0x18005ca7f
movzx eax, word [rsp + 0x1a0]
and eax, 8
test eax, eax
je 0x18005cb18
mov eax, 0x68
imul rax, rax, 0
mov rcx, qword [rsp + 0x178]
mov rax, qword [rcx + rax + 0x28]
movzx eax, byte [rax + 0x3f]
cmp eax, 1
je 0x18005cb18
mov eax, dword [rsp + 0x88]
and eax, 0x2000
test eax, eax
je 0x18005ca7f
movzx eax, word [rsp + 0x1a0]
and eax, 0x10
test eax, eax
je 0x18005cb18
cmp dword [rsp + 0xc8], 0
je 0x18005ca96
mov dword [rsp + 0xcc], 1
jmp 0x18005caa1
mov dword [rsp + 0xcc], 2
mov rax, qword [rsp + 0x40]
movzx ecx, byte [rsp + 0xcc]
mov byte [rax + 0x4a], cl
mov eax, 0x68
imul rax, rax, 0
mov rcx, qword [rsp + 0x178]
mov rax, qword [rcx + rax + 0x28]
mov eax, dword [rax + 0x30]
and eax, 0x80
test eax, eax
jne 0x18005cb18
mov eax, dword [rsp + 0x88]
and eax, 0x40
test eax, eax
je 0x18005cb18
movzx eax, word [rsp + 0x1a0]
and eax, 8
test eax, eax
je 0x18005caf5
mov byte [rsp + 0x4c], 8
mov eax, dword [rsp + 0x88]
and eax, 0xffffffbf
mov ecx, 0x70
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rdx + rcx + 0x3d0]
mov dword [rcx + 0x38], eax
mov dword [rsp + 0x48], 0
mov rax, qword [rsp + 0x40]
add rax, 0x370
mov qword [rsp + 0x58], rax
jmp 0x18005cb4a
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x58]
add rax, 0x70
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x48], eax
jge 0x18005d2c1
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 0x40]
imul rax, rax, 0x68
mov rcx, qword [rsp + 0x178]
lea rax, [rcx + rax + 8]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax + 0x60]
mov rcx, qword [rsp + 0x60]
call fcn.1800754a0
mov dword [rsp + 0x7c], eax
mov rax, qword [rsp + 0x58]
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 0x18005cbd2
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x3f]
cmp eax, 2
jne 0x18005cbd7
jmp 0x18005ce03
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x38]
and eax, 0x400
test eax, eax
je 0x18005cc50
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
call fcn.1800774b0
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0x44]
mov dword [rsp + 0xf8], eax
mov dword [rsp + 0x30], 0xfffffff5
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, dword [rsp + 0xf8]
mov edx, 0xad
mov rcx, qword [rsp + 0x68]
call fcn.180038d90
jmp 0x18005ce03
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x3f]
cmp eax, 1
jne 0x18005cc63
jmp 0x18005ce03
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x38]
and eax, 0x40
test eax, eax
jne 0x18005cc84
movzx eax, word [rsp + 0x1a0]
and eax, 0x20
test eax, eax
je 0x18005cc9b
mov rax, qword [rsp + 0x90]
movzx eax, byte [rax + 0x3c]
and eax, 0x50
test eax, eax
je 0x18005cdd9
mov dword [rsp + 0xd0], 0x70
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0x4a]
test eax, eax
je 0x18005ccdb
mov dword [rsp + 0xd0], 0x71
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x90]
mov edx, dword [rdx + 0x44]
mov dword [rcx + rax + 0x30], edx
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x70]
mov r8d, dword [rsp + 0x7c]
mov rax, qword [rsp + 0x90]
mov edx, dword [rax + 0x44]
mov rcx, qword [rsp + 0x170]
call fcn.180058780
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0x4a]
test eax, eax
jne 0x18005cdc5
mov rax, qword [rsp + 0x70]
movsx eax, word [rax + 0x36]
cmp eax, 0x40
jge 0x18005cdc5
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x30]
and eax, 0xe0
test eax, eax
jne 0x18005cdc5
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x38]
and eax, 0x404000
test eax, eax
jne 0x18005cdc5
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x108], rax
mov dword [rsp + 0xa0], 0
jmp 0x18005cd98
mov rax, qword [rsp + 0x108]
shr rax, 1
mov qword [rsp + 0x108], rax
mov eax, dword [rsp + 0xa0]
inc eax
mov dword [rsp + 0xa0], eax
cmp qword [rsp + 0x108], 0
je 0x18005cda5
jmp 0x18005cd75
movsxd rax, dword [rsp + 0xa0]
mov r9d, 0xfffffffd
mov r8, rax
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x68]
call fcn.180039770
movzx eax, byte [rsp + 0x4c]
movzx edx, ax
mov rcx, qword [rsp + 0x68]
call fcn.180039570
jmp 0x18005ce03
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 + 0x170]
call fcn.180076e20
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x38]
and eax, 0x200
test eax, eax
je 0x18005d036
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0xe8], rax
mov dword [rsp + 0x78], 0x70
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x30]
and eax, 0x80
test eax, eax
je 0x18005ce83
mov rax, qword [rsp + 0xe8]
mov eax, dword [rax + 0x64]
and eax, 3
cmp eax, 2
jne 0x18005ce83
movzx eax, word [rsp + 0x1a0]
and eax, 0x20
test eax, eax
je 0x18005ce83
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 4]
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x78], 0
jmp 0x18005cf69
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0x4a]
test eax, eax
je 0x18005cf14
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x20]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xe0], rax
mov eax, dword [rsp + 0x1a8]
mov dword [rsp + 0x54], eax
cmp qword [rsp + 0xe0], 0
je 0x18005cef4
mov rax, qword [rsp + 0xe8]
cmp qword [rsp + 0xe0], rax
je 0x18005cef4
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0xe0], rax
jmp 0x18005ceb7
mov dword [rsp + 0x78], 0x71
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x40]
mov edx, dword [rsp + 0x54]
mov dword [rcx + rax + 0x30], edx
jmp 0x18005cf69
cmp dword [rsp + 0x1a8], 0
je 0x18005cf42
movzx eax, word [rsp + 0x1a0]
and eax, 0x20
test eax, eax
je 0x18005cf42
mov eax, dword [rsp + 0x1a8]
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x78], 0x65
jmp 0x18005cf69
mov rax, qword [rsp + 0x170]
mov eax, dword [rax + 0x34]
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x170]
mov eax, dword [rax + 0x34]
inc eax
mov rcx, qword [rsp + 0x170]
mov dword [rcx + 0x34], eax
mov rax, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x54]
mov dword [rax + 8], ecx
cmp dword [rsp + 0x78], 0
je 0x18005d036
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0xe8]
mov r9d, dword [rax + 0x58]
mov r8d, dword [rsp + 0x54]
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x68]
call fcn.180038ca0
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x170]
call fcn.180039910
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x38]
and eax, 0xf
test eax, eax
je 0x18005d036
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x38]
and eax, 0x8002
test eax, eax
jne 0x18005d036
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x38]
and eax, 0x80000
test eax, eax
jne 0x18005d036
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x38]
and eax, 0x100000
test eax, eax
jne 0x18005d036
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 0x44]
and eax, 1
test eax, eax
jne 0x18005d036
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0x4b]
cmp eax, 2
je 0x18005d036
mov dx, 2
mov rcx, qword [rsp + 0x68]
call fcn.180039570
cmp dword [rsp + 0x7c], 0
jl 0x18005d04e
mov edx, dword [rsp + 0x7c]
mov rcx, qword [rsp + 0x170]
call fcn.180063a20
mov rax, qword [rsp + 0x90]
movzx eax, byte [rax + 0x3c]
and eax, 0x10
test eax, eax
je 0x18005d2bc
mov edx, 0x14
mov rcx, qword [rsp + 0x40]
call fcn.1800e2640
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x110]
mov qword [rax + 0x38], rcx
cmp qword [rsp + 0x110], 0
je 0x18005d2bc
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x170]
mov ecx, dword [rcx + 0x34]
mov dword [rax], ecx
mov rax, qword [rsp + 0x170]
mov eax, dword [rax + 0x34]
inc eax
mov rcx, qword [rsp + 0x170]
mov dword [rcx + 0x34], eax
mov rax, qword [rsp + 0x170]
mov eax, dword [rax + 0x38]
inc eax
mov dword [rsp + 0xd4], eax
mov rax, qword [rsp + 0x170]
mov ecx, dword [rsp + 0xd4]
mov dword [rax + 0x38], ecx
mov rax, qword [rsp + 0x98]
mov ecx, dword [rsp + 0xd4]
mov dword [rax + 4], ecx
mov rax, qword [rsp + 0x98]
mov r9d, dword [rax + 4]
mov r8d, 0x10000
mov edx, 0x4d
mov rcx, qword [rsp + 0x68]
call fcn.180038a70
mov rax, qword [rsp + 0x170]
mov eax, dword [rax + 0x38]
inc eax
mov dword [rsp + 0xd8], eax
mov rax, qword [rsp + 0x170]
mov ecx, dword [rsp + 0xd8]
mov dword [rax + 0x38], ecx
mov rax, qword [rsp + 0x98]
mov ecx, dword [rsp + 0xd8]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0x98]
mov r9d, dword [rax + 8]
xor r8d, r8d
mov edx, 0x48
mov rcx, qword [rsp + 0x68]
call fcn.180038a70
mov rcx, qword [rsp + 0x98]
mov dword [rcx + 0x10], eax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x30]
and eax, 0x80
test eax, eax
jne 0x18005d241
mov r9d, 1
mov rax, qword [rsp + 0x98]
mov r8d, dword [rax]
mov edx, 0x76
mov rcx, qword [rsp + 0x68]
call fcn.180038a70
xor r8d, r8d
mov edx, 1
mov rax, qword [rsp + 0x170]
mov rcx, qword [rax]
call fcn.180075510
mov qword [rsp + 0xf0], rax
cmp qword [rsp + 0xf0], 0
je 0x18005d23f
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0xf0]
mov qword [rcx + rax + 0x20], 0
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0xf0]
mov rcx, qword [rcx + 0x18]
mov byte [rax + rcx], 0
mov r8d, 0xfffffff8
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x68]
call fcn.180039880
jmp 0x18005d291
mov rcx, qword [rsp + 0x70]
call fcn.18004b490
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
movzx eax, word [rax + 0x5e]
mov r9d, eax
mov rax, qword [rsp + 0x98]
mov r8d, dword [rax]
mov edx, 0x76
mov rcx, qword [rsp + 0x68]
call fcn.180038a70
mov rdx, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x170]
call fcn.180039910
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 + 0x49], 0
mov rax, qword [rsp + 0x40]
mov byte [rax + 0x4b], 3
jmp 0x18005cb32
mov rcx, qword [rsp + 0x68]
call fcn.18003a230
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 0x54], eax
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0x67]
test eax, eax
je 0x18005d2e5
jmp 0x18005d4a6
mov dword [rsp + 0x48], 0
jmp 0x18005d2f9
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x48], eax
jge 0x18005d48d
mov rax, qword [rsp + 0x170]
cmp dword [rax + 0x30], 0
je 0x18005d31a
jmp 0x18005d4a6
movsxd rax, dword [rsp + 0x48]
imul rax, rax, 0x70
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax + 0x370]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x60]
mov eax, dword [rax + 0x38]
mov dword [rsp + 0xa4], eax
mov eax, dword [rsp + 0xa4]
and eax, 0x404000
test eax, eax
je 0x18005d3e6
mov eax, dword [rsp + 0xa4]
and eax, 0x4000
test eax, eax
je 0x18005d3b9
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 0x40]
imul rax, rax, 0x68
mov rcx, qword [rsp + 0x178]
lea rax, [rcx + rax + 8]
mov rcx, qword [rsp + 0x40]
add rcx, 0x80
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x20], rdx
mov r9, qword [rsp + 0xb0]
mov r8, rax
mov rdx, rcx
mov rcx, qword [rsp + 0x170]
call fcn.1800ed8e0
jmp 0x18005d3d4
mov r9, qword [rsp + 0xb0]
mov r8, qword [rsp + 0x58]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.1800ee450
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0x67]
test eax, eax
je 0x18005d3e6
jmp 0x18005d4a6
movzx r9d, word [rsp + 0x1a0]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x178]
mov rcx, qword [rsp + 0x170]
call fcn.1800e2750
mov dword [rsp + 0x120], eax
mov rcx, qword [rsp + 0x68]
call fcn.18003a230
mov rcx, qword [rsp + 0x58]
mov dword [rcx + 0x20], eax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x170]
call fcn.1800e2e40
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
mov ecx, dword [rcx + 0x18]
mov dword [rax + 0x38], ecx
mov eax, dword [rsp + 0xa4]
and eax, 0x2000
test eax, eax
jne 0x18005d488
movzx eax, word [rsp + 0x1a0]
and eax, 0x20
jmp 0x18005d2ef
mov rcx, qword [rsp + 0x68]
call fcn.18003a230
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 0x58], eax
mov rax, qword [rsp + 0x40]
jmp 0x18005d4df
cmp qword [rsp + 0x40], 0
je 0x18005d4dd
mov rcx, qword [rsp + 0x40]
call fcn.1800ef7e0
mov rax, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx + 0x40]
mov dword [rax + 0xc8], ecx
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x60]
call fcn.1800ef720
xor eax, eax
add rsp, 0x168
ret