Function at 0x507d30
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b1c17
mov eax, dword fs:[0]
push eax
sub esp, 0x20
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
push 0x46
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0x22
call fcn.0056f8a6
mov ecx, dword [ebp - 0x18]
push 0xffffffffffffffff
push str.Installing_DRM_key:__s_to_game:__s
inc ecx
mov dword [ebp - 0x1c], eax
push ecx
push eax
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
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push esi
push edi
push eax
push 0x892
push str.GameManager::installCertificate
push str.d:jenkinsworkspaceclient3.exe.fgmussexe_srcgamemanager.cpp
push 0x63ec80
mov dword [ebp - 4], edx
call fcn.00550890
mov dword [ebp - 4], 0xffffffff
add esp, 0x34
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x507ddf
push 2
push eax
call fcn.0056f898
add esp, 8
push dword [ebp + 0x10]
mov edx, ebx
mov ecx, esi
push edi
push dword [ebp + 8]
call fcn.005061b0
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
add esp, 0xc
mov dword [0x648bec], edi
test edi, edi
je 0x507e6f
mov eax, dword [edi + 4]
mov byte [edi + 9], 1
test eax, eax
jne 0x507e3a
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 0x507e41
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0xfa
call esi
mov ecx, dword [0x648bec]
cmp byte [ecx + 9], 0
je 0x507e41
mov eax, dword [ecx + 4]
test eax, eax
je 0x507e41
lea ecx, [ebp - 0x10]
push ecx
push eax
call ebx
test eax, eax
je 0x507e41
cmp dword [ebp - 0x10], 0x103
je 0x507e41
push 0x1c
call fcn.0056f5ce
mov edi, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 1
mov esi, 0x1a
mov eax, dword [0x648bec]
push 0x36
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
call fcn.0056f8a6
push 0xffffffffffffffff
push str.GameManager::GameDrmUpdate
push 0x1b
push eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00585d85
xor ecx, ecx
add esp, 0x1c
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x20], esi
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x2c]
call fcn.005456c0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
push eax
lea ecx, [edi + 0x10]
mov dword [edi], vtable.OThread.0
call fcn.00545740
mov eax, dword [ebp - 0x2c]
mov dword [edi + 4], 0
mov word [edi + 8], 0
mov dword [edi + 0xc], 0xfffffffe
test eax, eax
je 0x507f0c
push 2
push eax
call fcn.0056f898
add esp, 8
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x507f1e
push 2
push eax
call fcn.0056f898
add esp, 8
mov eax, dword [ebp - 0x14]
mov dword [edi], vtable.GameManager::GameDrmUpdate.0
mov dword [edi + 0x18], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi + 4]
mov byte [edi + 9], 1
test eax, eax
jne 0x507f61
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 0x507f68
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
nop
push 0xfa
call esi
cmp byte [edi + 9], 0
je 0x507f70
mov eax, dword [edi + 4]
test eax, eax
je 0x507f70
lea ecx, [ebp - 0x14]
push ecx
push eax
call ebx
test eax, eax
je 0x507f70
cmp dword [ebp - 0x14], 0x103
je 0x507f70
mov eax, dword [edi + 4]
mov dword [ebp - 0x14], 0
test eax, eax
je 0x507fad
lea ecx, [ebp - 0x14]
push ecx
push eax
call ebx
mov ecx, edi
call fcn.005504c0
push 0x1c
push edi
call fcn.0056f898
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret