Function at 0x588fa4
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00407674
mov eax, dword [ebp + 8]
call fcn.00405840
xor eax, eax
push ebp
push 0x5892cc
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x58928a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x18], 0xb
lea edx, [ebp - 0x24]
mov ecx, 1
mov eax, 0x5892e4
call fcn.0040ba0c
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
call fcn.00407710
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xa0]
call fcn.00407710
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4cd664]
call fcn.004d3570
mov edx, dword [ebp - 0x10]
mov dword [edx], eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x70]
call fcn.00407710
cmp byte [ebp - 0x28], 0
jne 0x589274
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x64]
call fcn.00407710
mov eax, dword [ebp - 0x2c]
xor edx, edx
call fcn.004d3464
mov edx, dword [eax]
call dword [edx + 0xd8]
test al, al
jne 0x589274
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x64]
call fcn.00407710
mov eax, dword [ebp - 0x2c]
xor edx, edx
call fcn.004d3464
lea edx, [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov eax, dword [ebp - 8]
call fcn.00405850
mov esi, eax
jmp 0x5890c5
inc esi
cmp byte [esi], 0x2c
je 0x5890c4
jmp 0x5890cd
inc esi
cmp byte [esi], 0x20
je 0x5890cc
cmp byte [esi], 0
jne 0x5890e1
call fcn.00404df0
jmp 0x589291
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
call fcn.004d3564
mov edi, eax
mov ebx, esi
jmp 0x5890f2
inc ebx
movzx eax, byte [ebx]
mov edx, 0x589328
call fcn.0044b630
test al, al
jne 0x5890f1
cmp byte [ebx], 0
jne 0x589112
call fcn.00404df0
jmp 0x589291
mov ecx, ebx
sub ecx, esi
lea eax, [ebp - 0xc]
mov edx, esi
call fcn.004054b0
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0xc]
call fcn.00409ea4
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0xc]
call fcn.00405458
mov eax, dword [ebp - 0xc]
mov edx, 0x589350
call fcn.004057e8
jne 0x589150
mov dl, 1
mov eax, edi
call fcn.004d3480
jmp 0x589182
mov eax, dword [ebp - 0xc]
mov edx, 0x58935c
call fcn.004057e8
jne 0x58916a
mov dl, 2
mov eax, edi
call fcn.004d3480
jmp 0x589182
mov eax, dword [ebp - 0xc]
mov edx, 0x589368
call fcn.004057e8
jne 0x589182
mov dl, 3
mov eax, edi
call fcn.004d3480
mov eax, edi
call fcn.004d3478
test al, al
je 0x5891ca
jmp 0x589190
inc ebx
cmp byte [ebx], 0x20
je 0x58918f
mov esi, ebx
jmp 0x58919a
inc ebx
movzx eax, byte [ebx]
mov edx, 0x589328
call fcn.0044b630
test al, al
jne 0x589199
cmp byte [ebx], 0
jne 0x5891ba
call fcn.00404df0
jmp 0x589291
mov ecx, ebx
sub ecx, esi
lea eax, [ebp - 0xc]
mov edx, esi
call fcn.004054b0
jmp 0x5891d3
mov dl, 1
mov eax, edi
call fcn.004d3480
mov edx, dword [ebp - 0xc]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x28]
jmp 0x5891e0
inc ebx
cmp byte [ebx], 0x20
je 0x5891df
mov esi, ebx
jmp 0x5891ea
inc ebx
movzx eax, byte [ebx]
mov edx, 0x589328
call fcn.0044b630
test al, al
jne 0x5891e9
mov ecx, ebx
sub ecx, esi
lea eax, [ebp - 0xc]
mov edx, esi
call fcn.004054b0
mov edx, dword [ebp - 0xc]
mov eax, 0x589378
call fcn.0040599c
test eax, eax
setg al
push eax
mov edx, 0x58938c
mov eax, dword [ebp - 0xc]
call fcn.0044b9a8
test al, al
jne 0x589242
mov edx, 0x58939c
mov eax, dword [ebp - 0xc]
call fcn.0044b9a8
test al, al
jne 0x589242
xor edx, edx
jmp 0x589244
mov dl, 1
xor ecx, ecx
mov eax, dword [ebp - 0xc]
call fcn.00587fc4
mov edx, eax
mov eax, edi
call fcn.004cf8d4
cmp byte [ebx], 0
jne 0x589264
call fcn.00404df0
jmp 0x589291
inc ebx
cmp byte [ebx], 0x20
je 0x589263
mov esi, ebx
cmp byte [esi], 0x2c
je 0x5890c5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x589291
lea eax, [ebp - 4]
call fcn.00407600
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5892d3
lea eax, [ebp - 0x30]
call fcn.004053c0
lea eax, [ebp - 0x14]
call fcn.004053c0
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004053e4
lea eax, [ebp - 4]
call fcn.00407600
lea eax, [ebp + 8]
call fcn.004053c0
ret