Function at 0x5bab50
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5bb196
sub esp, 0x3c
nop
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
xor edx, edx
jmp 0x5bab75
inc edx
cmp eax, edx
jle 0x5babc2
movzx ebx, byte [ecx + edx]
cmp bl, 0x20
jb 0x5bab87
cmp bl, 0x7f
jne 0x5bab74
lea eax, [0x6e6720]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x29
lea ecx, [0x72c27e]
mov dword [eax], ecx
mov dword [esp + 0x4c], 0
lea ecx, [0x78aa3c]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
add esp, 0x3c
ret
test eax, eax
jne 0x5bac0a
movzx edx, byte [esp + 0x48]
test dl, dl
je 0x5bac0a
lea eax, [0x6e6720]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 9
lea ecx, [0x71c4d7]
mov dword [eax], ecx
mov dword [esp + 0x4c], 0
lea ecx, [0x78aa3c]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
add esp, 0x3c
ret
lea eax, [0x7090c0]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x44]
cmp ecx, 1
jne 0x5bac5a
mov edx, dword [esp + 0x40]
cmp byte [edx], 0x2a
jne 0x5bac5e
mov dword [eax + 0x20], 1
lea ecx, [0x788644]
mov dword [eax + 0x1c], ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
add esp, 0x3c
ret
mov edx, dword [esp + 0x40]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.005ba7d0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x24], ebp
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x2c]
mov dword [edi + 4], eax
mov ecx, dword [0x93f150]
test ecx, ecx
je 0x5bacaf
mov ecx, edi
call fcn.00471840
mov dword [edi], edx
mov ebp, dword [ecx]
mov dword [edi + 4], ebp
mov ebp, dword [esp + 0x24]
mov edi, ecx
mov dword [edi], edx
test ebx, ebx
jne 0x5bb162
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.004d02d0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x2c]
mov dword [edx + 4], eax
mov eax, dword [0x93f150]
test eax, eax
je 0x5bacea
call fcn.00471840
mov dword [edi], ecx
mov ebx, dword [edx]
mov dword [edi + 4], ebx
mov dword [edx], ecx
nop
mov ecx, dword [esp + 0x24]
test ecx, ecx
jle 0x5bad6f
lea eax, [ecx - 1]
cmp ecx, eax
jb 0x5bb190
mov eax, dword [esp + 0x30]
lea edx, [ecx + eax - 1]
mov dword [esp], edx
lea edx, [0x788720]
mov dword [esp + 4], edx
mov dword [esp + 8], 1
call fcn.00402d90
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5bad37
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
xor eax, eax
jmp 0x5bad71
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], ecx
lea edx, [0x788720]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
call fcn.004cf1f0
cmp dword [esp + 0x10], 1
sete al
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
jmp 0x5bad71
xor eax, eax
test al, al
je 0x5bad8c
mov byte [edx + 0x2d], 1
lea ebx, [ecx - 1]
cmp ecx, ebx
jb 0x5bb187
mov ebp, edx
mov edx, dword [esp + 0x30]
jmp 0x5baddf
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x788720]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
call fcn.00476ba0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x2c]
mov dword [ebp + 0x34], eax
mov eax, dword [0x93f150]
test eax, eax
je 0x5baddc
call fcn.00471840
mov dword [edi], ecx
mov esi, dword [ebp + 0x30]
mov dword [edi + 4], esi
mov dword [ebp + 0x30], ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], edx
test ebx, ebx
jg 0x5badef
xor eax, eax
jmp 0x5bae1a
mov dword [esp], edx
lea eax, [0x71b1fb]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
call fcn.00402d90
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x2c]
test al, al
jne 0x5baec7
mov eax, dword [ebp + 4]
test eax, eax
je 0x5bae5e
mov dword [ebp + 0xc], ebx
mov eax, dword [0x93f150]
test eax, eax
je 0x5bae43
call fcn.00471840
mov dword [edi], edx
mov eax, dword [ebp + 8]
mov dword [edi + 4], eax
mov dword [ebp + 8], edx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
add esp, 0x3c
ret
movzx eax, byte [esp + 0x48]
test al, al
jne 0x5bb127
mov dword [esp], edx
mov dword [esp + 4], ebx
lea eax, [0x71b1fb]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
call fcn.00476ba0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x7886dc]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
call fcn.00476760
mov eax, dword [esp + 0x10]
test eax, eax
jge 0x5bb0ec
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x2c]
mov esi, dword [ebp + 4]
test esi, esi
je 0x5baed5
mov eax, 1
jmp 0x5baf1c
movzx esi, byte [esp + 0x48]
xchg esi, eax
test al, al
xchg esi, eax
je 0x5baee4
xor eax, eax
jmp 0x5baf1c
nop
cmp ebx, 3
jge 0x5baeee
xor eax, eax
jmp 0x5baf19
mov dword [esp], edx
lea eax, [0x71b3ef]
mov dword [esp + 4], eax
mov dword [esp + 8], 3
call fcn.00402d90
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x2c]
xor eax, 1
test al, al
je 0x5baf57
nop
cmp ebx, 2
jge 0x5baf2a
xor eax, eax
jmp 0x5baf59
mov dword [esp], edx
lea eax, [0x71b24f]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
call fcn.00402d90
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x2c]
jmp 0x5baf59
xor eax, eax
test al, al
je 0x5bb05e
cmp ebx, 2
jb 0x5bb17b
lea eax, [ebx - 2]
mov dword [esp + 0x28], eax
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, 2
add eax, edx
mov dword [esp + 0x38], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x71b1fb]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
call fcn.00476760
mov ecx, dword [esp + 0x10]
test ecx, ecx
jl 0x5bafcd
mov edx, dword [esp + 0x28]
cmp ecx, edx
ja 0x5bb176
mov edx, dword [esp + 0x24]
sub edx, ecx
add edx, 0xfffffffe
mov ebx, edx
neg edx
sar edx, 0x1f
and edx, ecx
mov ebp, dword [esp + 0x38]
add edx, ebp
jmp 0x5bafd9
mov ebp, dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
xor ebx, ebx
xor edx, edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], edx
mov dword [esp], ebp
mov dword [esp + 4], ecx
call fcn.005bb1a0
mov eax, dword [0x93f150]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
test eax, eax
je 0x5bb02d
mov dword [esp + 0x34], esi
call fcn.00471860
mov dword [edi], edx
mov eax, dword [esp + 0x2c]
mov esi, dword [eax + 0x10]
mov dword [edi + 4], esi
mov dword [edi + 8], ebx
mov esi, dword [eax + 0x14]
mov dword [edi + 0xc], esi
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x10], edx
mov dword [eax + 0x18], ebp
mov dword [eax + 0x14], ebx
test ecx, ecx
jne 0x5bb04a
mov ebp, eax
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x30]
jmp 0x5bb0a0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], esi
add esp, 0x3c
ret
mov eax, dword [ebp + 4]
test eax, eax
je 0x5bb0a0
test ebx, ebx
jg 0x5bb06d
xor eax, eax
jmp 0x5bb098
mov dword [esp], edx
lea eax, [0x71b1fb]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
call fcn.00402d90
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x2c]
test al, al
je 0x5bb0a0
mov byte [ebp + 0x2c], 1
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.005bdae0
mov eax, dword [esp + 0xc]
test eax, eax
je 0x5bb0d0
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
add esp, 0x3c
ret
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
add esp, 0x3c
ret
lea eax, [0x6e6720]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2e
lea ecx, [0x72dbc9]
mov dword [eax], ecx
mov dword [esp + 0x4c], 0
lea ecx, [0x78aa3c]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
add esp, 0x3c
ret
lea eax, [0x6e6720]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x17
lea ecx, [0x7231ba]
mov dword [eax], ecx
mov dword [esp + 0x4c], 0
lea ecx, [0x78aa3c]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
add esp, 0x3c
ret
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], esi
add esp, 0x3c
ret
call fcn.004718d0
mov eax, 2
mov ecx, ebx
call fcn.00471910
mov edx, ecx
mov ecx, ebx
call fcn.004718d0
call fcn.00471910
nop
call fcn.00470430
jmp fcn.005bab50