Function at 0x45b2c5
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 0xc]
xor ebx, ebx
cmp edi, ebx
je 0x45b333
cmp dword [ebp + 0x20], ebx
jl 0x45b0b4
mov eax, dword [ebp + 0x10]
cmp dword [eax], ebx
mov dword [ebp - 4], 1
jg 0x45b0b7
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x1c], ebx
jne 0x45b0cf
cmp dword [ebp - 4], ebx
jne 0x45b0cf
mov eax, dword [ebp + 0xc]
push ebx
push dword [ebp + 0x2c]
call fcn.0045afd5
pop ecx
pop ecx
cmp dword [ebp + 0x18], ebx
jle 0x45b0f2
xor esi, esi
cmp dword [ebp + 0x18], ebx
jle 0x45b103
push esi
push dword [ebp + 0x14]
push 2
push edi
call fcn.00453740
add esp, 0x10
inc esi
cmp esi, dword [ebp + 0x18]
jl 0x45b0db
jmp 0x45b103
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
push esi
mov dword [ebp + 0x18], ecx
call fcn.0045e792
pop ecx
pop ecx
cmp dword [ebp - 4], ebx
je 0x45b12f
push dword [ebp + 0x2c]
mov eax, dword [ebp + 0x18]
push dword [ebp + 0x20]
mov esi, edi
call fcn.0045b034
cmp dword [ebp + 0x1c], ebx
pop ecx
pop ecx
jne 0x45b12f
push dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
push dword [ebp + 0x2c]
call fcn.0045afd5
pop ecx
pop ecx
mov ecx, dword [ebp + 0x24]
lea eax, [ecx - 1]
cmp eax, 9
ja case.0x45b13e.3
jmp dword [eax*4 + 0x45b33a]
push ebx
push dword [ebp + 0x18]
push 0x57
push edi
call fcn.00453740
add esp, 0x10
cmp dword [ebp + 0x34], ebx
je 0x45b169
push 0xfffffffffffffffe
push dword [ebp + 0x34]
push 0xffffffffffffffff
push edi
call fcn.00454872
add esp, 0x10
push ebx
push dword [ebp + 0x28]
push 0x69
jmp 0x45b2ff
push ebx
push dword [ebp + 0x18]
push 0x57
push edi
call fcn.00453740
push 0xfffffffffffffffe
push dword [ebp + 0x34]
mov esi, eax
push 0xffffffffffffffff
push edi
call fcn.00454872
add esi, 3
push esi
push dword [ebp + 0x28]
push 0x1f
push edi
call fcn.00453740
push ebx
push dword [ebp + 0x28]
push 0x58
push edi
call fcn.00453740
add esp, 0x40
jmp 0x45b308
push ebx
push dword [ebp + 0x18]
push 0x57
push edi
call fcn.00453740
add esp, 0x10
cmp dword [ebp + 0x1c], ebx
je 0x45b1db
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x1c]
mov eax, dword [ebp + 8]
call fcn.0045af1e
xor ebx, ebx
jmp 0x45b308
push ebx
push dword [ebp + 0x28]
push 0x15
push edi
call fcn.00453740
push ebx
push 1
push 0x63
push edi
call fcn.00453740
push ebx
push dword [ebp + 0x28]
push 0x6b
push edi
call fcn.00453740
add esp, 0x30
jmp 0x45b308
push edi
call fcn.004538eb
add eax, 3
push eax
push 0xffffffffffffffff
push 0x41
push edi
call fcn.00453740
push ebx
push 1
push 0xa
push edi
call fcn.00453740
push ebx
push ebx
push 0x5b
push edi
call fcn.00453740
add esp, 0x34
cmp dword [ebp + 0x1c], ebx
mov dword [ebp - 4], eax
je 0x45b24c
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x1c]
mov eax, dword [ebp + 8]
call fcn.0045af1e
xor ebx, ebx
jmp 0x45b28e
mov esi, dword [ebp + 0x28]
mov eax, esi
sar eax, 0x10
mov byte [ebp + 8], al
push dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
push dword [eax]
call fcn.0045e1d6
push 1
mov byte [ebp + 8], al
lea eax, [ebp + 8]
push eax
push ebx
push 1
push 0x57
push edi
call fcn.00454d0c
push ebx
and esi, 0xffff
push esi
push 0x69
push edi
call fcn.00453740
add esp, 0x30
push dword [ebp - 4]
push edi
call fcn.004539ce
pop ecx
pop ecx
jmp 0x45b308
push dword [ebp + 0x28]
push 1
push 0x2e
push edi
call fcn.00453740
push ebx
push dword [ebp + 0x18]
push 0xa
push edi
call fcn.00453740
add esp, 0x20
jmp 0x45b308
cmp dword [ebp + 0x1c], ebx
jne 0x45b1c6
push 1
push dword [ebp + 0x28]
push 0x76
jmp 0x45b2ff
cmp dword [ebp + 0x1c], ebx
je 0x45b2e4
push ebx
push dword [ebp + 0x18]
push 0x57
push edi
call fcn.00453740
add esp, 0x10
jmp 0x45b1c6
cmp ecx, 9
jne 0x45b2f1
push dword [ebp + 0x28]
push ebx
push 0x2c
jmp 0x45b2ff
push ebx
push dword [ebp + 0x18]
push 0x36
jmp 0x45b2ff
push ebx
push dword [ebp + 0x18]
push 0xa
push edi
call fcn.00453740
add esp, 0x10
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0x30]
cmp eax, ebx
jl 0x45b333
cmp dword [ebp + 0x1c], ebx
jne 0x45b333
push eax
push 0xffffffffffffffff
push 0x2b
push edi
call fcn.00453740
push dword [ebp + 0x30]
push dword [esi + 0x30]
push 0x72
push edi
call fcn.00453740
add esp, 0x20
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret