Function at 0x4d312c
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4d338c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x48]
je 0x4d3369
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov eax, dword [eax + 8]
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4d332f
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, dword [0x4e5634]
mov eax, dword [eax]
call fcn.004c7538
test al, al
je 0x4d3318
xor eax, eax
push ebp
push 0x4d3311
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x48], 1
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x40], 2
mov byte [ebp - 0x3c], 0
mov dword [ebp - 0x38], 3
mov byte [ebp - 0x34], 0
xor eax, eax
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
lea edx, [ebp - 0x48]
mov ecx, 3
mov eax, 0x4d33a8
call fcn.0040bfbc
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x200]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [0x4e5634]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
call fcn.004cad7c
jmp 0x4d32e4
mov edx, 0x4d344c
mov eax, dword [ebp - 0x10]
call fcn.00499c18
lea edx, [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, 0x4d345c
mov eax, dword [ebp - 0x10]
call fcn.00499c18
lea edx, [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, 0x4d3470
mov eax, dword [ebp - 0x10]
call fcn.00499c18
lea edx, [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, 0x4d3484
mov eax, dword [ebp - 0x10]
call fcn.00499c18
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.004d37e0
test eax, eax
je 0x4d3281
mov eax, dword [ebp - 0x10]
call fcn.0049b2bc
jmp 0x4d32e4
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
push eax
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call fcn.004d2e10
test al, al
je 0x4d32dc
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.004d305c
mov eax, dword [ebp - 0x20]
push eax
push 1
mov eax, dword [0x4e5634]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call fcn.004ca2c0
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
cmp eax, dword [ebp - 0xc]
jle 0x4d32f4
mov eax, dword [ebp - 0x10]
call fcn.0049b2bc
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0xa1], 0
je 0x4d3211
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d3318
mov eax, dword [0x4e5634]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
call fcn.004c7680
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
cmp eax, dword [ebp - 0xc]
setle byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d3369
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d3393
lea eax, [ebp - 0x28]
call fcn.00404b6c
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00404b90
ret