Function at 0x5b5160
Capabilities:
Reference sql statements

Disassembly:
lea r12, [rsp - 8]
cmp r12, qword [r14 + 0x10]
jbe 0x5b575c
sub rsp, 0x88
mov qword [rsp + 0x80], rbp
lea rbp, [rsp + 0x80]
mov rcx, qword [rax + 0x30]
test rcx, rcx
je 0x5b559b
mov qword [rsp + 0x90], rax
mov rax, rcx
nop
call fcn.005b5160
mov rdi, qword [rsp + 0x90]
mov rcx, qword [rdi + 0x30]
cmp dword [0x00f0c520], 0
jne 0x5b51c4
mov qword [rdi + 0x30], 0
jmp 0x5b51d8
lea rdx, [rdi + 0x30]
mov rax, rdi
mov rdi, rdx
xor esi, esi
call fcn.004685a0
mov rdi, rax
mov rdx, qword [rcx]
mov rsi, qword [rcx + 8]
nop
test rdx, rdx
jne 0x5b5570
mov rdx, qword [rcx + 0x18]
mov rsi, qword [rcx + 0x10]
mov r8, qword [rcx + 0x40]
mov r9, rdx
sub rdx, r8
mov rax, qword [rcx + 0x38]
sub rdx, rax
test rdx, rdx
jl 0x5b5748
mov qword [rsp + 0x48], rcx
cmp byte [rcx + 0x48], 0
je 0x5b5564
nop word [rax + rax]
cmp r8, 1
jne 0x5b5735
mov r8d, 0xfffffffe
cmp r8, rdx
jl 0x5b550c
nop dword [rax]
cmp rdx, 0xffffff
jle 0x5b5256
mov ebx, 0xffffff84
mov r8d, 5
jmp 0x5b52a0
cmp rdx, 0xffff
jle 0x5b526c
mov ebx, 0xffffff83
mov r8d, 4
jmp 0x5b52a0
cmp rdx, 0xff
jle 0x5b5282
mov ebx, 0xffffff82
mov r8d, 3
jmp 0x5b52a0
cmp rdx, 0x7f
jle 0x5b5295
mov ebx, 0xffffff81
mov r8d, 2
jmp 0x5b52a0
mov rbx, rdx
mov r8d, 1
xor edx, edx
cmp r9, rax
jbe 0x5b572d
mov byte [rsi + rax], bl
lea esi, [r8 - 1]
movzx ebx, sil
test rbx, rbx
je 0x5b5502
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rdx
lea rax, [0x00a16ae0]
mov rcx, rbx
call fcn.0044c620
mov rdx, qword [rsp + 0x48]
cmp qword [rdx], 0
nop
jne 0x5b5474
cmp qword [rdx + 0x30], 0
jne 0x5b571a
mov qword [rsp + 0x58], rax
mov r8, qword [rdx + 0x18]
mov rdi, qword [rsp + 0x30]
add r8, rdi
cmp rdi, r8
jle 0x5b5362
lea rax, [0x00a4d9e0]
call fcn.0040f0e0
mov qword [rax + 8], 0x1b
lea rcx, [0x00ad8a8f]
mov qword [rax], rcx
lea rcx, [0x00b99800]
mov rdi, qword [rsp + 0x48]
mov qword [rdi], rcx
cmp dword [0x00f0c520], 0
jne 0x5b5343
mov qword [rdi + 8], rax
jmp 0x5b5355
lea rdx, [rdi + 8]
mov rbx, rdi
mov rdi, rdx
call fcn.00468440
mov rdi, rbx
mov rax, qword [rsp + 0x58]
mov rdx, rdi
mov rdi, qword [rsp + 0x30]
cmp byte [rdx + 0x28], 0
je 0x5b53d0
mov r8, qword [rdx + 0x18]
add r8, rdi
cmp qword [rdx + 0x20], r8
jge 0x5b53d0
lea rax, [0x00a4d9e0]
nop dword [rax]
call fcn.0040f0e0
mov qword [rax + 8], 0x36
lea rcx, [0x00ae74cb]
mov qword [rax], rcx
lea rcx, [0x00b99800]
mov rdi, qword [rsp + 0x48]
mov qword [rdi], rcx
cmp dword [0x00f0c520], 0
jne 0x5b53b5
mov qword [rdi + 8], rax
jmp 0x5b53c8
lea rdx, [rdi + 8]
mov rcx, rdi
mov rdi, rdx
nop
call fcn.00468440
mov rdi, rcx
mov rdx, rdi
jmp 0x5b5474
mov r8, qword [rdx + 0x18]
lea rbx, [rdi + r8]
mov rcx, qword [rdx + 0x20]
mov r9, qword [rdx + 0x10]
cmp rcx, rbx
jae 0x5b540b
mov qword [rsp + 0x40], r8
mov rax, r9
lea rsi, [0x00a16ae0]
call fcn.0044c700
mov rdi, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
mov r9, rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x50], r9
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rcx
lea rdx, [r9 + r8]
mov rsi, rax
mov rax, rdx
mov rbx, rsi
mov rcx, rdi
call fcn.004692c0
mov rdx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov qword [rdi + 0x18], rdx
mov rdx, qword [rsp + 0x38]
mov qword [rdi + 0x20], rdx
cmp dword [0x00f0c520], 0
jne 0x5b545a
mov rdx, qword [rsp + 0x50]
mov qword [rdi + 0x10], rdx
jmp 0x5b5471
lea rdx, [rdi + 0x10]
mov rax, rdi
mov rdi, rdx
mov rsi, qword [rsp + 0x50]
call fcn.004685a0
mov rdi, rax
mov rdx, rdi
mov rax, qword [rdx + 0x38]
add rax, qword [rdx + 0x40]
mov rcx, qword [rdx + 0x18]
mov rsi, qword [rdx + 0x10]
mov r8, qword [rdx + 0x20]
mov r9, qword [rsp + 0x30]
lea r10, [rax + r9]
cmp rcx, r10
jb 0x5b5712
mov r11, rcx
sub rcx, r10
mov r12, r10
sub r10, r8
sar r10, 0x3f
and r12, r10
lea r10, [r12 + rsi]
cmp r11, rax
jb 0x5b570a
sub r11, rax
cmp r11, rcx
cmovl rcx, r11
mov r11, rax
sub rax, r8
sar rax, 0x3f
and r11, rax
lea rbx, [r11 + rsi]
cmp rbx, r10
je 0x5b54ef
mov rax, r10
nop dword [rax]
call fcn.004692c0
mov rdx, qword [rsp + 0x48]
mov r9, qword [rsp + 0x30]
mov rcx, rdx
mov rdx, qword [rsp + 0x28]
mov rbx, r9
mov rdi, qword [rsp + 0x90]
inc qword [rcx + 0x38]
mov qword [rcx + 0x40], rbx
jmp 0x5b5564
lea rax, [0x00a4d9e0]
call fcn.0040f0e0
mov qword [rax + 8], 0x1c
lea rcx, [0x00ad9cbe]
mov qword [rax], rcx
lea rcx, [0x00b99800]
mov rdi, qword [rsp + 0x90]
mov qword [rdi], rcx
cmp dword [0x00f0c520], 0
jne 0x5b554b
mov qword [rdi + 8], rax
jmp 0x5b5554
add rdi, 8
call fcn.00468440
mov rbp, qword [rsp + 0x80]
add rsp, 0x88
ret
mov rsi, qword [rcx + 0x40]
dec rsi
mov rax, rdx
jmp 0x5b55b6
mov qword [rdi], rdx
cmp dword [0x00f0c520], 0
jne 0x5b5582
mov qword [rdi + 8], rsi
jmp 0x5b558b
add rdi, 8
call fcn.004685a0
mov rbp, qword [rsp + 0x80]
add rsp, 0x88
ret
mov rbp, qword [rsp + 0x80]
add rsp, 0x88
ret
mov byte [r9 + r10], dl
dec rsi
sar rdx, 8
test rsi, rsi
jl 0x5b55d4
mov r8, qword [rcx + 0x18]
mov r9, qword [rcx + 0x10]
mov r10, qword [rcx + 0x38]
add r10, rsi
cmp r8, r10
ja 0x5b55ab
jmp 0x5b56ff
test rdx, rdx
jne 0x5b5645
cmp byte [rdi + 0x28], 0
je 0x5b5609
mov rdx, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0
jbe 0x5b56f5
mov rsi, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0
jbe 0x5b56eb
nop dword [rax]
cmp rdx, rsi
jne 0x5b56d8
mov rax, qword [rcx + 0x10]
mov rdx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x20]
mov qword [rdi + 0x18], rdx
mov qword [rdi + 0x20], rcx
cmp dword [0x00f0c520], 0
jne 0x5b562c
mov qword [rdi + 0x10], rax
jmp 0x5b5635
add rdi, 0x10
call fcn.00468440
mov rbp, qword [rsp + 0x80]
add rsp, 0x88
ret
movups xmmword [rsp + 0x60], xmm15
movups xmmword [rsp + 0x70], xmm15
call fcn.0040c6c0
lea rcx, [0x00a15fa0]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x48]
mov rax, qword [rdx + 0x40]
call fcn.0040c6c0
lea rcx, [0x00a15fa0]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rax
lea rax, [0x00ae9a9e]
mov ebx, 0x41
lea rcx, [rsp + 0x60]
mov edi, 2
mov rsi, rdi
nop
call fcn.004f1380
mov rdi, qword [rsp + 0x90]
mov qword [rdi], rax
cmp dword [0x00f0c520], 0
jne 0x5b56bf
mov qword [rdi + 8], rbx
jmp 0x5b56c8
add rdi, 8
call fcn.00468580
mov rbp, qword [rsp + 0x80]
add rsp, 0x88
ret
lea rax, [0x00a16860]
lea rbx, [0x00b99030]
call fcn.00438220
xor eax, eax
mov rcx, rax
call fcn.004688e0
xor eax, eax
mov rcx, rax
call fcn.004688e0
mov rax, r10
mov rcx, r8
call fcn.004688e0
mov rcx, r11
call fcn.004689a0
mov rax, r10
call fcn.004689a0
lea rax, [0x00a16860]
lea rbx, [0x00b97df0]
call fcn.00438220
mov rcx, r9
call fcn.004688e0
lea rax, [0x00a16860]
lea rbx, [0x00b99020]
call fcn.00438220
lea rax, [0x00a16860]
lea rbx, [0x00b99020]
call fcn.00438220
nop
mov qword [rsp + 8], rax
call fcn.00466260
mov rax, qword [rsp + 8]
jmp fcn.005b5160