Function at 0x4d0e64
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x4d0e6d
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 5], cl
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404b1c
xor eax, eax
push ebp
push 0x4d12bc
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
mov eax, esi
call fcn.004daa18
mov dword [ebp - 0xc], eax
mov dl, 1
mov eax, dword [0x41af60]
call fcn.004037ec
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4d1275
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x4d0ed9
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x58]
mov edx, 0x4d12d4
mov ecx, dword [eax]
call dword [ecx + 0x2c]
jmp 0x4d0f03
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x58]
mov edx, 0x4d1318
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.004b1c44
mov edx, 0x4d1384
call fcn.004b0b3c
mov edx, dword [ebp - 4]
call fcn.004b07ec
cmp byte [ebp - 5], 0
jne 0x4d10aa
mov eax, dword [ebp - 0xc]
call fcn.004b14fc
jmp 0x4d1092
test bl, bl
je 0x4d0fae
mov eax, dword [esi + 0x38]
mov edx, 0x4d139c
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi + 0x38]
mov edx, 0x4d13b4
mov ecx, dword [eax]
call dword [ecx + 0x38]
cmp byte [esi + 0x41], 0
je 0x4d0f73
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 0x28], 0x5e
mov byte [ebp - 0x24], 2
mov byte [ebp - 0x20], 0x3b
mov byte [ebp - 0x1c], 2
lea edx, [ebp - 0x28]
mov ecx, 1
mov eax, 0x4d13d0
call fcn.0040a3bc
mov edx, dword [ebp - 0x18]
mov eax, dword [esi + 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x4d13e8
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0xb
mov eax, 0x4d13e8
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0xb
lea edx, [ebp - 0x28]
mov ecx, 1
mov eax, 0x4d13f4
call fcn.0040a3bc
mov edx, dword [ebp - 0x2c]
mov eax, dword [esi + 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor ebx, ebx
mov edx, 0x4d1418
mov eax, dword [ebp - 0xc]
call fcn.004b1764
lea edx, [ebp - 0x30]
call fcn.004b083c
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x10]
call fcn.00408ea4
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x40]
push eax
mov eax, dword [esi + 0x30]
call fcn.004b562c
mov edx, eax
mov ecx, dword [ebp - 0x10]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x30]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
lea edx, [ebp - 0x3c]
xor ecx, ecx
mov eax, 0x4d1434
call fcn.0040a3bc
mov edx, dword [ebp - 0x34]
mov eax, dword [esi + 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, dword [ebp - 0x10]
mov eax, esi
call fcn.004d9cf0
cmp byte [esi + 0x41], 0
je 0x4d1055
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 0x28], 0x5e
mov byte [ebp - 0x24], 2
mov eax, 0x4d13e8
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0xb
lea edx, [ebp - 0x28]
mov ecx, 1
mov eax, 0x4d1454
call fcn.0040a3bc
mov edx, dword [ebp - 0x44]
mov eax, dword [esi + 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4d108a
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 0x28], 0x3b
mov byte [ebp - 0x24], 2
mov eax, 0x4d13e8
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0xb
lea edx, [ebp - 0x28]
mov eax, 0x4d1454
mov ecx, 1
call fcn.0040a3bc
mov edx, dword [ebp - 0x48]
mov eax, dword [esi + 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0xc]
call fcn.004b18c4
mov eax, dword [ebp - 0xc]
call fcn.004b1750
test al, al
je 0x4d0f1a
mov eax, dword [ebp - 0xc]
call fcn.004b13b0
mov eax, dword [ebp - 0xc]
call fcn.004b14fc
jmp 0x4d11f2
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x44]
mov edx, 0x4d1418
mov eax, dword [ebp - 0xc]
call fcn.004b1764
lea edx, [ebp - 0x4c]
call fcn.004b083c
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x10]
call fcn.00408ea4
lea eax, [ebp - 0x50]
push eax
mov eax, 0x4d13e8
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0xb
lea eax, [ebp - 0x54]
push eax
mov eax, dword [esi + 0x30]
call fcn.004b562c
mov edx, eax
mov ecx, dword [ebp - 0x10]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x30]
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0xb
lea edx, [ebp - 0x28]
mov ecx, 1
mov eax, 0x4d1474
call fcn.0040a3bc
mov edx, dword [ebp - 0x50]
mov eax, dword [esi + 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, dword [ebp - 0x10]
mov eax, esi
call fcn.004d9cf0
mov eax, dword [esi + 0x38]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x44]
mov edx, 0x4d1494
mov eax, dword [ebp - 0xc]
call fcn.004b1764
call fcn.004afc88
test al, al
jne 0x4d11b7
mov edx, 0x4d1494
mov eax, dword [ebp - 0xc]
call fcn.004b1764
lea edx, [ebp - 0x58]
call fcn.004b083c
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
jmp 0x4d118d
xor edx, edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4d11b7
lea ecx, [ebp - 0x60]
xor edx, edx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
call fcn.00408ea4
cmp dword [ebp - 0x5c], 0
je 0x4d1183
cmp byte [ebp - 5], 0
jne 0x4d11df
cmp byte [esi + 0x41], 0
je 0x4d11d2
mov edx, 0x4d14b4
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4d11df
mov edx, 0x4d14c4
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi + 0x38]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0xc]
call fcn.004b18c4
mov eax, dword [ebp - 0xc]
call fcn.004b1750
test al, al
je 0x4d10b7
test bl, bl
jne 0x4d1257
cmp byte [esi + 0x41], 0
je 0x4d123d
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 0x28], 0x3b
mov byte [ebp - 0x24], 2
mov byte [ebp - 0x20], 0x5e
mov byte [ebp - 0x1c], 2
lea edx, [ebp - 0x28]
mov ecx, 1
mov eax, 0x4d13d0
call fcn.0040a3bc
mov edx, dword [ebp - 0x64]
mov eax, dword [esi + 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi + 0x38]
mov edx, 0x4d139c
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi + 0x38]
mov edx, 0x4d14d4
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d127c
mov eax, dword [ebp - 0xc]
call fcn.0040381c
mov eax, dword [ebp - 0x14]
call fcn.0040381c
ret