Function at 0x4a7efc
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 9
push 0
push 0
dec ecx
jne 0x4a7f05
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.004046b4
xor eax, eax
push ebp
push 0x4a81cb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004b0730
mov dword [ebp - 8], eax
mov dl, 1
mov eax, dword [0x41a00c]
call fcn.004033a4
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4a8187
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x4a7f6e
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x58]
mov edx, 0x4a81e0
mov ecx, dword [eax]
call dword [ecx + 0x2c]
jmp 0x4a7fc9
cmp bl, 1
jne 0x4a7f9f
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x58]
mov edx, 0x4a8324
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 8]
call fcn.00489c18
mov edx, 0x4a8490
call fcn.00488b04
mov edx, dword [ebp - 4]
call fcn.0048827c
jmp 0x4a7fc9
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x58]
mov edx, 0x4a84a4
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 8]
call fcn.00489c18
mov edx, 0x4a8614
call fcn.00488b04
mov edx, dword [ebp - 4]
call fcn.0048827c
mov eax, dword [ebp - 8]
call fcn.004894cc
jmp 0x4a8159
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x44]
mov edx, 0x4a8628
mov eax, dword [ebp - 8]
call fcn.00489734
lea edx, [ebp - 0x10]
call fcn.004882cc
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esi + 0x30]
call fcn.00493c64
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 0x10]
call fcn.00490cd0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov eax, 0x4a8644
call fcn.00409858
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x4a8660
mov eax, dword [ebp - 8]
call fcn.00489734
lea edx, [ebp - 0x24]
call fcn.004882cc
mov edx, dword [ebp - 0x24]
mov eax, 0x4a867c
call fcn.00404808
dec eax
je 0x4a80b0
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 0x38], 9
mov byte [ebp - 0x34], 2
mov edx, 0x4a8660
mov eax, dword [ebp - 8]
call fcn.00489734
lea edx, [ebp - 0x40]
call fcn.004882cc
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [esi + 0x30]
call fcn.00493c64
lea ecx, [ebp - 0x3c]
pop edx
call fcn.00490cd0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
lea edx, [ebp - 0x38]
mov ecx, 1
mov eax, 0x4a868c
call fcn.00409858
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x4a86a8
mov eax, dword [ebp - 8]
call fcn.00489734
call fcn.00486dec
test al, al
jne 0x4a80fe
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
lea eax, [ebp - 0x44]
push eax
mov edx, 0x4a86a8
mov eax, dword [ebp - 8]
call fcn.00489734
lea edx, [ebp - 0x48]
call fcn.004882cc
mov edx, dword [ebp - 0x48]
pop eax
call fcn.004044cc
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
dec edx
lea ecx, [ebp - 0x50]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
push dword [ebp - 0x50]
push 0x4a86c4
push 0x4a86d0
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.00404584
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
dec edx
mov eax, dword [ebp - 0xc]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x20]
mov eax, dword [esi + 0x38]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 8]
call fcn.00489894
mov eax, dword [ebp - 8]
call fcn.00489720
test al, al
je 0x4a7fd6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a818e
mov eax, dword [ebp - 8]
call fcn.004033d4
mov eax, dword [ebp - 0xc]
call fcn.004033d4
ret