Function at 0x646fc0
Capabilities:
Reference sql statements

Disassembly:
lea r12, [rsp - 0x160]
cmp r12, qword [r14 + 0x10]
jbe 0x647e0e
sub rsp, 0x1e0
mov qword [rsp + 0x1d8], rbp
lea rbp, [rsp + 0x1d8]
mov qword [rsp + 0x1f0], rbx
mov qword [rsp + 0x220], r10
mov qword [rsp + 0x228], r11
mov qword [rsp + 0x210], r8
mov qword [rsp + 0x208], rsi
mov qword [rsp + 0x1f8], rcx
cmp qword [rax + 0x20], 0
nop
jne 0x6470bb
lea rdx, [rcx + r8]
cmp rdi, rdx
jae 0x647068
mov rax, rbx
mov rbx, rdx
mov rcx, rdi
mov rdi, r8
lea rsi, [0x00a16ae0]
call fcn.0044c700
mov rsi, qword [rsp + 0x208]
mov r8, qword [rsp + 0x210]
mov rdx, rbx
mov rdi, rcx
mov rcx, qword [rsp + 0x1f8]
mov rbx, rax
mov qword [rsp + 0x160], rdx
mov qword [rsp + 0x1d0], rbx
mov qword [rsp + 0x158], rdi
lea rax, [rcx + rbx]
mov rcx, r8
mov rbx, rsi
call fcn.004692c0
mov rax, qword [rsp + 0x1d0]
mov rbx, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x158]
xor edi, edi
xor esi, esi
mov rbp, qword [rsp + 0x1d8]
add rsp, 0x1e0
ret
mov qword [rsp + 0x1f0], rbx
mov qword [rsp + 0x218], r9
mov qword [rsp + 0x228], r11
mov qword [rsp + 0x220], r10
mov qword [rsp + 0x1e8], rax
mov qword [rsp + 0x200], rdi
call fcn.00646360
test rax, rax
jg 0x647128
mov rbx, qword [rsp + 0x1e8]
mov r9d, 8
mov rdi, qword [rsp + 0x200]
mov rax, qword [rsp + 0x1f8]
mov rsi, qword [rsp + 0x1f0]
xor r10d, r10d
xor r8d, r8d
xor ecx, ecx
jmp 0x6472fc
mov qword [rsp + 0x118], rax
nop
mov rcx, qword [rsp + 0x1f8]
lea rbx, [rcx + rax]
mov qword [rsp + 0xa0], rbx
mov rdx, qword [rsp + 0x200]
cmp rdx, rbx
jl 0x647162
jb 0x647e05
mov rsi, qword [rsp + 0x1f0]
jmp 0x647194
lea rax, [0x00a16ae0]
mov rdi, qword [rsp + 0x1f0]
call fcn.0044c4c0
mov rcx, qword [rsp + 0x1f8]
mov rbx, qword [rsp + 0xa0]
mov rdx, rbx
mov rsi, rax
mov rax, qword [rsp + 0x118]
cmp rcx, rbx
ja 0x647dfa
mov qword [rsp + 0x110], rdx
mov qword [rsp + 0x198], rsi
mov rdx, qword [rsp + 0x1e8]
mov rbx, qword [rdx + 0x20]
mov rcx, qword [rdx + 0x28]
lea rax, [0x00a4d2e0]
call fcn.0040cb40
mov rsi, qword [rsp + 0x110]
mov rdx, qword [rsp + 0x1f8]
mov rdi, rsi
sub rsi, rdx
mov qword [rsp + 0x128], rsi
mov r8, rsi
neg rsi
sar rsi, 0x3f
and rdx, rsi
mov rsi, qword [rsp + 0x198]
lea rcx, [rsi + rdx]
mov qword [rsp + 0x1a0], rcx
test rax, rax
jne 0x64728f
mov rdx, qword [rsp + 0x118]
cmp rdx, 0x10
jge 0x647297
cmp rdx, 8
mov r9d, 8
mov r10, rdx
cmovg rdx, r9
mov rbx, qword [rsp + 0x1e8]
lea r11, [rbx + 0x40]
nop dword [rax]
cmp r11, rcx
je 0x6472f4
mov rax, rcx
mov rbx, r11
mov rcx, rdx
call fcn.004692c0
mov rcx, qword [rsp + 0x1a0]
mov rbx, qword [rsp + 0x1e8]
mov rsi, qword [rsp + 0x198]
mov rdi, qword [rsp + 0x110]
mov r8, qword [rsp + 0x128]
mov r9d, 8
mov r10, qword [rsp + 0x118]
jmp 0x6472f4
mov rdx, qword [rsp + 0x118]
mov rax, qword [rsp + 0x220]
mov rbx, qword [rsp + 0x228]
mov rdi, rdx
mov rsi, r8
mov r8, rdi
call fcn.004b19a0
test rbx, rbx
jne 0x647bf5
mov rcx, qword [rsp + 0x1a0]
mov rbx, qword [rsp + 0x1e8]
mov rsi, qword [rsp + 0x198]
mov rdi, qword [rsp + 0x110]
mov r8, qword [rsp + 0x128]
mov r9d, 8
mov r10, qword [rsp + 0x118]
mov rax, qword [rsp + 0xa0]
mov rdx, qword [rbx + 0x20]
mov r11, qword [rbx + 0x28]
test rdx, rdx
je 0x647d74
mov qword [rsp + 0x1b0], r11
mov qword [rsp + 0x138], rdx
mov qword [rsp + 0x1a0], rcx
mov qword [rsp + 0x128], r8
mov qword [rsp + 0x120], r10
mov qword [rsp + 0xf8], rdi
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0x180], rsi
lea rax, [0x00a43ec0]
mov rbx, rdx
mov rcx, r11
call fcn.0040cb40
nop
test rax, rax
je 0x6475c9
mov rdx, qword [rsp + 0xf8]
cmp rdx, 5
jb 0x647df0
mov qword [rsp + 0x150], rax
mov qword [rsp + 0x1c8], rbx
mov rcx, qword [rsp + 0x1e8]
mov rax, qword [rcx + 0x30]
mov rbx, qword [rcx + 0x38]
mov r11, qword [rsp + 0x180]
mov qword [rsp], r11
mov qword [rsp + 8], 5
mov qword [rsp + 0x10], rdx
mov r12, qword [rsp + 0x208]
mov qword [rsp + 0x18], r12
mov r13, qword [rsp + 0x210]
mov qword [rsp + 0x20], r13
mov r15, qword [rsp + 0x218]
mov qword [rsp + 0x28], r15
movups xmmword [rsp + 0x30], xmm15
mov qword [rsp + 0x40], 0
lea r12, [rcx + 0x48]
lea r8, [rcx + 0x40]
xor edi, edi
mov r9d, 8
mov r10, r9
mov rcx, r12
mov esi, 0xd
call fcn.00643ac0
mov qword [rsp + 0x178], rax
mov qword [rsp + 0xe0], rbx
mov qword [rsp + 0xe8], rcx
mov r8, qword [rsp + 0x210]
lea rdx, [rbx + r8]
mov qword [rsp + 0xd0], rdx
mov r11, qword [rsp + 0xf0]
lea r12, [r11 + rdx]
mov qword [rsp + 0x98], r12
mov r13, qword [rsp + 0xf8]
cmp r13, r12
jl 0x647468
jb 0x647de5
mov rsi, qword [rsp + 0x180]
jmp 0x6474c3
lea rax, [0x00a16ae0]
mov rbx, r12
mov rcx, r11
mov rdi, qword [rsp + 0x180]
nop dword [rax]
call fcn.0044c4c0
mov rcx, qword [rsp + 0xe8]
mov rdx, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xe0]
mov r8, qword [rsp + 0x210]
mov r11, qword [rsp + 0xf0]
mov r12, qword [rsp + 0x98]
mov r13, r12
mov rsi, rax
mov rax, qword [rsp + 0x178]
cmp r11, r12
ja 0x647dd6
mov rdi, r13
sub rdi, r11
mov r10, rdi
neg rdi
sar rdi, 0x3f
and r11, rdi
add r11, rsi
cmp r8, r10
ja 0x647dcb
mov qword [rsp + 0x160], r10
mov qword [rsp + 0x1a8], r11
mov qword [rsp + 0x108], r13
mov qword [rsp + 0x190], rsi
mov rdx, qword [rsp + 0x150]
mov r12, qword [rdx + 0x18]
mov rax, qword [rsp + 0x1c8]
mov rbx, r11
mov rcx, r8
mov rdi, r10
mov rsi, qword [rsp + 0x208]
mov r9, qword [rsp + 0x218]
call r12
mov rax, qword [rsp + 0x210]
mov rcx, qword [rsp + 0xd0]
cmp rax, rcx
ja 0x647dc6
mov rdx, qword [rsp + 0x150]
mov rdx, qword [rdx + 0x18]
mov rdi, qword [rsp + 0x160]
sub rdi, rax
mov r10, rdi
neg rdi
sar rdi, 0x3f
and rdi, rax
mov r11, qword [rsp + 0x1a8]
lea rbx, [r11 + rdi]
mov rax, qword [rsp + 0x1c8]
mov rcx, qword [rsp + 0xe0]
mov rdi, r10
mov rsi, qword [rsp + 0x178]
mov r8, rcx
mov r9, qword [rsp + 0xe8]
call rdx
mov rbx, qword [rsp + 0x98]
mov rax, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x108]
jmp 0x647cb1
lea rax, [0x00a58300]
mov rbx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x1b0]
call fcn.0040cb40
test rax, rax
je 0x6478ce
mov r10, qword [rsp + 0x120]
test r10, r10
jne 0x647614
mov rcx, qword [rsp + 0x1e8]
lea r11, [rcx + 0x40]
mov r10d, 8
mov edx, 8
jmp 0x64762c
mov rcx, qword [rsp + 0x1e8]
mov rdx, qword [rsp + 0x128]
mov r11, qword [rsp + 0x1a0]
cmp word [rcx + 0x18], 0x304
jne 0x647836
mov qword [rsp + 0x1c0], rbx
mov qword [rsp + 0xb8], r10
mov qword [rsp + 0x168], r11
mov qword [rsp + 0xc0], rdx
mov qword [rsp + 0x148], rax
mov r8, qword [rsp + 0xf0]
mov rdi, qword [rsp + 0x210]
lea r9, [rdi + r8]
mov r12, qword [rsp + 0xf8]
nop dword [rax]
cmp r12, r9
jb 0x64768f
mov rsi, qword [rsp + 0x180]
jmp 0x6476c2
mov rax, qword [rsp + 0x180]
mov rbx, r9
mov rcx, r12
lea rsi, [0x00a16ae0]
call fcn.0044c700
mov rdi, qword [rsp + 0x210]
mov r8, qword [rsp + 0xf0]
mov rsi, rax
mov r12, rcx
mov r9, rbx
mov qword [rsp + 0x160], r12
mov qword [rsp + 0x158], r9
mov qword [rsp + 0x1d0], rsi
lea rax, [rsi + r8]
mov rbx, qword [rsp + 0x208]
mov rcx, rdi
call fcn.004692c0
mov rbx, qword [rsp + 0x158]
test rbx, rbx
jbe 0x647dbc
inc rbx
mov rax, qword [rsp + 0x1d0]
movzx edx, byte [rax]
mov rcx, qword [rsp + 0x160]
cmp rcx, rbx
jae 0x64773a
mov byte [rsp + 0x8f], dl
mov edi, 1
lea rsi, [0x00a16ae0]
call fcn.0044c700
movzx edx, byte [rsp + 0x8f]
mov byte [rbx + rax - 1], dl
nop
test rbx, rbx
jbe 0x647db2
mov qword [rsp + 0x1d0], rax
mov qword [rsp + 0x160], rbx
mov qword [rsp + 0x158], rcx
mov byte [rax], 0x17
mov rcx, qword [rsp + 0x148]
mov rdx, qword [rcx + 0x28]
mov rax, qword [rsp + 0x1c0]
call rdx
lea rcx, [rax + 1]
mov rdx, qword [rsp + 0x210]
add rcx, rdx
mov rdx, qword [rsp + 0x160]
cmp rdx, 3
jbe 0x647da5
mov r10, rcx
sar rcx, 8
mov rbx, qword [rsp + 0x1d0]
mov byte [rbx + 3], cl
cmp rdx, 4
jbe 0x647d94
mov byte [rbx + 4], r10b
mov r10, qword [rsp + 0x148]
mov r10, qword [r10 + 0x30]
mov rdi, qword [rsp + 0x158]
lea r11, [rdi - 5]
mov r12, r11
neg r11
sar r11, 0x3f
and r11d, 5
add r11, rbx
mov qword [rsp], r11
add rdx, 0xfffffffffffffffb
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], r12
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], 5
mov qword [rsp + 0x28], rdi
mov rax, qword [rsp + 0x1c0]
mov ecx, 5
mov rsi, qword [rsp + 0x168]
mov r8, qword [rsp + 0xb8]
mov r9, qword [rsp + 0xc0]
call r10
jmp 0x647cb1
mov r12, qword [rcx + 0x40]
mov qword [rcx + 0x48], r12
mov rdi, qword [rsp + 0xf8]
cmp rdi, 5
jb 0x647d87
mov r12, qword [rsp + 0x180]
mov r13d, dword [r12]
movzx r15d, byte [r12 + 4]
mov dword [rcx + 0x50], r13d
mov byte [rcx + 0x54], r15b
mov r13, qword [rax + 0x30]
mov r15, qword [rsp + 0x208]
mov qword [rsp], r15
mov r15, qword [rsp + 0x210]
mov qword [rsp + 8], r15
mov r15, qword [rsp + 0x218]
mov qword [rsp + 0x10], r15
lea r15, [rcx + 0x48]
mov qword [rsp + 0x18], r15
mov qword [rsp + 0x20], 0xd
mov qword [rsp + 0x28], 0xd
mov rax, rbx
mov rbx, r12
mov rsi, r11
mov r8, r10
mov r9, rdx
mov rcx, qword [rsp + 0xf0]
call r13
jmp 0x647cb1
lea rax, [0x00a4d2e0]
mov rbx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x1b0]
call fcn.0040cb40
test rax, rax
je 0x647d74
mov rdx, qword [rsp + 0xf8]
nop dword [rax + rax]
cmp rdx, 5
jb 0x647d6a
mov qword [rsp + 0x1b8], rbx
mov qword [rsp + 0x140], rax
mov rcx, qword [rsp + 0x1e8]
mov rax, qword [rcx + 0x30]
mov rbx, qword [rcx + 0x38]
mov r11, qword [rsp + 0x180]
mov qword [rsp], r11
mov qword [rsp + 8], 5
mov qword [rsp + 0x10], rdx
mov r12, qword [rsp + 0x208]
mov qword [rsp + 0x18], r12
mov r13, qword [rsp + 0x210]
mov qword [rsp + 0x20], r13
mov r15, qword [rsp + 0x218]
mov qword [rsp + 0x28], r15
movups xmmword [rsp + 0x30], xmm15
mov qword [rsp + 0x40], 0
lea r15, [rcx + 0x48]
lea r8, [rcx + 0x40]
xor edi, edi
mov esi, 0xd
mov r9d, 8
mov r10, r9
mov rcx, r15
call fcn.00643ac0
mov qword [rsp + 0x170], rax
mov qword [rsp + 0xd8], rbx
mov rdx, qword [rsp + 0x140]
mov r11, qword [rdx + 0x18]
mov rax, qword [rsp + 0x1b8]
nop
call r11
mov rdx, qword [rsp + 0x210]
mov r11, qword [rsp + 0xd8]
lea r12, [r11 + rdx]
nop word [rax + rax]
test rax, rax
je 0x647d65
mov qword [rsp + 0xa8], r12
mov rcx, rax
mov rax, r12
mov rbx, rdx
nop word [rax + rax]
cmp rcx, 0xffffffffffffffff
je 0x647a0d
cqo
idiv rcx
jmp 0x647a12
neg rax
xor edx, edx
sub rcx, rdx
mov qword [rsp + 0xb0], rcx
lea r8, [r12 + rcx]
mov qword [rsp + 0xc8], r8
mov rax, qword [rsp + 0xf0]
lea r10, [r8 + rax]
mov qword [rsp + 0x90], r10
mov rdx, qword [rsp + 0xf8]
cmp rdx, r10
jl 0x647a5a
jb 0x647d5d
mov rsi, qword [rsp + 0x180]
jmp 0x647ab2
mov rbx, r10
mov rcx, rax
mov rdi, qword [rsp + 0x180]
lea rax, [0x00a16ae0]
call fcn.0044c4c0
mov rcx, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0x210]
mov r8, qword [rsp + 0xc8]
mov r10, qword [rsp + 0x90]
mov r11, qword [rsp + 0xd8]
mov r12, qword [rsp + 0xa8]
mov rdx, r10
mov rsi, rax
mov rax, qword [rsp + 0xf0]
cmp rax, r10
ja 0x647d55
mov qword [rsp + 0x188], rsi
mov qword [rsp + 0x100], rdx
cmp rbx, r8
mov r13, r8
cmovl r8, rbx
mov r9, rdx
sub r9, rax
mov qword [rsp + 0x130], r9
mov rdi, r9
neg r9
sar r9, 0x3f
and r9, rax
lea rax, [rsi + r9]
mov qword [rsp + 0x1a8], rax
mov r15, qword [rsp + 0x208]
cmp r15, rax
jne 0x647b0e
cmp rbx, r13
jmp 0x647b77
mov rbx, r15
mov rcx, r8
call fcn.004692c0
mov rax, qword [rsp + 0x210]
mov rcx, qword [rsp + 0xc8]
cmp rax, rcx
mov rcx, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0x100]
mov rbx, rax
mov rsi, qword [rsp + 0x188]
mov rdi, qword [rsp + 0x130]
mov r10, qword [rsp + 0x90]
mov r11, qword [rsp + 0xd8]
mov r12, qword [rsp + 0xa8]
mov r13, qword [rsp + 0xc8]
mov rax, qword [rsp + 0x1a8]
ja 0x647d4a
mov r8, r13
sub r13, rbx
cmp r11, r13
cmovl r13, r11
mov r11, rbx
sub rbx, rdi
sar rbx, 0x3f
and rbx, r11
lea r11, [rax + rbx]
mov rbx, qword [rsp + 0x170]
cmp rbx, r11
je 0x647c20
mov rax, r11
mov rcx, r13
call fcn.004692c0
mov rax, qword [rsp + 0x1a8]
mov rcx, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0x100]
mov rsi, qword [rsp + 0x188]
mov rdi, qword [rsp + 0x130]
mov r8, qword [rsp + 0xc8]
mov r10, qword [rsp + 0x90]
mov r12, qword [rsp + 0xa8]
jmp 0x647c20
xor eax, eax
mov rdi, rbx
mov rsi, rcx
xor ebx, ebx
mov rcx, rbx
mov rbp, qword [rsp + 0x1d8]
add rsp, 0x1e0
ret
lea r11, [rcx - 1]
mov byte [rax + r12], r11b
inc r12
nop dword [rax]
cmp r12, r8
jge 0x647c2c
jb 0x647c12
jmp 0x647d3f
mov rcx, qword [rsp + 0x120]
test rcx, rcx
je 0x647c77
mov rdx, qword [rsp + 0x140]
mov rsi, qword [rdx + 0x28]
mov rax, qword [rsp + 0x1b8]
mov rbx, qword [rsp + 0x1a0]
mov rdi, qword [rsp + 0x128]
call rsi
mov rax, qword [rsp + 0x1a8]
mov rdi, qword [rsp + 0x130]
mov r8, qword [rsp + 0xc8]
mov rdx, qword [rsp + 0x140]
mov rdx, qword [rdx + 0x20]
mov rbx, rax
mov rcx, r8
mov rsi, rbx
mov r9, rdi
mov rax, qword [rsp + 0x1b8]
call rdx
mov rbx, qword [rsp + 0x90]
mov rax, qword [rsp + 0x188]
mov rcx, qword [rsp + 0x100]
cmp rbx, 3
jbe 0x647d32
lea rdx, [rbx - 5]
mov r8, rdx
sar rdx, 8
mov byte [rax + 3], dl
cmp rbx, 4
jbe 0x647d25
mov byte [rax + 4], r8b
nop
mov rdx, qword [rsp + 0x1e8]
mov esi, 7
jmp 0x647ce2
dec rsi
test rsi, rsi
jl 0x647d10
movzx r8d, byte [rdx + rsi + 0x40]
lea r9d, [r8 + 1]
mov byte [rdx + rsi + 0x40], r9b
cmp r8b, 0xff
je 0x647cdf
xor edi, edi
xor esi, esi
mov rbp, qword [rsp + 0x1d8]
add rsp, 0x1e0
ret
lea rax, [0x00a16860]
lea rbx, [0x00b97db0]
nop
call fcn.00438220
mov eax, 4
mov rcx, rax
call fcn.004688e0
mov eax, 3
mov rcx, rbx
call fcn.004688e0
mov rax, r12
mov rcx, r8
call fcn.004688e0
mov rax, rbx
mov rcx, r13
call fcn.004689a0
mov rcx, r10
call fcn.004689a0
mov rcx, r10
call fcn.00468960
call fcn.00436c60
mov ecx, 5
call fcn.00468960
lea rax, [0x00a16860]
lea rbx, [0x00b97dc0]
call fcn.00438220
mov ecx, 5
mov rdx, rdi
call fcn.00468960
mov eax, 4
mov rcx, rax
nop dword [rax]
call fcn.004688e0
mov eax, 3
mov rcx, rdx
call fcn.004688e0
xor eax, eax
mov rcx, rax
call fcn.004688e0
xor eax, eax
mov rcx, rax
call fcn.004688e0
call fcn.004689a0
mov rcx, r8
mov rdx, r10
call fcn.00468960
mov rax, r11
mov rcx, r12
nop dword [rax]
call fcn.004689a0
mov rcx, r12
mov rdx, r13
call fcn.00468960
mov ecx, 5
call fcn.00468960
mov rax, rcx
mov rcx, rbx
call fcn.004689a0
mov rcx, rbx
call fcn.00468960
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], r9
mov qword [rsp + 0x40], r10
mov qword [rsp + 0x48], r11
nop dword [rax + rax]
call fcn.00466260
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
mov r10, qword [rsp + 0x40]
mov r11, qword [rsp + 0x48]
jmp fcn.00646fc0