Function at 0x5340e8
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5342fe
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0x53140c]
call fcn.0053e8cc
mov dword [ebp - 0x10], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x53140c]
call fcn.0053e8cc
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x5342dc
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.0053d554
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
call fcn.0053d554
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x1dc], 0
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x1dc], 0
cmp byte [ebp - 9], 0
je 0x534188
mov eax, dword [ebp - 0x10]
call fcn.00501bec
mov edx, 0x534314
mov ecx, dword [eax]
call dword [ecx + 0x2c]
jmp 0x53419a
mov eax, dword [ebp - 0x10]
call fcn.00501bec
mov edx, 0x5343a8
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x10]
call fcn.004be788
cmp byte [ebp - 9], 0
je 0x5341bc
mov eax, dword [ebp - 0x14]
call fcn.00501bec
mov edx, 0x534434
mov ecx, dword [eax]
call dword [ecx + 0x2c]
jmp 0x5341ce
mov eax, dword [ebp - 0x14]
call fcn.00501bec
mov edx, 0x534588
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x14]
call fcn.004be788
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
jmp 0x534278
mov edx, 0x5346d8
mov eax, dword [ebp - 0x14]
call fcn.004bf908
lea edx, [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0xa1], 0
jne 0x534265
mov edx, 0x5346f0
mov eax, dword [ebp - 0x10]
call fcn.004bf908
lea edx, [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
call fcn.004054a0
jae 0x534250
mov edx, 0x5346f0
mov eax, dword [ebp - 0x10]
call fcn.004bf908
lea edx, [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x10]
call fcn.004c10f0
jmp 0x534278
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x14]
call fcn.004c10f0
jmp 0x534278
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x14]
call fcn.004c10f0
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0xa1], 0
je 0x5341e3
jmp 0x5342b2
mov edx, 0x5346f0
mov eax, dword [ebp - 0x10]
call fcn.004bf908
lea edx, [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x10]
call fcn.004c10f0
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0xa1], 0
je 0x53428a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5342e3
mov eax, dword [ebp - 0x10]
call fcn.00404150
mov eax, dword [ebp - 0x14]
call fcn.00404150
ret