Function at 0x50cf80
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b22c2
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
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 ebx, edx
mov esi, ecx
cmp dword [0x648be8], 0
mov edi, dword [ebp + 8]
mov byte [ebp - 0xd], 0
je 0x50d35b
test esi, esi
je 0x50d35b
cmp dword [esi], 0
je 0x50d35b
cmp dword [esi + 4], 0
jbe 0x50d35b
test ebx, ebx
je 0x50d35b
cmp dword [ebx], 0
je 0x50d35b
cmp dword [ebx + 4], 0
jbe 0x50d35b
test edi, edi
je 0x50d35b
cmp dword [edi], 0
je 0x50d35b
cmp dword [edi + 4], 0
jbe 0x50d35b
push edi
call fcn.0050d370
add esp, 4
test al, al
je 0x50d35b
cmp byte [ebp + 0xc], 0
je 0x50d04a
mov edx, edi
mov ecx, ebx
call fcn.00510640
test eax, eax
je 0x50d04a
push esi
mov ecx, eax
call fcn.00547150
test al, al
je 0x50d04a
mov edx, edi
mov ecx, ebx
call fcn.0050ebc0
mov ecx, edi
call fcn.004ffbc0
mov dword [ebp - 0x14], eax
test eax, eax
je 0x50d35b
cmp dword [eax], 0
je 0x50d35b
cmp dword [eax + 4], 0
jbe 0x50d35b
push str.removed
lea ecx, [ebp - 0x30]
call fcn.005455a0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x30]
push dword [ebp - 0x14]
push ebx
push esi
push eax
push 0x63ee90
push 0x63ecd8
call fcn.00545b40
add esp, 0x18
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.00500b70
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
test ecx, ecx
je 0x50d0cd
push 2
push ecx
call fcn.0056f898
mov eax, dword [ebp - 0x14]
add esp, 8
mov dword [eax], 0
push 8
push eax
mov dword [eax + 4], 0
call fcn.0056f898
mov eax, dword [ebp - 0x18]
add esp, 8
test eax, eax
je 0x50d35b
mov ecx, dword [0x648be8]
push 0
push eax
call fcn.005001c0
push edi
mov edx, ebx
mov ecx, esi
call fcn.0050d490
add esp, 4
mov byte [ebp - 0xd], al
test al, al
je 0x50d2f5
push str._s_s
lea ecx, [ebp - 0x44]
call fcn.005455a0
mov ebx, eax
mov ecx, 1
mov dword [ebp - 4], 1
call fcn.0051d5f0
mov edi, eax
test edi, edi
je 0x50d15b
push str.users
lea ecx, [ebp - 0x28]
call fcn.005455a0
push eax
mov ecx, edi
mov byte [ebp - 4], 0x1c
call fcn.00546600
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00500b70
push esi
push edi
push ebx
call fcn.00545b40
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
mov ebx, eax
call fcn.00500b70
test ebx, ebx
je 0x50d32f
push 0x20
call fcn.0056f5ce
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.0056f8a6
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.00585d85
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.005456c0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x20
push eax
lea ecx, [edi + 0x10]
mov dword [edi], vtable.OThread.0
call fcn.00545740
mov dword [edi + 4], 0
mov word [edi + 8], 0
mov dword [edi + 0xc], 0xfffffffe
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x50d21a
push 2
push eax
call fcn.0056f898
add esp, 8
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x50d22c
push 2
push eax
call fcn.0056f898
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.00546210
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi + 4]
mov byte [edi + 9], 1
test eax, eax
jne 0x50d284
push eax
push 4
push edi
push 0x550410
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 0x50d28b
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, edi
call fcn.00550690
mov dword [edi], vtable.ManifestDownloaderLib::OGameManifestUninstall.0
mov eax, dword [edi + 0x18]
test eax, eax
je 0x50d2b1
push 2
push eax
call fcn.0056f898
add esp, 8
mov dword [edi + 0x18], 0
mov ecx, edi
mov dword [edi + 0x1c], 0
call fcn.005504c0
push 0x20
push edi
call fcn.0056f898
mov eax, dword [ebx]
add esp, 8
test eax, eax
je 0x50d2e1
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
jmp 0x50d32f
push str.Failed_to_remove_game___s__from_the_database.
lea ecx, [ebp - 0x28]
call fcn.005455a0
push esi
push eax
push 0xd09
push str.GameManager::deleteGame
push str.d:jenkinsworkspaceclient3.exe.fgmussexe_srcgamemanager.cpp
push 0x63ec80
mov dword [ebp - 4], 0x25
call fcn.00550890
add esp, 0x18
lea ecx, [ebp - 0x28]
call fcn.00500b70
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx]
test eax, eax
je 0x50d349
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
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