Function at 0x408400
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x3c]
cmp eax, dword [ecx + 8]
jbe 0x408751
sub esp, 0xbc
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
call fcn.00451880
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00451f70
mov eax, dword [esp + 8]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x20], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x28
call fcn.00402fd0
mov eax, dword [esp + 0xc]
test eax, eax
jl 0x40870e
lea ecx, [eax - 1]
mov edx, dword [esp + 0x20]
cmp edx, ecx
jb 0x408709
lea ebx, [eax + 2]
cmp edx, ebx
jg 0x4084c4
mov dword [esp], 0
lea eax, [0x629d4e]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x31
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
call fcn.0044ec90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00436e90
jb 0x408702
cmp ebx, ecx
jb 0x4086f9
mov ebp, dword [esp + 0x6c]
lea esi, [eax + ebp - 1]
cmp word [esi], 0x282e
jne 0x408486
lea esi, [eax + ebp + 1]
cmp byte [esi], 0x2a
jne 0x408486
mov dword [esp + 0x1c], ecx
sub edx, eax
mov dword [esp + 0x28], edx
lea eax, [edx - 2]
mov dword [esp + 0x20], eax
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, ebx
add eax, ebp
mov dword [esp + 0x70], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x29
call fcn.00402fd0
mov eax, dword [esp + 0xc]
test eax, eax
jl 0x4086b7
lea ecx, [eax + 2]
mov edx, dword [esp + 0x20]
cmp ecx, edx
jl 0x408570
mov dword [esp], 0
lea eax, [0x6292a2]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x2e
mov eax, dword [esp + 0x70]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
call fcn.0044ec90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00436e90
ja 0x4086b2
cmp eax, ecx
ja 0x4086ad
mov ebx, dword [esp + 0x70]
lea ebp, [ebx + eax]
cmp word [ebp], 0x2e29
jne 0x408532
mov dword [esp + 0x24], ecx
lea edi, [esp + 0x74]
mov edx, eax
xor eax, eax
call fcn.004645be
lea ecx, [0x61d647]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], 0xd
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x80], ecx
lea ecx, [0x66d014]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], 1
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], 1
mov ecx, dword [esp + 0x28]
sub ecx, edx
add ecx, 0xfffffffc
mov ebp, ecx
neg ecx
sar ecx, 0x1f
mov esi, dword [esp + 0x24]
and ecx, esi
add ecx, ebx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], ebp
lea ecx, [0x61f6e9]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], 0x13
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], edx
lea ecx, [0x61b6ce]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], 8
mov dword [esp], 0
lea ecx, [esp + 0x74]
mov dword [esp + 4], ecx
mov dword [esp + 8], 9
mov dword [esp + 0xc], 9
call fcn.0044ea90
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.00409b20
mov ecx, dword [esp + 8]
lea edx, [0x5fa980]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00436760
call fcn.00464460
call fcn.00464420
lea eax, [esp + 0x2c]
mov dword [esp], eax
lea eax, [0x61fd84]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x13
mov eax, dword [esp + 0x70]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
call fcn.0044ec90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00436e90
mov eax, ecx
mov ecx, ebx
call fcn.00464460
mov ecx, ebx
call fcn.00464420
call fcn.00464420
lea eax, [esp + 0x4c]
mov dword [esp], eax
lea eax, [0x61fd71]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x13
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
call fcn.0044ec90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00436e90
nop
call fcn.00462f70
jmp fcn.00408400