Function at 0x452a30
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x452caa
sub esp, 0x48
mov edx, dword [esp + 0x50]
movzx ebx, byte [edx + 0xf]
and ebx, 0x1f
cmp bl, 0xb
jbe 0x452acc
cmp bl, 0x11
jbe 0x452a8c
cmp bl, 0x16
je 0x452ae7
cmp bl, 0x19
jne 0x452a82
mov ebx, dword [edx + 0x28]
mov dword [esp + 0x30], ebx
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x54]
xor eax, eax
jmp 0x452c5a
cmp bl, 0x1a
je 0x452ae7
jmp 0x452bca
cmp bl, 0xc
je 0x452ae7
cmp bl, 0x11
jne 0x452bca
cmp dword [edx + 0x28], 1
jne 0x452bca
mov eax, dword [edx + 0x20]
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 8], eax
call fcn.00452a30
movzx eax, byte [esp + 0xc]
mov byte [esp + 0x58], al
add esp, 0x48
ret
cmp bl, 6
ja 0x452ade
lea ecx, [ebx - 1]
cmp cl, 4
jbe 0x452ae7
jmp 0x452c3c
cmp bl, 0xa
ja 0x452bc5
mov ecx, dword [edx]
mov edx, dword [esp + 0x4c]
mov ebx, dword [edx + 0x18]
mov ebp, dword [0x7f8b50]
cmp ebp, ebx
jle 0x452bba
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], ebp
lea edi, [esp + 0x34]
xor eax, eax
call fcn.004645cb
mov dword [esp + 0x34], 2
mov ecx, dword [edx + 0xc]
mov eax, ebx
mov ebx, dword [esp + 0x54]
add ecx, ebx
mov dword [esp + 0x38], ecx
mov ecx, dword [edx + 0x18]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x44], ecx
mov ecx, dword [edx + 4]
inc ecx
mov ebx, dword [edx]
mov esi, ebp
mov ebp, dword [edx + 8]
cmp ebp, ecx
jae 0x452b9e
mov dword [esp + 0x2c], eax
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x6082e0]
mov dword [esp + 0x10], eax
call fcn.0044b300
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x4c]
mov dword [edi + 8], edx
mov edx, dword [0x7f8db0]
test edx, edx
jne 0x452b8d
mov dword [edi], eax
jmp 0x452b92
call fcn.00464380
mov edx, edi
mov esi, dword [esp + 0x30]
mov ebx, eax
mov eax, dword [esp + 0x2c]
mov dword [edx + 4], ecx
lea ecx, [ecx + ecx*4]
lea edi, [ebx + ecx*4 - 0x14]
lea esi, [esp + 0x34]
call fcn.00464aae
inc dword [edx + 0x18]
mov ecx, dword [esp + 0x30]
cmp ecx, eax
setg al
mov byte [esp + 0x58], al
add esp, 0x48
ret
cmp bl, 0xb
jne 0x452bca
mov dword [esp], edx
call fcn.0045b1e0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x6212ba]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x16
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea eax, [0x62a98c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x37
call fcn.0044ed30
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409b20
mov eax, dword [esp + 8]
lea ecx, [0x5f1960]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00436760
cmp bl, 6
je 0x452bca
jmp 0x452bca
mov edi, dword [esp + 0x28]
lea eax, [edi + 1]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
cmp eax, ebx
jge 0x452c9b
mov edi, dword [edx + 0x24]
mov ecx, dword [edx + 0x28]
cmp eax, ecx
jae 0x452ca4
mov dword [esp + 0x28], eax
lea ecx, [eax + eax*2]
mov edx, dword [edi + ecx*4 + 4]
mov ecx, dword [edi + ecx*4 + 8]
mov dword [esp], ebp
mov dword [esp + 4], edx
add ecx, esi
mov dword [esp + 8], ecx
call fcn.00452a30
movzx eax, byte [esp + 0xc]
test al, al
jne 0x452c43
mov byte [esp + 0x58], 0
add esp, 0x48
ret
mov byte [esp + 0x58], 1
add esp, 0x48
ret
call fcn.00464400
nop
call fcn.00462f70
jmp fcn.00452a30