Function at 0x5062f0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xd
push 0
push 0
dec ecx
jne 0x5062f9
xchg dword [ebp - 4], ecx
push ebx
push esi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004045ec
xor eax, eax
push ebp
push 0x5065ef
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xa4]
mov al, byte [eax + 0x45]
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xa4]
mov byte [eax + 0x45], 0
mov eax, dword [ebp - 8]
call fcn.004045fc
mov edx, eax
lea eax, [ebp - 0x20]
call fcn.00404334
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0x4cc8bc]
call fcn.004cc938
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x506592
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.004a6204
mov ebx, eax
cmp ebx, 0xe
jne 0x50656b
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.004a6204
mov ebx, eax
cmp ebx, 0x19
jne 0x5063c8
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.004a6204
mov ebx, eax
cmp ebx, 0x1d
jne 0x5063be
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.004a6204
mov ebx, eax
jmp 0x5063c8
call fcn.00403b64
jmp 0x506599
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x14]
call fcn.00408788
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x14]
call fcn.004041d4
cmp ebx, 0x1c
je 0x506405
cmp ebx, 0x14
je 0x506405
cmp ebx, 0x21
je 0x506405
cmp ebx, 0x1b
je 0x506405
mov eax, dword [ebp - 0x14]
mov edx, 0x506604
call fcn.00404548
jne 0x50656b
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call fcn.004041d4
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.004a6204
mov ebx, eax
cmp ebx, 0xb
jne 0x506454
mov eax, dword [ebp - 0x18]
mov edx, 0x506614
call fcn.00404548
jne 0x506454
push dword [ebp - 0x18]
push 0x506624
push dword [ebp - 0x14]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.004044bc
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.004a6204
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
call fcn.004041d4
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.004a6204
mov eax, dword [ebp - 0x14]
mov edx, 0x506630
call fcn.00404548
jne 0x50648f
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.004a6204
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
call fcn.004041d4
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xa4]
mov edx, 0x50663c
call fcn.00510b90
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xa4]
push eax
lea eax, [ebp - 0x34]
xor edx, edx
call fcn.00415018
lea ecx, [ebp - 0x34]
mov edx, 0x506954
pop eax
call fcn.004c4238
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x1c]
call fcn.00408788
mov edx, dword [ebp - 0x48]
lea eax, [ebp - 0x44]
call fcn.00415018
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xa4]
mov edx, 0x506960
pop ecx
call fcn.004c4238
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 0x18]
call fcn.00408788
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 0x58]
call fcn.00415018
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xa4]
mov edx, 0x506970
pop ecx
call fcn.004c4238
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xa4]
call fcn.004c32b4
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xa4]
lea ecx, [ebp - 0x6c]
mov edx, 0x506954
call fcn.004c41e4
lea edx, [ebp - 0x6c]
mov eax, esi
call fcn.00413f6c
cmp dword [esi], 0
jne 0x50656b
mov eax, esi
mov edx, 0x506980
call fcn.00404190
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x506599
mov eax, dword [ebp - 0xc]
call fcn.004032ec
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xa4]
mov dl, byte [ebp - 0xd]
mov byte [eax + 0x45], dl
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5065f6
lea eax, [ebp - 0x6c]
call fcn.004109f0
lea eax, [ebp - 0x5c]
call fcn.0040413c
lea eax, [ebp - 0x58]
call fcn.004109f0
lea eax, [ebp - 0x48]
call fcn.0040413c
lea eax, [ebp - 0x44]
mov edx, dword [0x401104]
mov ecx, 2
call fcn.00404cc8
lea eax, [ebp - 0x24]
mov edx, 5
call fcn.00404160
lea eax, [ebp - 8]
call fcn.0040413c
ret