Function at 0x6515a0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x51
push 0
push 0
dec ecx
jne 0x6515a9
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x8c], edx
mov edi, eax
xor eax, eax
push ebp
push 0x651e03
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x651cbe
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x3c]
call fcn.00650d00
mov byte [ebp - 0x91], 0
mov eax, 0x670890
call fcn.00439b64
test al, al
jne 0x651cb4
mov dl, 1
mov eax, dword [0x443d60]
call fcn.004524b8
mov esi, eax
lea eax, [ebp - 8]
mov edx, 0x651e2c
call fcn.00407f58
lea eax, [ebp - 0xc]
mov edx, 0x651e78
call fcn.00407f58
lea eax, [ebp - 0x68]
call fcn.00431a84
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x68]
call fcn.0043237c
lea eax, [ebp - 0xd4]
xor edx, edx
call fcn.004377a8
push esi
push edi
lea esi, [ebp - 0xd4]
lea edi, [ebp - 0xc4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0xe4]
xor edx, edx
call fcn.004377a8
push esi
push edi
lea esi, [ebp - 0xe4]
lea edi, [ebp - 0xb4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0xc4]
lea ecx, [ebp - 0xa4]
mov edx, 1
call fcn.00439ebc
push dword [ebp - 0x98]
push dword [ebp - 0x9c]
push dword [ebp - 0xa0]
push dword [ebp - 0xa4]
lea eax, [ebp - 0x104]
mov edx, dword [ebp - 8]
call fcn.004377a8
push esi
push edi
lea esi, [ebp - 0x104]
lea edi, [ebp - 0xc4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x114]
mov edx, dword [ebp - 0xc]
call fcn.004377a8
push esi
push edi
lea esi, [ebp - 0x114]
lea edi, [ebp - 0xb4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0xc4]
lea ecx, [ebp - 0xf4]
mov edx, 1
call fcn.00439ebc
push dword [ebp - 0xe8]
push dword [ebp - 0xec]
push dword [ebp - 0xf0]
push dword [ebp - 0xf4]
push 0x651e9c
push 0x651eb0
push 0x670890
lea eax, [ebp - 0x20]
push eax
call fcn.00431aa0
add esp, 0x30
lea eax, [ebp - 0x20]
call fcn.0043a034
test al, al
je 0x65179b
xor ebx, ebx
push ebx
push 1
push 0
push 1
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.0043a0c0
add esp, 0x10
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.0043a0c0
add esp, 0x10
lea edx, [ebp - 0x128]
lea eax, [ebp - 0x118]
call fcn.00436bec
mov edx, dword [ebp - 0x118]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
cmp ebx, 2
jne 0x651747
lea eax, [ebp - 8]
mov edx, 0x651ed0
call fcn.00407f58
lea eax, [ebp - 0xc]
mov edx, 0x651f1c
call fcn.00407f58
lea eax, [ebp - 0x78]
call fcn.00431a84
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x78]
call fcn.0043237c
lea eax, [ebp - 0x158]
xor edx, edx
call fcn.004377a8
push esi
push edi
lea esi, [ebp - 0x158]
lea edi, [ebp - 0xc4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x168]
xor edx, edx
call fcn.004377a8
push esi
push edi
lea esi, [ebp - 0x168]
lea edi, [ebp - 0xb4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0xc4]
lea ecx, [ebp - 0x148]
mov edx, 1
call fcn.00439ebc
push dword [ebp - 0x13c]
push dword [ebp - 0x140]
push dword [ebp - 0x144]
push dword [ebp - 0x148]
lea eax, [ebp - 0x188]
mov edx, dword [ebp - 8]
call fcn.004377a8
push esi
push edi
lea esi, [ebp - 0x188]
lea edi, [ebp - 0xc4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x198]
mov edx, dword [ebp - 0xc]
call fcn.004377a8
push esi
push edi
lea esi, [ebp - 0x198]
lea edi, [ebp - 0xb4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0xc4]
lea ecx, [ebp - 0x178]
mov edx, 1
call fcn.00439ebc
push dword [ebp - 0x16c]
push dword [ebp - 0x170]
push dword [ebp - 0x174]
push dword [ebp - 0x178]
push 0x651e9c
push 0x651eb0
push 0x670890
lea eax, [ebp - 0x20]
push eax
call fcn.00431aa0
add esp, 0x30
lea eax, [ebp - 0x20]
call fcn.0043a034
test al, al
je 0x651927
xor ebx, ebx
push ebx
push 1
push 0
push 1
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1bc]
push eax
call fcn.0043a0c0
add esp, 0x10
lea eax, [ebp - 0x1bc]
push eax
lea eax, [ebp - 0x1ac]
push eax
call fcn.0043a0c0
add esp, 0x10
lea edx, [ebp - 0x1ac]
lea eax, [ebp - 0x19c]
call fcn.00436bec
mov edx, dword [ebp - 0x19c]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
cmp ebx, 2
jne 0x6518d3
lea eax, [ebp - 0x58]
call fcn.0059efb0
lea eax, [ebp - 0x58]
call fcn.00439b64
test al, al
jne 0x65197a
push 0
push 1
push 0
push 1
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x1dc]
push eax
call fcn.0043a0c0
add esp, 0x10
lea eax, [ebp - 0x1dc]
push eax
lea eax, [ebp - 0x1cc]
push eax
call fcn.0043a0c0
add esp, 0x10
lea edx, [ebp - 0x1cc]
lea eax, [ebp - 0x40]
call fcn.00436bec
lea eax, [ebp - 0x44]
call fcn.00407b30
push 0x651f40
push dword [ebp - 0x40]
push 0x651f90
lea eax, [ebp - 8]
mov edx, 3
call fcn.00408ea8
lea eax, [ebp - 0xc]
mov edx, 0x651fa4
call fcn.00407f58
lea eax, [ebp - 0x88]
call fcn.00431a84
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x88]
call fcn.0043237c
lea eax, [ebp - 0x1fc]
xor edx, edx
call fcn.004377a8
push edi
lea esi, [ebp - 0x1fc]
lea edi, [ebp - 0xc4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
lea eax, [ebp - 0x20c]
xor edx, edx
call fcn.004377a8
push edi
lea esi, [ebp - 0x20c]
lea edi, [ebp - 0xb4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
lea eax, [ebp - 0xc4]
lea ecx, [ebp - 0x1ec]
mov edx, 1
call fcn.00439ebc
push dword [ebp - 0x1e0]
push dword [ebp - 0x1e4]
push dword [ebp - 0x1e8]
push dword [ebp - 0x1ec]
lea eax, [ebp - 0x22c]
mov edx, dword [ebp - 8]
call fcn.004377a8
push edi
lea esi, [ebp - 0x22c]
lea edi, [ebp - 0xc4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
lea eax, [ebp - 0x23c]
mov edx, dword [ebp - 0xc]
call fcn.004377a8
push edi
lea esi, [ebp - 0x23c]
lea edi, [ebp - 0xb4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
lea eax, [ebp - 0xc4]
lea ecx, [ebp - 0x21c]
mov edx, 1
call fcn.00439ebc
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
push 0x651e9c
push 0x651eb0
push 0x670890
lea eax, [ebp - 0x20]
push eax
call fcn.00431aa0
add esp, 0x30
lea eax, [ebp - 0x20]
call fcn.0043a034
test al, al
je 0x651b55
push 0
push 1
push 0
push 1
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.0043a0c0
add esp, 0x10
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.0043a0c0
add esp, 0x10
lea edx, [ebp - 0x24c]
lea eax, [ebp - 0x40]
call fcn.00436bec
push 1
push 1
push 0
push 1
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.0043a0c0
add esp, 0x10
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.0043a0c0
add esp, 0x10
lea edx, [ebp - 0x26c]
lea eax, [ebp - 0x44]
call fcn.00436bec
cmp dword [ebp - 0x44], 0
je 0x651b55
push ebp
mov eax, dword [ebp - 0x44]
call fcn.006510a8
pop ecx
cmp dword [ebp - 0x44], 0
jne 0x651c7c
push ebp
call fcn.00650e10
pop ecx
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x24]
call fcn.00407f58
push ebp
mov eax, dword [ebp - 0x44]
call fcn.006510a8
pop ecx
test al, al
je 0x651c0b
push ebp
call fcn.00651494
pop ecx
test al, al
jne 0x651c7c
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x28]
call fcn.00407f58
push ebp
mov eax, dword [ebp - 0x44]
call fcn.006510a8
pop ecx
test al, al
je 0x651c7c
push ebp
call fcn.00651494
pop ecx
test al, al
jne 0x651c7c
push 0x651fc8
push dword [ebp - 0x24]
push 0x651ff0
push dword [ebp - 0x2c]
push 0x652000
push dword [ebp - 0x28]
push 0x651ff0
push dword [ebp - 0x2c]
push 0x65201c
lea eax, [ebp - 0x280]
mov edx, 9
call fcn.00408ea8
mov eax, dword [ebp - 0x280]
call fcn.004ccb24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x651d3d
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x28]
call fcn.00407f58
push ebp
mov eax, dword [ebp - 0x44]
call fcn.006510a8
pop ecx
test al, al
je 0x651c7c
push ebp
call fcn.00651494
pop ecx
test al, al
jne 0x651c7c
push 0x651fc8
push dword [ebp - 0x24]
push 0x651ff0
push dword [ebp - 0x2c]
push 0x652000
push dword [ebp - 0x28]
push 0x651ff0
push dword [ebp - 0x2c]
push 0x65201c
lea eax, [ebp - 0x284]
mov edx, 9
call fcn.00408ea8
mov eax, dword [ebp - 0x284]
call fcn.004ccb24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x651d3d
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00407f10
mov eax, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x2c]
call fcn.00407f10
mov eax, dword [ebp - 0x90]
mov edx, dword [ebp - 0x30]
call fcn.00407f10
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x34]
call fcn.00407f10
mov byte [ebp - 0x91], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x651d3d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x651e0d
lea eax, [ebp - 0x28c]
mov edx, 4
call fcn.00407b90
lea eax, [ebp - 0x27c]
mov edx, dword [0x4012c0]
mov ecx, 0xe
call fcn.004094fc
lea eax, [ebp - 0x19c]
call fcn.00407b30
lea eax, [ebp - 0x198]
mov edx, dword [0x4012c0]
mov ecx, 8
call fcn.004094fc
lea eax, [ebp - 0x118]
call fcn.00407b30
lea eax, [ebp - 0x114]
mov edx, dword [0x4012c0]
mov ecx, 5
call fcn.004094fc
lea eax, [ebp - 0xa4]
call fcn.00431a98
lea eax, [ebp - 0x88]
mov edx, dword [0x4012c0]
mov ecx, 4
call fcn.004094fc
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.00407b90
lea eax, [ebp - 0x34]
mov edx, 5
call fcn.00407b90
lea eax, [ebp - 0x20]
call fcn.00431a98
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00407b90
ret