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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x108]
sub rsp, 0x208
mov rsi, rcx
xor ebx, ebx
mov ecx, 1
mov eax, dword [rsi + 0x204]
mov rdi, rdx
mov qword [rbp - 0x40], rbx
mov dword [rbp], eax
mov eax, dword [rsi + 0x208]
mov qword [rbp + 0x88], rcx
mov dword [rsi + 0x204], eax
inc eax
mov dword [rsi + 0x208], eax
mov rax, qword [rsi]
mov qword [rsp + 0x60], rax
test rdx, rdx
je 0x180064bd3
cmp byte [rax + 0x55], bl
jne 0x180064bd3
cmp dword [rsi + 0x50], ebx
jne 0x180064bd3
lea edx, [rbx + 0x15]
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call fcn.18003cfe0
test eax, eax
je 0x180062613
lea eax, [rbx + 1]
add rsp, 0x208
pop rdi
pop rsi
pop rbx
pop rbp
ret
xor eax, eax
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x140]
cmp byte [rax], 8
ja 0x18006265c
mov rdx, qword [rdi + 0x40]
test rdx, rdx
je 0x180062654
mov rcx, qword [rsp + 0x60]
call fcn.1800220e0
and dword [rdi + 0xc], 0xfffffffe
mov qword [rdi + 0x40], rbx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call fcn.180065270
mov r11, qword [rbp + 0x138]
mov rdi, qword [rsp + 0x60]
mov r9, qword [r11 + 0x20]
xor eax, eax
mov qword [rbp + 0x58], rax
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rax
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rax
mov rax, qword [r11 + 0x40]
mov qword [rsp + 0x70], r9
mov qword [rbp - 0x78], rax
mov qword [rbp + 0x58], rax
cmp dword [rsi + 0x50], ebx
jne 0x180064a08
cmp byte [rdi + 0x55], bl
jne 0x180064a08
mov rax, qword [rbp + 0x140]
mov r10d, dword [r11 + 0xc]
movzx ecx, byte [rax]
mov rax, qword [r11]
shr r10d, 3
and r10d, 1
cmp dword [rax], 1
mov dword [rsp + 0x54], r10d
jle 0x1800626f2
lea eax, [rcx - 0xa]
cmp eax, 1
ja 0x1800626f2
lea rdx, str.only_a_single_result_allowed_for_a_SELECT_that_is_part_of_an_expression
mov rcx, rsi
call fcn.180048910
jmp 0x180064a03
mov edx, ebx
mov dword [rbp + 0x148], ebx
cmp qword [r11 + 0x48], rdx
jne 0x1800627ec
mov rax, rbx
mov qword [rbp - 0x58], rbx
nop dword [rax + rax]
cmp edx, dword [r9]
jge 0x1800627ec
imul rax, rax, 0x78
mov r8, qword [rax + r9 + 0x30]
mov r9, qword [rax + r9 + 0x28]
test r8, r8
je 0x1800627ca
movsx ecx, word [r9 + 0x3e]
mov rax, qword [r8]
cmp ecx, dword [rax]
mov rcx, rsi
jne 0x180062845
mov edi, dword [r8 + 0xc]
mov r8d, edx
mov r9d, r10d
shr edi, 3
mov rdx, r11
and edi, 1
mov dword [rsp + 0x20], edi
call fcn.180025cb0
test eax, eax
je 0x180062787
test edi, edi
je 0x18006277a
mov rax, qword [rbp + 0x138]
mov dword [rsp + 0x54], 1
or dword [rax + 0xc], 8
or edx, 0xffffffff
mov qword [rbp - 0x58], 0xffffffffffffffff
jmp 0x18006278d
mov edx, dword [rbp + 0x148]
mov r11, qword [rbp + 0x138]
mov rdi, qword [rsp + 0x60]
mov r9, qword [r11 + 0x20]
mov qword [rsp + 0x70], r9
cmp byte [rdi + 0x55], bl
jne 0x180064a08
mov rax, qword [rbp + 0x140]
mov r10d, dword [rsp + 0x54]
cmp byte [rax], 8
jbe 0x1800627cf
mov r8, qword [r11 + 0x40]
mov qword [rbp - 0x78], r8
mov qword [rbp + 0x58], r8
jmp 0x1800627cf
mov r9, qword [rsp + 0x70]
mov rax, qword [rbp - 0x58]
inc edx
inc rax
mov dword [rbp + 0x148], edx
mov qword [rbp - 0x58], rax
cmp qword [r11 + 0x48], rbx
je 0x180062710
mov rdi, qword [rsi + 0x10]
mov qword [rbp - 0x58], rdi
test rdi, rdi
jne 0x180062818
mov rcx, rsi
call fcn.180011f90
mov r11, qword [rbp + 0x138]
mov rdi, rax
mov qword [rbp - 0x58], rax
test rax, rax
je 0x1800649f9
cmp qword [r11 + 0x48], rbx
je 0x180062864
mov r8, qword [rbp + 0x140]
mov rdx, r11
mov rcx, rsi
call fcn.18002cce0
mov ecx, dword [rbp]
mov dword [rsi + 0x204], ecx
add rsp, 0x208
pop rdi
pop rsi
pop rbx
pop rbp
ret
movsx r8d, word [r9 + 0x3e]
mov eax, dword [rax]
mov r9, qword [r9]
lea rdx, str.expected__d_columns_for__s_but_got__d
mov dword [rsp + 0x20], eax
call fcn.180048910
jmp 0x180064a03
mov rcx, qword [rsp + 0x70]
mov dword [rsp + 0x58], ebx
cmp dword [rcx], ebx
jle 0x180062b44
mov rax, rbx
mov qword [rbp - 0x30], rbx
jmp 0x180062883
mov rcx, rdx
add rcx, 8
imul rax, rax, 0x78
add rax, rcx
mov qword [rsp + 0x68], rax
mov rcx, qword [rax + 0x28]
mov qword [rbp - 0x28], rcx
test rcx, rcx
je 0x180062b22
mov r9d, dword [rax + 0x30]
test r9d, r9d
je 0x1800628cd
test byte [rax + 0x40], 0x10
jne 0x180062b22
mov r8d, dword [rax + 0x34]
mov edx, 0xe
mov rcx, rdi
call fcn.18006b4a0
jmp 0x180062b1b
lea rdx, [rbp + 0x148]
mov rcx, r11
mov dword [rbp + 0x148], ebx
call fcn.180029b50
mov eax, dword [rbp + 0x148]
mov rcx, qword [rsp + 0x68]
add dword [rsi + 0x200], eax
test byte [rcx + 0x3c], 0x20
jne 0x18006291b
mov r9d, dword [rcx + 0x48]
mov r8, qword [rbp + 0x138]
mov rdx, qword [rbp - 0x28]
mov r8, qword [r8 + 0x28]
mov rcx, qword [rsp + 0x60]
call fcn.180034150
mov rcx, qword [rsp + 0x68]
cmp qword [rbp - 0x30], 0
jne 0x1800629fc
mov rax, qword [rsp + 0x70]
cmp dword [rax], 1
je 0x18006293d
test byte [rax + 0xbc], 0xa
je 0x1800629fc
mov rax, qword [rbp + 0x138]
test byte [rax + 0xc], 2
jne 0x1800629fc
mov rax, qword [rsp + 0x60]
mov edx, 0x100
test word [rax + 0x50], dx
jne 0x1800629fc
mov r8d, dword [rsi + 0x58]
mov ebx, dword [rdi + 0x3c]
xor r9d, r9d
inc r8d
lea edx, [r9 + 0xf]
inc ebx
mov dword [rsi + 0x58], r8d
mov dword [rcx + 0x34], r8d
mov rcx, rdi
mov dword [rsp + 0x20], ebx
call fcn.18006b510
mov r10, qword [rsp + 0x68]
mov eax, dword [r10 + 0x34]
mov rdx, qword [rbp - 0x28]
mov dword [r10 + 0x30], ebx
mov dword [rbp - 0x14], eax
xor eax, eax
lea r8, [rbp - 0x18]
mov qword [rbp - 0x10], rax
movzx eax, byte [rsi + 0x208]
mov rcx, rsi
mov byte [r10 + 0x44], al
mov word [rbp - 0x18], 0xd
call fcn.180062570
mov rdx, qword [rsp + 0x68]
mov rax, qword [rbp - 0x28]
movzx eax, word [rax + 0xa]
mov rcx, qword [rdx + 0x20]
mov word [rcx + 0x42], ax
mov eax, dword [rbp - 0x10]
or dword [rdx + 0x40], 0x10
mov dword [rdx + 0x38], eax
mov edx, dword [rdx + 0x34]
mov rcx, rdi
call fcn.18006c420
lea edx, [rbx - 1]
mov rcx, rdi
call fcn.180073d80
xor ebx, ebx
jmp 0x180062ae0
mov r9d, dword [rsi + 0x58]
xor r8d, r8d
mov dword [rbp + 0x148], ebx
inc r9d
lea edx, [r8 + 0x4b]
mov dword [rsi + 0x58], r9d
mov dword [rcx + 0x34], r9d
mov rcx, rdi
call fcn.18006b4a0
mov dword [rbp - 0x50], eax
lea ecx, [rax + 1]
mov rax, qword [rsp + 0x68]
test byte [rax + 0x40], 8
mov dword [rax + 0x30], ecx
jne 0x180062a47
mov rcx, rsi
call fcn.180042ca0
mov dword [rbp + 0x148], eax
mov rax, qword [rsp + 0x68]
mov ecx, dword [rax + 0x48]
mov rdx, qword [rbp - 0x28]
lea r8, [rbp - 0x18]
mov dword [rbp - 0x14], ecx
movzx ecx, byte [rsi + 0x208]
mov word [rbp - 0x18], 0xc
mov byte [rax + 0x44], cl
mov rcx, rsi
mov qword [rbp - 0x10], 0
call fcn.180062570
mov rax, qword [rbp - 0x28]
mov r10, qword [rsp + 0x68]
movzx eax, word [rax + 0xa]
mov rcx, qword [r10 + 0x20]
mov word [rcx + 0x42], ax
mov eax, dword [rbp + 0x148]
test eax, eax
je 0x180062a9e
mov edx, eax
mov rcx, rdi
call fcn.180073d80
mov r8d, dword [r10 + 0x34]
mov edx, 0x47
mov rcx, rdi
call fcn.18006b430
mov edx, eax
mov eax, dword [rbp - 0x50]
test eax, eax
jns 0x180062abd
mov eax, dword [rdi + 0x3c]
dec eax
mov rcx, qword [rdi]
cmp byte [rcx + 0x55], 0
je 0x180062acf
lea rcx, [0x1800bf8b8]
jmp 0x180062add
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 8]
lea rcx, [rax + rcx*8]
mov dword [rcx + 4], edx
mov rax, qword [rsp + 0x60]
mov dword [rsi + 0x48], ebx
mov byte [rsi + 0x1f], 0
cmp byte [rax + 0x55], 0
jne 0x180064a00
mov rcx, qword [rbp + 0x138]
lea rdx, [rbp + 0x148]
mov dword [rbp + 0x148], ebx
call fcn.180029b50
mov edx, dword [rbp + 0x148]
sub dword [rsi + 0x200], edx
mov r11, qword [rbp + 0x138]
mov ecx, dword [rsp + 0x58]
mov rax, qword [rbp - 0x30]
mov rdx, qword [rsp + 0x70]
inc ecx
inc rax
mov dword [rsp + 0x58], ecx
mov qword [rbp - 0x30], rax
cmp ecx, dword [rdx]
jl 0x180062880
mov rax, qword [r11 + 0x28]
mov rcx, qword [r11]
mov rdx, qword [r11 + 0x38]
mov qword [rbp - 0x38], rax
mov rax, qword [r11 + 0x30]
mov qword [rbp - 0x40], rcx
mov qword [rsp + 0x68], rax
movzx eax, byte [r11 + 0xc]
mov qword [rbp + 0x80], rdx
and al, 1
mov byte [rbp + 0x148], al
mov byte [rbp - 0x18], al
mov eax, dword [r11 + 0xc]
and al, 9
cmp al, 1
jne 0x180062bc8
mov rdx, rcx
mov rcx, qword [rbp - 0x78]
or r8d, 0xffffffff
call fcn.18004ce80
test eax, eax
jne 0x180062bc4
mov rax, qword [rbp + 0x138]
mov rdx, qword [rbp - 0x40]
mov rcx, qword [rsp + 0x60]
and dword [rax + 0xc], 0xfffffffe
xor r8d, r8d
call fcn.18004cf50
mov rcx, rax
mov qword [rsp + 0x68], rax
mov rax, qword [rbp + 0x138]
mov qword [rax + 0x30], rcx
mov rcx, qword [rbp - 0x40]
mov rax, qword [rbp - 0x78]
test rax, rax
je 0x180062cd8
mov r9d, dword [rcx]
xor r8d, r8d
mov rdx, rax
mov rcx, rsi
call fcn.18002af40
mov r10d, dword [rsi + 0x54]
mov r8, rax
mov qword [rbp - 0x68], rax
mov rax, qword [rbp - 0x40]
lea ecx, [r10 + 1]
mov dword [rbp + 0x64], r10d
mov dword [rsi + 0x54], ecx
mov edx, dword [rax]
movsxd r11, dword [rdi + 0x3c]
mov rax, qword [rbp - 0x78]
mov rcx, qword [rdi + 0x30]
mov dword [rbp - 0x6c], r11d
mov r9d, dword [rax]
inc r9d
add r9d, edx
cmp dword [rcx + 0x64], r11d
jg 0x180062c41
mov r8d, r10d
mov edx, 0x6a
mov rcx, rdi
mov dword [rsp + 0x20], ebx
call fcn.1800296a0
mov r8, qword [rbp - 0x68]
mov r11d, eax
mov dword [rbp - 0x6c], eax
jmp 0x180062c6e
lea rcx, [r11 + r11*2]
lea eax, [r11 + 1]
mov dword [rdi + 0x3c], eax
mov rax, qword [rdi + 8]
mov word [rax + rcx*8], 0x6a
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r10d
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], ebx
mov qword [rax + rcx*8 + 0x10], rbx
mov rcx, qword [rdi]
mov eax, r11d
cmp byte [rcx + 0x55], 0
je 0x180062c8e
mov edx, 0xfffffffa
call fcn.1800264a0
mov r11d, dword [rbp - 0x6c]
mov dword [rbp + 0x70], r11d
jmp 0x180062ce1
test r11d, r11d
jns 0x180062c98
mov eax, dword [rdi + 0x3c]
dec eax
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 8]
cmp byte [rax + rcx*8 + 1], 0
lea rdx, [rax + rcx*8]
je 0x180062cc5
mov r9d, 0xfffffffa
mov rcx, rdi
call fcn.1800816e0
mov r11d, dword [rbp - 0x6c]
mov dword [rbp + 0x70], r11d
jmp 0x180062ce1
test r8, r8
je 0x180062cd2
mov qword [rdx + 0x10], r8
mov byte [rdx + 1], 0xfa
mov dword [rbp + 0x70], r11d
jmp 0x180062ce1
or eax, 0xffffffff
mov dword [rbp - 0x6c], eax
mov dword [rbp + 0x70], eax
mov rax, qword [rbp + 0x140]
cmp byte [rax], 0xc
jne 0x180062d05
mov rcx, qword [rbp - 0x40]
mov r8d, dword [rax + 4]
mov edx, 0x6a
mov r9d, dword [rcx]
mov rcx, rdi
call fcn.18006b4a0
mov rcx, rdi
call fcn.180074380
mov edx, 0x140
mov rcx, rsi
mov r8d, eax
mov dword [rbp - 0x28], eax
mov rax, qword [rbp + 0x138]
mov word [rax + 0xa], dx
mov rdx, rax
call fcn.18001bdb0
mov r10, qword [rbp + 0x138]
cmp dword [r10 + 0x10], 0
jne 0x180062d69
movsxd rax, dword [rbp - 0x6c]
test eax, eax
js 0x180062d69
mov rcx, qword [rdi]
cmp byte [rcx + 0x55], 0
je 0x180062d56
lea rax, [0x1800bf8b8]
jmp 0x180062d62
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 8]
lea rax, [rax + rcx*8]
or byte [rbp + 0x78], 1
mov byte [rax], 0x6b
test byte [r10 + 0xc], 1
je 0x180062e8f
mov eax, dword [rsi + 0x54]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x50], eax
mov dword [rbp - 0x14], eax
inc eax
mov dword [rsi + 0x54], eax
mov rdx, qword [r10]
mov rcx, rsi
call fcn.18002af40
movsxd rdx, dword [rdi + 0x3c]
mov rcx, qword [rdi + 0x30]
mov r8d, dword [rsp + 0x50]
mov r11, rax
mov qword [rbp - 0x68], rax
mov dword [rsp + 0x58], edx
cmp dword [rcx + 0x64], edx
jg 0x180062dd0
xor r9d, r9d
mov rcx, rdi
mov dword [rsp + 0x20], ebx
lea edx, [r9 + 0x6a]
call fcn.1800296a0
mov r11, qword [rbp - 0x68]
mov edx, eax
mov dword [rsp + 0x58], eax
jmp 0x180062dfc
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rdi + 0x3c], eax
mov rax, qword [rdi + 8]
mov word [rax + rcx*8], 0x6a
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r8d
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], rbx
mov rcx, qword [rdi]
mov eax, edx
cmp byte [rcx + 0x55], 0
je 0x180062e1a
mov r8, r11
mov edx, 0xfffffffa
call fcn.1800264a0
mov edx, dword [rsp + 0x58]
jmp 0x180062e60
test edx, edx
jns 0x180062e23
mov eax, dword [rdi + 0x3c]
dec eax
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 8]
cmp byte [rax + rcx*8 + 1], 0
lea r10, [rax + rcx*8]
je 0x180062e52
mov r9d, 0xfffffffa
mov r8, r11
mov rdx, r10
mov rcx, rdi
call fcn.1800816e0
mov edx, dword [rsp + 0x58]
jmp 0x180062e60
test r11, r11
je 0x180062e60
mov qword [r10 + 0x10], r11
mov byte [r10 + 1], 0xfa
mov rax, qword [rdi]
mov dword [rbp - 0x10], edx
cmp byte [rax + 0x55], 0
jne 0x180062e7d
movsxd rax, dword [rdi + 0x3c]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 8]
mov byte [rax + rcx*8 - 0x15], 8
mov r10, qword [rbp + 0x138]
mov cl, 3
mov dword [rsp + 0x58], ecx
mov byte [rbp - 0x17], cl
jmp 0x180062e98
xor al, al
mov dword [rsp + 0x58], eax
mov byte [rbp - 0x17], al
mov eax, dword [rsp + 0x54]
mov r9, qword [rsp + 0x68]
test eax, eax
jne 0x180062fdc
test r9, r9
jne 0x180062fdc
movzx eax, byte [rbp + 0x148]
mov r9, qword [rbp - 0x78]
mov r8, qword [rbp - 0x38]
neg al
movzx eax, word [r10 + 0xc]
mov edx, 0x4000
sbb cx, cx
and ax, dx
mov rdx, qword [rsp + 0x70]
and cx, 0x100
or cx, ax
movsx eax, word [r10 + 0xa]
mov dword [rsp + 0x30], eax
mov rax, qword [r10]
mov word [rsp + 0x28], cx
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.180079f10
mov rdx, rax
mov qword [rbp + 0x130], rax
test rax, rax
je 0x1800649f9
mov rcx, qword [rbp + 0x138]
movzx eax, word [rax + 0x30]
cmp ax, word [rcx + 0xa]
jge 0x180062f26
mov word [rcx + 0xa], ax
cmp byte [rbp + 0x148], 0
je 0x180062f46
movzx ecx, byte [rdx + 0x3a]
mov eax, dword [rsp + 0x58]
movzx eax, al
test cl, cl
cmovne eax, ecx
mov dword [rsp + 0x58], eax
mov byte [rbp - 0x17], al
mov r8, qword [rbp - 0x78]
test r8, r8
je 0x180062f68
movsx ecx, byte [rdx + 0x36]
movzx eax, byte [rdx + 0x3c]
cmp ecx, dword [r8]
mov dword [rbp + 0x60], ecx
mov byte [rbp + 0x79], al
cmove r8, rbx
mov qword [rbp + 0x58], r8
mov eax, dword [rbp - 0x6c]
test eax, eax
js 0x180062f85
test r8, r8
jne 0x180062f85
mov edx, eax
mov rcx, rdi
call fcn.18006ba50
mov rdx, qword [rbp + 0x130]
mov eax, dword [rdx + 0x48]
mov rbx, qword [rbp + 0x138]
mov r8, qword [rbp - 0x40]
mov dword [rsp + 0x40], eax
mov eax, dword [rdx + 0x44]
or r9d, 0xffffffff
mov dword [rsp + 0x38], eax
mov rax, qword [rbp + 0x140]
mov rdx, rbx
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x18]
mov rcx, rsi
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x58]
mov qword [rsp + 0x20], rax
call fcn.1800392b0
mov rcx, qword [rbp + 0x130]
call fcn.18007ca60
jmp 0x18006495e
mov dword [rbp - 0x80], ebx
mov dword [rsp + 0x50], ebx
test r9, r9
je 0x180063041
mov rax, qword [r10]
mov ecx, dword [rax]
mov rdx, qword [rax + 8]
test ecx, ecx
jle 0x18006300d
lea rax, [rdx + 0x22]
nop dword [rax]
dec ecx
mov word [rax], bx
lea rax, [rax + 0x28]
test ecx, ecx
jg 0x180063000
mov eax, dword [r9]
mov rcx, qword [r9 + 8]
test eax, eax
jle 0x18006302d
add rcx, 0x22
nop dword [rax]
dec eax
mov word [rcx], bx
lea rcx, [rcx + 0x28]
test eax, eax
jg 0x180063020
cmp word [r10 + 0xa], 0x42
jle 0x180063046
mov eax, 0x42
mov word [r10 + 0xa], ax
jmp 0x180063046
mov word [r10 + 0xa], bx
mov rdx, qword [rbp - 0x78]
or r8d, 0xffffffff
mov rcx, r9
call fcn.18004ce80
mov ecx, ebx
test eax, eax
mov eax, 1
cmove ecx, eax
mov dword [rbp - 0x30], ecx
mov rcx, rdi
call fcn.180074380
mov ecx, dword [rsi + 0x58]
mov dword [rsp + 0x78], eax
xor eax, eax
inc ecx
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xd8], rax
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rax
mov qword [rbp + 0xf0], rax
mov rax, qword [rsp + 0x70]
mov dword [rbp + 0x20], ecx
mov rcx, qword [rsp + 0x68]
mov qword [rbp + 0xc8], rax
lea rax, [rbp + 0x10]
mov qword [rbp + 0xd8], rax
mov qword [rbp + 0xc0], rsi
test rcx, rcx
je 0x1800630db
mov eax, dword [rcx]
mov dword [rbp + 0x1c], eax
jmp 0x1800630de
mov dword [rbp + 0x1c], ebx
mov rdx, qword [rbp - 0x40]
mov qword [rbp + 0x28], rcx
lea rcx, [rbp + 0xc0]
call fcn.180048f60
mov rdx, qword [rbp - 0x78]
lea rcx, [rbp + 0xc0]
call fcn.180048f60
mov rax, qword [rbp + 0x80]
lea rdx, [0x180012e60]
lea r8, [sym.sqlite3.dll_sqlite3_global_recover]
test rax, rax
je 0x180063173
xor ecx, ecx
mov qword [rbp + 0x98], rcx
mov qword [rbp + 0xa0], rcx
mov qword [rbp + 0xb8], rcx
mov qword [rbp + 0x90], rcx
mov qword [rbp + 0xa8], rcx
mov qword [rbp + 0xb0], rcx
lea rcx, [rbp + 0xc0]
mov qword [rbp + 0x98], rdx
mov rdx, rax
mov qword [rbp + 0xb8], rcx
lea rcx, [rbp + 0x90]
mov qword [rbp + 0xa0], r8
call fcn.180088050
mov r10d, dword [rbp + 0x48]
mov r9d, dword [rbp + 0x38]
mov r11d, ebx
mov dword [rbp + 0x3c], r9d
mov dword [rbp - 0x78], ebx
test r10d, r10d
jle 0x1800632a2
movzx edx, word [rbp + 0xf0]
mov rsi, rbx
lea rdi, [0x180012e60]
nop
mov rax, qword [rbp + 0x40]
or dx, 8
mov word [rbp + 0xf0], dx
mov rcx, qword [rsi + rax]
mov r8, qword [rcx + 0x20]
mov qword [rbp - 0x68], r8
test r8, r8
je 0x180063270
cmp dword [r8], 0
mov rax, qword [r8 + 8]
mov ecx, ebx
mov qword [rbp - 0x60], rax
mov dword [rsp + 0x54], ebx
jle 0x180063270
lea rbx, [sym.sqlite3.dll_sqlite3_global_recover]
mov rdx, qword [rax]
xor r9d, r9d
mov qword [rbp + 0x98], r9
mov qword [rbp + 0xa0], r9
mov qword [rbp + 0xb8], r9
mov qword [rbp + 0x90], r9
mov qword [rbp + 0xa8], r9
mov qword [rbp + 0xb0], r9
lea r9, [rbp + 0xc0]
mov qword [rbp + 0x98], rdi
mov qword [rbp + 0xa0], rbx
mov qword [rbp + 0xb8], r9
test rdx, rdx
je 0x18006324c
lea rcx, [rbp + 0x90]
call fcn.180088050
mov rax, qword [rbp - 0x60]
mov ecx, dword [rsp + 0x54]
mov r8, qword [rbp - 0x68]
inc ecx
add rax, 0x28
mov dword [rsp + 0x54], ecx
mov qword [rbp - 0x60], rax
cmp ecx, dword [r8]
jl 0x1800631e3
mov r10d, dword [rbp + 0x48]
movzx edx, word [rbp + 0xf0]
mov r11d, dword [rbp - 0x78]
xor ebx, ebx
inc r11d
mov eax, 0xfff7
add rsi, 0x18
and dx, ax
mov dword [rbp - 0x78], r11d
mov word [rbp + 0xf0], dx
cmp r11d, r10d
jl 0x1800631a0
mov r9d, dword [rbp + 0x38]
mov rdi, qword [rbp - 0x58]
mov rsi, qword [rbp + 0x130]
mov eax, dword [rsi + 0x58]
mov dword [rbp + 0x24], eax
mov rax, qword [rsp + 0x60]
cmp byte [rax + 0x55], 0
jne 0x180064a00
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x180064416
mov eax, dword [rsi + 0x54]
mov rdx, rcx
xor r8d, r8d
mov dword [rbp + 0x14], eax
inc eax
mov rcx, rsi
mov dword [rsi + 0x54], eax
call fcn.18002af40
movsxd r9, dword [rdi + 0x3c]
mov rcx, qword [rdi + 0x30]
mov edx, dword [rbp + 0x1c]
mov r8d, dword [rbp + 0x14]
mov r10, rax
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x50], r9d
cmp dword [rcx + 0x64], r9d
jg 0x18006331e
mov r9d, edx
mov rcx, rdi
mov edx, 0x6b
mov dword [rsp + 0x20], ebx
call fcn.1800296a0
mov r10, qword [rbp - 0x20]
mov r9d, eax
mov dword [rbp - 0x50], eax
jmp 0x18006334a
lea rcx, [r9 + r9*2]
lea eax, [r9 + 1]
mov dword [rdi + 0x3c], eax
mov rax, qword [rdi + 8]
mov word [rax + rcx*8], 0x6b
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], ebx
mov qword [rax + rcx*8 + 0x10], rbx
mov rcx, qword [rdi]
mov eax, r9d
cmp byte [rcx + 0x55], 0
je 0x180063365
mov r8, r10
mov edx, 0xfffffffa
call fcn.1800264a0
jmp 0x1800633a4
test r9d, r9d
jns 0x18006336f
mov eax, dword [rdi + 0x3c]
dec eax
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 8]
cmp byte [rax + rcx*8 + 1], 0
lea rdx, [rax + rcx*8]
je 0x180063397
mov r9d, 0xfffffffa
mov r8, r10
mov rcx, rdi
call fcn.1800816e0
jmp 0x1800633a4
test r10, r10
je 0x1800633a4
mov qword [rdx + 0x10], r10
mov byte [rdx + 1], 0xfa
mov eax, dword [rsi + 0x58]
mov rcx, rdi
inc eax
mov dword [rbp - 0x4c], eax
inc eax
mov dword [rbp + 0x130], eax
inc eax
mov dword [rsi + 0x58], eax
call fcn.180074380
inc dword [rsi + 0x58]
mov dword [rbp - 0x78], eax
mov eax, dword [rsi + 0x58]
mov rcx, rdi
mov dword [rbp - 0x48], eax
call fcn.180074380
mov edx, dword [rsi + 0x58]
mov r9, qword [rsp + 0x68]
mov dword [rsp + 0x54], eax
lea eax, [rdx + 1]
mov r8d, dword [r9]
mov dword [rbp - 0x44], eax
add r8d, edx
mov dword [rsi + 0x58], r8d
mov edx, dword [r9]
add edx, r8d
lea eax, [r8 + 1]
mov dword [rsi + 0x58], edx
mov rcx, qword [rdi + 0x30]
movsxd rdx, dword [rdi + 0x3c]
mov dword [rsp + 0x7c], eax
cmp dword [rcx + 0x64], edx
jg 0x18006342b
mov r9d, dword [rbp + 0x130]
xor r8d, r8d
mov rcx, rdi
lea edx, [r8 + 0x4b]
mov dword [rsp + 0x20], ebx
call fcn.1800296a0
jmp 0x18006345b
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov edx, dword [rbp + 0x130]
mov dword [rdi + 0x3c], eax
mov rax, qword [rdi + 8]
mov word [rax + rcx*8], 0x4b
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], ebx
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], ebx
mov qword [rax + rcx*8 + 0x10], rbx
mov rax, qword [rdi + 0x30]
movsxd rcx, dword [rdi + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x180063481
mov r9d, dword [rbp - 0x4c]
xor r8d, r8d
mov rcx, rdi
lea edx, [r8 + 0x4b]
mov dword [rsp + 0x20], ebx
call fcn.1800296a0
jmp 0x1800634ae
mov edx, dword [rbp - 0x4c]
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rdi + 0x3c], eax
mov rax, qword [rdi + 8]
mov word [rax + rcx*8], 0x4b
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], ebx
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], ebx
mov qword [rax + rcx*8 + 0x10], rbx
mov rax, qword [rsp + 0x68]
mov r8d, dword [rbp - 0x44]
movsxd rcx, dword [rdi + 0x3c]
mov eax, dword [rax]
lea edx, [r8 - 1]
add edx, eax
mov rax, qword [rdi + 0x30]
cmp dword [rax + 0x64], ecx
jg 0x1800634e4
mov r9d, r8d
xor r8d, r8d
mov dword [rsp + 0x20], edx
lea edx, [r8 + 0x4e]
mov rcx, rdi
call fcn.1800296a0
jmp 0x18006350f
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rdi + 0x3c], eax
mov rax, qword [rdi + 8]
mov word [rax + rcx*8], 0x4e
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], ebx
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rbx
mov rax, qword [rdi + 0x30]
movsxd rcx, dword [rdi + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x180063538
mov r9d, dword [rsp + 0x54]
mov r8d, dword [rbp - 0x48]
mov edx, 0xe
mov rcx, rdi
mov dword [rsp + 0x20], ebx
call fcn.1800296a0
jmp 0x180063569
mov edx, dword [rbp - 0x48]
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rdi + 0x3c], eax
mov rax, qword [rdi + 8]
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0x54]
mov word [rax + rcx*8], 0xe
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 0xc], ebx
mov qword [rax + rcx*8 + 0x10], rbx
mov dword [rax + rcx*8 + 8], edx
mov eax, dword [rbp - 0x30]
mov r9, qword [rsp + 0x68]
mov r8, qword [rbp - 0x38]
mov rdx, qword [rsp + 0x70]
neg eax
mov dword [rsp + 0x30], ebx
sbb cx, cx
and cx, 0x200
or cx, 0x40
mov word [rsp + 0x28], cx
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call fcn.180079f10
mov rdx, rax
mov qword [rbp - 0x60], rax
test rax, rax
je 0x1800649f9
movsx ecx, byte [rax + 0x36]
mov rax, qword [rsp + 0x68]
mov qword [rbp - 0x68], 0xa
cmp ecx, dword [rax]
jne 0x1800635cd
mov eax, ebx
mov dword [rbp - 0x38], ebx
jmp 0x1800639fa
cmp byte [rbp + 0x148], 0
je 0x1800635ea
mov rax, qword [rbp + 0x138]
lea rdx, str.DISTINCT
test byte [rax + 0xc], 1
je 0x1800635f1
lea rdx, str.GROUP_BY
mov rcx, rsi
call fcn.180020650
mov r11, qword [rsp + 0x68]
mov edx, dword [rbp + 0x38]
mov ecx, dword [r11]
mov dword [rbp - 0x38], 1
mov dword [rbp - 0x80], ecx
mov r8d, ecx
mov dword [rbp - 0x70], ecx
test edx, edx
jle 0x180063636
mov rax, qword [rbp + 0x30]
add rax, 0x10
cmp dword [rax], ecx
jl 0x180063629
inc r8d
inc ecx
add rax, 0x20
dec rdx
jne 0x180063620
mov dword [rbp - 0x70], r8d
mov ecx, dword [rsi + 0x48]
mov r10d, dword [rsi + 0x4c]
mov dword [rbp + 0x148], r10d
cmp r8d, ecx
jg 0x180063658
lea eax, [r10 + r8]
sub ecx, r8d
mov dword [rsi + 0x4c], eax
mov dword [rsi + 0x48], ecx
jmp 0x18006366c
mov eax, dword [rsi + 0x58]
lea r10d, [rax + 1]
add eax, r8d
mov dword [rbp + 0x148], r10d
mov dword [rsi + 0x58], eax
lea rcx, [rsi + 0x9c]
mov r8d, 0xa
nop dword [rax]
mov edx, dword [rcx]
test edx, edx
je 0x1800636a7
cmp byte [rcx - 6], 0
je 0x1800636a2
movzx eax, byte [rsi + 0x1f]
cmp al, 8
jae 0x18006369e
movzx eax, al
mov dword [rsi + rax*4 + 0x28], edx
inc byte [rsi + 0x1f]
mov byte [rcx - 6], 0
mov dword [rcx], ebx
dec byte [rsi + 0x25]
add rcx, 0x14
dec r8
jne 0x180063680
mov byte [rsp + 0x20], r8b
xor r9d, r9d
mov rdx, r11
mov r8d, r10d
mov rcx, rsi
call fcn.180049a50
mov r9d, dword [rbp + 0x38]
mov r8d, ebx
mov dword [rsp + 0x50], ebx
test r9d, r9d
jle 0x180063742
mov edi, dword [rbp + 0x148]
mov rcx, rbx
mov qword [rbp + 0x50], rbx
mov ebx, dword [rbp - 0x80]
nop word [rax + rax]
mov rax, qword [rbp + 0x30]
cmp dword [rax + rcx + 0x10], ebx
lea rdx, [rax + rcx]
jl 0x180063727
mov r9d, dword [rdx + 8]
mov r8d, dword [rdx + 0xc]
mov rdx, qword [rdx]
lea eax, [rdi + rbx]
mov rcx, rsi
mov dword [rsp + 0x20], eax
call fcn.180049f00
mov r9d, dword [rbp + 0x38]
mov rcx, qword [rbp + 0x50]
mov r8d, dword [rsp + 0x50]
inc ebx
inc r8d
add rcx, 0x20
mov dword [rsp + 0x50], r8d
mov qword [rbp + 0x50], rcx
cmp r8d, r9d
jl 0x1800636f0
mov rdi, qword [rbp - 0x58]
xor ebx, ebx
movzx eax, byte [rsi + 0x1f]
test al, al
jne 0x180063752
inc dword [rsi + 0x58]
mov edx, dword [rsi + 0x58]
jmp 0x18006375e
dec al
movzx eax, al
mov byte [rsi + 0x1f], al
mov edx, dword [rsi + rax*4 + 0x28]
mov rax, qword [rdi + 0x30]
movsxd rcx, dword [rdi + 0x3c]
mov r8d, dword [rbp + 0x148]
mov dword [rsp + 0x50], edx
cmp dword [rax + 0x64], ecx
jg 0x180063791
mov r9d, dword [rbp - 0x70]
mov dword [rsp + 0x20], edx
mov rcx, rdi
mov edx, 0x62
call fcn.1800296a0
mov edx, dword [rsp + 0x50]
jmp 0x1800637c1
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rdi + 0x3c], eax
mov rax, qword [rdi + 8]
mov dword [rax + rcx*8 + 4], r8d
mov r8d, dword [rbp - 0x70]
mov word [rax + rcx*8], 0x62
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rbx
mov dword [rax + rcx*8 + 8], r8d
mov rax, qword [rdi + 0x30]
movsxd rcx, dword [rdi + 0x3c]
mov r8d, dword [rbp + 0x14]
cmp dword [rax + 0x64], ecx
jg 0x1800637ec
mov r9d, edx
mov rcx, rdi
mov edx, 0x7c
mov dword [rsp + 0x20], ebx
call fcn.1800296a0
mov edx, dword [rsp + 0x50]
jmp 0x180063817
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rdi + 0x3c], eax
mov rax, qword [rdi + 8]
mov word [rax + rcx*8], 0x7c
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], ebx
mov qword [rax + rcx*8 + 0x10], rbx
lea r9, [rsi + 0x90]
test edx, edx
je 0x180063853
movzx r8d, byte [rsi + 0x1f]
cmp r8b, 8
jae 0x180063853
mov ecx, ebx
mov rax, r9
cmp dword [rax + 0xc], edx
je 0x18006384f
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x180063832
movzx eax, r8b
mov dword [rsi + rax*4 + 0x28], edx
inc byte [rsi + 0x1f]
jmp 0x180063853
mov byte [rax + 6], 1
mov eax, dword [rbp + 0x148]
test eax, eax
jle 0x1800638b7
cmp byte [rsi + 0x25], 0
je 0x1800638b7
lea rcx, [rsi + 0x144]
mov edi, eax
nop dword [rax]
mov edx, dword [rcx + 0xc]
cmp edx, edi
jl 0x1800638a2
mov eax, dword [rbp - 0x70]
add eax, edi
cmp edx, eax
jge 0x1800638a2
cmp byte [rcx + 6], 0
je 0x18006389c
movzx eax, byte [rsi + 0x1f]
cmp al, 8
jae 0x180063898
movzx eax, al
mov dword [rsi + rax*4 + 0x28], edx
inc byte [rsi + 0x1f]
mov byte [rcx + 6], 0
mov dword [rcx + 0xc], ebx
dec byte [rsi + 0x25]
cmp rcx, r9
je 0x1800638ad
sub rcx, 0x14
jmp 0x180063870
mov rdi, qword [rbp - 0x58]
mov eax, dword [rbp + 0x148]
mov ecx, dword [rbp - 0x70]
cmp ecx, dword [rsi + 0x48]
jle 0x1800638c5
mov dword [rsi + 0x48], ecx
mov dword [rsi + 0x4c], eax
mov rcx, qword [rbp - 0x60]
call fcn.18007ca60
mov edx, dword [rsi + 0x54]
lea eax, [rdx + 1]
mov dword [rbp - 0x80], edx
mov dword [rbp + 0x18], edx
mov dword [rsi + 0x54], eax
movzx eax, byte [rsi + 0x1f]
test al, al
jne 0x1800638ee
inc dword [rsi + 0x58]
mov r8d, dword [rsi + 0x58]
jmp 0x1800638fb
dec al
movzx eax, al
mov byte [rsi + 0x1f], al
mov r8d, dword [rsi + rax*4 + 0x28]
mov rax, qword [rdi + 0x30]
movsxd rcx, dword [rdi + 0x3c]
mov dword [rsp + 0x50], r8d
cmp dword [rax + 0x64], ecx
jg 0x180063929
mov eax, dword [rbp - 0x70]
mov r9d, r8d
mov r8d, edx
mov edx, 0x6d
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.1800296a0
jmp 0x180063959
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rdi + 0x3c], eax
mov rax, qword [rdi + 8]
mov dword [rax + rcx*8 + 8], r8d
mov r8d, dword [rbp - 0x70]
mov word [rax + rcx*8], 0x6d
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 0x10], rbx
mov dword [rax + rcx*8 + 0xc], r8d
mov rax, qword [rdi + 0x30]
movsxd rcx, dword [rdi + 0x3c]
mov edx, dword [rbp + 0x14]
cmp dword [rax + 0x64], ecx
jg 0x180063984
mov r9d, dword [rsp + 0x78]
mov r8d, edx
mov rcx, rdi
mov edx, 0x35
mov dword [rsp + 0x20], ebx
call fcn.1800296a0
jmp 0x1800639b2
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rdi + 0x3c], eax
mov rax, qword [rdi + 8]
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0x78]
mov word [rax + rcx*8], 0x35
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 0xc], ebx
mov qword [rax + rcx*8 + 0x10], rbx
mov dword [rax + rcx*8 + 8], edx
mov byte [rbp + 0x11], 1
lea rcx, [rsi + 0x9c]
mov r8d, 0xa
mov edx, dword [rcx]
test edx, edx
je 0x1800639ea
cmp byte [rcx - 6], 0
je 0x1800639e5
movzx eax, byte [rsi + 0x1f]
cmp al, 8
jae 0x1800639e1
movzx eax, al
mov dword [rsi + rax*4 + 0x28], edx
inc byte [rsi + 0x1f]
mov byte [rcx - 6], 0
mov dword [rcx], ebx
dec byte [rsi + 0x25]
add rcx, 0x14
dec r8
jne 0x1800639c3
mov eax, dword [rbp - 0x38]
mov rdx, qword [rbp - 0x60]
cmp dword [rbp - 0x30], 0
je 0x180063a4d
mov rcx, qword [rsp + 0x60]
test byte [rcx + 0x50], 4
jne 0x180063a4d
test eax, eax
jne 0x180063a14
cmp byte [rdx + 0x37], al
je 0x180063a4d
mov rcx, qword [rdi]
mov qword [rbp + 0x58], rbx
cmp byte [rcx + 0x55], 0
jne 0x180063a4d
movsxd rax, dword [rbp - 0x6c]
lea rdx, [rax + rax*2]
mov rax, qword [rdi + 8]
mov r8, qword [rax + rdx*8 + 0x10]
lea rbx, [rax + rdx*8]
movsx edx, byte [rax + rdx*8 + 1]
call fcn.1800264a0
xor eax, eax
mov word [rbx], 0xa0
mov qword [rbx + 0x10], rax
xor ebx, ebx
mov eax, dword [rdi + 0x3c]
lea rcx, [rsi + 0x9c]
mov dword [rbp - 0x30], eax
mov eax, 0xa
nop
mov edx, dword [rcx]
test edx, edx
je 0x180063a8b
cmp byte [rcx - 6], 0
je 0x180063a82
movzx eax, byte [rsi + 0x1f]
cmp al, 8
jae 0x180063a7e
movzx eax, al
mov dword [rsi + rax*4 + 0x28], edx
inc byte [rsi + 0x1f]
mov byte [rcx - 6], 0
mov rax, qword [rbp - 0x68]
mov dword [rcx], ebx
dec byte [rsi + 0x25]
add rcx, 0x14
dec rax
mov qword [rbp - 0x68], rax
jne 0x180063a60
mov eax, dword [rbp - 0x38]
test eax, eax
je 0x180063ad2
mov rax, qword [rdi + 0x30]
movsxd rcx, dword [rdi + 0x3c]
mov edx, dword [rbp + 0x14]
cmp dword [rax + 0x64], ecx
jg 0x180063b39
mov eax, dword [rbp - 0x80]
mov r9d, dword [rsp + 0x50]
mov r8d, edx
mov edx, 0x77
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.1800296a0
mov eax, dword [rbp - 0x38]
mov r10d, dword [rbp - 0x80]
mov rdx, qword [rsp + 0x68]
mov r8d, ebx
mov dword [rbp + 0x148], ebx
cmp dword [rdx], 0
jle 0x180063bf6
movsxd rcx, eax
mov qword [rbp - 0x68], rbx
mov rax, rbx
mov qword [rbp + 0x50], rcx
nop dword [rax + rax]
test rcx, rcx
je 0x180063baa
mov rax, qword [rdi + 0x30]
movsxd rcx, dword [rdi + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x180063b76
mov eax, dword [rsp + 0x7c]
mov r9d, r8d
mov edx, 0x5f
add eax, r8d
mov r8d, r10d
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.1800296a0
jmp 0x180063bc3
mov r8d, dword [rsp + 0x50]
mov r10d, dword [rbp - 0x80]
lea eax, [rcx + 1]
mov dword [rdi + 0x3c], eax
mov rax, qword [rdi + 8]
lea rcx, [rcx + rcx*2]
mov word [rax + rcx*8], 0x77
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], r10d
mov qword [rax + rcx*8 + 0x10], rbx
mov eax, dword [rbp - 0x38]
jmp 0x180063ad6
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rdi + 0x3c], eax
mov rax, qword [rdi + 8]
mov word [rax + rcx*8], 0x5f
lea rdx, [rax + rcx*8]
mov eax, dword [rsp + 0x7c]
add eax, r8d
mov byte [rdx + 3], 0
mov dword [rdx + 4], r10d
mov dword [rdx + 8], r8d
mov qword [rdx + 0x10], rbx
mov dword [rdx + 0xc], eax
jmp 0x180063bce
add r8d, dword [rsp + 0x7c]
mov byte [rbp + 0x10], 1
mov rdx, qword [rdx + 8]
mov rdx, qword [rdx + rax]
mov rcx, rsi
call fcn.180049840
mov r10d, dword [rbp - 0x80]
mov r8d, dword [rbp + 0x148]
mov rax, qword [rbp - 0x68]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rbp + 0x50]
inc r8d
add rax, 0x28
mov qword [rbp - 0x68], rax
mov dword [rbp + 0x148], r8d
cmp r8d, dword [rdx]
jl 0x180063b00
mov r10, qword [rbp - 0x20]
test r10, r10
je 0x180063c02
inc dword [r10]
mov r8d, dword [rdx]
mov rax, qword [rdi + 0x30]
movsxd rdx, dword [rdi + 0x3c]
cmp dword [rax + 0x64], edx
jg 0x180063c35
mov r9d, dword [rsp + 0x7c]
mov dword [rsp + 0x20], r8d
mov r8d, dword [rbp - 0x44]
mov edx, 0x5e
mov rcx, rdi
call fcn.1800296a0
mov r10, qword [rbp - 0x20]
mov edx, eax
jmp 0x180063c6b
mov r9d, dword [rbp - 0x44]
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rdi + 0x3c], eax
mov rax, qword [rdi + 8]
mov dword [rax + rcx*8 + 4], r9d
mov r9d, dword [rsp + 0x7c]
mov word [rax + rcx*8], 0x5e
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], rbx
mov dword [rax + rcx*8 + 8], r9d
mov rcx, qword [rdi]
cmp byte [rcx + 0x55], 0
je 0x180063c83
mov r8, r10
mov edx, 0xfffffffa
call fcn.1800264a0
jmp 0x180063cc2
test edx, edx
jns 0x180063c8c
mov edx, dword [rdi + 0x3c]
dec edx
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 8]
cmp byte [rax + rcx*8 + 1], 0
lea rdx, [rax + rcx*8]
je 0x180063cb5
mov r9d, 0xfffffffa
mov r8, r10
mov rcx, rdi
call fcn.1800816e0
jmp 0x180063cc2
test r10, r10
je 0x180063cc2
mov qword [rdx + 0x10], r10
mov byte [rdx + 1], 0xfa
movsxd rcx, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
mov dword [rsp + 0x50], ecx
lea edx, [rcx + 1]
cmp dword [rax + 0x64], ecx
jg 0x180063cee
xor r9d, r9d
mov dword [rsp + 0x20], edx
mov r8d, edx
lea edx, [r9 + 0x12]
mov rcx, rdi
call fcn.1800296a0
jmp 0x180063d18
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rdi + 0x3c], eax
mov rax, qword [rdi + 8]
mov word [rax + rcx*8], 0x12
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], ebx
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rbx
mov rax, qword [rsp + 0x68]
mov r10, qword [rsi + 0x10]
mov r8d, dword [rax]
mov rax, qword [r10 + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov dword [rbp + 0x148], r8d
cmp dword [rax + 0x64], ecx
jg 0x180063d5c
mov r9d, dword [rbp - 0x44]
mov dword [rsp + 0x20], r8d
mov r8d, dword [rsp + 0x7c]
mov edx, 0x52
mov rcx, r10
call fcn.1800296a0
mov r8d, dword [rbp + 0x148]
jmp 0x180063d8f
mov edx, dword [rsp + 0x7c]
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [r10 + 0x3c], eax
mov rax, qword [r10 + 8]
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rbp - 0x44]
mov word [rax + rcx*8], 0x52
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], rbx
mov dword [rax + rcx*8 + 8], edx
cmp dword [rsp + 0x7c], 0
jle 0x180063df0
cmp byte [rsi + 0x25], 0
je 0x180063df0
mov edi, dword [rsp + 0x7c]
lea rcx, [rsi + 0x144]
lea r9, [rsi + 0x90]
nop
mov edx, dword [rcx + 0xc]
cmp edx, edi
jl 0x180063de1
lea eax, [r8 + rdi]
cmp edx, eax
jge 0x180063de1
cmp byte [rcx + 6], 0
je 0x180063ddb
movzx eax, byte [rsi + 0x1f]
cmp al, 8
jae 0x180063dd7
movzx eax, al
mov dword [rsi + rax*4 + 0x28], edx
inc byte [rsi + 0x1f]
mov byte [rcx + 6], 0
mov dword [rcx + 0xc], ebx
dec byte [rsi + 0x25]
cmp rcx, r9
je 0x180063dec
sub rcx, 0x14
jmp 0x180063db0
mov rdi, qword [rbp - 0x58]
mov rax, qword [rdi + 0x30]
movsxd rcx, dword [rdi + 0x3c]
mov r8d, dword [rbp + 0x130]
cmp dword [rax + 0x64], ecx
jg 0x180063e25
mov r9d, dword [rbp - 0x78]
inc r8d
mov edx, 0xe
mov rcx, rdi
mov dword [rsp + 0x20], ebx
call fcn.1800296a0
mov r8d, dword [rbp + 0x130]
jmp 0x180063e56
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
lea edx, [r8 + 1]
mov dword [rdi + 0x3c], eax
mov rax, qword [rdi + 8]
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rbp - 0x78]
mov word [rax + rcx*8], 0xe
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 0xc], ebx
mov qword [rax + rcx*8 + 0x10], rbx
mov dword [rax + rcx*8 + 8], edx
mov rax, qword [rdi + 0x30]
movsxd rcx, dword [rdi + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x180063e7b
mov r9d, dword [rsp + 0x78]
mov edx, 0x41
mov rcx, rdi
mov dword [rsp + 0x20], ebx
call fcn.1800296a0
jmp 0x180063eaa
mov edx, dword [rsp + 0x78]
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rdi + 0x3c], eax
mov rax, qword [rdi + 8]
mov word [rax + rcx*8], 0x41
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], ebx
mov qword [rax + rcx*8 + 0x10], rbx
mov rax, qword [rdi + 0x30]
movsxd rcx, dword [rdi + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x180063ed3
mov r9d, dword [rsp + 0x54]
mov r8d, dword [rbp - 0x48]
mov edx, 0xe
mov rcx, rdi
mov dword [rsp + 0x20], ebx
call fcn.1800296a0
jmp 0x180063f04
mov edx, dword [rbp - 0x48]
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rdi + 0x3c], eax
mov rax, qword [rdi + 8]
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0x54]
mov word [rax + rcx*8], 0xe
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 0xc], ebx
mov qword [rax + rcx*8 + 0x10], rbx
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
dec ecx
mov dword [rax + 0x6c], ecx
mov ecx, dword [rsp + 0x50]
mov edx, dword [rdi + 0x3c]
test ecx, ecx
jns 0x180063f1e
lea ecx, [rdx - 1]
mov rax, qword [rdi]
cmp byte [rax + 0x55], 0
je 0x180063f30
lea rax, [0x1800bf8b8]
jmp 0x180063f3f
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 8]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
lea rdx, [rbp + 0x10]
mov rcx, rsi
call fcn.180080370
mov rax, qword [rdi + 0x30]
movsxd rcx, dword [rdi + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x180063f76
mov r9d, dword [rbp - 0x4c]
mov edx, 0x4b
mov rcx, rdi
lea r8d, [rdx - 0x4a]
mov dword [rsp + 0x20], ebx
call fcn.1800296a0
jmp 0x180063fa7
mov edx, dword [rbp - 0x4c]
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rdi + 0x3c], eax
mov rax, qword [rdi + 8]
mov word [rax + rcx*8], 0x4b
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], 1
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], ebx
mov qword [rax + rcx*8 + 0x10], rbx
mov eax, dword [rbp - 0x38]
test eax, eax
je 0x180064009
mov rax, qword [rdi + 0x30]
movsxd rcx, dword [rdi + 0x3c]
mov edx, dword [rbp + 0x14]
cmp dword [rax + 0x64], ecx
jg 0x180063fd8
mov r9d, dword [rbp - 0x30]
mov r8d, edx
mov rcx, rdi
mov edx, 3
mov dword [rsp + 0x20], ebx
call fcn.1800296a0
jmp 0x180064047
mov r8d, dword [rbp - 0x30]
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rdi + 0x3c], eax
mov rax, qword [rdi + 8]
mov word [rax + rcx*8], 3
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], ebx
mov qword [rax + rcx*8 + 0x10], rbx
jmp 0x180064047
mov rcx, qword [rbp - 0x60]
call fcn.18007ca60
mov rcx, qword [rdi]
cmp byte [rcx + 0x55], 0
jne 0x180064047
movsxd rax, dword [rbp - 0x50]
lea rdx, [rax + rax*2]
mov rax, qword [rdi + 8]
mov r8, qword [rax + rdx*8 + 0x10]
lea rbx, [rax + rdx*8]
movsx edx, byte [rax + rdx*8 + 1]
call fcn.1800264a0
xor eax, eax
mov word [rbx], 0xa0
mov qword [rbx + 0x10], rax
xor ebx, ebx
mov rax, qword [rdi + 0x30]
movsxd rcx, dword [rdi + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x180064075
mov r8d, dword [rbp + 0x130]
mov r9d, dword [rbp - 0x78]
mov edx, 0xe
mov rcx, rdi
inc r8d
mov dword [rsp + 0x20], ebx
call fcn.1800296a0
jmp 0x1800640aa
mov edx, dword [rbp + 0x130]
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rdi + 0x3c], eax
mov rax, qword [rdi + 8]
inc edx
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rbp - 0x78]
mov word [rax + rcx*8], 0xe
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 0xc], ebx
mov qword [rax + rcx*8 + 0x10], rbx
mov dword [rax + rcx*8 + 8], edx
mov rax, qword [rdi + 0x30]
movsxd rcx, dword [rdi + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x1800640d1
mov r9d, dword [rsp + 0x78]
xor r8d, r8d
mov rcx, rdi
lea edx, [r8 + 0xd]
mov dword [rsp + 0x20], ebx
call fcn.1800296a0
jmp 0x1800640ff
mov edx, dword [rsp + 0x78]
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rdi + 0x3c], eax
mov rax, qword [rdi + 8]
mov word [rax + rcx*8], 0xd
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], ebx
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], ebx
mov qword [rax + rcx*8 + 0x10], rbx
movsxd rcx, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
mov dword [rbp - 0x50], ecx
cmp dword [rax + 0x64], ecx
jg 0x180064134
mov r9d, dword [rbp + 0x130]
mov edx, 0x4b
mov rcx, rdi
lea r8d, [rdx - 0x4a]
mov dword [rsp + 0x20], ebx
call fcn.1800296a0
mov r8d, dword [rbp + 0x130]
jmp 0x18006416a
mov r8d, dword [rbp + 0x130]
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rdi + 0x3c], eax
mov rax, qword [rdi + 8]
mov word [rax + rcx*8], 0x4b
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], 1
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], ebx
mov qword [rax + rcx*8 + 0x10], rbx
mov rax, qword [rdi + 0x30]
movsxd rcx, dword [rdi + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x18006418f
xor r9d, r9d
inc r8d
mov rcx, rdi
lea edx, [r9 + 0x47]
mov dword [rsp + 0x20], ebx
call fcn.1800296a0
jmp 0x1800641be
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
lea edx, [r8 + 1]
mov dword [rdi + 0x3c], eax
mov rax, qword [rdi + 8]
mov word [rax + rcx*8], 0x47
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], rbx
mov r9, qword [rdi + 0x30]
mov rcx, qword [r9 + 0x88]
test rcx, rcx
je 0x1800641e2
movsxd rax, dword [rbp - 0x78]
lea rax, [rax*4 + 4]
sub rcx, rax
mov eax, dword [rdi + 0x3c]
mov dword [rcx], eax
mov eax, dword [rdi + 0x3c]
dec eax
mov dword [r9 + 0x6c], eax
movsxd rcx, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
mov dword [rbp + 0x148], ecx
lea r9d, [rcx + 2]
cmp dword [rax + 0x64], ecx
jg 0x180064219
mov r8d, dword [rbp - 0x4c]
mov edx, 0x41
mov rcx, rdi
mov dword [rsp + 0x20], ebx
call fcn.1800296a0
jmp 0x180064247
mov edx, dword [rbp - 0x4c]
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rdi + 0x3c], eax
mov rax, qword [rdi + 8]
mov word [rax + rcx*8], 0x41
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], ebx
mov qword [rax + rcx*8 + 0x10], rbx
mov rax, qword [rdi + 0x30]
movsxd rcx, dword [rdi + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x180064273
mov r8d, dword [rbp + 0x130]
xor r9d, r9d
mov rcx, rdi
lea edx, [r9 + 0x47]
inc r8d
mov dword [rsp + 0x20], ebx
call fcn.1800296a0
jmp 0x1800642a6
mov edx, dword [rbp + 0x130]
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rdi + 0x3c], eax
mov rax, qword [rdi + 8]
inc edx
mov word [rax + rcx*8], 0x47
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], rbx
lea rdx, [rbp + 0x10]
mov rcx, rsi
call fcn.180023020
mov ebx, dword [rbp + 0x148]
mov rdx, qword [rbp + 0x80]
inc ebx
mov r9d, 0x10
mov rcx, rsi
mov r8d, ebx
call fcn.18004c2d0
mov eax, dword [rbp - 0x50]
or r9d, 0xffffffff
mov dword [rsp + 0x40], eax
mov rax, qword [rbp + 0x140]
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x18]
mov rcx, rsi
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x58]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x138]
mov r8, qword [rax]
mov rdx, rax
call fcn.1800392b0
mov rax, qword [rdi + 0x30]
movsxd rcx, dword [rdi + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x180064341
mov r8d, dword [rbp + 0x130]
xor ebx, ebx
xor r9d, r9d
lea edx, [rbx + 0x47]
inc r8d
mov rcx, rdi
mov dword [rsp + 0x20], ebx
call fcn.1800296a0
jmp 0x180064372
mov edx, dword [rbp + 0x130]
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rdi + 0x3c], eax
mov rax, qword [rdi + 8]
inc edx
xor ebx, ebx
mov word [rax + rcx*8], 0x47
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], rbx
mov qword [rax + rcx*8 + 0x10], rbx
mov r9, qword [rdi + 0x30]
mov rcx, qword [r9 + 0x88]
test rcx, rcx
je 0x180064397
movsxd rax, dword [rsp + 0x54]
lea rax, [rax*4 + 4]
sub rcx, rax
mov eax, dword [rdi + 0x3c]
mov dword [rcx], eax
mov eax, dword [rdi + 0x3c]
lea rdx, [rbp + 0x10]
mov rcx, rsi
dec eax
mov dword [r9 + 0x6c], eax
call fcn.180035de0
mov rax, qword [rdi + 0x30]
movsxd rcx, dword [rdi + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x1800643dc
mov r8d, dword [rbp - 0x48]
xor r9d, r9d
mov rcx, rdi
lea edx, [r9 + 0x47]
mov dword [rsp + 0x20], ebx
call fcn.1800296a0
mov rbx, qword [rbp + 0x138]
jmp 0x180064930
mov edx, dword [rbp - 0x48]
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rdi + 0x3c], eax
mov rax, qword [rdi + 8]
mov qword [rax + rcx*8 + 0x10], rbx
mov rbx, qword [rbp + 0x138]
mov word [rax + rcx*8], 0x47
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
jmp 0x180064930
mov r8, qword [rbp + 0x138]
mov qword [rbp - 0x20], rbx
cmp qword [r8 + 0x28], 0
jne 0x18006479c
mov rax, qword [r8]
cmp dword [rax], 1
jne 0x18006479c
mov r9, qword [r8 + 0x20]
cmp dword [r9], 1
jne 0x18006479c
cmp qword [r9 + 0x30], 0
jne 0x18006479c
mov r9, qword [r9 + 0x28]
mov rax, qword [rax + 8]
test byte [r9 + 0x46], 0x10
mov rdx, qword [rax]
mov qword [rbp - 0x60], r9
jne 0x18006479c
cmp byte [rdx], 0x99
jne 0x18006479c
test r10d, r10d
je 0x18006479c
mov rax, qword [rbp + 0x40]
mov rcx, qword [rax + 8]
mov eax, 0x100
test word [rcx + 2], ax
je 0x18006479c
test byte [rdx + 4], 0x10
jne 0x18006479c
mov r8, qword [r9 + 0x68]
mov rax, qword [rsi]
mov edx, 0xfff0bdc0
mov dword [rbp + 0x130], edx
test r8, r8
je 0x1800644ea
movsxd r10, dword [rax + 0x28]
mov edx, ebx
mov dword [rbp + 0x130], ebx
test r10d, r10d
jle 0x1800644ea
mov rax, qword [rax + 0x20]
mov rcx, rbx
add rax, 0x18
cmp qword [rax], r8
je 0x1800644e4
inc rcx
inc edx
add rax, 0x20
cmp rcx, r10
jl 0x1800644d1
mov dword [rbp + 0x130], edx
mov eax, dword [rsi + 0x54]
mov rcx, rsi
mov qword [rbp - 0x68], rbx
mov dword [rbp + 0x148], eax
inc eax
mov qword [rbp - 0x58], rbx
mov dword [rsi + 0x54], eax
mov eax, dword [r9 + 0x38]
mov dword [rsp + 0x50], eax
call fcn.180043810
mov rdx, qword [rbp - 0x60]
mov rax, qword [rdx]
mov r8d, dword [rdx + 0x38]
mov edx, dword [rbp + 0x130]
xor r9d, r9d
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.180066c20
mov r8, qword [rbp - 0x60]
test byte [r8 + 0x46], 0x20
je 0x180064568
mov rcx, qword [r8 + 0x10]
mov qword [rbp - 0x58], rcx
test rcx, rcx
je 0x18006456b
nop dword [rax]
mov eax, dword [rcx + 0x64]
and al, 3
cmp al, 2
je 0x180064562
mov rcx, qword [rcx + 0x28]
test rcx, rcx
jne 0x180064550
mov qword [rbp - 0x58], rcx
jmp 0x18006456b
mov rcx, rbx
mov rax, qword [r8 + 0x10]
test rax, rax
je 0x1800645a7
test byte [rax + 0x64], 4
jne 0x18006459a
movzx edx, word [rax + 0x5c]
cmp dx, word [r8 + 0x44]
jge 0x18006459a
cmp qword [rax + 0x48], 0
jne 0x18006459a
test rcx, rcx
je 0x180064597
cmp dx, word [rcx + 0x5c]
jge 0x18006459a
mov rcx, rax
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x180064574
mov qword [rbp - 0x58], rcx
test rcx, rcx
je 0x1800645c2
mov eax, dword [rcx + 0x58]
mov rdx, rcx
mov rcx, rsi
mov dword [rsp + 0x50], eax
call fcn.180055e10
mov qword [rbp - 0x68], rax
mov rcx, qword [rdi + 0x30]
movsxd rdx, dword [rdi + 0x3c]
mov r8d, dword [rbp + 0x148]
cmp dword [rcx + 0x64], edx
jg 0x1800645f6
mov eax, dword [rbp + 0x130]
mov r9d, dword [rsp + 0x50]
mov edx, 0x67
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.1800296a0
mov edx, eax
jmp 0x18006462f
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rdi + 0x3c], eax
mov rax, qword [rdi + 8]
mov dword [rax + rcx*8 + 4], r8d
mov r8d, dword [rsp + 0x50]
mov word [rax + rcx*8], 0x67
mov dword [rax + rcx*8 + 8], r8d
mov r8d, dword [rbp + 0x130]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], rbx
mov rcx, qword [rdi]
cmp byte [rcx + 0x55], 0
je 0x180064648
mov edx, 0xfffffff2
lea r8d, [rdx + 0xf]
call fcn.1800264a0
jmp 0x180064686
test edx, edx
jns 0x180064651
mov edx, dword [rdi + 0x3c]
dec edx
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 8]
cmp byte [rax + rcx*8 + 1], 0
lea rdx, [rax + rcx*8]
je 0x18006467b
mov r9d, 0xfffffff2
mov rcx, rdi
lea r8d, [r9 + 0xf]
call fcn.1800816e0
jmp 0x180064686
mov dword [rdx + 0x10], 1
mov byte [rdx + 1], 0xf2
mov r8, qword [rbp - 0x68]
test r8, r8
je 0x1800646d6
mov rcx, qword [rdi]
cmp byte [rcx + 0x55], 0
je 0x1800646a4
mov edx, 0xfffffffa
call fcn.1800264a0
jmp 0x1800646d6
mov eax, dword [rdi + 0x3c]
dec eax
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 8]
cmp byte [rax + rcx*8 + 1], 0
lea rdx, [rax + rcx*8]
je 0x1800646ce
mov r9d, 0xfffffffa
mov rcx, rdi
call fcn.1800816e0
jmp 0x1800646d6
mov qword [rdx + 0x10], r8
mov byte [rdx + 1], 0xfa
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rdi + 0x3c]
mov r8d, dword [rbp + 0x148]
mov edx, dword [rax + 0x10]
mov rax, qword [rdi + 0x30]
cmp dword [rax + 0x64], ecx
jg 0x18006470e
mov r9d, edx
mov rcx, rdi
mov edx, 0x63
mov dword [rsp + 0x20], ebx
call fcn.1800296a0
mov r8d, dword [rbp + 0x148]
jmp 0x180064739
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rdi + 0x3c], eax
mov rax, qword [rdi + 8]
mov word [rax + rcx*8], 0x63
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], ebx
mov qword [rax + rcx*8 + 0x10], rbx
mov rax, qword [rdi + 0x30]
movsxd rcx, dword [rdi + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x18006475b
xor r9d, r9d
mov rcx, rdi
mov dword [rsp + 0x20], ebx
lea edx, [r9 + 0x6e]
call fcn.1800296a0
jmp 0x180064787
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rdi + 0x3c], eax
mov rax, qword [rdi + 8]
mov word [rax + rcx*8], 0x6e
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r8d
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], rbx
mov r8, qword [rbp - 0x58]
mov rdx, qword [rbp - 0x60]
mov rcx, rsi
call fcn.180020500
jmp 0x1800648c1
cmp qword [r8 + 0x38], 0
mov qword [rbp - 0x60], rbx
mov qword [rbp + 0x148], rbx
mov byte [rbp + 0x130], 0
jne 0x18006481e
lea rdx, [rbp + 0x148]
lea rcx, [rbp + 0x10]
call fcn.18002c540
mov byte [rbp + 0x130], al
test al, al
je 0x180064813
mov rdx, qword [rbp + 0x148]
mov rcx, qword [rsp + 0x60]
xor r8d, r8d
call fcn.18004cf50
mov rcx, qword [rsp + 0x60]
cmp byte [rcx + 0x55], 0
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x20], rax
jne 0x18006481e
mov rcx, qword [rax + 8]
cmp byte [rbp + 0x130], 1
setne dl
mov byte [rcx + 0x18], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rcx]
mov byte [rdx], 0x98
jmp 0x18006481e
mov rax, qword [rbp + 0x148]
mov qword [rbp - 0x60], rax
lea rdx, [rbp + 0x10]
mov rcx, rsi
call fcn.180035de0
movzx eax, byte [rbp + 0x130]
mov r9, qword [rbp - 0x60]
mov r8, qword [rbp - 0x38]
mov rdx, qword [rsp + 0x70]
mov dword [rsp + 0x30], ebx
mov word [rsp + 0x28], ax
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call fcn.180079f10
mov qword [rbp + 0x130], rax
test rax, rax
jne 0x180064882
mov rax, qword [rbp - 0x20]
mov rdi, qword [rsp + 0x60]
test rax, rax
je 0x180064a03
mov rdx, rax
mov rcx, rdi
call fcn.1800220e0
jmp 0x180064a03
lea rdx, [rbp + 0x10]
mov rcx, rsi
call fcn.180080370
mov rax, qword [rbp + 0x130]
cmp byte [rax + 0x36], 0
jle 0x1800648ad
mov edx, dword [rax + 0x48]
mov rcx, rdi
call fcn.180073560
mov rax, qword [rbp + 0x130]
mov rcx, rax
call fcn.18007ca60
lea rdx, [rbp + 0x10]
mov rcx, rsi
call fcn.180023020
mov r8d, dword [rsp + 0x78]
mov rdx, qword [rbp + 0x80]
mov r9d, 0x10
mov rcx, rsi
mov qword [rbp + 0x58], rbx
call fcn.18004c2d0
mov eax, dword [rsp + 0x78]
or r9d, 0xffffffff
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], eax
mov rax, qword [rbp + 0x140]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
mov rbx, qword [rbp + 0x138]
mov rcx, rsi
mov r8, qword [rbx]
mov rdx, rbx
call fcn.1800392b0
mov rax, qword [rbp - 0x20]
test rax, rax
je 0x180064930
mov rcx, qword [rsp + 0x60]
mov rdx, rax
call fcn.1800220e0
mov r8, qword [rdi + 0x30]
mov rcx, qword [r8 + 0x88]
test rcx, rcx
je 0x180064955
movsxd rax, dword [rsp + 0x78]
lea rax, [rax*4 + 4]
sub rcx, rax
mov eax, dword [rdi + 0x3c]
mov dword [rcx], eax
mov eax, dword [rdi + 0x3c]
dec eax
mov dword [r8 + 0x6c], eax
cmp byte [rsp + 0x58], 3
jne 0x180064974
lea rdx, str.DISTINCT
mov rcx, rsi
call fcn.180020650
cmp qword [rbp + 0x58], 0
je 0x1800649bb
cmp dword [rbp + 0x60], 0
lea rax, str.RIGHT_PART_OF_ORDER_BY
lea rdx, str.ORDER_BY
cmovg rdx, rax
mov rcx, rsi
call fcn.180020650
mov rax, qword [rbp + 0x140]
lea r8, [rbp + 0x58]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp - 0x40]
mov rdx, rbx
mov r9d, dword [rax]
mov rcx, rsi
call fcn.180027ce0
mov rdx, qword [rdi + 0x30]
mov rcx, qword [rdx + 0x88]
test rcx, rcx
je 0x1800649df
movsxd rax, dword [rbp - 0x28]
lea rax, [rax*4 + 4]
sub rcx, rax
mov eax, dword [rdi + 0x3c]
mov dword [rcx], eax
mov eax, dword [rdi + 0x3c]
dec eax
mov dword [rdx + 0x6c], eax
cmp dword [rsi + 0x50], 0
mov eax, 0
setg al
mov dword [rbp + 0x88], eax
mov rdi, qword [rsp + 0x60]
jmp 0x180064a03
mov rdi, rax
mov r9, qword [rsp + 0x70]
cmp dword [rbp + 0x88], 0
mov ecx, dword [rbp]
mov dword [rsi + 0x204], ecx
jne 0x180064a35
mov rax, qword [rbp + 0x140]
cmp byte [rax], 9
jne 0x180064a35
mov r8, qword [rbp - 0x40]
mov rdx, r9
mov rcx, rsi
call fcn.180026e90
mov rbx, qword [rbp + 0x30]
test rbx, rbx
je 0x180064ae2
cmp qword [rdi + 0x298], 0
je 0x180064a5c
mov rdx, rbx
mov rcx, rdi
call fcn.18002c290
jmp 0x180064ae2
cmp rbx, qword [rdi + 0x180]
jb 0x180064a87
cmp rbx, qword [rdi + 0x188]
jae 0x180064a87
mov rax, qword [rdi + 0x178]
mov qword [rbx], rax
dec dword [rdi + 0x160]
mov qword [rdi + 0x178], rbx
jmp 0x180064ae2
cmp dword [0x1800bce70], 0
je 0x180064ad9
mov rcx, qword [0x1800bf700]
test rcx, rcx
je 0x180064aa2
call qword [0x1800bcef8]
mov rcx, rbx
call qword [0x1800bceb0]
dec qword [0x1800bf788]
mov rcx, rbx
movsxd rdx, eax
sub qword [0x1800bf740], rdx
call qword [0x1800bcea0]
mov rcx, qword [0x1800bf700]
test rcx, rcx
je 0x180064ae2
call qword [0x1800bcf08]
jmp 0x180064ae2
mov rcx, rbx
call qword [0x1800bcea0]
mov rdx, qword [rbp + 0x40]
mov rbx, rdx
test rdx, rdx
je 0x180064bc1
cmp qword [rdi + 0x298], 0
je 0x180064b16
mov rcx, rdi
call fcn.18002c290
mov eax, dword [rbp + 0x88]
add rsp, 0x208
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rdx, qword [rbp + 0x40]
cmp rdx, qword [rdi + 0x180]
jb 0x180064b55
cmp rdx, qword [rdi + 0x188]
jae 0x180064b55
mov rax, qword [rdi + 0x178]
mov qword [rdx], rax
dec dword [rdi + 0x160]
mov eax, dword [rbp + 0x88]
mov qword [rdi + 0x178], rdx
add rsp, 0x208
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp dword [0x1800bce70], 0
je 0x180064bb7
mov rcx, qword [0x1800bf700]
test rcx, rcx
je 0x180064b70
call qword [0x1800bcef8]
mov rcx, rbx
call qword [0x1800bceb0]
dec qword [0x1800bf788]
mov rcx, rbx
movsxd rdx, eax
sub qword [0x1800bf740], rdx
call qword [0x1800bcea0]
mov rcx, qword [0x1800bf700]
test rcx, rcx
je 0x180064bc1
call qword [0x1800bcf08]
mov eax, dword [rbp + 0x88]
add rsp, 0x208
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, qword [rbp + 0x40]
call qword [0x1800bcea0]
mov eax, dword [rbp + 0x88]
add rsp, 0x208
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov eax, ecx
add rsp, 0x208
pop rdi
pop rsi
pop rbx
pop rbp
ret