Function at 0x4d2270
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 9
push 0
push 0
dec ecx
jne 0x4d2279
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.00404b1c
xor eax, eax
push ebp
push 0x4d2549
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004daa18
mov dword [ebp - 8], eax
mov dl, 1
mov eax, dword [0x41af60]
call fcn.004037ec
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4d2505
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x4d22e2
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x58]
mov edx, 0x4d2560
mov ecx, dword [eax]
call dword [ecx + 0x2c]
jmp 0x4d233d
cmp bl, 1
jne 0x4d2313
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x58]
mov edx, 0x4d26a4
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 8]
call fcn.004b1c44
mov edx, 0x4d2810
call fcn.004b0b3c
mov edx, dword [ebp - 4]
call fcn.004b07ec
jmp 0x4d233d
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x58]
mov edx, 0x4d2824
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 8]
call fcn.004b1c44
mov edx, 0x4d2994
call fcn.004b0b3c
mov edx, dword [ebp - 4]
call fcn.004b07ec
mov eax, dword [ebp - 8]
call fcn.004b14fc
jmp 0x4d24d7
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x44]
mov edx, 0x4d29a8
mov eax, dword [ebp - 8]
call fcn.004b1764
lea edx, [ebp - 0x10]
call fcn.004b083c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esi + 0x30]
call fcn.004b562c
mov edx, eax
mov ecx, dword [ebp - 0x10]
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x30]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov eax, 0x4d29c4
call fcn.0040a3bc
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x4d29e0
mov eax, dword [ebp - 8]
call fcn.004b1764
lea edx, [ebp - 0x24]
call fcn.004b083c
mov edx, dword [ebp - 0x24]
mov eax, 0x4d29fc
call fcn.00404c70
dec eax
je 0x4d242e
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 0x38], 9
mov byte [ebp - 0x34], 2
lea eax, [ebp - 0x3c]
push eax
mov edx, 0x4d29e0
mov eax, dword [ebp - 8]
call fcn.004b1764
lea edx, [ebp - 0x40]
call fcn.004b083c
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [esi + 0x30]
call fcn.004b562c
mov edx, eax
mov eax, esi
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x30]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
lea edx, [ebp - 0x38]
mov ecx, 1
mov eax, 0x4d2a0c
call fcn.0040a3bc
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x4d2a28
mov eax, dword [ebp - 8]
call fcn.004b1764
call fcn.004afc88
test al, al
jne 0x4d247c
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, 0x4d2a28
mov eax, dword [ebp - 8]
call fcn.004b1764
lea edx, [ebp - 0x48]
call fcn.004b083c
mov edx, dword [ebp - 0x48]
pop eax
call fcn.00404934
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 0x4d2a44
push 0x4d2a50
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.004049ec
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.004b18c4
mov eax, dword [ebp - 8]
call fcn.004b1750
test al, al
je 0x4d234a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d250c
mov eax, dword [ebp - 8]
call fcn.0040381c
mov eax, dword [ebp - 0xc]
call fcn.0040381c
ret