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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b49e4
mov eax, dword fs:[0]
push eax
sub esp, 0x28
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 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.00544c60
mov ebx, eax
push 0x643f88
mov ecx, ebx
call fcn.00545810
push 8
call fcn.0056e7bf
mov ecx, eax
add esp, 4
mov dword [ebp - 0x24], ecx
lea eax, [esi + 0xb0]
mov dword [ebp - 4], 0
push eax
call fcn.00544950
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0xac], eax
test ebx, ebx
je 0x52de94
mov ecx, ebx
call fcn.00545f90
mov esi, eax
test esi, esi
je 0x52de94
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 2
push esi
call fcn.0056ea89
add esp, 8
push 4
call fcn.0056e7bf
mov edi, eax
mov dword [ebp - 0x24], edi
push 4
mov dword [ebp - 4], 1
call fcn.0056e7bf
add esp, 8
mov dword [ebp - 0x28], eax
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00531250
mov esi, eax
mov byte [ebp - 4], 1
push 0x647ba0
mov ecx, dword [esi]
call fcn.0053cf00
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 0x52df60
test ebx, ebx
je 0x52df60
push 0x78
call fcn.0056e7bf
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.00520800
mov esi, eax
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x52df60
mov eax, dword [esi + 4]
mov byte [esi + 9], 1
test eax, eax
jne 0x52df4f
push eax
push 4
push esi
push 0x54f620
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 0x52df60
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 0x52df78
cmp eax, 6
jne 0x52df60
cmp eax, 6
jne 0x52e011
push 0x32
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x30], 0x18
call fcn.0056ea97
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.00584f75
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.0054faa0
mov dword [ebp - 4], 0xffffffff
add esp, 0x2c
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x52e008
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
jmp 0x52e049
mov ecx, ebx
call fcn.005475d0
mov edi, eax
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x1c]
cmp eax, 1
jbe 0x52e03e
mov ecx, edi
call fcn.005313b0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x80], eax
call fcn.0052dbd0
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.00520990
push 0x78
push esi
call fcn.0056ea89
mov ecx, dword [edi]
add esp, 8
test ecx, ecx
je 0x52e06d
push ecx
call fcn.004feb60
mov dword [edi], 0
push 4
push edi
call fcn.0056ea89
mov esi, dword [ebp - 0x18]
add esp, 8
mov al, byte [ebp - 0xd]
inc esi
mov dword [ebp - 0x18], esi
test al, al
jne 0x52e08f
cmp esi, 3
jb 0x52de71
test ebx, ebx
je 0x52e0bf
mov eax, dword [ebx]
test eax, eax
je 0x52e0aa
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
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