Function at 0x52ebf0
Capabilities:
Create thread
Delete file
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b5804
mov eax, dword fs:[0]
push eax
sub esp, 0x28
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 esi, ecx
mov dword [ebp - 0x14], esi
mov ecx, dword [esi + 0xa0]
xor al, al
mov byte [ebp - 0xd], al
mov dword [ebp - 0x18], 0
call fcn.00545a50
mov ebx, eax
push 0x6450a8
mov ecx, ebx
call fcn.00546600
push 8
call fcn.0056f5ce
mov ecx, eax
add esp, 4
mov dword [ebp - 0x24], ecx
lea eax, [esi + 0xb0]
mov dword [ebp - 4], 0
push eax
call fcn.00545740
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0xac], eax
test ebx, ebx
je 0x52ec94
mov ecx, ebx
call fcn.00546d80
mov esi, eax
test esi, esi
je 0x52ec94
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 2
push esi
call fcn.0056f898
add esp, 8
push 4
call fcn.0056f5ce
mov edi, eax
mov dword [ebp - 0x24], edi
push 4
mov dword [ebp - 4], 1
call fcn.0056f5ce
add esp, 8
mov dword [ebp - 0x28], eax
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00532040
mov esi, eax
mov byte [ebp - 4], 1
push 0x648cc0
mov ecx, dword [esi]
call fcn.0053dcf0
mov eax, dword [ebp - 0x14]
mov dword [edi], esi
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [eax + 0xac]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x52ed60
test ebx, ebx
je 0x52ed60
push 0x78
call fcn.0056f5ce
add esp, 4
mov dword [ebp - 0x2c], eax
push 1
push edi
push ebx
push dword [ebp - 0x1c]
mov ecx, eax
mov dword [ebp - 4], 3
call fcn.005215f0
mov esi, eax
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x52ed60
mov eax, dword [esi + 4]
mov byte [esi + 9], 1
test eax, eax
jne 0x52ed4f
push eax
push 4
push esi
push 0x550410
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 0x52ed60
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
nop word [eax + eax]
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 0x70]
cmp eax, 5
je 0x52ed78
cmp eax, 6
jne 0x52ed60
cmp eax, 6
jne 0x52ee11
push 0x32
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x30], 0x18
call fcn.0056f8a6
mov ecx, eax
mov eax, dword [ebp - 0x30]
push 0xffffffffffffffff
push str.Manifest_download_failed
inc eax
mov dword [ebp - 0x34], ecx
push eax
push ecx
lea eax, [ebp - 0x20]
push eax
call fcn.00585d85
mov ecx, dword [ebp - 0x30]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x30], ecx
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 4
push eax
push 0x139
push str.ManifestDownloaderLib::OGameManifestDownload::downloadManifest
push str.d:jenkinsworkspaceclient3.lib.manifestdownloadermanifestdownloaderlib_srcogamemanifestdownload.cpp
push edx
call fcn.00550890
mov dword [ebp - 4], 0xffffffff
add esp, 0x2c
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x52ee08
push 2
push eax
call fcn.0056f898
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
jmp 0x52ee49
mov ecx, ebx
call fcn.005483c0
mov edi, eax
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x1c]
cmp eax, 1
jbe 0x52ee3e
mov ecx, edi
call fcn.005321a0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x80], eax
call fcn.0052e9d0
mov byte [ebp - 0xd], al
mov edx, dword [edi]
mov ecx, edi
push 1
call dword [edx]
mov edi, dword [ebp - 0x24]
mov ecx, esi
call fcn.00521780
push 0x78
push esi
call fcn.0056f898
mov ecx, dword [edi]
add esp, 8
test ecx, ecx
je 0x52ee6d
push ecx
call fcn.004ff890
mov dword [edi], 0
push 4
push edi
call fcn.0056f898
mov esi, dword [ebp - 0x18]
add esp, 8
mov al, byte [ebp - 0xd]
inc esi
mov dword [ebp - 0x18], esi
test al, al
jne 0x52ee8f
cmp esi, 3
jb 0x52ec71
test ebx, ebx
je 0x52eebf
mov eax, dword [ebx]
test eax, eax
je 0x52eeaa
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
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