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

Disassembly:
mov word [rsp + 0x10], dx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x148
mov dword [rsp + 0xa4], 0
xor eax, eax
mov word [rsp + 0x5c], ax
xor eax, eax
mov word [rsp + 0x74], ax
mov qword [rsp + 0xb8], 0
mov rax, qword [rsp + 0x160]
mov rax, qword [rax]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x160]
movzx eax, byte [rax + 0x40]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 1
jg 0x1800e07b2
mov dword [rsp + 0xc4], 1
jmp 0x1800e07df
cmp dword [rsp + 0x50], 2
jne 0x1800e07c6
mov dword [rsp + 0xc8], 5
jmp 0x1800e07d1
mov dword [rsp + 0xc8], 0xa
mov eax, dword [rsp + 0xc8]
mov dword [rsp + 0xc4], eax
mov eax, dword [rsp + 0xc4]
mov dword [rsp + 0x7c], eax
mov rax, qword [rsp + 0x160]
cmp qword [rax + 0x10], 0
je 0x1800e0805
movsx eax, word [rsp + 0x168]
test eax, eax
jne 0x1800e080f
mov dword [rsp + 0x78], 0
jmp 0x1800e0821
mov rax, qword [rsp + 0x160]
mov rax, qword [rax + 0x10]
mov eax, dword [rax]
mov dword [rsp + 0x78], eax
movsxd rax, dword [rsp + 0x50]
lea rax, [rax*8 + 0x20]
movsxd rcx, dword [rsp + 0x7c]
imul rax, rcx
shl rax, 1
mov dword [rsp + 0xa8], eax
movsxd rax, dword [rsp + 0x78]
movsxd rcx, dword [rsp + 0xa8]
lea rax, [rcx + rax*2]
mov dword [rsp + 0xa8], eax
movsxd rax, dword [rsp + 0xa8]
mov rdx, rax
mov rcx, qword [rsp + 0x108]
call fcn.1800339f0
mov qword [rsp + 0xe0], rax
cmp qword [rsp + 0xe0], 0
jne 0x1800e088e
mov eax, 7
jmp 0x1800e152d
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x98], rax
movsxd rax, dword [rsp + 0x7c]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov rdi, qword [rsp + 0x90]
xor eax, eax
mov ecx, 0x20
rep stosb byte [rdi], al
movsxd rax, dword [rsp + 0x7c]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xd8], rax
mov eax, dword [rsp + 0x7c]
shl eax, 1
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x48], rax
jmp 0x1800e0937
mov eax, dword [rsp + 0x54]
dec eax
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x48]
add rax, 0x20
mov qword [rsp + 0x48], rax
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0xd8]
lea rax, [rcx + rax*8]
mov qword [rsp + 0xd8], rax
cmp dword [rsp + 0x54], 0
jle 0x1800e0951
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xd8]
mov qword [rax + 0x18], rcx
jmp 0x1800e0906
cmp dword [rsp + 0x78], 0
je 0x1800e098c
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xb8], rax
movsxd rax, dword [rsp + 0x78]
shl rax, 1
mov qword [rsp + 0x120], rax
mov rdi, qword [rsp + 0xb8]
xor eax, eax
mov rcx, qword [rsp + 0x120]
rep stosb byte [rdi], al
mov rax, qword [rsp + 0xd0]
cmp dword [rax + 0xbc], 0x30
jae 0x1800e09b4
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0xbc]
mov dword [rsp + 0xb0], eax
jmp 0x1800e09bf
mov dword [rsp + 0xb0], 0x30
mov eax, 0x20
imul rax, rax, 0
mov rcx, qword [rsp + 0x90]
movzx edx, word [rsp + 0xb0]
mov word [rcx + rax + 0x10], dx
mov dword [rsp + 0xa0], 1
cmp dword [rsp + 0x78], 0
je 0x1800e0a2b
cmp dword [rsp + 0x50], 0
jle 0x1800e0a03
mov dword [rsp + 0xc0], 0xffffffff
jmp 0x1800e0a0e
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0xc0], eax
mov eax, 0x20
imul rax, rax, 0
mov rcx, qword [rsp + 0x90]
movzx edx, byte [rsp + 0xc0]
mov byte [rcx + rax + 0x16], dl
mov dword [rsp + 0x6c], 0
jmp 0x1800e0a3f
mov eax, dword [rsp + 0x6c]
inc eax
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x6c], eax
jge 0x1800e101c
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x54], 0
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x48], rax
jmp 0x1800e0a84
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x48]
add rax, 0x20
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0xa0]
cmp dword [rsp + 0x54], eax
jge 0x1800e0fe2
mov rax, qword [rsp + 0x160]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x80], rax
jmp 0x1800e0abf
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
je 0x1800e0fdd
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x16]
mov byte [rsp + 0x40], al
mov qword [rsp + 0xf0], 0
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
not rax
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx]
and rcx, rax
mov rax, rcx
test rax, rax
je 0x1800e0b0a
jmp 0x1800e0aab
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx]
mov rax, qword [rax + 8]
and rax, rcx
test rax, rax
je 0x1800e0b28
jmp 0x1800e0aab
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x28]
and eax, 0x4000
test eax, eax
je 0x1800e0b4f
mov rax, qword [rsp + 0x48]
movsx eax, word [rax + 0x10]
cmp eax, 3
jge 0x1800e0b4f
jmp 0x1800e0aab
mov rax, qword [rsp + 0x80]
movsx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x48]
movsx ecx, word [rcx + 0x10]
add eax, ecx
movzx edx, ax
mov rax, qword [rsp + 0x80]
movzx ecx, word [rax + 0x12]
call fcn.18003b0c0
mov word [rsp + 0x44], ax
mov rax, qword [rsp + 0x48]
movzx edx, word [rax + 0x14]
movzx ecx, word [rsp + 0x44]
call fcn.18003b0c0
mov word [rsp + 0x44], ax
mov rax, qword [rsp + 0x48]
movsx eax, word [rax + 0x10]
mov rcx, qword [rsp + 0x80]
movsx ecx, word [rcx + 0x16]
add eax, ecx
mov word [rsp + 0x88], ax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 8]
mov rax, qword [rax]
or rax, rcx
mov qword [rsp + 0x128], rax
movsx eax, byte [rsp + 0x40]
test eax, eax
jge 0x1800e0c33
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x28], rax
movzx eax, word [rsp + 0x6c]
mov word [rsp + 0x20], ax
mov rax, qword [rsp + 0x160]
movzx r9d, word [rax + 0x3c]
mov r8, qword [rsp + 0x48]
mov rax, qword [rsp + 0x160]
mov rdx, qword [rax + 0x10]
mov rcx, qword [rsp + 0x160]
call fcn.1800dfa60
mov byte [rsp + 0x40], al
jmp 0x1800e0c44
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 8]
mov qword [rsp + 0xf0], rax
movsx eax, byte [rsp + 0x40]
test eax, eax
jl 0x1800e0cc9
movsx eax, byte [rsp + 0x40]
cmp eax, dword [rsp + 0x78]
jge 0x1800e0cc9
movsx rax, byte [rsp + 0x40]
mov rcx, qword [rsp + 0xb8]
movsx eax, word [rcx + rax*2]
test eax, eax
jne 0x1800e0ca2
movsx eax, byte [rsp + 0x40]
mov r9d, eax
mov r8d, dword [rsp + 0x78]
movzx edx, word [rsp + 0x168]
mov rcx, qword [rsp + 0x160]
call fcn.1800e0680
movsx rcx, byte [rsp + 0x40]
mov rdx, qword [rsp + 0xb8]
mov word [rdx + rcx*2], ax
movsx rax, byte [rsp + 0x40]
mov rcx, qword [rsp + 0xb8]
movzx edx, word [rcx + rax*2]
movzx ecx, word [rsp + 0x44]
call fcn.18003b0c0
cwde
add eax, 5
mov word [rsp + 0x58], ax
jmp 0x1800e0ce0
movzx eax, word [rsp + 0x44]
mov word [rsp + 0x58], ax
movsx eax, word [rsp + 0x44]
sub eax, 2
mov word [rsp + 0x44], ax
mov dword [rsp + 0x68], 0
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x60], rax
jmp 0x1800e0d0f
mov eax, dword [rsp + 0x68]
inc eax
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x60]
add rax, 0x20
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x70]
cmp dword [rsp + 0x68], eax
jge 0x1800e0d48
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x128]
cmp qword [rax], rcx
jne 0x1800e0d46
mov rax, qword [rsp + 0x60]
movsx eax, byte [rax + 0x16]
movsx ecx, byte [rsp + 0x40]
xor eax, ecx
and eax, 0x80
test eax, eax
jne 0x1800e0d46
jmp 0x1800e0d48
jmp 0x1800e0cf7
mov eax, dword [rsp + 0x70]
cmp dword [rsp + 0x68], eax
jl 0x1800e0dd6
mov eax, dword [rsp + 0x7c]
cmp dword [rsp + 0x70], eax
jl 0x1800e0d8f
movsx eax, word [rsp + 0x58]
movsx ecx, word [rsp + 0x5c]
cmp eax, ecx
jg 0x1800e0d8a
movsx eax, word [rsp + 0x58]
movsx ecx, word [rsp + 0x5c]
cmp eax, ecx
jne 0x1800e0d8f
movsx eax, word [rsp + 0x44]
movsx ecx, word [rsp + 0x74]
cmp eax, ecx
jl 0x1800e0d8f
jmp 0x1800e0aab
mov eax, dword [rsp + 0x7c]
cmp dword [rsp + 0x70], eax
jge 0x1800e0dad
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
jmp 0x1800e0db8
mov eax, dword [rsp + 0xa4]
mov dword [rsp + 0x68], eax
movsxd rax, dword [rsp + 0x68]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
jmp 0x1800e0e3b
mov rax, qword [rsp + 0x60]
movsx eax, word [rax + 0x12]
movsx ecx, word [rsp + 0x58]
cmp eax, ecx
jl 0x1800e0e36
mov rax, qword [rsp + 0x60]
movsx eax, word [rax + 0x12]
movsx ecx, word [rsp + 0x58]
cmp eax, ecx
jne 0x1800e0e3b
mov rax, qword [rsp + 0x60]
movsx eax, word [rax + 0x10]
movsx ecx, word [rsp + 0x88]
cmp eax, ecx
jl 0x1800e0e36
mov rax, qword [rsp + 0x60]
movsx eax, word [rax + 0x10]
movsx ecx, word [rsp + 0x88]
cmp eax, ecx
jne 0x1800e0e3b
mov rax, qword [rsp + 0x60]
movsx eax, word [rax + 0x14]
movsx ecx, word [rsp + 0x44]
cmp eax, ecx
jg 0x1800e0e3b
jmp 0x1800e0aab
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 8]
mov rax, qword [rax]
or rax, rcx
mov rcx, qword [rsp + 0x60]
mov qword [rcx], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0xf0]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x60]
movzx ecx, word [rsp + 0x88]
mov word [rax + 0x10], cx
mov rax, qword [rsp + 0x60]
movzx ecx, word [rsp + 0x58]
mov word [rax + 0x12], cx
mov rax, qword [rsp + 0x60]
movzx ecx, word [rsp + 0x44]
mov word [rax + 0x14], cx
mov rax, qword [rsp + 0x60]
movzx ecx, byte [rsp + 0x40]
mov byte [rax + 0x16], cl
movsxd rax, dword [rsp + 0x6c]
shl rax, 3
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x48]
mov rdi, qword [rcx + 0x18]
mov rsi, qword [rdx + 0x18]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
movsxd rax, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x18]
mov rdx, qword [rsp + 0x80]
mov qword [rcx + rax*8], rdx
mov eax, dword [rsp + 0x7c]
cmp dword [rsp + 0x70], eax
jl 0x1800e0fd8
mov dword [rsp + 0xa4], 0
mov eax, 0x20
imul rax, rax, 0
mov rcx, qword [rsp + 0x98]
movzx eax, word [rcx + rax + 0x12]
mov word [rsp + 0x5c], ax
mov eax, 0x20
imul rax, rax, 0
mov rcx, qword [rsp + 0x98]
movzx eax, word [rcx + rax + 0x10]
mov word [rsp + 0x74], ax
mov dword [rsp + 0x68], 1
mov eax, 0x20
imul rax, rax, 1
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
jmp 0x1800e0f6c
mov eax, dword [rsp + 0x68]
inc eax
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x60]
add rax, 0x20
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x7c]
cmp dword [rsp + 0x68], eax
jge 0x1800e0fd8
mov rax, qword [rsp + 0x60]
movsx eax, word [rax + 0x12]
movsx ecx, word [rsp + 0x5c]
cmp eax, ecx
jg 0x1800e0fac
mov rax, qword [rsp + 0x60]
movsx eax, word [rax + 0x12]
movsx ecx, word [rsp + 0x5c]
cmp eax, ecx
jne 0x1800e0fd3
mov rax, qword [rsp + 0x60]
movsx eax, word [rax + 0x14]
movsx ecx, word [rsp + 0x74]
cmp eax, ecx
jle 0x1800e0fd3
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + 0x12]
mov word [rsp + 0x5c], ax
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + 0x14]
mov word [rsp + 0x74], ax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0xa4], eax
jmp 0x1800e0f54
jmp 0x1800e0aab
jmp 0x1800e0a6c
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x90], rax
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0xa0], eax
jmp 0x1800e0a35
cmp dword [rsp + 0xa0], 0
jne 0x1800e1059
lea rdx, str.no_query_solution
mov rcx, qword [rsp + 0xd0]
call fcn.180038c80
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x108]
call fcn.1800335c0
mov eax, 1
jmp 0x1800e152d
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x54], 1
jmp 0x1800e107a
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0xa0]
cmp dword [rsp + 0x54], eax
jge 0x1800e10c8
mov rax, qword [rsp + 0x48]
movsx eax, word [rax + 0x12]
movsxd rcx, dword [rsp + 0x54]
imul rcx, rcx, 0x20
mov rdx, qword [rsp + 0x90]
movsx ecx, word [rdx + rcx + 0x12]
cmp eax, ecx
jle 0x1800e10c6
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
jmp 0x1800e1070
mov dword [rsp + 0x6c], 0
jmp 0x1800e10dc
mov eax, dword [rsp + 0x6c]
inc eax
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x6c], eax
jge 0x1800e1180
movsxd rax, dword [rsp + 0x6c]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x160]
lea rax, [rcx + rax + 0x398]
mov qword [rsp + 0xe8], rax
movsxd rax, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx + 0x18]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x80]
mov qword [rax + 0x50], rcx
mov rax, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x80]
movzx ecx, byte [rcx + 0x10]
mov byte [rax + 0x34], cl
mov rax, qword [rsp + 0x160]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0xe8]
movzx ecx, byte [rcx + 0x34]
imul rcx, rcx, 0x70
mov rdx, qword [rsp + 0xe8]
mov eax, dword [rax + rcx + 0x4c]
mov dword [rdx + 4], eax
jmp 0x1800e10d2
mov rax, qword [rsp + 0x160]
movzx eax, word [rax + 0x3c]
and eax, 0x100
test eax, eax
je 0x1800e1258
mov rax, qword [rsp + 0x160]
movzx eax, word [rax + 0x3c]
and eax, 0x80
test eax, eax
jne 0x1800e1258
mov rax, qword [rsp + 0x160]
movzx eax, byte [rax + 0x43]
test eax, eax
jne 0x1800e1258
movsx eax, word [rsp + 0x168]
test eax, eax
je 0x1800e1258
mov eax, dword [rsp + 0x50]
dec eax
cdqe
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx + 0x18]
mov edx, dword [rsp + 0x50]
dec edx
lea rdi, [rsp + 0x130]
mov qword [rsp + 0x30], rdi
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x28], rax
mov word [rsp + 0x20], dx
mov r9w, 0x80
mov r8, qword [rsp + 0x48]
mov rax, qword [rsp + 0x160]
mov rdx, qword [rax + 0x18]
mov rcx, qword [rsp + 0x160]
call fcn.1800dfa60
movsx eax, al
mov dword [rsp + 0xfc], eax
mov rax, qword [rsp + 0x160]
mov rax, qword [rax + 0x18]
mov eax, dword [rax]
cmp dword [rsp + 0xfc], eax
jne 0x1800e1258
mov rax, qword [rsp + 0x160]
mov byte [rax + 0x43], 2
mov rax, qword [rsp + 0x160]
mov eax, dword [rax + 0x44]
and eax, 0xfffffffb
mov rcx, qword [rsp + 0x160]
mov dword [rcx + 0x44], eax
mov rax, qword [rsp + 0x160]
cmp qword [rax + 0x10], 0
je 0x1800e1501
mov rax, qword [rsp + 0x160]
movzx eax, word [rax + 0x3c]
and eax, 0x80
test eax, eax
je 0x1800e12c3
mov rax, qword [rsp + 0x48]
movsx eax, byte [rax + 0x16]
mov rcx, qword [rsp + 0x160]
mov rcx, qword [rcx + 0x10]
cmp eax, dword [rcx]
jne 0x1800e12be
mov rax, qword [rsp + 0x160]
mov byte [rax + 0x43], 2
jmp 0x1800e1410
mov rax, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x48]
movzx ecx, byte [rcx + 0x16]
mov byte [rax + 0x41], cl
mov rax, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx + 8]
mov qword [rax + 0x60], rcx
mov rax, qword [rsp + 0x160]
movsx eax, byte [rax + 0x41]
test eax, eax
jg 0x1800e1410
mov rax, qword [rsp + 0x160]
mov byte [rax + 0x41], 0
cmp dword [rsp + 0x50], 0
jle 0x1800e1410
mov eax, dword [rsp + 0x50]
dec eax
cdqe
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx + 0x18]
mov rax, qword [rcx + rax*8]
mov eax, dword [rax + 0x28]
mov dword [rsp + 0xac], eax
mov eax, dword [rsp + 0xac]
and eax, 0x1000
test eax, eax
jne 0x1800e1410
mov eax, dword [rsp + 0xac]
and eax, 0x104
cmp eax, 0x104
je 0x1800e1410
mov qword [rsp + 0x110], 0
mov eax, dword [rsp + 0x50]
dec eax
cdqe
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx + 0x18]
mov edx, dword [rsp + 0x50]
dec edx
lea rdi, [rsp + 0x110]
mov qword [rsp + 0x30], rdi
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x28], rax
mov word [rsp + 0x20], dx
mov r9w, 0x800
mov r8, qword [rsp + 0x48]
mov rax, qword [rsp + 0x160]
mov rdx, qword [rax + 0x10]
mov rcx, qword [rsp + 0x160]
call fcn.1800dfa60
movsx eax, al
mov dword [rsp + 0xf8], eax
mov rax, qword [rsp + 0x160]
mov rax, qword [rax + 0x10]
mov eax, dword [rax]
cmp dword [rsp + 0xf8], eax
jne 0x1800e1410
mov rax, qword [rsp + 0x160]
mov eax, dword [rax + 0x44]
or eax, 4
mov rcx, qword [rsp + 0x160]
mov dword [rcx + 0x44], eax
mov rax, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x110]
mov qword [rax + 0x60], rcx
mov rax, qword [rsp + 0x160]
movzx eax, word [rax + 0x3c]
and eax, 0x200
test eax, eax
je 0x1800e1501
mov rax, qword [rsp + 0x160]
movsx eax, byte [rax + 0x41]
mov rcx, qword [rsp + 0x160]
mov rcx, qword [rcx + 0x10]
cmp eax, dword [rcx]
jne 0x1800e1501
cmp dword [rsp + 0x50], 0
jle 0x1800e1501
mov qword [rsp + 0x118], 0
mov eax, dword [rsp + 0x50]
dec eax
cdqe
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx + 0x18]
mov edx, dword [rsp + 0x50]
dec edx
lea rdi, [rsp + 0x118]
mov qword [rsp + 0x30], rdi
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x28], rax
mov word [rsp + 0x20], dx
xor r9d, r9d
mov r8, qword [rsp + 0x48]
mov rax, qword [rsp + 0x160]
mov rdx, qword [rax + 0x10]
mov rcx, qword [rsp + 0x160]
call fcn.1800dfa60
movsx eax, al
mov dword [rsp + 0x100], eax
mov rax, qword [rsp + 0x160]
mov rax, qword [rax + 0x10]
mov eax, dword [rax]
cmp dword [rsp + 0x100], eax
jne 0x1800e1501
mov rax, qword [rsp + 0x160]
mov eax, dword [rax + 0x44]
or eax, 8
mov rcx, qword [rsp + 0x160]
mov dword [rcx + 0x44], eax
mov rax, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x118]
mov qword [rax + 0x60], rcx
mov rax, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x48]
movzx ecx, word [rcx + 0x10]
mov word [rax + 0x48], cx
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x108]
call fcn.1800335c0
xor eax, eax
add rsp, 0x148
pop rdi
pop rsi
ret