Function at 0x4d77e8
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x11
push 0
push 0
dec ecx
jne 0x4d77f0
push ecx
push ebx
push esi
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404b1c
xor eax, eax
push ebp
push 0x4d7bdb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004daa18
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004daa18
mov dword [ebp - 0xc], eax
mov dl, 1
mov eax, dword [0x41af60]
call fcn.004037ec
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4d7b9c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x4d785e
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x58]
mov edx, 0x4d7bf0
mov ecx, dword [eax]
call dword [ecx + 0x2c]
jmp 0x4d7888
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x58]
mov edx, 0x4d7ccc
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 8]
call fcn.004b1c44
mov edx, 0x4d7dcc
call fcn.004b0b3c
mov edx, dword [ebp - 4]
call fcn.004b07ec
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x58]
mov edx, 0x4d7de0
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 8]
call fcn.004b14fc
jmp 0x4d7b66
lea eax, [ebp - 0x14]
push eax
mov eax, 0x4d7e60
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov edx, 0x4d7e6c
mov eax, dword [ebp - 8]
call fcn.004b1764
lea edx, [ebp - 0x38]
call fcn.004b083c
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov edx, 0x4d7e88
mov eax, dword [ebp - 8]
call fcn.004b1764
lea edx, [ebp - 0x3c]
call fcn.004b083c
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, 0x4d7e60
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea edx, [ebp - 0x34]
mov ecx, 3
mov eax, 0x4d7ea0
call fcn.0040a3bc
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x4c]
push eax
mov edx, 0x4d7e6c
mov eax, dword [ebp - 8]
call fcn.004b1764
lea edx, [ebp - 0x50]
call fcn.004b083c
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebx + 0x30]
call fcn.004b562c
mov edx, eax
mov eax, ebx
pop ecx
mov esi, dword [eax]
call dword [esi + 0x30]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x44], 0xb
lea edx, [ebp - 0x48]
xor ecx, ecx
mov eax, 0x4d7ec8
call fcn.0040a3bc
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x4d7e6c
mov eax, dword [ebp - 8]
call fcn.004b1764
lea edx, [ebp - 0x54]
call fcn.004b083c
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004b1c44
mov edx, 0x4d7ee4
call fcn.004b0b3c
pop edx
call fcn.004b07ec
mov eax, dword [ebp - 0xc]
call fcn.004b14fc
jmp 0x4d7a4a
lea eax, [ebp - 0x5c]
push eax
mov edx, 0x4d7efc
mov eax, dword [ebp - 0xc]
call fcn.004b1764
lea edx, [ebp - 0x60]
call fcn.004b083c
mov eax, dword [ebp - 0x60]
push eax
mov eax, dword [ebx + 0x30]
call fcn.004b562c
mov edx, eax
mov eax, ebx
pop ecx
mov esi, dword [eax]
call dword [esi + 0x30]
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x58]
mov edx, 0x4d7f14
call fcn.00404978
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x10]
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
jne 0x4d7a4a
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
dec edx
lea ecx, [ebp - 0x64]
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 0xc]
lea eax, [ebp - 0x64]
mov edx, 0x4d7f20
call fcn.00404934
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
dec edx
mov eax, dword [ebp - 0x10]
pop ecx
mov esi, dword [eax]
call dword [esi + 0x20]
mov eax, dword [ebp - 0xc]
call fcn.004b1750
test al, al
je 0x4d79b1
mov eax, dword [ebp - 0xc]
call fcn.004b13b0
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x6c]
push eax
mov eax, 0x4d7e60
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x44], 0xb
lea edx, [ebp - 0x48]
xor ecx, ecx
mov eax, 0x4d7f2c
call fcn.0040a3bc
mov edx, dword [ebp - 0x6c]
pop eax
call fcn.00404934
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, 0x4d7f3c
mov eax, dword [ebp - 8]
call fcn.004b1764
call fcn.004afc88
test al, al
jne 0x4d7af2
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
lea eax, [ebp - 0x70]
push eax
mov edx, 0x4d7f3c
mov eax, dword [ebp - 8]
call fcn.004b1764
lea edx, [ebp - 0x74]
call fcn.004b083c
mov edx, dword [ebp - 0x74]
pop eax
call fcn.00404934
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
mov byte [ebp - 0x8c], 0x3b
mov byte [ebp - 0x88], 2
mov eax, 0x4d7e60
mov dword [ebp - 0x84], eax
mov byte [ebp - 0x80], 0xb
lea edx, [ebp - 0x8c]
mov ecx, 1
mov eax, 0x4d7f54
call fcn.0040a3bc
mov edx, dword [ebp - 0x7c]
pop eax
call fcn.00404934
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebx + 0x38]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 8]
call fcn.004b18c4
mov eax, dword [ebp - 8]
call fcn.004b1750
test al, al
je 0x4d78a5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d7ba3
mov eax, dword [ebp - 8]
call fcn.0040381c
mov eax, dword [ebp - 0xc]
call fcn.0040381c
mov eax, dword [ebp - 0x10]
call fcn.0040381c
ret