Function at 0x507000
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b0e07
mov eax, dword fs:[0]
push eax
sub esp, 0x20
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
push 0x46
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0x22
call fcn.0056ea97
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.00584f75
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 0x63dc40
mov dword [ebp - 4], edx
call fcn.0054faa0
mov dword [ebp - 4], 0xffffffff
add esp, 0x34
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5070af
push 2
push eax
call fcn.0056ea89
add esp, 8
push dword [ebp + 0x10]
mov edx, ebx
mov ecx, esi
push edi
push dword [ebp + 8]
call fcn.00505480
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
add esp, 0xc
mov dword [0x647acc], edi
test edi, edi
je 0x50713f
mov eax, dword [edi + 4]
mov byte [edi + 9], 1
test eax, eax
jne 0x50710a
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 0x507111
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0xfa
call esi
mov ecx, dword [0x647acc]
cmp byte [ecx + 9], 0
je 0x507111
mov eax, dword [ecx + 4]
test eax, eax
je 0x507111
lea ecx, [ebp - 0x10]
push ecx
push eax
call ebx
test eax, eax
je 0x507111
cmp dword [ebp - 0x10], 0x103
je 0x507111
push 0x1c
call fcn.0056e7bf
mov edi, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 1
mov esi, 0x1a
mov eax, dword [0x647acc]
push 0x36
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
call fcn.0056ea97
push 0xffffffffffffffff
push str.GameManager::GameDrmUpdate
push 0x1b
push eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00584f75
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.005448d0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
push eax
lea ecx, [edi + 0x10]
mov dword [edi], vtable.OThread.0
call fcn.00544950
mov eax, dword [ebp - 0x2c]
mov dword [edi + 4], 0
mov word [edi + 8], 0
mov dword [edi + 0xc], 0xfffffffe
test eax, eax
je 0x5071dc
push 2
push eax
call fcn.0056ea89
add esp, 8
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x5071ee
push 2
push eax
call fcn.0056ea89
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 0x507231
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 0x507238
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 0x507240
mov eax, dword [edi + 4]
test eax, eax
je 0x507240
lea ecx, [ebp - 0x14]
push ecx
push eax
call ebx
test eax, eax
je 0x507240
cmp dword [ebp - 0x14], 0x103
je 0x507240
mov eax, dword [edi + 4]
mov dword [ebp - 0x14], 0
test eax, eax
je 0x50727d
lea ecx, [ebp - 0x14]
push ecx
push eax
call ebx
mov ecx, edi
call fcn.0054f6d0
push 0x1c
push edi
call fcn.0056ea89
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