Function at 0x65732c
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x20
push 0
push 0
dec ecx
jne 0x657334
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x657ef7
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, 1
mov eax, dword [ebx + 0x314]
call fcn.004bf550
mov eax, dword [ebx + 0x318]
mov eax, dword [eax + 0x24c]
dec eax
test eax, eax
jl 0x6573ae
inc eax
mov dword [ebp - 8], eax
xor esi, esi
mov eax, dword [ebx + 0x318]
mov eax, dword [eax + 0x21c]
dec eax
test eax, eax
jle 0x6573a8
mov dword [ebp - 0xc], eax
mov edi, 1
push 0
mov ecx, esi
mov edx, edi
mov eax, dword [ebx + 0x318]
call fcn.004c1a98
inc edi
dec dword [ebp - 0xc]
jne 0x657391
inc esi
dec dword [ebp - 8]
jne 0x657378
mov eax, dword [ebx + 0x31c]
cmp byte [eax + 0x170], 0
je 0x6574a8
mov eax, dword [ebx + 0x36c]
mov dword [ebx + 0x368], eax
test eax, eax
jle 0x65743f
mov dword [ebp - 8], eax
mov esi, 1
lea edx, [ebp - 0x14]
mov eax, esi
call fcn.00409838
mov edx, dword [ebp - 0x14]
lea eax, [ebx + esi*4 + 0x320]
call fcn.00404b8c
lea edx, [ebp - 0x18]
mov eax, esi
call fcn.00409838
mov edx, dword [ebp - 0x18]
lea eax, [ebx + esi*4 + 0x340]
mov ecx, 0x657f10
call fcn.00404e3c
mov edi, esi
add edi, edi
mov edx, edi
dec edx
mov ecx, 0x2c
mov eax, dword [ebx + 0x318]
call fcn.004bf550
mov edx, edi
mov ecx, 0x3e
mov eax, dword [ebx + 0x318]
call fcn.004bf550
inc esi
dec dword [ebp - 8]
jne 0x6573d9
lea eax, [ebx + esi*4 + 0x340]
mov edx, 0x657f20
call fcn.00404b8c
mov edi, esi
add edi, edi
mov edx, edi
dec edx
mov ecx, 0x30
mov eax, dword [ebx + 0x318]
call fcn.004bf550
mov edx, edi
mov ecx, 0x42
mov eax, dword [ebx + 0x318]
call fcn.004bf550
mov esi, dword [ebx + 0x368]
add esi, esi
add esi, 3
cmp esi, 0x12
jg 0x657640
or ecx, 0xffffffff
mov edx, esi
mov eax, dword [ebx + 0x318]
call fcn.004bf550
inc esi
cmp esi, 0x13
jne 0x65748d
jmp 0x657640
push 0x657f30
lea edx, [ebp - 0x1c]
mov eax, dword [ebx + 0x308]
call fcn.00448cdc
push dword [ebp - 0x1c]
push 0x657f90
lea edx, [ebp - 0x20]
mov eax, dword [ebx + 0x308]
call fcn.00448cdc
push dword [ebp - 0x20]
push 0x657fb0
push 0x657fc4
push 0x657fe4
lea eax, [ebp - 4]
mov edx, 7
call fcn.00404eb0
mov eax, dword [0x669de8]
mov eax, dword [eax]
mov esi, dword [eax + 0x5c]
mov eax, esi
call fcn.00483d8c
mov eax, esi
call fcn.004d882c
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, esi
call fcn.00483d80
mov dword [ebx + 0x368], 1
jmp 0x6575b6
mov edx, 0x657ffc
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebx + 0x368]
lea eax, [ebx + eax*4 + 0x320]
call fcn.00404b8c
mov edx, 0x658010
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebx + 0x368]
lea eax, [ebx + eax*4 + 0x340]
call fcn.00404b8c
mov edx, dword [ebx + 0x368]
add edx, edx
dec edx
mov ecx, 0x2c
mov eax, dword [ebx + 0x318]
call fcn.004bf550
mov edx, dword [ebx + 0x368]
add edx, edx
mov ecx, 0x3e
mov eax, dword [ebx + 0x318]
call fcn.004bf550
inc dword [ebx + 0x368]
mov eax, esi
call fcn.0048643c
cmp byte [esi + 0xa1], 0
jne 0x6575cc
cmp dword [ebx + 0x368], 8
jle 0x657526
mov eax, dword [ebx + 0x368]
lea eax, [ebx + eax*4 + 0x340]
mov edx, 0x657f20
call fcn.00404b8c
mov edx, dword [ebx + 0x368]
add edx, edx
dec edx
mov ecx, 0x30
mov eax, dword [ebx + 0x318]
call fcn.004bf550
mov edx, dword [ebx + 0x368]
add edx, edx
mov ecx, 0x42
mov eax, dword [ebx + 0x318]
call fcn.004bf550
dec dword [ebx + 0x368]
mov esi, dword [ebx + 0x368]
add esi, esi
add esi, 3
cmp esi, 0x12
jg 0x657640
or ecx, 0xffffffff
mov edx, esi
mov eax, dword [ebx + 0x318]
call fcn.004bf550
inc esi
cmp esi, 0x13
jne 0x65762a
mov eax, dword [ebx + 0x318]
mov eax, dword [eax + 0x21c]
dec eax
test eax, eax
jl 0x657679
inc eax
mov dword [ebp - 8], eax
xor esi, esi
mov edx, esi
mov eax, dword [ebx + 0x318]
call fcn.004bf418
mov ecx, eax
mov edx, esi
mov eax, dword [ebx + 0x314]
call fcn.004bf550
inc esi
dec dword [ebp - 8]
jne 0x657657
lea eax, [ebp - 4]
mov edx, 0x658020
call fcn.00404bd0
mov eax, dword [ebx + 0x31c]
cmp byte [eax + 0x170], 0
je 0x6576a4
lea eax, [ebp - 4]
mov edx, 0x6582d4
call fcn.00404df8
jmp 0x6576b1
lea eax, [ebp - 4]
mov edx, 0x6582e8
call fcn.00404df8
push dword [ebp - 4]
push 0x658304
push 0x658340
push 0x658358
lea edx, [ebp - 0x2c]
mov eax, dword [ebx + 0x308]
call fcn.00448cdc
push dword [ebp - 0x2c]
push 0x657f90
lea edx, [ebp - 0x30]
mov eax, dword [ebx + 0x308]
call fcn.00448cdc
push dword [ebp - 0x30]
push 0x657fb0
push 0x658370
lea eax, [ebp - 4]
mov edx, 9
call fcn.00404eb0
mov eax, dword [ebx + 0x31c]
cmp byte [eax + 0x170], 0
je 0x65771f
lea eax, [ebp - 4]
mov edx, 0x658398
call fcn.00404df8
jmp 0x65772c
lea eax, [ebp - 4]
mov edx, 0x6583ac
call fcn.00404df8
push dword [ebp - 4]
push 0x6583c0
push 0x6583d0
push 0x658420
push 0x658358
lea edx, [ebp - 0x34]
mov eax, dword [ebx + 0x308]
call fcn.00448cdc
push dword [ebp - 0x34]
push 0x657f90
lea edx, [ebp - 0x38]
mov eax, dword [ebx + 0x308]
call fcn.00448cdc
push dword [ebp - 0x38]
push 0x658448
push 0x658474
push 0x658494
push 0x6584c0
push 0x658510
push 0x658358
lea edx, [ebp - 0x3c]
mov eax, dword [ebx + 0x308]
call fcn.00448cdc
push dword [ebp - 0x3c]
push 0x657f90
lea edx, [ebp - 0x40]
mov eax, dword [ebx + 0x308]
call fcn.00448cdc
push dword [ebp - 0x40]
push 0x658448
push 0x65852c
push 0x658558
push 0x658574
push 0x658590
push 0x6585ac
lea eax, [ebp - 4]
mov edx, 0x17
call fcn.00404eb0
mov eax, dword [0x669de8]
mov eax, dword [eax]
mov eax, dword [eax + 0x5c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
call fcn.00483d8c
mov eax, dword [ebp - 0x10]
call fcn.004d882c
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x10]
call fcn.00483d80
jmp 0x6579f6
mov eax, dword [ebx + 0x318]
mov eax, dword [eax + 0x24c]
sub eax, 2
test eax, eax
jl 0x6579ee
inc eax
mov dword [ebp - 8], eax
xor esi, esi
lea eax, [ebp - 0x44]
push eax
mov ecx, esi
xor edx, edx
mov eax, dword [ebx + 0x318]
call fcn.004c1a18
mov eax, dword [ebp - 0x44]
push eax
mov edx, 0x6585e4
mov eax, dword [ebp - 0x10]
call fcn.00484d94
lea edx, [ebp - 0x48]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x48]
pop eax
call fcn.00404f34
jne 0x6579e4
mov eax, dword [ebx + 0x368]
test eax, eax
jle 0x657930
mov dword [ebp - 0xc], eax
mov edi, 1
mov edx, 0x6585f0
mov eax, dword [ebp - 0x10]
call fcn.00484d94
lea edx, [ebp - 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebx + edi*4 + 0x320]
call fcn.00404f34
jne 0x657926
mov edx, 0x658600
mov eax, dword [ebp - 0x10]
call fcn.00484d94
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x50]
mov eax, 0x658614
call fcn.0040b048
mov eax, dword [ebp - 0x50]
push eax
mov eax, edi
dec eax
mov edx, eax
add edx, edx
inc edx
mov ecx, esi
mov eax, dword [ebx + 0x318]
call fcn.004c1a98
mov edx, 0x658624
mov eax, dword [ebp - 0x10]
call fcn.00484d94
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x54]
mov eax, 0x658614
call fcn.0040b048
mov eax, dword [ebp - 0x54]
push eax
mov eax, edi
dec eax
mov edx, eax
add edx, edx
add edx, 2
mov ecx, esi
mov eax, dword [ebx + 0x318]
call fcn.004c1a98
jmp 0x657930
inc edi
dec dword [ebp - 0xc]
jne 0x65787a
mov edx, 0x658638
mov eax, dword [ebp - 0x10]
call fcn.00484d94
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x58]
mov eax, 0x658614
call fcn.0040b048
mov eax, dword [ebp - 0x58]
push eax
mov ecx, esi
mov edx, 0x13
mov eax, dword [ebx + 0x318]
call fcn.004c1a98
mov edx, 0x658648
mov eax, dword [ebp - 0x10]
call fcn.00484d94
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x5c]
mov eax, 0x658614
call fcn.0040b048
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, esi
mov edx, 0x14
mov eax, dword [ebx + 0x318]
call fcn.004c1a98
mov edx, 0x658658
mov eax, dword [ebp - 0x10]
call fcn.00484d94
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x60]
mov eax, 0x658614
call fcn.0040b048
mov eax, dword [ebp - 0x60]
push eax
mov ecx, esi
mov edx, 0x15
mov eax, dword [ebx + 0x318]
call fcn.004c1a98
inc esi
dec dword [ebp - 8]
jne 0x657829
mov eax, dword [ebp - 0x10]
call fcn.0048643c
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0xa1], 0
je 0x65780c
mov eax, dword [ebx + 0x318]
mov eax, dword [eax + 0x24c]
sub eax, 2
test eax, eax
jl 0x657d77
inc eax
mov dword [ebp - 8], eax
xor esi, esi
lea eax, [ebp - 0x68]
push eax
mov ecx, esi
mov edx, 1
mov edi, dword [ebx + 0x318]
mov eax, edi
call fcn.004c1a18
mov eax, dword [ebp - 0x68]
call fcn.00662f94
fstp qword [ebp - 0x70]
wait
lea eax, [ebp - 0x74]
push eax
mov ecx, esi
mov edx, 3
mov eax, dword [ebx + 0x318]
call fcn.004c1a18
mov eax, dword [ebp - 0x74]
call fcn.00662f94
fadd qword [ebp - 0x70]
fstp xword [ebp - 0x80]
wait
lea eax, [ebp - 0x84]
push eax
mov ecx, esi
mov edx, 5
mov eax, dword [ebx + 0x318]
call fcn.004c1a18
mov eax, dword [ebp - 0x84]
call fcn.00662f94
fld xword [ebp - 0x80]
faddp st(1)
fstp xword [ebp - 0x90]
wait
lea eax, [ebp - 0x94]
push eax
mov ecx, esi
mov edx, 7
mov eax, dword [ebx + 0x318]
call fcn.004c1a18
mov eax, dword [ebp - 0x94]
call fcn.00662f94
fld xword [ebp - 0x90]
faddp st(1)
fstp xword [ebp - 0xa0]
wait
lea eax, [ebp - 0xa4]
push eax
mov ecx, esi
mov edx, 9
mov eax, dword [ebx + 0x318]
call fcn.004c1a18
mov eax, dword [ebp - 0xa4]
call fcn.00662f94
fld xword [ebp - 0xa0]
faddp st(1)
fstp xword [ebp - 0xb0]
wait
lea eax, [ebp - 0xb4]
push eax
mov ecx, esi
mov edx, 0xb
mov eax, dword [ebx + 0x318]
call fcn.004c1a18
mov eax, dword [ebp - 0xb4]
call fcn.00662f94
fld xword [ebp - 0xb0]
faddp st(1)
fstp xword [ebp - 0xc0]
wait
lea eax, [ebp - 0xc4]
push eax
mov ecx, esi
mov edx, 0xd
mov eax, dword [ebx + 0x318]
call fcn.004c1a18
mov eax, dword [ebp - 0xc4]
call fcn.00662f94
fld xword [ebp - 0xc0]
faddp st(1)
fstp xword [ebp - 0xd0]
wait
lea eax, [ebp - 0xd4]
push eax
mov ecx, esi
mov edx, 0xf
mov eax, dword [ebx + 0x318]
call fcn.004c1a18
mov eax, dword [ebp - 0xd4]
call fcn.00662f94
fld xword [ebp - 0xd0]
faddp st(1)
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x64]
mov eax, 0x65866c
call fcn.0040b048
mov eax, dword [ebp - 0x64]
push eax
mov edx, dword [ebx + 0x368]
add edx, edx
inc edx
mov ecx, esi
mov eax, edi
call fcn.004c1a98
lea eax, [ebp - 0xdc]
push eax
mov ecx, esi
mov edx, 2
mov edi, dword [ebx + 0x318]
mov eax, edi
call fcn.004c1a18
mov eax, dword [ebp - 0xdc]
call fcn.00662f94
fstp qword [ebp - 0x70]
wait
lea eax, [ebp - 0xe0]
push eax
mov ecx, esi
mov edx, 4
mov eax, dword [ebx + 0x318]
call fcn.004c1a18
mov eax, dword [ebp - 0xe0]
call fcn.00662f94
fadd qword [ebp - 0x70]
fstp xword [ebp - 0x80]
wait
lea eax, [ebp - 0xe4]
push eax
mov ecx, esi
mov edx, 6
mov eax, dword [ebx + 0x318]
call fcn.004c1a18
mov eax, dword [ebp - 0xe4]
call fcn.00662f94
fld xword [ebp - 0x80]
faddp st(1)
fstp xword [ebp - 0x90]
wait
lea eax, [ebp - 0xe8]
push eax
mov ecx, esi
mov edx, 8
mov eax, dword [ebx + 0x318]
call fcn.004c1a18
mov eax, dword [ebp - 0xe8]
call fcn.00662f94
fld xword [ebp - 0x90]
faddp st(1)
fstp xword [ebp - 0xa0]
wait
lea eax, [ebp - 0xec]
push eax
mov ecx, esi
mov edx, 0xa
mov eax, dword [ebx + 0x318]
call fcn.004c1a18
mov eax, dword [ebp - 0xec]
call fcn.00662f94
fld xword [ebp - 0xa0]
faddp st(1)
fstp xword [ebp - 0xb0]
wait
lea eax, [ebp - 0xf0]
push eax
mov ecx, esi
mov edx, 0xc
mov eax, dword [ebx + 0x318]
call fcn.004c1a18
mov eax, dword [ebp - 0xf0]
call fcn.00662f94
fld xword [ebp - 0xb0]
faddp st(1)
fstp xword [ebp - 0xc0]
wait
lea eax, [ebp - 0xf4]
push eax
mov ecx, esi
mov edx, 0xe
mov eax, dword [ebx + 0x318]
call fcn.004c1a18
mov eax, dword [ebp - 0xf4]
call fcn.00662f94
fld xword [ebp - 0xc0]
faddp st(1)
fstp xword [ebp - 0xd0]
wait
lea eax, [ebp - 0xf8]
push eax
mov ecx, esi
mov edx, 0x10
mov eax, dword [ebx + 0x318]
call fcn.004c1a18
mov eax, dword [ebp - 0xf8]
call fcn.00662f94
fld xword [ebp - 0xd0]
faddp st(1)
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0xd8]
mov eax, 0x65866c
call fcn.0040b048
mov eax, dword [ebp - 0xd8]
push eax
mov edx, dword [ebx + 0x368]
add edx, edx
add edx, 2
mov ecx, esi
mov eax, edi
call fcn.004c1a98
inc esi
dec dword [ebp - 8]
jne 0x657a23
mov eax, dword [ebx + 0x318]
mov eax, dword [eax + 0x21c]
dec eax
test eax, eax
jle 0x657e51
mov dword [ebp - 8], eax
mov esi, 1
mov eax, dword [ebx + 0x318]
mov eax, dword [eax + 0x24c]
sub eax, 2
test eax, eax
jl 0x657e47
inc eax
mov dword [ebp - 0xc], eax
xor edi, edi
lea eax, [ebp - 0x100]
push eax
mov eax, dword [ebx + 0x318]
mov ecx, dword [eax + 0x24c]
dec ecx
mov edx, esi
mov eax, dword [ebx + 0x318]
call fcn.004c1a18
mov eax, dword [ebp - 0x100]
call fcn.00662f94
fstp qword [ebp - 0x70]
wait
lea eax, [ebp - 0x104]
push eax
mov ecx, edi
mov edx, esi
mov eax, dword [ebx + 0x318]
call fcn.004c1a18
mov eax, dword [ebp - 0x104]
call fcn.00662f94
fadd qword [ebp - 0x70]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0xfc]
mov eax, 0x65866c
call fcn.0040b048
mov eax, dword [ebp - 0xfc]
push eax
mov eax, dword [ebx + 0x318]
mov ecx, dword [eax + 0x24c]
dec ecx
mov edx, esi
mov eax, dword [ebx + 0x318]
call fcn.004c1a98
inc edi
dec dword [ebp - 0xc]
jne 0x657db1
inc esi
dec dword [ebp - 8]
jne 0x657d94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x657f01
lea eax, [ebp - 0x104]
mov edx, 0xd
call fcn.00404b5c
lea eax, [ebp - 0xc4]
call fcn.00404b38
lea eax, [ebp - 0xb4]
call fcn.00404b38
lea eax, [ebp - 0xa4]
call fcn.00404b38
lea eax, [ebp - 0x94]
call fcn.00404b38
lea eax, [ebp - 0x84]
call fcn.00404b38
lea eax, [ebp - 0x74]
call fcn.00404b38
lea eax, [ebp - 0x68]
mov edx, 0xa
call fcn.00404b5c
lea eax, [ebp - 0x40]
mov edx, 6
call fcn.00404b5c
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00404b5c
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00404b5c
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00404b5c
lea eax, [ebp - 4]
call fcn.00404b38
ret