Function at 0x507fe0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b1c68
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x63b404]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x648be8], 0
je 0x5081d6
push str.ready
lea ecx, [ebp - 0x34]
call fcn.005455a0
push str.playing
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.005455a0
mov byte [ebp - 4], 1
push 0x64
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0x31
call fcn.0056f8a6
mov ecx, eax
mov eax, dword [ebp - 0x18]
push 0xffffffffffffffff
push str.SELECT__FROM_games_WHERE__s___s_OR__s___s_
inc eax
mov dword [ebp - 0x1c], ecx
push eax
push ecx
lea eax, [ebp - 0x10]
push eax
call fcn.00585d85
mov ecx, dword [ebp - 0x18]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 2
push eax
push 0x63ee90
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push 0x63ee90
push eax
call fcn.00545b40
mov esi, eax
add esp, 0x2c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5080ba
push 2
push eax
call fcn.0056f898
add esp, 8
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
test eax, eax
je 0x5080da
push 2
push eax
call fcn.0056f898
add esp, 8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x28], 0
test eax, eax
je 0x508101
push 2
push eax
call fcn.0056f898
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
test esi, esi
je 0x50815b
mov ecx, dword [0x648be8]
push 0x63edb0
push esi
call fcn.005005c0
mov ecx, dword [esi]
mov edi, eax
test ecx, ecx
je 0x508136
push 2
push ecx
call fcn.0056f898
add esp, 8
mov dword [esi], 0
push 8
push esi
mov dword [esi + 4], 0
call fcn.0056f898
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x50
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0x27
call fcn.0056f8a6
mov ecx, eax
mov eax, dword [ebp - 0x18]
push 0xffffffffffffffff
push str.The_SQL_statement_could_not_be_created.
inc eax
mov dword [ebp - 0x1c], ecx
push eax
push ecx
lea eax, [ebp - 0x10]
push eax
call fcn.00585d85
mov ecx, dword [ebp - 0x18]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 3
push eax
push 0x8c6
push str.GameManager::getUssGameListForScan
push str.d:jenkinsworkspaceclient3.exe.fgmussexe_srcgamemanager.cpp
push 0x63ec80
call fcn.00550890
mov ecx, dword [ebp - 0x1c]
add esp, 0x2c
test ecx, ecx
je 0x508251
push 2
push ecx
jmp 0x508249
push 0x3c
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 0x1d
call fcn.0056f8a6
mov ecx, dword [ebp - 0x20]
push 0xffffffffffffffff
push str.The_mDatabase_object_is_NULL.
inc ecx
mov dword [ebp - 0x24], eax
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00585d85
mov ecx, dword [ebp - 0x20]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x20], ecx
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 4
push eax
push 0x8cb
push str.GameManager::getUssGameListForScan
push str.d:jenkinsworkspaceclient3.exe.fgmussexe_srcgamemanager.cpp
push 0x63ec80
call fcn.00550890
mov eax, dword [ebp - 0x24]
add esp, 0x2c
test eax, eax
je 0x508251
push 2
push eax
call fcn.0056f898
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret