Function at 0x408760
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x68]
cmp eax, dword [ecx + 8]
jbe 0x408b61
sub esp, 0xe8
mov eax, dword [esp + 0xe8]
mov dword [esp], eax
call fcn.0046da10
mov eax, dword [esp + 4]
test eax, eax
jne 0x408b41
xor eax, eax
xor ecx, ecx
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00458210
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
lea edi, [esp + 0x64]
mov dword [esp], edi
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], esi
call fcn.00450710
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x94], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x84], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x28
call fcn.00402e00
mov eax, dword [esp + 0xc]
test eax, eax
jl 0x408af9
lea ecx, [eax - 1]
mov edx, dword [esp + 0x84]
cmp edx, ecx
jb 0x408af4
lea ebx, [eax + 2]
cmp edx, ebx
jg 0x408872
mov dword [esp], 0
lea eax, [0x72e893]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x31
mov eax, dword [esp + 0x94]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
call fcn.00450670
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0046ad70
jb 0x408aed
cmp ebx, ecx
jb 0x408ae4
mov ebp, dword [esp + 0x94]
lea esi, [eax + ebp - 1]
cmp word [esi], 0x282e
jne 0x408831
lea esi, [eax + ebp + 1]
cmp byte [esi], 0x2a
jne 0x408831
mov dword [esp + 0x88], ecx
sub edx, eax
mov dword [esp + 0x90], edx
lea eax, [edx - 2]
mov dword [esp + 0x8c], eax
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, ebx
add eax, ebp
mov dword [esp + 0x98], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x29
call fcn.00402e00
mov eax, dword [esp + 0xc]
test eax, eax
jl 0x408a9c
lea ecx, [eax + 2]
mov edx, dword [esp + 0x8c]
cmp ecx, edx
jl 0x408933
mov dword [esp], 0
lea eax, [0x72d831]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x2e
mov eax, dword [esp + 0x98]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
call fcn.00450670
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0046ad70
ja 0x408a97
cmp eax, ecx
ja 0x408a92
mov ebx, dword [esp + 0x98]
lea ebp, [ebx + eax]
cmp word [ebp], 0x2e29
jne 0x4088f2
mov edx, dword [esp + 0x90]
sub edx, eax
add edx, 0xfffffffc
mov ebp, edx
neg edx
sar edx, 0x1f
and edx, ecx
lea ecx, [ebx + edx]
mov dword [esp + 0x9c], ecx
lea edi, [esp + 0xa0]
mov edx, eax
xor eax, eax
call fcn.00471abe
mov dword [esp + 0xa4], 0xd
lea ecx, [0x71db07]
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xb4], 1
lea ecx, [0x78861c]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xbc], edx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xc4], 1
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xcc], ebp
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xd4], 0x13
lea ecx, [0x7206d2]
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xdc], edx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xe4], 8
lea ecx, [0x71bf7f]
mov dword [esp + 0xe0], ecx
mov dword [esp], 0
lea ecx, [esp + 0xa0]
mov dword [esp + 4], ecx
mov dword [esp + 8], 9
mov dword [esp + 0xc], 9
call fcn.00450490
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.00465f00
mov ecx, dword [esp + 8]
lea edx, [0x6e8ac0]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.0046a9e0
call fcn.00471910
call fcn.004718d0
lea eax, [esp + 0x24]
mov dword [esp], eax
lea eax, [0x7206bf]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x13
mov eax, dword [esp + 0x98]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x10], eax
call fcn.00450670
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0046ad70
mov eax, ecx
mov ecx, ebx
call fcn.00471910
mov ecx, ebx
call fcn.004718d0
call fcn.004718d0
lea eax, [esp + 0x44]
mov dword [esp], eax
lea eax, [0x7206ac]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x13
mov eax, dword [esp + 0x94]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x10], eax
call fcn.00450670
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0046ad70
mov ecx, dword [esp + 8]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00452490
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0xc]
jmp 0x40879d
call fcn.00470430
jmp fcn.00408760