Function at 0x4f2440
Capabilities:
Reference sql statements

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4f2986
sub rsp, 0x48
mov qword [rsp + 0x40], rbp
lea rbp, [rsp + 0x40]
mov qword [rsp + 0x70], r8
nop dword [rax]
test dil, dil
je 0x4f246d
test rbx, rbx
setl dl
jmp 0x4f246f
xor edx, edx
test dl, dl
je 0x4f2476
neg rbx
mov byte [rsp + 0x27], dl
mov qword [rsp + 0x50], rax
lea r10, [rax + 0x28]
cmp byte [rax + 8], 0
jne 0x4f248f
cmp byte [rax + 9], 0
je 0x4f2508
mov r11, qword [rax + 0x18]
add r11, qword [rax + 0x20]
add r11, 3
nop dword [rax + rax]
cmp r11, 0x44
jg 0x4f24ad
mov edi, 0x44
jmp 0x4f250d
mov qword [rsp + 0x60], rcx
mov dword [rsp + 0x6c], esi
mov qword [rsp + 0x28], r11
mov qword [rsp + 0x78], r9
mov qword [rsp + 0x70], r8
mov qword [rsp + 0x38], rbx
lea rax, [0x00a16ae0]
mov rbx, r11
mov rcx, rbx
call fcn.0044c620
mov rcx, qword [rsp + 0x60]
movzx edx, byte [rsp + 0x27]
mov rbx, qword [rsp + 0x38]
mov esi, dword [rsp + 0x6c]
mov r8, qword [rsp + 0x70]
mov r9, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x28]
mov r10, rax
mov rax, qword [rsp + 0x50]
jmp 0x4f250d
mov edi, 0x44
cmp byte [rax + 9], 0
je 0x4f2551
mov r11, qword [rax + 0x20]
test r11, r11
jne 0x4f2579
nop dword [rax]
test rbx, rbx
jne 0x4f2579
movzx ecx, byte [rax + 0xe]
mov byte [rsp + 0x26], cl
mov byte [rax + 0xe], 0
mov rbx, qword [rax + 0x18]
call fcn.004f1940
movzx ecx, byte [rsp + 0x26]
mov rdx, qword [rsp + 0x50]
mov byte [rdx + 0xe], cl
mov rbp, qword [rsp + 0x40]
add rsp, 0x48
ret
cmp byte [rax + 0xe], 0
je 0x4f2576
cmp byte [rax + 8], 0
je 0x4f2576
mov r11, qword [rax + 0x18]
test dl, dl
jne 0x4f2571
cmp byte [rax + 0xb], 0
jne 0x4f2571
cmp byte [rax + 0xd], 0
je 0x4f2579
dec r11
jmp 0x4f2579
xor r11d, r11d
cmp rcx, 8
jg 0x4f25a5
nop
cmp rcx, 2
jne 0x4f258e
mov r12, rdi
jmp 0x4f2964
cmp rcx, 8
jne 0x4f289c
mov r12, rdi
nop dword [rax + rax]
jmp 0x4f2925
cmp rcx, 0xa
jne 0x4f25b3
mov r12, rdi
jmp 0x4f28ca
cmp rcx, 0x10
jne 0x4f289c
mov r12, rdi
jmp 0x4f25d6
mov byte [rdi + r10 - 1], dl
shr r13, 4
movzx edx, byte [rsp + 0x27]
mov rbx, r13
mov rdi, r15
cmp rbx, 0x10
jb 0x4f2600
mov r13, rbx
and ebx, 0xf
cmp r9, rbx
jbe 0x4f2891
lea r15, [rdi - 1]
movzx edx, byte [r8 + rbx]
cmp r12, r15
ja 0x4f25c2
jmp 0x4f2886
cmp r9, rbx
jbe 0x4f287b
lea r13, [rdi - 1]
movzx r15d, byte [rbx + r8]
cmp r12, r13
jbe 0x4f2870
mov byte [rdi + r10 - 1], r15b
jmp 0x4f262e
mov byte [r13 + r10 - 1], 0x30
dec r13
mov r12, rdi
test r13, r13
jle 0x4f2642
mov rdi, r12
sub r12, r13
cmp r11, r12
jg 0x4f2622
nop
jmp 0x4f2645
mov rdi, r12
cmp byte [rax + 0xc], 0
je 0x4f2708
cmp rcx, 2
jne 0x4f2687
lea r8, [r13 - 1]
nop dword [rax]
cmp rdi, r8
jbe 0x4f2865
mov byte [r13 + r10 - 1], 0x62
lea r8, [r13 - 2]
cmp rdi, r8
jbe 0x4f2855
mov byte [r13 + r10 - 2], 0x30
jmp 0x4f270b
cmp rcx, 8
jne 0x4f26c2
cmp r13, rdi
jae 0x4f284a
movzx r8d, byte [r10 + r13]
nop dword [rax + rax]
cmp r8b, 0x30
je 0x4f26bb
lea r8, [r13 - 1]
cmp rdi, r8
jbe 0x4f283f
mov byte [r13 + r10 - 1], 0x30
jmp 0x4f270b
mov r8, r13
nop
jmp 0x4f270b
cmp rcx, 0x10
jne 0x4f2703
cmp r9, 0x10
jbe 0x4f2832
lea r9, [r13 - 1]
movzx r8d, byte [r8 + 0x10]
nop dword [rax + rax]
cmp rdi, r9
jbe 0x4f2827
mov byte [r13 + r10 - 1], r8b
lea r8, [r13 - 2]
cmp rdi, r8
jbe 0x4f281c
mov byte [r13 + r10 - 2], 0x30
jmp 0x4f270b
mov r8, r13
jmp 0x4f270b
mov r8, r13
cmp esi, 0x4f
jne 0x4f273a
lea rsi, [r8 - 1]
cmp rdi, rsi
jbe 0x4f2811
mov byte [r8 + r10 - 1], 0x6f
lea rsi, [r8 - 2]
cmp rdi, rsi
jbe 0x4f2806
mov byte [r8 + r10 - 2], 0x30
test dl, dl
jmp 0x4f273f
test dl, dl
mov rsi, r8
nop
je 0x4f2757
lea rdx, [rsi - 1]
cmp rdi, rdx
jbe 0x4f27fb
mov byte [rsi + r10 - 1], 0x2d
jmp 0x4f2790
cmp byte [rax + 0xb], 0
je 0x4f2772
lea rdx, [rsi - 1]
cmp rdi, rdx
jbe 0x4f27f0
mov byte [rsi + r10 - 1], 0x2b
jmp 0x4f2790
cmp byte [rax + 0xd], 0
je 0x4f278d
lea rdx, [rsi - 1]
nop dword [rax]
cmp rdi, rdx
jbe 0x4f27e5
mov byte [rsi + r10 - 1], 0x20
jmp 0x4f2790
mov rdx, rsi
movzx esi, byte [rax + 0xe]
mov byte [rax + 0xe], 0
cmp rdx, rdi
ja 0x4f27d5
mov byte [rsp + 0x25], sil
sub rdi, rdx
mov rcx, rdi
neg rdi
sar rdi, 0x3f
and rdx, rdi
lea rbx, [r10 + rdx]
mov rdi, rcx
call fcn.004f1ac0
movzx edx, byte [rsp + 0x25]
mov rsi, qword [rsp + 0x50]
mov byte [rsi + 0xe], dl
mov rbp, qword [rsp + 0x40]
add rsp, 0x48
ret
mov rax, rdx
mov rcx, rdi
nop dword [rax + rax]
call fcn.004689a0
mov rax, rdx
mov rcx, rdi
call fcn.004688e0
mov rax, rdx
mov rcx, rdi
call fcn.004688e0
mov rax, rdx
mov rcx, rdi
call fcn.004688e0
mov rax, rsi
mov rcx, rdi
call fcn.004688e0
mov rax, rsi
mov rcx, rdi
call fcn.004688e0
mov rax, r8
mov rcx, rdi
call fcn.004688e0
mov rax, r9
mov rcx, rdi
call fcn.004688e0
mov eax, 0x10
mov rcx, r9
call fcn.004688e0
mov rax, r8
mov rcx, rdi
call fcn.004688e0
mov rax, r13
mov rcx, rdi
call fcn.004688e0
mov rax, r8
mov rcx, rdi
nop dword [rax + rax]
call fcn.004688e0
mov rax, r8
mov rcx, rdi
call fcn.004688e0
mov rax, r13
mov rcx, r12
call fcn.004688e0
mov rax, rbx
mov rcx, r9
call fcn.00468900
mov rax, r15
mov rcx, r12
call fcn.004688e0
mov rax, rbx
mov rcx, r9
call fcn.00468900
lea rax, [0x00a16860]
lea rbx, [0x00b97f40]
call fcn.00438220
lea r15, [rbx + 0x30]
mov byte [rdi + r10 - 1], r15b
mov esi, eax
mov rbx, rdx
mov rdi, r13
mov rax, qword [rsp + 0x50]
movzx edx, byte [rsp + 0x27]
cmp rbx, 0xa
jb 0x4f2600
lea r13, [rdi - 1]
movabs rax, 0xcccccccccccccccd
mul rbx
shr rdx, 3
mov eax, esi
lea rsi, [rdx + rdx*4]
shl rsi, 1
sub rbx, rsi
cmp r12, r13
ja 0x4f28af
mov rax, r13
mov rcx, r12
call fcn.004688e0
mov qword [rsp + 0x30], r13
mov r15, rbx
and ebx, 7
lea r13, [rbx + 0x30]
mov byte [rdi + r10 - 1], r13b
shr r15, 3
mov rdi, qword [rsp + 0x30]
mov rbx, r15
cmp rbx, 8
jb 0x4f2600
lea r13, [rdi - 1]
cmp r12, r13
ja 0x4f2905
mov rax, r13
mov rcx, r12
nop
call fcn.004688e0
mov qword [rsp + 0x30], r13
mov r15, rbx
and ebx, 1
lea r13, [rbx + 0x30]
mov byte [rdi + r10 - 1], r13b
shr r15, 1
mov rdi, qword [rsp + 0x30]
mov rbx, r15
cmp rbx, 2
jb 0x4f2600
lea r13, [rdi - 1]
cmp r12, r13
ja 0x4f2945
mov rax, r13
mov rcx, r12
nop dword [rax]
call fcn.004688e0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov byte [rsp + 0x20], dil
mov dword [rsp + 0x24], esi
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x30], r9
call fcn.00466260
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
movzx edi, byte [rsp + 0x20]
mov esi, dword [rsp + 0x24]
mov r8, qword [rsp + 0x28]
mov r9, qword [rsp + 0x30]
jmp fcn.004f2440