Function at 0x5b71fc
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x5b7204
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x5b75b2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
cmp dword [eax - 8], 0
jne 0x5b74f7
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5b74f0
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41e4b4]
call fcn.00403740
mov dword [ebp - 4], eax
mov dl, 1
mov eax, dword [0x41e4b4]
call fcn.00403740
mov edx, dword [ebp + 8]
mov dword [edx - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00586680
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jne 0x5b728f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00586670
xor ecx, ecx
mov edx, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xfc]
mov byte [ebp - 0x11], 1
jmp 0x5b72a8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00586680
mov edx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
mov byte [ebp - 0x11], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp byte [eax + 0xd], 0
je 0x5b73c5
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 8]
call fcn.00569410
mov edx, 0x5b75c8
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 8]
mov edx, dword [eax]
call dword [edx + 0x294]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x5b73c5
inc esi
xor ebx, ebx
cmp byte [ebp - 0x11], 0
je 0x5b7317
lea ecx, [ebp - 8]
mov edx, ebx
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0x10]
call fcn.0040468c
jmp 0x5b739d
lea eax, [ebp - 0x10]
call fcn.0040468c
push eax
lea eax, [ebp - 8]
call fcn.0040468c
push eax
lea ecx, [ebp - 0x18]
mov edx, ebx
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
call fcn.0040468c
mov ecx, eax
mov eax, dword [0x6b4798]
mov eax, dword [eax]
pop edx
call fcn.005a0614
push 1
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0x24]
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x10]
call fcn.00404724
push 1
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
xor ecx, ecx
mov edx, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0x24]
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 8]
call fcn.00404724
cmp dword [ebp - 0x10], 0
jne 0x5b73b0
lea eax, [ebp - 0x10]
mov edx, 0x5b78d0
call fcn.00404724
push ebp
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.005b6c14
pop ecx
inc ebx
dec esi
jne 0x5b72f7
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x5b7482
inc esi
xor ebx, ebx
cmp byte [ebp - 0x11], 0
je 0x5b7401
lea ecx, [ebp - 0x24]
mov edx, ebx
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edi, dword [eax]
call dword [edi + 0x28]
jmp 0x5b7438
push 0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x28]
mov edx, ebx
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx + 4]
mov edx, dword [edx + 0x40]
mov cl, byte [edx + 0xa]
pop edx
mov edi, dword [eax]
call dword [edi + 0x24]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
push eax
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, dword [ebp - 8]
call fcn.005873b0
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, dword [ebp + 8]
mov dword [edx - 0xc], eax
push ebp
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.005b64e4
pop ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
xor edx, edx
call fcn.00586688
inc ebx
dec esi
jne 0x5b73db
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x40]
cmp byte [eax + 8], 0
je 0x5b74be
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x5b74be
lea edx, [ebp - 0x2c]
mov eax, dword [0x6b4a9c]
call fcn.00406d3c
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0058679c
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00586728
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b758a
mov eax, dword [ebp - 4]
call fcn.00403770
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
call fcn.00403770
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00586680
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
jne 0x5b754b
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00586680
lea ecx, [ebp - 0x30]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx + 4]
mov edx, dword [edx + 0x40]
mov cl, byte [edx + 0xa]
pop edx
mov ebx, dword [eax]
call dword [ebx + 0x24]
jmp 0x5b7553
lea eax, [ebp - 8]
call fcn.0040468c
push 1
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.005873b0
mov eax, dword [ebp + 8]
mov dword [eax - 0xc], 1
push ebp
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.005b64e4
pop ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
xor edx, edx
call fcn.00586688
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b75b9
lea eax, [ebp - 0x30]
mov edx, 7
call fcn.004046b0
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004046b0
ret