Function at 0x491724
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 7
push 0
push 0
dec ecx
jne 0x49172d
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404990
xor eax, eax
push ebp
push 0x491a20
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
call fcn.00408e64
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.00408aec
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x491a38
call fcn.004047ec
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov eax, dword [eax + edx*4 + 0x40]
call fcn.0048bf40
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov eax, dword [eax + edx*4 + 0x40]
call fcn.00477d0c
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov eax, dword [eax + edx*4 + 0x40]
mov eax, dword [eax + 0x30]
xor edx, edx
call fcn.0046e31c
lea edx, [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov eax, dword [eax + edx*4 + 0x40]
mov eax, dword [eax + 0x30]
mov edx, 1
call fcn.0046e31c
lea edx, [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov eax, dword [eax + edx*4 + 0x40]
call fcn.00477d18
call fcn.0040ad24
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x14]
call fcn.0040b974
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x14]
call fcn.004047a0
mov ecx, eax
sub ecx, 3
mov edx, 1
mov eax, dword [ebp - 0x14]
call fcn.00404a00
mov eax, dword [ebp - 0x14]
call fcn.004047a0
cmp eax, 4
jne 0x491840
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov edx, 0x491a74
call fcn.004047ec
lea eax, [ebp - 0x1c]
push eax
mov edx, dword [ebp - 8]
mov eax, 0x491a80
call fcn.00404ae4
mov ecx, eax
sub ecx, 0xa
mov edx, 0xa
mov eax, dword [ebp - 8]
call fcn.00404a00
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov eax, dword [eax + edx*4 + 0x40]
call fcn.0048bf40
mov edx, 0x491a90
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov eax, dword [eax + edx*4 + 0x40]
call fcn.00477d0c
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov eax, dword [eax + edx*4 + 0x40]
call fcn.0047a144
jmp 0x49198c
mov eax, ebx
mov edx, 0x491ac0
call fcn.00478d1c
lea edx, [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x30]
mov edx, 0x491ad0
call fcn.004048ec
je 0x49197d
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov eax, dword [eax + edx*4 + 0x40]
mov edx, 0x491ac0
call fcn.00478d1c
lea edx, [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x60]
xor eax, eax
push ebp
push 0x491973
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x18]
mov eax, dword [0x5672d8]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, eax
mov eax, dword [0x50584c]
mov eax, dword [eax + 0x2f8]
mov eax, dword [eax + 0x90]
call fcn.0045e93c
push eax
push 0x491adc
push dword [ebp - 0x14]
push 0x491af4
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 0x10]
call fcn.00404d68
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.00406610
push dword [ebp - 0x38]
push 0x491b00
push dword [ebp - 0x1c]
push 0x491b0c
push 0x491b18
push 0x491b28
lea eax, [ebp - 0x34]
mov edx, 9
call fcn.00404860
mov edx, dword [ebp - 0x34]
pop eax
call fcn.0045deb4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49197d
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov eax, dword [eax + edx*4 + 0x40]
call fcn.0047a3c0
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov ebx, dword [eax + edx*4 + 0x40]
cmp byte [ebx + 0xa1], 0
je 0x49189f
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov eax, dword [eax + edx*4 + 0x40]
call fcn.00477d18
mov edx, dword [ebp - 0x1c]
mov eax, 0x491b34
call fcn.00404ae4
dec eax
jne 0x4919ed
mov edx, dword [ebp - 0x20]
mov eax, dword [0x5672d8]
mov ecx, dword [eax]
call dword [ecx + 0x54]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax*4 + 0x505850]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
call fcn.00491b3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x491a27
lea eax, [ebp - 0x3c]
call fcn.00404bec
lea eax, [ebp - 0x38]
call fcn.004044e0
lea eax, [ebp - 0x34]
mov edx, 0xa
call fcn.00404504
lea eax, [ebp - 8]
call fcn.004044e0
ret