Function at 0x4d6e44
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
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 0x4d710e
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
mov eax, esi
call fcn.004daa18
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4d70d7
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x4d6ebd
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x58]
mov edx, 0x4d7124
mov ecx, dword [eax]
call dword [ecx + 0x2c]
jmp 0x4d6f19
cmp byte [ebp - 5], 1
jne 0x4d6eef
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x58]
mov edx, 0x4d72d4
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.004b1c44
mov edx, 0x4d74b0
call fcn.004b0b3c
mov edx, dword [ebp - 4]
call fcn.004b07ec
jmp 0x4d6f19
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x58]
mov edx, 0x4d74c8
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.004b1c44
mov edx, 0x4d769c
call fcn.004b0b3c
mov edx, dword [ebp - 4]
call fcn.004b07ec
mov eax, dword [ebp - 0xc]
call fcn.004b14fc
jmp 0x4d70b1
test bl, bl
je 0x4d6f6b
cmp dword [ebp - 4], 0
jne 0x4d6f3f
mov eax, dword [esi + 0x38]
mov edx, 0x4d76b0
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4d6f69
push 0x4d76ec
push dword [ebp - 4]
push 0x4d7714
push 0x4d7720
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.004049ec
mov edx, dword [ebp - 0x1c]
mov eax, dword [esi + 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor ebx, ebx
mov edx, 0x4d772c
mov eax, dword [ebp - 0xc]
call fcn.004b1764
call fcn.004af698
dec eax
jne 0x4d6f8f
lea eax, [ebp - 0x10]
mov edx, 0x4d7744
call fcn.00404704
jmp 0x4d6f97
lea eax, [ebp - 0x10]
call fcn.0040466c
mov edx, 0x4d7754
mov eax, dword [ebp - 0xc]
call fcn.004b1764
call fcn.004af698
dec eax
jne 0x4d6fbb
lea eax, [ebp - 0x14]
mov edx, 0x4d776c
call fcn.00404704
jmp 0x4d6fc3
lea eax, [ebp - 0x14]
call fcn.0040466c
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
lea eax, [ebp - 0x40]
push eax
mov edx, 0x4d7780
mov eax, dword [ebp - 0xc]
call fcn.004b1764
lea edx, [ebp - 0x44]
call fcn.004b083c
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [esi + 0x30]
call fcn.004b562c
mov edx, eax
mov eax, esi
pop ecx
mov edi, dword [eax]
call dword [edi + 0x30]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
lea eax, [ebp - 0x48]
push eax
mov edx, 0x4d7798
mov eax, dword [ebp - 0xc]
call fcn.004b1764
lea edx, [ebp - 0x4c]
call fcn.004b083c
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [esi + 0x30]
call fcn.004b562c
mov edx, eax
mov eax, esi
pop ecx
mov edi, dword [eax]
call dword [edi + 0x30]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x3c]
mov ecx, 3
mov eax, 0x4d77b4
call fcn.0040a3bc
push dword [ebp - 0x18]
mov edx, 0x4d7780
mov eax, dword [ebp - 0xc]
call fcn.004b1764
lea edx, [ebp - 0x54]
call fcn.004b083c
mov edx, dword [ebp - 0x54]
lea ecx, [ebp - 0x50]
mov eax, esi
call fcn.004d0950
push dword [ebp - 0x50]
push 0x4d77d8
push 0x4d77e4
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.004049ec
mov eax, dword [esi + 0x38]
mov edx, dword [ebp - 0x18]
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 0x4d6f26
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d70de
mov eax, dword [ebp - 0xc]
call fcn.0040381c
ret