Function at 0x50f7a0
Capabilities:
Create thread
Reference sql statements
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b26e8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x63b404]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x14], esi
mov edi, ecx
mov ecx, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x40], ebx
mov byte [ebp - 0xd], bl
call fcn.004ffbc0
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x51030d
cmp dword [eax], ebx
je 0x51030d
cmp dword [eax + 4], ebx
jbe 0x51030d
push 0xa6
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x58], 0x52
call fcn.0056f8a6
mov ecx, eax
mov eax, dword [ebp - 0x58]
push 0xffffffffffffffff
push str.SELECT__s___s___s___s___s_FROM_games_WHERE__s___s_AND__s___s_AND__s_in___s__
inc eax
mov dword [ebp - 0x5c], ecx
push eax
push ecx
lea eax, [ebp - 0x48]
push eax
call fcn.00585d85
mov ecx, dword [ebp - 0x58]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x58], ecx
push dword [ebp - 0x3c]
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], edx
push 0x63edd8
push esi
push 0x63ebd0
push edi
push 0x63ee98
push 0x63ed30
push 0x63ef30
push 0x63eda0
push 0x63f090
push 0x63f0a8
push eax
call fcn.00545b40
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x5c]
add esp, 0x48
mov dword [ebp - 0x38], esi
test eax, eax
je 0x50f897
push 2
push eax
call fcn.0056f898
add esp, 8
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], 0
test esi, esi
je 0x5101c8
mov ecx, dword [0x648be8]
push 0x63edb0
push esi
call fcn.005005c0
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x510120
push 0x63edb0
mov ecx, eax
call fcn.00532760
test al, al
je 0x51009b
mov ecx, dword [ebp - 0x1c]
call fcn.00534620
test eax, eax
je 0x51003e
mov ecx, dword [ebp - 0x1c]
push 0
call fcn.00532cd0
test al, al
je 0x50ffde
mov ecx, dword [ebp - 0x1c]
push 0x63ed30
call fcn.00536230
test al, al
je 0x50ff7d
mov ecx, dword [ebp - 0x1c]
push 0x63f090
call fcn.00535d60
mov ecx, dword [ebp - 0x1c]
push 0x63ef30
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
call fcn.00535430
mov ecx, eax
mov eax, dword [ebp - 0x48]
or eax, dword [ebp - 0x44]
mov dword [ebp - 0x24], ecx
je 0x50f94f
push 0x63f250
call fcn.00547150
test al, al
jne 0x50fa53
mov ecx, dword [ebp - 0x24]
push 0x63ec10
call fcn.00547150
test al, al
jne 0x50fa53
mov ecx, dword [ebp - 0x24]
push 0x63ee18
call fcn.00547150
test al, al
jne 0x50fa53
mov ecx, dword [ebp - 0x24]
push 0x63eec8
call fcn.00547150
test al, al
jne 0x50fa53
cmp dword [0x648bf0], 0
lea ecx, [ebp - 0x64]
je 0x50f9f5
push str.Game_launched_but_not_running_in_memory
call fcn.005455a0
mov ecx, dword [ebp + 8]
mov edx, 4
push ecx
push dword [ebp - 0x14]
mov dword [ebp - 4], 0xa
push edi
push eax
push 0x63ef40
lea ecx, [edx - 3]
call fcn.00500ba0
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00500b70
push str.Failed_to_launch_game__s:_Process_launched_but_not_running
lea ecx, [ebp - 0x64]
call fcn.005455a0
push edi
push eax
mov dword [ebp - 4], 0xb
push 0xff7
jmp 0x50ff1c
push str.Game_Process_Not_Launched
call fcn.005455a0
mov ecx, dword [ebp + 8]
mov edx, 4
push ecx
push dword [ebp - 0x14]
mov dword [ebp - 4], 0xc
push edi
push eax
push 0x63ef40
lea ecx, [edx - 3]
call fcn.00500ba0
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00500b70
push str.Failed_to_launch_game__s:_Process_not_launched__possibly_missing_game_and_or_data
lea ecx, [ebp - 0x64]
call fcn.005455a0
push edi
push eax
mov dword [ebp - 4], 0xd
push 0xffc
jmp 0x50ff1c
mov ecx, dword [ebp - 0x1c]
push 0x63eda0
call fcn.00535d60
mov ecx, dword [ebp - 0x1c]
push 0x63f0a8
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
call fcn.00535430
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0
test eax, eax
je 0x50fec0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov esi, dword [ebp + 0x14]
mov dword [ebp - 4], 1
test esi, esi
je 0x50fad0
cmp dword [esi], 0
je 0x50fad0
cmp dword [esi + 4], 0
jbe 0x50fad0
push esi
lea ecx, [ebp - 0x2c]
call fcn.005456c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
mov ebx, 1
mov dword [ebp - 0x40], ebx
call fcn.00548960
mov byte [ebp - 0xe], bl
test al, al
jne 0x50fad4
mov byte [ebp - 0xe], 0
mov dword [ebp - 4], 1
test bl, 1
je 0x50fae8
lea ecx, [ebp - 0x2c]
call fcn.00500b70
cmp byte [ebp - 0xe], 0
je 0x50fb1c
mov ebx, dword [ebp - 0x20]
lea ecx, [ebp - 0x64]
push 0
push ebx
call fcn.00545290
sub esp, 8
mov ecx, ebx
call fcn.00546910
inc eax
push eax
push 0
call fcn.005469d0
mov ecx, esi
mov dword [ebp - 0x30], eax
call fcn.00545a50
mov dword [ebp - 0x20], eax
mov esi, dword [0x648c00]
mov dword [ebp - 0x40], esi
mov eax, dword [esi + 4]
test eax, eax
je 0x50fb33
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov eax, dword [esi + 0x18]
xor ebx, ebx
mov dword [ebp - 0x18], eax
mov edx, dword [eax + 4]
mov dword [ebp - 0x28], edx
test edx, edx
je 0x50fbdb
cmp ebx, edx
jae 0x50fbc8
mov eax, dword [eax]
test eax, eax
je 0x50fbc5
mov esi, dword [eax + ebx*4]
test esi, esi
je 0x50fbc5
mov eax, dword [esi + 0x18]
mov ecx, dword [eax]
test ecx, ecx
je 0x50fbc5
cmp dword [eax + 4], 0
jbe 0x50fbc5
mov eax, dword [edi]
test eax, eax
je 0x50fbc5
cmp dword [edi + 4], 0
jbe 0x50fbc5
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x50fb9b
test dx, dx
je 0x50fb97
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x50fb9b
add ecx, 4
add eax, 4
test dx, dx
jne 0x50fb75
xor eax, eax
jmp 0x50fba0
sbb eax, eax
or eax, 1
test eax, eax
jne 0x50fbc2
push dword [ebp - 0x14]
mov ecx, dword [esi + 0x1c]
call fcn.00547190
test al, al
je 0x50fbc2
push dword [ebp + 8]
mov ecx, dword [esi + 0x20]
call fcn.00547190
test al, al
jne 0x50fbcf
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
inc ebx
cmp ebx, edx
jb 0x50fb4d
jmp 0x50fbd8
mov ecx, dword [ebp - 0x18]
push esi
call fcn.005453a0
mov esi, dword [ebp - 0x40]
mov eax, dword [esi + 4]
mov byte [esi + 9], 1
test eax, eax
jne 0x50fc0b
push eax
push 4
push esi
push 0x550410
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push dword [esi + 0xc]
mov dword [esi + 4], eax
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [esi + 4]
test eax, eax
je 0x50fc12
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp byte [0x648c20], 0
je 0x50fc4d
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x3e8
call esi
push dword [ebp - 0x30]
lea edx, [ebp - 0x64]
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.0054ba50
add esp, 8
mov dword [0x648bf0], eax
push 0x3e8
call esi
mov eax, dword [0x648bf0]
jmp 0x50fc63
push dword [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x64]
call fcn.0054a0d0
add esp, 4
mov dword [0x648bf0], eax
test eax, eax
je 0x50fe62
mov ecx, eax
call fcn.0054b970
test al, al
je 0x50fe5d
push str.playing
lea ecx, [ebp - 0x34]
call fcn.005455a0
push str.UPDATE_games_SET__s___s___s___s_WHERE__s___s_AND__s___s_AND__s_in___s__
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.005455a0
mov esi, eax
push dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x14]
push 0x63edd8
push ebx
push 0x63ebd0
push edi
push 0x63ee98
mov byte [ebp - 4], 4
call fcn.0054eef0
push eax
push 0x63ef60
lea eax, [ebp - 0x34]
push eax
push 0x63ee90
push esi
call fcn.00545b40
add esp, 0x2c
lea ecx, [ebp - 0x2c]
mov esi, eax
mov dword [ebp - 0x38], esi
call fcn.00500b70
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.00500b70
test esi, esi
je 0x50fe03
mov ecx, dword [0x648be8]
push 0
push esi
call fcn.005001c0
test al, al
je 0x50fd7b
push dword [ebp + 0x10]
mov edx, ebx
mov byte [ebp - 0xd], 1
push dword [ebp + 0xc]
mov ecx, edi
push dword [ebp + 8]
call fcn.005061b0
add esp, 0xc
mov dword [0x648bec], eax
mov esi, dword [eax + 0x18]
call fcn.0054ee90
mov ecx, dword [0x648bec]
push edx
push eax
add ecx, 0x18
call dword [esi + 0x10]
push 0x58
call fcn.0056f5ce
add esp, 4
mov dword [ebp - 0x40], eax
push dword [ebp + 0x18]
mov byte [ebp - 4], 5
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp + 8]
push ecx
push ebx
push edi
mov ecx, eax
call fcn.00505600
mov ecx, eax
mov dword [0x648bf4], eax
call fcn.00550560
mov esi, dword [ebp - 0x38]
jmp 0x50fdd3
push str.Error_Updating_Database
lea ecx, [ebp - 0x54]
call fcn.005455a0
mov ecx, dword [ebp + 8]
mov edx, 6
push ecx
push ebx
push edi
push eax
push 0x63ef40
lea ecx, [edx - 5]
mov byte [ebp - 4], 6
call fcn.00500ba0
add esp, 0x14
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.00500b70
call fcn.0054b9f0
mov ecx, dword [0x648bf0]
test ecx, ecx
je 0x50fdd3
push ecx
call fcn.00505ca0
mov dword [0x648bf0], 0
mov eax, dword [esi]
test eax, eax
je 0x50fdea
push 2
push eax
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
xor esi, esi
jmp 0x50fe86
push str.Out_of_Memory
lea ecx, [ebp - 0x54]
call fcn.005455a0
mov ecx, dword [ebp + 8]
mov edx, 5
push ecx
push ebx
push edi
push eax
push 0x63ef40
lea ecx, [edx - 4]
mov byte [ebp - 4], 7
call fcn.00500ba0
add esp, 0x14
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.00500b70
call fcn.0054b9f0
mov ecx, dword [0x648bf0]
test ecx, ecx
je 0x50fe86
push ecx
call fcn.00505ca0
mov dword [0x648bf0], 0
jmp 0x50fe86
mov eax, dword [0x648bf0]
mov ecx, dword [ebp + 8]
mov edx, 5
push ecx
push dword [ebp - 0x14]
add eax, 0x3c
push edi
push eax
push 0x63ef40
lea ecx, [edx - 4]
call fcn.00500ba0
mov esi, dword [ebp - 0x38]
add esp, 0x14
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x50feb6
mov eax, dword [ebx]
test eax, eax
je 0x50fea4
push 2
push eax
call fcn.0056f898
add esp, 8
mov dword [ebx], 0
push 8
push ebx
mov dword [ebx + 4], 0
call fcn.0056f898
add esp, 8
lea ecx, [ebp - 0x64]
call fcn.00545260
jmp 0x50ff3b
push str.Launch_Command_is_NULL
lea ecx, [ebp - 0x64]
call fcn.005455a0
mov ecx, dword [ebp + 8]
mov edx, 4
push ecx
push dword [ebp - 0x14]
mov dword [ebp - 4], 8
push edi
push eax
push 0x63ef40
lea ecx, [edx - 3]
call fcn.00500ba0
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00500b70
push str.Failed_to_launch_game__s:_launch_command_is_NULL
lea ecx, [ebp - 0x64]
call fcn.005455a0
push edi
push eax
mov dword [ebp - 4], 9
push 0xff1
push str.GameManager::launchGame
push str.d:jenkinsworkspaceclient3.exe.fgmussexe_srcgamemanager.cpp
push 0x63ec80
call fcn.00550890
add esp, 0x18
lea ecx, [ebp - 0x64]
call fcn.00500b70
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x510115
mov eax, dword [ebx]
test eax, eax
je 0x50ff5d
push 2
push eax
call fcn.0056f898
add esp, 8
mov dword [ebx], 0
push 8
push ebx
mov dword [ebx + 4], 0
call fcn.0056f898
add esp, 8
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.004ff890
jmp 0x51019a
push str.The_game_is_not_playable
lea ecx, [ebp - 0x64]
call fcn.005455a0
mov ecx, dword [ebp + 8]
mov edx, 2
push ecx
push dword [ebp - 0x14]
mov dword [ebp - 4], 0xe
push edi
push eax
push 0x63ef40
lea ecx, [edx - 1]
call fcn.00500ba0
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00500b70
push str.Failed_to_launch_game__s:_the_game_is_not_playable
lea ecx, [ebp - 0x64]
call fcn.005455a0
push edi
push eax
mov dword [ebp - 4], 0xf
push 0x1005
jmp 0x5100f6
push str.Failed_to_read_gamedata_from_JSON_node
lea ecx, [ebp - 0x64]
call fcn.005455a0
mov ecx, dword [ebp + 8]
mov edx, 1
push ecx
push dword [ebp - 0x14]
mov ecx, edx
mov dword [ebp - 4], 0x10
push edi
push eax
push 0x63ef40
call fcn.00500ba0
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00500b70
push str.Failed_to_launch_game__s:_could_not_open_the_game_data_node
lea ecx, [ebp - 0x64]
call fcn.005455a0
push edi
push eax
mov dword [ebp - 4], 0x11
push 0x100c
jmp 0x5100f6
push str.Failed_to_read_gamedata
lea ecx, [ebp - 0x64]
call fcn.005455a0
mov ecx, dword [ebp + 8]
mov edx, 1
push ecx
push dword [ebp - 0x14]
mov ecx, edx
mov dword [ebp - 4], 0x12
push edi
push eax
push 0x63ef40
call fcn.00500ba0
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00500b70
push str.Failed_to_launch_game__s:_no_game_data_was_retrieved_from_the_database
lea ecx, [ebp - 0x64]
call fcn.005455a0
push edi
push eax
mov dword [ebp - 4], 0x13
push 0x1013
jmp 0x5100f6
push str.Failed_to_read_games_node_of_gamedata
lea ecx, [ebp - 0x64]
call fcn.005455a0
mov ecx, dword [ebp + 8]
mov edx, 1
push ecx
push dword [ebp - 0x14]
mov ecx, edx
mov dword [ebp - 4], 0x14
push edi
push eax
push 0x63ef40
call fcn.00500ba0
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00500b70
push str.Failed_to_launch_game__s:_could_not_open_the_games_node
lea ecx, [ebp - 0x64]
call fcn.005455a0
push edi
push eax
mov dword [ebp - 4], 0x15
push 0x101b
push str.GameManager::launchGame
push str.d:jenkinsworkspaceclient3.exe.fgmussexe_srcgamemanager.cpp
push 0x63ec80
call fcn.00550890
add esp, 0x18
lea ecx, [ebp - 0x64]
call fcn.00500b70
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.004ff890
jmp 0x51019a
push str.Data_not_in_database
lea ecx, [ebp - 0x64]
call fcn.005455a0
mov ecx, dword [ebp + 8]
mov edx, 1
push ecx
push dword [ebp - 0x14]
mov ecx, edx
mov dword [ebp - 4], 0x16
push edi
push eax
push 0x63ef40
call fcn.00500ba0
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00500b70
push str.Failed_to_launch_game__s:_the_game_data_JSON_is_NULL
lea ecx, [ebp - 0x64]
call fcn.005455a0
push edi
push eax
push 0x1023
push str.GameManager::launchGame
push str.d:jenkinsworkspaceclient3.exe.fgmussexe_srcgamemanager.cpp
push 0x63ec80
mov dword [ebp - 4], 0x17
call fcn.00550890
add esp, 0x18
lea ecx, [ebp - 0x64]
call fcn.00500b70
test esi, esi
je 0x5102cc
mov eax, dword [esi]
test eax, eax
je 0x5101b9
push 2
push eax
call fcn.0056f898
add esp, 8
mov dword [esi], 0
push 8
mov dword [esi + 4], 0
push esi
jmp 0x5102c4
push 0x2c
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x58], 0x15
call fcn.0056f8a6
mov ecx, eax
mov eax, dword [ebp - 0x58]
push 0xffffffffffffffff
push str.Database_access_error
inc eax
mov dword [ebp - 0x5c], ecx
push eax
push ecx
lea eax, [ebp - 0x50]
push eax
call fcn.00585d85
mov ecx, dword [ebp - 0x58]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x58], ecx
push dword [ebp + 8]
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 0x18
push dword [ebp - 0x14]
mov edx, 1
push edi
push eax
push 0x63ef40
mov ecx, edx
call fcn.00500ba0
mov dword [ebp - 4], 0xffffffff
add esp, 0x2c
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x51024b
push 2
push eax
call fcn.0056f898
add esp, 8
push 0x94
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], 0x49
call fcn.0056f8a6
mov ecx, eax
mov eax, dword [ebp - 0x30]
push 0xffffffffffffffff
push str.Failed_to_launch_game__s:_the_sql_statement_to_query_the_database_is_NULL
inc eax
mov dword [ebp - 0x34], ecx
push eax
push ecx
lea eax, [ebp - 0x38]
push eax
call fcn.00585d85
mov ecx, dword [ebp - 0x30]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x30], ecx
push edi
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 0x19
push eax
push 0x102b
push str.GameManager::launchGame
push str.d:jenkinsworkspaceclient3.exe.fgmussexe_srcgamemanager.cpp
push 0x63ec80
call fcn.00550890
mov eax, dword [ebp - 0x34]
add esp, 0x30
test eax, eax
je 0x5102cc
push 2
push eax
call fcn.0056f898
add esp, 8
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebx]
test eax, eax
je 0x5102e6
push 2
push eax
call fcn.0056f898
add esp, 8
mov dword [ebx], 0
push 8
push ebx
mov dword [ebx + 4], 0
call fcn.0056f898
mov al, byte [ebp - 0xd]
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret