Function at 0x50c1a0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b14a2
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
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 ebx, edx
mov esi, ecx
cmp dword [0x647ac8], 0
mov edi, dword [ebp + 8]
mov byte [ebp - 0xd], 0
je 0x50c57b
test esi, esi
je 0x50c57b
cmp dword [esi], 0
je 0x50c57b
cmp dword [esi + 4], 0
jbe 0x50c57b
test ebx, ebx
je 0x50c57b
cmp dword [ebx], 0
je 0x50c57b
cmp dword [ebx + 4], 0
jbe 0x50c57b
test edi, edi
je 0x50c57b
cmp dword [edi], 0
je 0x50c57b
cmp dword [edi + 4], 0
jbe 0x50c57b
push edi
call fcn.0050c590
add esp, 4
test al, al
je 0x50c57b
cmp byte [ebp + 0xc], 0
je 0x50c26a
mov edx, edi
mov ecx, ebx
call fcn.0050f860
test eax, eax
je 0x50c26a
push esi
mov ecx, eax
call fcn.00546360
test al, al
je 0x50c26a
mov edx, edi
mov ecx, ebx
call fcn.0050dde0
mov ecx, edi
call fcn.004fee90
mov dword [ebp - 0x14], eax
test eax, eax
je 0x50c57b
cmp dword [eax], 0
je 0x50c57b
cmp dword [eax + 4], 0
jbe 0x50c57b
push str.removed
lea ecx, [ebp - 0x30]
call fcn.005447b0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x30]
push dword [ebp - 0x14]
push ebx
push esi
push eax
push 0x63de50
push 0x63dc98
call fcn.00544d50
add esp, 0x18
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.004ffe40
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
test ecx, ecx
je 0x50c2ed
push 2
push ecx
call fcn.0056ea89
mov eax, dword [ebp - 0x14]
add esp, 8
mov dword [eax], 0
push 8
push eax
mov dword [eax + 4], 0
call fcn.0056ea89
mov eax, dword [ebp - 0x18]
add esp, 8
test eax, eax
je 0x50c57b
mov ecx, dword [0x647ac8]
push 0
push eax
call fcn.004ff490
push edi
mov edx, ebx
mov ecx, esi
call fcn.0050c6b0
add esp, 4
mov byte [ebp - 0xd], al
test al, al
je 0x50c515
push str._s_s
lea ecx, [ebp - 0x44]
call fcn.005447b0
mov ebx, eax
mov ecx, 1
mov dword [ebp - 4], 1
call fcn.0051c800
mov edi, eax
test edi, edi
je 0x50c37b
push str.users
lea ecx, [ebp - 0x28]
call fcn.005447b0
push eax
mov ecx, edi
mov byte [ebp - 4], 0x1c
call fcn.00545810
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.004ffe40
push esi
push edi
push ebx
call fcn.00544d50
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
mov ebx, eax
call fcn.004ffe40
test ebx, ebx
je 0x50c54f
push 0x20
call fcn.0056e7bf
mov edi, eax
add esp, 4
mov dword [ebp - 0x3c], edi
mov dword [ebp - 4], 0x1e
mov esi, 0x16
push 0x2e
mov dword [ebp - 0x14], 0
call fcn.0056ea97
add esp, 4
mov dword [ebp - 0x20], eax
push 0xffffffffffffffff
push str.OGameManifestUninstall
push 0x17
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00584f75
xor ecx, ecx
add esp, 0x14
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x1f
push eax
lea ecx, [ebp - 0x38]
call fcn.005448d0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x20
push eax
lea ecx, [edi + 0x10]
mov dword [edi], vtable.OThread.0
call fcn.00544950
mov dword [edi + 4], 0
mov word [edi + 8], 0
mov dword [edi + 0xc], 0xfffffffe
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x50c43a
push 2
push eax
call fcn.0056ea89
add esp, 8
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x50c44c
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [edi], vtable.ManifestDownloaderLib::OGameManifestUninstall.0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
push ebx
lea ecx, [edi + 0x18]
mov byte [ebp - 4], 0x24
call fcn.00545420
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi + 4]
mov byte [edi + 9], 1
test eax, eax
jne 0x50c4a4
push eax
push 4
push edi
push 0x54f620
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push dword [edi + 0xc]
mov dword [edi + 4], eax
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [edi + 4]
test eax, eax
je 0x50c4ab
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, edi
call fcn.0054f8a0
mov dword [edi], vtable.ManifestDownloaderLib::OGameManifestUninstall.0
mov eax, dword [edi + 0x18]
test eax, eax
je 0x50c4d1
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [edi + 0x18], 0
mov ecx, edi
mov dword [edi + 0x1c], 0
call fcn.0054f6d0
push 0x20
push edi
call fcn.0056ea89
mov eax, dword [ebx]
add esp, 8
test eax, eax
je 0x50c501
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
jmp 0x50c54f
push str.Failed_to_remove_game___s__from_the_database.
lea ecx, [ebp - 0x28]
call fcn.005447b0
push esi
push eax
push 0xcf9
push str.GameManager::deleteGame
push str.d:jenkinsworkspaceclient3.exe.fgmussexe_srcgamemanager.cpp
push 0x63dc40
mov dword [ebp - 4], 0x25
call fcn.0054faa0
add esp, 0x18
lea ecx, [ebp - 0x28]
call fcn.004ffe40
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx]
test eax, eax
je 0x50c569
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
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret