Function at 0x50b81c
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x13
push 0
push 0
dec ecx
jne 0x50b825
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00409ef4
mov eax, dword [ebp - 8]
call fcn.00406ed0
lea eax, [ebp - 0x28]
call fcn.0042a3d0
mov eax, dword [ebp + 0xc]
call fcn.00406ed0
xor eax, eax
push ebp
push 0x50baff
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00409e80
lea eax, [ebp - 0x10]
call fcn.00409e80
xor eax, eax
push ebp
push 0x50ba5e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x50b8aa
lea eax, [ebp - 0x5c]
xor edx, edx
call fcn.00428628
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0x28]
call fcn.0042b248
jne 0x50b8c9
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0x11
lea edx, [ebp - 0x64]
xor ecx, ecx
mov eax, 0x50bb20
call fcn.00415aec
jmp 0x50b8fd
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 0x78], 0x11
mov eax, dword [ebp - 8]
mov dword [ebp - 0x74], eax
mov byte [ebp - 0x70], 0x11
lea eax, [ebp - 0x28]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xd
lea edx, [ebp - 0x7c]
mov ecx, 2
mov eax, 0x50bb50
call fcn.00415aec
lea eax, [ebp - 0x14]
call fcn.00409e80
push eax
push 0
push 0
push 0x50bb94
lea eax, [ebp - 0x80]
mov edx, dword [ebp - 0xc]
call fcn.00407174
mov eax, dword [ebp - 0x80]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x3c]
call fcn.00409f90
lea eax, [ebp - 0x84]
call fcn.00409e80
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.00409f90
mov edx, dword [ebp - 0x84]
lea eax, [ebp - 0x18]
mov ecx, 0x50bb9c
call fcn.00409ec4
cmp dword [ebp - 8], 0
jne 0x50ba28
lea eax, [ebp - 0x94]
xor edx, edx
call fcn.00428628
lea edx, [ebp - 0x94]
lea eax, [ebp - 0x28]
call fcn.0042b248
jne 0x50ba28
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x48]
push eax
push 1
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
jne 0x50ba3f
lea eax, [ebp - 0x98]
lea edx, [ebp - 0x48]
call fcn.004281ec
mov edx, dword [ebp - 0x98]
lea eax, [ebp - 0x10]
mov ecx, 0x50bbac
call fcn.00409ec4
jmp 0x50ba3f
xor eax, eax
push ebp
push 0x50b9fb
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x9c]
lea edx, [ebp - 0x48]
call fcn.004281ec
mov edx, dword [ebp - 0x9c]
lea eax, [ebp - 0x10]
mov ecx, 0x50bbac
call fcn.00409ec4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x50ba15
lea eax, [ebp - 0x38]
call fcn.00423024
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x38]
call fcn.00428768
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x48]
push eax
push 1
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
je 0x50b9c2
cmp dword [ebp - 0x10], 0
je 0x50ba50
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00409e98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50ba65
ret