Function at 0x587744
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407674
mov eax, dword [ebp - 8]
call fcn.00407674
mov eax, dword [ebp + 0xc]
call fcn.00405840
xor eax, eax
push ebp
push 0x5879bd
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x587973
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp + 8], 0xc350
jge 0x587812
sub bl, 1
jb 0x5877b4
je 0x5877fd
dec bl
je 0x5877e8
jmp 0x5878d5
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea edx, [ebp - 0x14]
xor ecx, ecx
mov eax, 0x5879d4
call fcn.0040ba0c
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
call fcn.00407710
jmp 0x5878d5
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
call fcn.00407710
jmp 0x5878d5
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
call fcn.00407710
jmp 0x5878d5
sub bl, 1
jb 0x587826
je 0x5878a6
dec bl
je 0x587866
jmp 0x5878d5
lea eax, [ebp - 0x18]
push eax
mov eax, 0x5879f0
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0xb
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0xb
lea edx, [ebp - 0x28]
mov ecx, 1
mov eax, 0x587a04
call fcn.0040ba0c
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
call fcn.00407710
jmp 0x5878d5
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x587a70
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0xb
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0xb
lea edx, [ebp - 0x28]
mov eax, 0x587a04
mov ecx, 1
call fcn.0040ba0c
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
call fcn.00407710
jmp 0x5878d5
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea edx, [ebp - 0x14]
xor ecx, ecx
mov eax, 0x587a80
call fcn.0040ba0c
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
call fcn.00407710
lea eax, [ebp - 0x34]
call fcn.004053c0
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x28]
call fcn.00407710
cmp dword [ebp - 0x34], 0
je 0x58795d
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xa0]
call fcn.00407710
jmp 0x587945
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x64]
call fcn.00407710
mov eax, dword [ebp - 0x3c]
xor edx, edx
call fcn.004d3464
lea edx, [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xb4]
call fcn.00407710
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x70]
call fcn.00407710
cmp byte [ebp - 0x40], 0
je 0x587905
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x58797a
lea eax, [ebp - 4]
call fcn.00407600
ret