Function at 0x517a80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b28a8
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
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov edi, 1
mov ecx, edi
call fcn.0051c800
mov esi, eax
mov ecx, esi
call fcn.00547910
test esi, esi
je 0x517af4
mov eax, dword [esi]
test eax, eax
je 0x517ae2
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [esi], 0
push 8
push esi
mov dword [esi + 4], 0
call fcn.0056ea89
add esp, 8
inc edi
cmp edi, 9
jb 0x517ab7
mov ecx, 2
call fcn.0051c800
mov esi, eax
test esi, esi
je 0x517b35
push str.logs
lea ecx, [ebp - 0x24]
call fcn.005447b0
push eax
mov ecx, esi
mov dword [ebp - 4], 0x16
call fcn.00545810
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.004ffe40
push ecx
mov ecx, esi
call fcn.005504a0
add esp, 4
test esi, esi
je 0x517b6d
mov eax, dword [esi]
test eax, eax
je 0x517b5b
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [esi], 0
push 8
push esi
mov dword [esi + 4], 0
call fcn.0056ea89
add esp, 8
push 0x34
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], 0x19
call fcn.0056ea97
mov ecx, dword [ebp - 0x20]
push 0xffffffffffffffff
push str.______Startup_of_FGM_____
inc ecx
mov dword [ebp - 0x24], eax
push ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00584f75
mov ecx, dword [ebp - 0x20]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x20], ecx
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0x1c
push eax
push 0x20
push str.UnifiedStreamingService::initialise
push str.d:jenkinsworkspaceclient3.exe.fgmussexe_srcunifiedstreamingservice.cpp
push 0x641b90
call fcn.0054faa0
mov dword [ebp - 4], 0xffffffff
add esp, 0x2c
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x517bec
push 2
push eax
call fcn.0056ea89
add esp, 8
xor ebx, ebx
call fcn.00548140
mov esi, eax
test esi, esi
je 0x517c2b
mov ecx, esi
call fcn.00548420
mov ebx, eax
mov eax, dword [esi]
test eax, eax
je 0x517c19
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [esi], 0
push 8
push esi
mov dword [esi + 4], 0
call fcn.0056ea89
add esp, 8
push ebx
lea ecx, [ebp - 0x2c]
call fcn.005448d0
mov dword [ebp - 4], 0x39
mov esi, 0xf
push 0x20
mov dword [ebp - 0x10], 0
call fcn.0056ea97
push 0xffffffffffffffff
push str.UssWatcher.exe
mov edi, eax
lea eax, [ebp - 0x10]
push 0x10
push edi
push eax
mov dword [ebp - 0x24], edi
call fcn.00584f75
xor ecx, ecx
add esp, 0x18
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x20], esi
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0x3a
push eax
lea ecx, [ebp - 0x2c]
call fcn.00545810
mov byte [ebp - 4], 0x39
test edi, edi
je 0x517c96
push 2
push edi
call fcn.0056ea89
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.00545f90
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 2
push esi
mov edi, eax
call fcn.0056ea89
add esp, 8
cmp edi, 0xffffffff
je 0x517db0
mov eax, dword [0x647b4c]
test eax, eax
je 0x517cdb
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [0x647b4c], 0
mov esi, dword [ebp - 0x28]
xor ecx, ecx
mov edx, 2
mov dword [0x647b50], 0
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0056ea97
add esp, 4
mov dword [0x647b4c], eax
test eax, eax
je 0x517d2b
mov dword [0x647b50], esi
test esi, esi
je 0x517d2b
lea ecx, [esi*2 + 2]
push ecx
push dword [ebp - 0x2c]
push eax
call fcn.00572a60
add esp, 0xc
push 0x2a
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], 0x14
call fcn.0056ea97
mov ecx, dword [ebp - 0x20]
push 0xffffffffffffffff
push str.Watcher_found_at:__s
inc ecx
mov dword [ebp - 0x24], eax
push ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00584f75
mov ecx, dword [ebp - 0x20]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x20], ecx
push 0x647b4c
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0x3b
push eax
push 0x2f
push str.UnifiedStreamingService::initialise
push str.d:jenkinsworkspaceclient3.exe.fgmussexe_srcunifiedstreamingservice.cpp
push 0x641b90
call fcn.0054faa0
mov byte [ebp - 4], 0x39
add esp, 0x30
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x517da9
push 2
push eax
call fcn.0056ea89
add esp, 8
call fcn.0051b760
jmp 0x517e29
push 0x24
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], 0x11
call fcn.0056ea97
mov ecx, dword [ebp - 0x20]
push 0xffffffffffffffff
push str.Watcher_Not_Found
inc ecx
mov dword [ebp - 0x24], eax
push ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00584f75
mov ecx, dword [ebp - 0x20]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x20], ecx
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0x3c
push eax
push 0x35
push str.UnifiedStreamingService::initialise
push str.d:jenkinsworkspaceclient3.exe.fgmussexe_srcunifiedstreamingservice.cpp
push 0x641b90
call fcn.0054faa0
mov byte [ebp - 4], 0x39
add esp, 0x2c
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x517e29
push 2
push eax
call fcn.0056ea89
add esp, 8
test ebx, ebx
je 0x517e56
mov eax, dword [ebx]
test eax, eax
je 0x517e44
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
add esp, 8
xor edx, edx
xor ecx, ecx
call fcn.0054e1e0
mov edx, 1
xor ecx, ecx
mov edi, eax
call fcn.0054e1e0
mov esi, eax
test edi, edi
je 0x517e8f
test esi, esi
je 0x517e8f
push edi
mov ecx, 0x647b54
call fcn.00545420
push esi
mov ecx, 0x647b5c
call fcn.00545420
jmp 0x517f07
push 0x86
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], 0x42
call fcn.0056ea97
mov ecx, dword [ebp - 0x20]
push 0xffffffffffffffff
push str.Manifest_data_in_exe_is_missing__this_will_affect_service_controls
inc ecx
mov dword [ebp - 0x24], eax
push ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00584f75
mov ecx, dword [ebp - 0x20]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x20], ecx
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0x3d
push eax
push 0x43
push str.UnifiedStreamingService::initialise
push str.d:jenkinsworkspaceclient3.exe.fgmussexe_srcunifiedstreamingservice.cpp
push edx
call fcn.0054faa0
mov byte [ebp - 4], 0x39
add esp, 0x2c
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x517f07
push 2
push eax
call fcn.0056ea89
add esp, 8
test edi, edi
je 0x517f34
mov eax, dword [edi]
test eax, eax
je 0x517f22
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [edi], 0
push 8
push edi
mov dword [edi + 4], 0
call fcn.0056ea89
add esp, 8
test esi, esi
je 0x517f61
mov eax, dword [esi]
test eax, eax
je 0x517f4f
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [esi], 0
push 8
push esi
mov dword [esi + 4], 0
call fcn.0056ea89
add esp, 8
mov ebx, 2
xor ecx, ecx
mov edx, ebx
call fcn.0054e1e0
mov esi, eax
test esi, esi
je 0x517fa8
push esi
mov ecx, 0x647b44
call fcn.00545420
mov eax, dword [esi]
test eax, eax
je 0x517f96
push ebx
push eax
call fcn.0056ea89
add esp, 8
mov dword [esi], 0
push 8
push esi
mov dword [esi + 4], 0
call fcn.0056ea89
add esp, 8
push 3
call fcn.004fa4c0
add esp, 4
call fcn.00522600
call fcn.0051d2b0
mov ecx, ebx
call fcn.0051c800
mov edi, eax
test edi, edi
je 0x5180f8
push str.config
lea ecx, [ebp - 0x1c]
call fcn.005447b0
push eax
mov ecx, edi
mov byte [ebp - 4], 0x55
call fcn.00545810
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x39
call fcn.004ffe40
push 0x1c
mov dword [ebp - 0x10], 0
mov esi, 0xd
call fcn.0056ea97
push 0xffffffffffffffff
push str.channels.dat
mov ebx, eax
lea eax, [ebp - 0x10]
push 0xe
push ebx
push eax
mov dword [ebp - 0x24], ebx
call fcn.00584f75
xor ecx, ecx
add esp, 0x18
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x20], esi
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0x5a
push eax
mov ecx, edi
call fcn.00545810
mov byte [ebp - 4], 0x39
test ebx, ebx
je 0x51804c
push 2
push ebx
call fcn.0056ea89
add esp, 8
mov ecx, edi
call fcn.004ff0e0
mov dword [0x647ac0], eax
test eax, eax
je 0x5180ca
push 0x63c5c8
mov ecx, eax
call fcn.004ff2e0
test al, al
jne 0x51807e
mov ecx, dword [0x647ac0]
push 0
push 0x63c828
call fcn.004ff490
mov ecx, dword [0x647ac0]
push 0x63c668
call fcn.004ff2e0
test al, al
jne 0x5180a4
mov ecx, dword [0x647ac0]
push 0
push 0x63c510
call fcn.004ff490
mov ecx, dword [0x647ac0]
push 0x63c568
call fcn.004ff2e0
test al, al
jne 0x5180ca
mov ecx, dword [0x647ac0]
push 0
push 0x63c720
call fcn.004ff490
mov eax, dword [edi]
test eax, eax
je 0x5180e1
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [edi], 0
push 8
push edi
mov dword [edi + 4], 0
call fcn.0056ea89
add esp, 8
mov ebx, 2
mov ecx, ebx
call fcn.0051c800
mov edi, eax
test edi, edi
je 0x5181e8
push str.config
lea ecx, [ebp - 0x1c]
call fcn.005447b0
push eax
mov ecx, edi
mov byte [ebp - 4], 0x72
call fcn.00545810
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x39
call fcn.004ffe40
push 0x16
mov dword [ebp - 0x10], 0
mov esi, 0xa
call fcn.0056ea97
push 0xffffffffffffffff
push str.games.dat
mov ebx, eax
lea eax, [ebp - 0x10]
push 0xb
push ebx
push eax
mov dword [ebp - 0x24], ebx
call fcn.00584f75
xor ecx, ecx
add esp, 0x18
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x20], esi
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0x77
push eax
mov ecx, edi
call fcn.00545810
mov byte [ebp - 4], 0x39
test ebx, ebx
je 0x518188
push 2
push ebx
call fcn.0056ea89
add esp, 8
mov ecx, edi
call fcn.004ff0e0
mov dword [0x647ac4], eax
test eax, eax
je 0x5181ba
push 0x63d758
mov ecx, eax
call fcn.004ff2e0
test al, al
jne 0x5181ba
mov ecx, dword [0x647ac4]
push 0
push 0x63d998
call fcn.004ff490
mov eax, dword [edi]
test eax, eax
je 0x5181d1
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [edi], 0
push 8
push edi
mov dword [edi + 4], 0
call fcn.0056ea89
add esp, 8
mov ebx, 2
call fcn.0050ff50
call fcn.0050b850
call fcn.00517730
mov ecx, ebx
call fcn.0051c800
mov edi, eax
test edi, edi
je 0x5182e2
push str.config
lea ecx, [ebp - 0x14]
call fcn.005447b0
push eax
mov ecx, edi
mov byte [ebp - 4], 0x8f
call fcn.00545810
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x39
call fcn.004ffe40
push 0x1e
mov dword [ebp - 0x18], 0
mov esi, 0xe
call fcn.0056ea97
push 0xffffffffffffffff
push str._shortcuts.dat
mov ebx, eax
lea eax, [ebp - 0x18]
push 0xf
push ebx
push eax
mov dword [ebp - 0x24], ebx
call fcn.00584f75
xor ecx, ecx
add esp, 0x18
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x20], esi
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0x94
push eax
mov ecx, edi
call fcn.00545810
mov byte [ebp - 4], 0x39
test ebx, ebx
je 0x518287
push 2
push ebx
call fcn.0056ea89
add esp, 8
mov ecx, edi
call fcn.004ff0e0
mov dword [0x647af8], eax
test eax, eax
je 0x5182b9
push 0x640608
mov ecx, eax
call fcn.004ff2e0
test al, al
jne 0x5182b9
mov ecx, dword [0x647af8]
push 0
push 0x640828
call fcn.004ff490
mov eax, dword [edi]
test eax, eax
je 0x5182d0
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [edi], 0
push 8
push edi
mov dword [edi + 4], 0
call fcn.0056ea89
add esp, 8
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x5182f4
push 2
push eax
call fcn.0056ea89
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