Function at 0x48ec84
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 9
push 0
push 0
dec ecx
jne 0x48ec8d
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.00407674
xor eax, eax
push ebp
push 0x48f113
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4cd154]
call fcn.004d3400
mov edx, dword [ebp - 0x10]
mov dword [edx], eax
xor eax, eax
push ebp
push 0x48f0bf
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.00405458
lea ecx, [ebp - 0x14]
mov dl, 0x22
mov eax, dword [ebp - 8]
call fcn.0040a818
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 8]
call fcn.00405458
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xa4]
call fcn.00407710
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0xb
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, 0x48f128
call fcn.0040ba0c
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
call fcn.00407710
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xa0]
call fcn.00407710
jmp 0x48efc6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
call fcn.004d2fc8
mov esi, eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x64]
call fcn.00407710
mov eax, dword [ebp - 0x28]
xor edx, edx
call fcn.004d3464
lea edx, [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov edx, dword [ebp - 0x24]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x28]
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x64]
call fcn.00407710
mov eax, dword [ebp - 0x28]
mov edx, 4
call fcn.004d3464
mov edx, dword [eax]
call dword [edx + 0x48]
push eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x64]
call fcn.00407710
mov eax, dword [ebp - 0x28]
mov edx, 3
call fcn.004d3464
mov edx, dword [eax]
call dword [edx + 0x48]
push eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x64]
call fcn.00407710
mov eax, dword [ebp - 0x28]
mov edx, 1
call fcn.004d3464
lea edx, [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov eax, dword [ebp - 0x2c]
pop edx
pop ecx
call fcn.0048e850
mov ebx, eax
mov edx, ebx
mov eax, esi
call fcn.004cf8d4
cmp bl, 0x16
jne 0x48ee91
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x64]
call fcn.00407710
mov eax, dword [ebp - 0x28]
mov edx, 3
call fcn.004d3464
mov edx, dword [eax]
call dword [edx + 0x48]
mov edx, eax
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe0]
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x64]
call fcn.00407710
mov eax, dword [ebp - 0x28]
mov edx, 4
call fcn.004d3464
mov edx, dword [eax]
call dword [edx + 0x48]
mov edx, eax
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe8]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xe4]
test eax, eax
jge 0x48ee91
xor edx, edx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe8]
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x64]
call fcn.00407710
mov eax, dword [ebp - 0x28]
mov edx, 5
call fcn.004d3464
lea edx, [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov eax, dword [ebp - 0x30]
mov edx, 0x48f248
call fcn.004057e8
sete dl
mov eax, esi
call fcn.004d18c8
sub bl, 1
je 0x48eedd
sub bl, 0xa
jne 0x48ef84
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x64]
call fcn.00407710
mov eax, dword [ebp - 0x28]
mov edx, 1
call fcn.004d3464
lea edx, [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov eax, dword [ebp - 0x34]
mov edx, 0x48f254
call fcn.004057e8
je 0x48ef49
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x64]
call fcn.00407710
mov eax, dword [ebp - 0x28]
mov edx, 1
call fcn.004d3464
lea edx, [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov eax, dword [ebp - 0x38]
mov edx, 0x48f264
call fcn.004057e8
jne 0x48ef57
mov edx, 0x12
mov eax, esi
call fcn.004cf9e0
jmp 0x48ef84
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x64]
call fcn.00407710
mov eax, dword [ebp - 0x28]
mov edx, 6
call fcn.004d3464
mov edx, dword [eax]
call dword [edx + 0x48]
mov edx, eax
mov eax, esi
call fcn.004cf9e0
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x64]
call fcn.00407710
mov eax, dword [ebp - 0x28]
mov edx, 7
call fcn.004d3464
lea edx, [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov edx, dword [ebp - 0x3c]
mov eax, esi
call fcn.004cf95c
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xb4]
call fcn.00407710
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x70]
call fcn.00407710
cmp byte [ebp - 0x40], 0
je 0x48ed52
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xa4]
call fcn.00407710
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0xb
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, 0x48f274
call fcn.0040ba0c
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
call fcn.00407710
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xa0]
call fcn.00407710
jmp 0x48f091
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x64]
call fcn.00407710
mov eax, dword [ebp - 0x28]
xor edx, edx
call fcn.004d3464
lea edx, [ebp - 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.0040a464
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
call fcn.004d3450
mov esi, eax
test esi, esi
je 0x48f080
mov dl, 1
mov eax, esi
call fcn.004d0f6c
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xb4]
call fcn.00407710
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x70]
call fcn.00407710
cmp byte [ebp - 0x40], 0
je 0x48f035
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48f0c6
lea eax, [ebp - 4]
call fcn.00407600
ret