Function at 0x5b26a0
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5b296e
sub esp, 0x28
mov eax, dword [esp + 0x30]
test eax, eax
je 0x5b27b5
cmp eax, 0x14
jae 0x5b2955
mov ecx, dword [0x914c6c]
cmp eax, ecx
jae 0x5b2950
mov ecx, dword [0x914c68]
movzx ecx, byte [ecx + eax]
mov edx, dword [esp + 0x38]
cmp edx, ecx
jne 0x5b276a
mov ecx, dword [0x91ecfc]
lea edx, [0x6debe0]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00468140
movzx eax, byte [esp + 0x10]
test al, al
je 0x5b271f
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x5b27b9
lea eax, [0x6e6720]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x25
lea ecx, [0x72a587]
mov dword [eax], ecx
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
lea ecx, [0x78aa3c]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
add esp, 0x28
ret
lea eax, [0x6e6720]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x28
lea ecx, [0x72bc73]
mov dword [eax], ecx
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
lea ecx, [0x78aa3c]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
add esp, 0x28
ret
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x38]
lea ebx, [eax + edx + 0xb]
mov dword [esp + 0x1c], ebx
mov ebp, dword [esp + 0x2c]
mov ebp, dword [ebp]
mov esi, dword [ebp + 4]
mov edi, dword [ebp + 8]
mov ebp, dword [ebp + 0xc]
nop
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
call fcn.004db0a0
mov eax, dword [esp + 0xc]
lea ecx, [eax + 7]
sar ecx, 0x1f
shr ecx, 0x1d
lea eax, [ecx + eax + 7]
sar eax, 3
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
jg 0x5b2848
mov dword [esp + 0x14], eax
lea ecx, [0x6db200]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0046c5c0
mov ecx, dword [esp + 0x14]
cmp ecx, 1
jbe 0x5b2946
mov edx, dword [esp + 0xc]
mov byte [edx + 1], 1
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x18]
mov eax, 2
jmp 0x5b287d
mov eax, dword [0x913d48]
mov ecx, dword [0x913d4c]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
add esp, 0x28
ret
mov byte [edx + eax], 0xff
inc eax
mov esi, ecx
sub esi, ebp
sub esi, ebx
lea edi, [esi - 1]
cmp eax, edi
jge 0x5b2893
cmp eax, ecx
jb 0x5b2878
jmp 0x5b2941
cmp ecx, esi
jb 0x5b293a
mov eax, ecx
sub ecx, esi
mov edi, ecx
neg ecx
sar ecx, 0x1f
and esi, ecx
add esi, edx
cmp ebp, edi
jl 0x5b28b0
mov ebp, edi
mov dword [esp + 0x24], edx
mov edi, dword [esp + 0x20]
cmp edi, esi
je 0x5b28d8
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
call fcn.004721c0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x38]
mov ecx, eax
sub eax, ebx
cmp ecx, eax
jb 0x5b2935
mov ebp, ecx
sub ecx, eax
mov esi, ecx
neg ecx
sar ecx, 0x1f
and eax, ecx
add eax, edx
cmp ebx, esi
jl 0x5b28f5
mov ebx, esi
mov ecx, dword [esp + 0x34]
cmp ecx, eax
je 0x5b2915
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.004721c0
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
add esp, 0x28
ret
call fcn.00471910
mov eax, esi
call fcn.00471910
call fcn.004718b0
mov eax, 1
call fcn.004718b0
call fcn.004718c0
lea eax, [0x6db180]
mov dword [esp], eax
lea eax, [0x78a4d0]
mov dword [esp + 4], eax
call fcn.0046a9e0
nop
call fcn.00470430
jmp fcn.005b26a0