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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b18c8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x63a404]
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.004fee90
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x50f52d
cmp dword [eax], ebx
je 0x50f52d
cmp dword [eax + 4], ebx
jbe 0x50f52d
push 0xa6
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x58], 0x52
call fcn.0056ea97
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.00584f75
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 0x63dd98
push esi
push 0x63db90
push edi
push 0x63de58
push 0x63dcf0
push 0x63def0
push 0x63dd60
push 0x63e048
push 0x63e060
push eax
call fcn.00544d50
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 0x50eab7
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], 0
test esi, esi
je 0x50f3e8
mov ecx, dword [0x647ac8]
push 0x63dd70
push esi
call fcn.004ff890
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x50f340
push 0x63dd70
mov ecx, eax
call fcn.00531970
test al, al
je 0x50f2bb
mov ecx, dword [ebp - 0x1c]
call fcn.00533830
test eax, eax
je 0x50f25e
mov ecx, dword [ebp - 0x1c]
push 0
call fcn.00531ee0
test al, al
je 0x50f1fe
mov ecx, dword [ebp - 0x1c]
push 0x63dcf0
call fcn.00535440
test al, al
je 0x50f19d
mov ecx, dword [ebp - 0x1c]
push 0x63e048
call fcn.00534f70
mov ecx, dword [ebp - 0x1c]
push 0x63def0
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
call fcn.00534640
mov ecx, eax
mov eax, dword [ebp - 0x48]
or eax, dword [ebp - 0x44]
mov dword [ebp - 0x24], ecx
je 0x50eb6f
push 0x63e200
call fcn.00546360
test al, al
jne 0x50ec73
mov ecx, dword [ebp - 0x24]
push 0x63dbd0
call fcn.00546360
test al, al
jne 0x50ec73
mov ecx, dword [ebp - 0x24]
push 0x63ddd8
call fcn.00546360
test al, al
jne 0x50ec73
mov ecx, dword [ebp - 0x24]
push 0x63de88
call fcn.00546360
test al, al
jne 0x50ec73
cmp dword [0x647ad0], 0
lea ecx, [ebp - 0x64]
je 0x50ec15
push str.Game_launched_but_not_running_in_memory
call fcn.005447b0
mov ecx, dword [ebp + 8]
mov edx, 4
push ecx
push dword [ebp - 0x14]
mov dword [ebp - 4], 0xa
push edi
push eax
push 0x63df00
lea ecx, [edx - 3]
call fcn.004ffe70
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.004ffe40
push str.Failed_to_launch_game__s:_Process_launched_but_not_running
lea ecx, [ebp - 0x64]
call fcn.005447b0
push edi
push eax
mov dword [ebp - 4], 0xb
push 0xfe7
jmp 0x50f13c
push str.Game_Process_Not_Launched
call fcn.005447b0
mov ecx, dword [ebp + 8]
mov edx, 4
push ecx
push dword [ebp - 0x14]
mov dword [ebp - 4], 0xc
push edi
push eax
push 0x63df00
lea ecx, [edx - 3]
call fcn.004ffe70
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.004ffe40
push str.Failed_to_launch_game__s:_Process_not_launched__possibly_missing_game_and_or_data
lea ecx, [ebp - 0x64]
call fcn.005447b0
push edi
push eax
mov dword [ebp - 4], 0xd
push 0xfec
jmp 0x50f13c
mov ecx, dword [ebp - 0x1c]
push 0x63dd60
call fcn.00534f70
mov ecx, dword [ebp - 0x1c]
push 0x63e060
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
call fcn.00534640
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0
test eax, eax
je 0x50f0e0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov esi, dword [ebp + 0x14]
mov dword [ebp - 4], 1
test esi, esi
je 0x50ecf0
cmp dword [esi], 0
je 0x50ecf0
cmp dword [esi + 4], 0
jbe 0x50ecf0
push esi
lea ecx, [ebp - 0x2c]
call fcn.005448d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
mov ebx, 1
mov dword [ebp - 0x40], ebx
call fcn.00547b70
mov byte [ebp - 0xe], bl
test al, al
jne 0x50ecf4
mov byte [ebp - 0xe], 0
mov dword [ebp - 4], 1
test bl, 1
je 0x50ed08
lea ecx, [ebp - 0x2c]
call fcn.004ffe40
cmp byte [ebp - 0xe], 0
je 0x50ed3c
mov ebx, dword [ebp - 0x20]
lea ecx, [ebp - 0x64]
push 0
push ebx
call fcn.005444a0
sub esp, 8
mov ecx, ebx
call fcn.00545b20
inc eax
push eax
push 0
call fcn.00545be0
mov ecx, esi
mov dword [ebp - 0x30], eax
call fcn.00544c60
mov dword [ebp - 0x20], eax
mov esi, dword [0x647ae0]
mov dword [ebp - 0x40], esi
mov eax, dword [esi + 4]
test eax, eax
je 0x50ed53
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 0x50edfb
cmp ebx, edx
jae 0x50ede8
mov eax, dword [eax]
test eax, eax
je 0x50ede5
mov esi, dword [eax + ebx*4]
test esi, esi
je 0x50ede5
mov eax, dword [esi + 0x18]
mov ecx, dword [eax]
test ecx, ecx
je 0x50ede5
cmp dword [eax + 4], 0
jbe 0x50ede5
mov eax, dword [edi]
test eax, eax
je 0x50ede5
cmp dword [edi + 4], 0
jbe 0x50ede5
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x50edbb
test dx, dx
je 0x50edb7
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x50edbb
add ecx, 4
add eax, 4
test dx, dx
jne 0x50ed95
xor eax, eax
jmp 0x50edc0
sbb eax, eax
or eax, 1
test eax, eax
jne 0x50ede2
push dword [ebp - 0x14]
mov ecx, dword [esi + 0x1c]
call fcn.005463a0
test al, al
je 0x50ede2
push dword [ebp + 8]
mov ecx, dword [esi + 0x20]
call fcn.005463a0
test al, al
jne 0x50edef
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
inc ebx
cmp ebx, edx
jb 0x50ed6d
jmp 0x50edf8
mov ecx, dword [ebp - 0x18]
push esi
call fcn.005445b0
mov esi, dword [ebp - 0x40]
mov eax, dword [esi + 4]
mov byte [esi + 9], 1
test eax, eax
jne 0x50ee2b
push eax
push 4
push esi
push 0x54f620
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 0x50ee32
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp byte [0x647b00], 0
je 0x50ee6d
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.0054ac60
add esp, 8
mov dword [0x647ad0], eax
push 0x3e8
call esi
mov eax, dword [0x647ad0]
jmp 0x50ee83
push dword [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x64]
call fcn.005492e0
add esp, 4
mov dword [0x647ad0], eax
test eax, eax
je 0x50f082
mov ecx, eax
call fcn.0054ab80
test al, al
je 0x50f07d
push str.playing
lea ecx, [ebp - 0x34]
call fcn.005447b0
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.005447b0
mov esi, eax
push dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x14]
push 0x63dd98
push ebx
push 0x63db90
push edi
push 0x63de58
mov byte [ebp - 4], 4
call fcn.0054e100
push eax
push 0x63df20
lea eax, [ebp - 0x34]
push eax
push 0x63de50
push esi
call fcn.00544d50
add esp, 0x2c
lea ecx, [ebp - 0x2c]
mov esi, eax
mov dword [ebp - 0x38], esi
call fcn.004ffe40
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.004ffe40
test esi, esi
je 0x50f023
mov ecx, dword [0x647ac8]
push 0
push esi
call fcn.004ff490
test al, al
je 0x50ef9b
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.00505480
add esp, 0xc
mov dword [0x647acc], eax
mov esi, dword [eax + 0x18]
call fcn.0054e0a0
mov ecx, dword [0x647acc]
push edx
push eax
add ecx, 0x18
call dword [esi + 0x10]
push 0x58
call fcn.0056e7bf
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.005048d0
mov ecx, eax
mov dword [0x647ad4], eax
call fcn.0054f770
mov esi, dword [ebp - 0x38]
jmp 0x50eff3
push str.Error_Updating_Database
lea ecx, [ebp - 0x54]
call fcn.005447b0
mov ecx, dword [ebp + 8]
mov edx, 6
push ecx
push ebx
push edi
push eax
push 0x63df00
lea ecx, [edx - 5]
mov byte [ebp - 4], 6
call fcn.004ffe70
add esp, 0x14
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.004ffe40
call fcn.0054ac00
mov ecx, dword [0x647ad0]
test ecx, ecx
je 0x50eff3
push ecx
call fcn.00504f70
mov dword [0x647ad0], 0
mov eax, dword [esi]
test eax, eax
je 0x50f00a
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [esi], 0
push 8
push esi
mov dword [esi + 4], 0
call fcn.0056ea89
add esp, 8
xor esi, esi
jmp 0x50f0a6
push str.Out_of_Memory
lea ecx, [ebp - 0x54]
call fcn.005447b0
mov ecx, dword [ebp + 8]
mov edx, 5
push ecx
push ebx
push edi
push eax
push 0x63df00
lea ecx, [edx - 4]
mov byte [ebp - 4], 7
call fcn.004ffe70
add esp, 0x14
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.004ffe40
call fcn.0054ac00
mov ecx, dword [0x647ad0]
test ecx, ecx
je 0x50f0a6
push ecx
call fcn.00504f70
mov dword [0x647ad0], 0
jmp 0x50f0a6
mov eax, dword [0x647ad0]
mov ecx, dword [ebp + 8]
mov edx, 5
push ecx
push dword [ebp - 0x14]
add eax, 0x3c
push edi
push eax
push 0x63df00
lea ecx, [edx - 4]
call fcn.004ffe70
mov esi, dword [ebp - 0x38]
add esp, 0x14
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x50f0d6
mov eax, dword [ebx]
test eax, eax
je 0x50f0c4
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [ebx], 0
push 8
push ebx
mov dword [ebx + 4], 0
call fcn.0056ea89
add esp, 8
lea ecx, [ebp - 0x64]
call fcn.00544470
jmp 0x50f15b
push str.Launch_Command_is_NULL
lea ecx, [ebp - 0x64]
call fcn.005447b0
mov ecx, dword [ebp + 8]
mov edx, 4
push ecx
push dword [ebp - 0x14]
mov dword [ebp - 4], 8
push edi
push eax
push 0x63df00
lea ecx, [edx - 3]
call fcn.004ffe70
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.004ffe40
push str.Failed_to_launch_game__s:_launch_command_is_NULL
lea ecx, [ebp - 0x64]
call fcn.005447b0
push edi
push eax
mov dword [ebp - 4], 9
push 0xfe1
push str.GameManager::launchGame
push str.d:jenkinsworkspaceclient3.exe.fgmussexe_srcgamemanager.cpp
push 0x63dc40
call fcn.0054faa0
add esp, 0x18
lea ecx, [ebp - 0x64]
call fcn.004ffe40
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x50f335
mov eax, dword [ebx]
test eax, eax
je 0x50f17d
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [ebx], 0
push 8
push ebx
mov dword [ebx + 4], 0
call fcn.0056ea89
add esp, 8
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.004feb60
jmp 0x50f3ba
push str.The_game_is_not_playable
lea ecx, [ebp - 0x64]
call fcn.005447b0
mov ecx, dword [ebp + 8]
mov edx, 2
push ecx
push dword [ebp - 0x14]
mov dword [ebp - 4], 0xe
push edi
push eax
push 0x63df00
lea ecx, [edx - 1]
call fcn.004ffe70
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.004ffe40
push str.Failed_to_launch_game__s:_the_game_is_not_playable
lea ecx, [ebp - 0x64]
call fcn.005447b0
push edi
push eax
mov dword [ebp - 4], 0xf
push 0xff5
jmp 0x50f316
push str.Failed_to_read_gamedata_from_JSON_node
lea ecx, [ebp - 0x64]
call fcn.005447b0
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 0x63df00
call fcn.004ffe70
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.004ffe40
push str.Failed_to_launch_game__s:_could_not_open_the_game_data_node
lea ecx, [ebp - 0x64]
call fcn.005447b0
push edi
push eax
mov dword [ebp - 4], 0x11
push 0xffc
jmp 0x50f316
push str.Failed_to_read_gamedata
lea ecx, [ebp - 0x64]
call fcn.005447b0
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 0x63df00
call fcn.004ffe70
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.004ffe40
push str.Failed_to_launch_game__s:_no_game_data_was_retrieved_from_the_database
lea ecx, [ebp - 0x64]
call fcn.005447b0
push edi
push eax
mov dword [ebp - 4], 0x13
push 0x1003
jmp 0x50f316
push str.Failed_to_read_games_node_of_gamedata
lea ecx, [ebp - 0x64]
call fcn.005447b0
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 0x63df00
call fcn.004ffe70
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.004ffe40
push str.Failed_to_launch_game__s:_could_not_open_the_games_node
lea ecx, [ebp - 0x64]
call fcn.005447b0
push edi
push eax
mov dword [ebp - 4], 0x15
push 0x100b
push str.GameManager::launchGame
push str.d:jenkinsworkspaceclient3.exe.fgmussexe_srcgamemanager.cpp
push 0x63dc40
call fcn.0054faa0
add esp, 0x18
lea ecx, [ebp - 0x64]
call fcn.004ffe40
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.004feb60
jmp 0x50f3ba
push str.Data_not_in_database
lea ecx, [ebp - 0x64]
call fcn.005447b0
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 0x63df00
call fcn.004ffe70
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.004ffe40
push str.Failed_to_launch_game__s:_the_game_data_JSON_is_NULL
lea ecx, [ebp - 0x64]
call fcn.005447b0
push edi
push eax
push 0x1013
push str.GameManager::launchGame
push str.d:jenkinsworkspaceclient3.exe.fgmussexe_srcgamemanager.cpp
push 0x63dc40
mov dword [ebp - 4], 0x17
call fcn.0054faa0
add esp, 0x18
lea ecx, [ebp - 0x64]
call fcn.004ffe40
test esi, esi
je 0x50f4ec
mov eax, dword [esi]
test eax, eax
je 0x50f3d9
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [esi], 0
push 8
mov dword [esi + 4], 0
push esi
jmp 0x50f4e4
push 0x2c
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x58], 0x15
call fcn.0056ea97
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.00584f75
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 0x63df00
mov ecx, edx
call fcn.004ffe70
mov dword [ebp - 4], 0xffffffff
add esp, 0x2c
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x50f46b
push 2
push eax
call fcn.0056ea89
add esp, 8
push 0x94
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], 0x49
call fcn.0056ea97
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.00584f75
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 0x101b
push str.GameManager::launchGame
push str.d:jenkinsworkspaceclient3.exe.fgmussexe_srcgamemanager.cpp
push 0x63dc40
call fcn.0054faa0
mov eax, dword [ebp - 0x34]
add esp, 0x30
test eax, eax
je 0x50f4ec
push 2
push eax
call fcn.0056ea89
add esp, 8
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebx]
test eax, eax
je 0x50f506
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [ebx], 0
push 8
push ebx
mov dword [ebx + 4], 0
call fcn.0056ea89
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