Function at 0x65586c
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x11
push 0
push 0
dec ecx
jne 0x655874
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x6561b8
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, 1
mov eax, dword [ebx + 0x320]
call fcn.004bf550
mov eax, dword [ebx + 0x324]
cmp byte [eax + 0x170], 0
je 0x65599b
mov eax, dword [ebx + 0x374]
mov dword [ebx + 0x370], eax
test eax, eax
jle 0x655932
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 + 0x328]
call fcn.00404b8c
lea edx, [ebp - 0x18]
mov eax, esi
call fcn.00409838
mov edx, dword [ebp - 0x18]
lea eax, [ebx + esi*4 + 0x348]
mov ecx, 0x6561d0
call fcn.00404e3c
mov edi, esi
add edi, edi
mov edx, edi
dec edx
mov ecx, 0x2c
mov eax, dword [ebx + 0x310]
call fcn.004bf550
mov edx, edi
mov ecx, 0x3e
mov eax, dword [ebx + 0x310]
call fcn.004bf550
inc esi
dec dword [ebp - 8]
jne 0x6558cc
lea eax, [ebx + esi*4 + 0x348]
mov edx, 0x6561e0
call fcn.00404b8c
mov edi, esi
add edi, edi
mov edx, edi
dec edx
mov ecx, 0x2c
mov eax, dword [ebx + 0x310]
call fcn.004bf550
mov edx, edi
mov ecx, 0x3e
mov eax, dword [ebx + 0x310]
call fcn.004bf550
mov esi, dword [ebx + 0x370]
add esi, esi
add esi, 3
cmp esi, 0x12
jg 0x655b33
or ecx, 0xffffffff
mov edx, esi
mov eax, dword [ebx + 0x310]
call fcn.004bf550
inc esi
cmp esi, 0x13
jne 0x655980
jmp 0x655b33
push 0x6561f0
lea edx, [ebp - 0x1c]
mov eax, dword [ebx + 0x308]
call fcn.00488108
push dword [ebp - 0x1c]
push 0x656250
lea edx, [ebp - 0x20]
mov eax, dword [ebx + 0x308]
call fcn.00488108
push dword [ebp - 0x20]
push 0x65626c
push 0x65627c
push 0x65629c
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 + 0x370], 1
jmp 0x655aa9
mov edx, 0x6562b4
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 + 0x370]
lea eax, [ebx + eax*4 + 0x328]
call fcn.00404b8c
mov edx, 0x6562c8
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 + 0x370]
lea eax, [ebx + eax*4 + 0x348]
call fcn.00404b8c
mov edx, dword [ebx + 0x370]
add edx, edx
dec edx
mov ecx, 0x2c
mov eax, dword [ebx + 0x310]
call fcn.004bf550
mov edx, dword [ebx + 0x370]
add edx, edx
mov ecx, 0x3e
mov eax, dword [ebx + 0x310]
call fcn.004bf550
inc dword [ebx + 0x370]
mov eax, esi
call fcn.0048643c
cmp byte [esi + 0xa1], 0
jne 0x655abf
cmp dword [ebx + 0x370], 8
jle 0x655a19
mov eax, dword [ebx + 0x370]
lea eax, [ebx + eax*4 + 0x348]
mov edx, 0x6561e0
call fcn.00404b8c
mov edx, dword [ebx + 0x370]
add edx, edx
dec edx
mov ecx, 0x2c
mov eax, dword [ebx + 0x310]
call fcn.004bf550
mov edx, dword [ebx + 0x370]
add edx, edx
mov ecx, 0x3e
mov eax, dword [ebx + 0x310]
call fcn.004bf550
dec dword [ebx + 0x370]
mov esi, dword [ebx + 0x370]
add esi, esi
add esi, 3
cmp esi, 0x12
jg 0x655b33
or ecx, 0xffffffff
mov edx, esi
mov eax, dword [ebx + 0x310]
call fcn.004bf550
inc esi
cmp esi, 0x13
jne 0x655b1d
mov eax, dword [ebx + 0x310]
mov eax, dword [eax + 0x21c]
dec eax
test eax, eax
jl 0x655b6c
inc eax
mov dword [ebp - 8], eax
xor esi, esi
mov edx, esi
mov eax, dword [ebx + 0x310]
call fcn.004bf418
mov ecx, eax
mov edx, esi
mov eax, dword [ebx + 0x320]
call fcn.004bf550
inc esi
dec dword [ebp - 8]
jne 0x655b4a
lea eax, [ebp - 4]
mov edx, 0x6562d8
call fcn.00404bd0
mov eax, dword [ebx + 0x324]
cmp byte [eax + 0x170], 0
je 0x655b97
lea eax, [ebp - 4]
mov edx, 0x65658c
call fcn.00404df8
jmp 0x655ba4
lea eax, [ebp - 4]
mov edx, 0x6565a0
call fcn.00404df8
push dword [ebp - 4]
push 0x6565bc
push 0x6565f8
push 0x656610
lea edx, [ebp - 0x2c]
mov eax, dword [ebx + 0x308]
call fcn.00488108
push dword [ebp - 0x2c]
push 0x656250
lea edx, [ebp - 0x30]
mov eax, dword [ebx + 0x308]
call fcn.00488108
push dword [ebp - 0x30]
push 0x65626c
push 0x656628
lea eax, [ebp - 4]
mov edx, 9
call fcn.00404eb0
mov eax, dword [ebx + 0x324]
cmp byte [eax + 0x170], 0
je 0x655c12
lea eax, [ebp - 4]
mov edx, 0x656650
call fcn.00404df8
jmp 0x655c1f
lea eax, [ebp - 4]
mov edx, 0x656664
call fcn.00404df8
push dword [ebp - 4]
push 0x656678
push 0x656688
push 0x6566d8
push 0x656610
lea edx, [ebp - 0x34]
mov eax, dword [ebx + 0x308]
call fcn.00488108
push dword [ebp - 0x34]
push 0x656250
lea edx, [ebp - 0x38]
mov eax, dword [ebx + 0x308]
call fcn.00488108
push dword [ebp - 0x38]
push 0x656700
push 0x656728
push 0x656748
push 0x656774
push 0x6567c4
push 0x656610
lea edx, [ebp - 0x3c]
mov eax, dword [ebx + 0x308]
call fcn.00488108
push dword [ebp - 0x3c]
push 0x656250
lea edx, [ebp - 0x40]
mov eax, dword [ebx + 0x308]
call fcn.00488108
push dword [ebp - 0x40]
push 0x656700
push 0x6567e0
push 0x65680c
push 0x656828
push 0x656844
push 0x656860
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 - 0xc], eax
mov eax, dword [ebp - 0xc]
call fcn.00483d8c
mov eax, dword [ebp - 0xc]
call fcn.004d882c
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.00483d80
jmp 0x655ee9
mov eax, dword [ebx + 0x310]
mov eax, dword [eax + 0x24c]
sub eax, 2
test eax, eax
jl 0x655ee1
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 + 0x310]
call fcn.004c1a18
mov eax, dword [ebp - 0x44]
push eax
mov edx, 0x656898
mov eax, dword [ebp - 0xc]
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 0x655ed7
mov eax, dword [ebx + 0x370]
test eax, eax
jle 0x655e23
mov dword [ebp - 0x10], eax
mov edi, 1
mov edx, 0x6568a4
mov eax, dword [ebp - 0xc]
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 + 0x328]
call fcn.00404f34
jne 0x655e19
mov edx, 0x6568b4
mov eax, dword [ebp - 0xc]
call fcn.00484d94
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x50]
mov eax, 0x6568c8
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 + 0x310]
call fcn.004c1a98
mov edx, 0x6568d8
mov eax, dword [ebp - 0xc]
call fcn.00484d94
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x54]
mov eax, 0x6568c8
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 + 0x310]
call fcn.004c1a98
jmp 0x655e23
inc edi
dec dword [ebp - 0x10]
jne 0x655d6d
mov edx, 0x6568ec
mov eax, dword [ebp - 0xc]
call fcn.00484d94
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x58]
mov eax, 0x6568c8
call fcn.0040b048
mov eax, dword [ebp - 0x58]
push eax
mov ecx, esi
mov edx, 0x13
mov eax, dword [ebx + 0x310]
call fcn.004c1a98
mov edx, 0x6568fc
mov eax, dword [ebp - 0xc]
call fcn.00484d94
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x5c]
mov eax, 0x6568c8
call fcn.0040b048
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, esi
mov edx, 0x14
mov eax, dword [ebx + 0x310]
call fcn.004c1a98
mov edx, 0x65690c
mov eax, dword [ebp - 0xc]
call fcn.00484d94
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x60]
mov eax, 0x6568c8
call fcn.0040b048
mov eax, dword [ebp - 0x60]
push eax
mov ecx, esi
mov edx, 0x15
mov eax, dword [ebx + 0x310]
call fcn.004c1a98
inc esi
dec dword [ebp - 8]
jne 0x655d1c
mov eax, dword [ebp - 0xc]
call fcn.0048643c
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0xa1], 0
je 0x655cff
mov eax, dword [ebx + 0x310]
mov eax, dword [eax + 0x24c]
sub eax, 2
test eax, eax
jl 0x656061
inc eax
mov dword [ebp - 8], eax
xor esi, esi
push 0
mov edx, dword [ebx + 0x370]
add edx, edx
inc edx
mov ecx, esi
mov eax, dword [ebx + 0x310]
call fcn.004c1a98
push 0
mov edx, dword [ebx + 0x370]
add edx, edx
add edx, 2
mov ecx, esi
mov eax, dword [ebx + 0x310]
call fcn.004c1a98
mov eax, dword [ebx + 0x370]
dec eax
test eax, eax
jl 0x656057
inc eax
mov dword [ebp - 0x10], eax
xor edi, edi
lea eax, [ebp - 0x68]
push eax
mov edx, dword [ebx + 0x370]
add edx, edx
inc edx
mov ecx, esi
mov eax, dword [ebx + 0x310]
call fcn.004c1a18
mov eax, dword [ebp - 0x68]
call fcn.00662f94
fstp qword [ebp - 0x70]
wait
lea eax, [ebp - 0x74]
push eax
mov edx, edi
add edx, edx
inc edx
mov ecx, esi
mov eax, dword [ebx + 0x310]
call fcn.004c1a18
mov eax, dword [ebp - 0x74]
call fcn.00662f94
fadd qword [ebp - 0x70]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x64]
mov eax, 0x656920
call fcn.0040b048
mov eax, dword [ebp - 0x64]
push eax
mov edx, dword [ebx + 0x370]
add edx, edx
inc edx
mov ecx, esi
mov eax, dword [ebx + 0x310]
call fcn.004c1a98
lea eax, [ebp - 0x7c]
push eax
mov edx, dword [ebx + 0x370]
add edx, edx
add edx, 2
mov ecx, esi
mov eax, dword [ebx + 0x310]
call fcn.004c1a18
mov eax, dword [ebp - 0x7c]
call fcn.00662f94
fstp qword [ebp - 0x70]
wait
lea eax, [ebp - 0x80]
push eax
mov edx, edi
add edx, edx
add edx, 2
mov ecx, esi
mov eax, dword [ebx + 0x310]
call fcn.004c1a18
mov eax, dword [ebp - 0x80]
call fcn.00662f94
fadd qword [ebp - 0x70]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x78]
mov eax, 0x656920
call fcn.0040b048
mov eax, dword [ebp - 0x78]
push eax
mov edx, dword [ebx + 0x370]
add edx, edx
add edx, 2
mov ecx, esi
mov eax, dword [ebx + 0x310]
call fcn.004c1a98
inc edi
dec dword [ebp - 0x10]
jne 0x655f5d
inc esi
dec dword [ebp - 8]
jne 0x655f16
mov eax, dword [ebx + 0x310]
mov eax, dword [eax + 0x21c]
dec eax
test eax, eax
jle 0x656151
mov dword [ebp - 8], eax
mov esi, 1
push 0
mov eax, dword [ebx + 0x310]
mov ecx, dword [eax + 0x24c]
dec ecx
mov edx, esi
call fcn.004c1a98
mov eax, dword [ebx + 0x310]
mov eax, dword [eax + 0x24c]
sub eax, 2
test eax, eax
jl 0x656147
inc eax
mov dword [ebp - 0x10], eax
xor edi, edi
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebx + 0x310]
mov ecx, dword [eax + 0x24c]
dec ecx
mov edx, esi
mov eax, dword [ebx + 0x310]
call fcn.004c1a18
mov eax, dword [ebp - 0x88]
call fcn.00662f94
fstp qword [ebp - 0x70]
wait
lea eax, [ebp - 0x8c]
push eax
mov ecx, edi
mov edx, esi
mov eax, dword [ebx + 0x310]
call fcn.004c1a18
mov eax, dword [ebp - 0x8c]
call fcn.00662f94
fadd qword [ebp - 0x70]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x84]
mov eax, 0x656920
call fcn.0040b048
mov eax, dword [ebp - 0x84]
push eax
mov eax, dword [ebx + 0x310]
mov ecx, dword [eax + 0x24c]
dec ecx
mov edx, esi
mov eax, dword [ebx + 0x310]
call fcn.004c1a98
inc edi
dec dword [ebp - 0x10]
jne 0x6560b1
inc esi
dec dword [ebp - 8]
jne 0x65607e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6561bf
lea eax, [ebp - 0x8c]
mov edx, 7
call fcn.00404b5c
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