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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b35e0
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x63b404]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x104
lea eax, [ebp - 0x218]
mov dword [ebp - 0x22c], 0
push eax
xor ebx, ebx
mov byte [ebp - 0x219], 1
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x244]
call fcn.00545630
sub esp, 8
mov dword [ebp - 4], 0xd
lea ecx, [ebp - 0x244]
call fcn.00546910
test eax, eax
js 0x518009
inc eax
push eax
push ebx
call fcn.005469d0
mov ebx, eax
lea ecx, [ebp - 0x244]
mov dword [ebp - 4], 0xffffffff
call fcn.00500b70
test ebx, ebx
je 0x518361
push ebx
lea ecx, [ebp - 0x244]
call fcn.005456c0
push 0x5c
lea ecx, [ebp - 0x244]
mov dword [ebp - 4], 0x10
call fcn.00546290
push 0x642138
lea ecx, [ebp - 0x244]
call fcn.00546600
lea ecx, [ebp - 0x244]
call fcn.00546d80
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 2
push esi
mov edi, eax
call fcn.0056f898
add esp, 8
cmp edi, 0xffffffff
setne byte [ebp - 0x219]
je 0x5180ee
push 0xa
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x220], 4
call fcn.0056f8a6
mov ecx, eax
mov eax, dword [ebp - 0x220]
push 0xffffffffffffffff
push str.true
inc eax
mov dword [ebp - 0x224], ecx
push eax
push ecx
lea eax, [ebp - 0x22c]
push eax
call fcn.00585d85
mov ecx, dword [ebp - 0x220]
xor edx, edx
add esp, 0x18
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x220], ecx
lea esi, [ebp - 0x224]
mov byte [ebp - 4], 0x11
lea eax, [edx + 1]
jmp 0x51815f
push 0xc
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x238], 5
call fcn.0056f8a6
mov ecx, eax
mov eax, dword [ebp - 0x238]
push 0xffffffffffffffff
push str.false
inc eax
mov dword [ebp - 0x23c], ecx
push eax
push ecx
lea eax, [ebp - 0x24c]
push eax
call fcn.00585d85
mov ecx, dword [ebp - 0x238]
xor edx, edx
add esp, 0x18
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x238], ecx
lea esi, [ebp - 0x23c]
mov dword [ebp - 4], 0x12
mov eax, 2
push 0x34
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x230], 0x19
call fcn.0056f8a6
mov ecx, eax
mov eax, dword [ebp - 0x230]
push 0xffffffffffffffff
push str.Checking_for_file__s_:__s
inc eax
mov dword [ebp - 0x234], ecx
push eax
push ecx
lea eax, [ebp - 0x248]
push eax
call fcn.00585d85
mov ecx, dword [ebp - 0x230]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x230], ecx
push esi
lea eax, [ebp - 0x244]
mov dword [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x234]
push eax
push 0x2f
push str.CheckForRequiredFiles
push str.d:jenkinsworkspaceclient3.exe.fgmussexe_src_startup.cpp
push edx
call fcn.00550890
mov eax, dword [ebp - 0x234]
add esp, 0x34
test eax, eax
je 0x518211
push 2
push eax
call fcn.0056f898
add esp, 8
mov dword [ebp - 0x234], 0
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x230], 0
test al, 2
je 0x51825d
mov ecx, dword [ebp - 0x23c]
and eax, 0xfffffffd
mov dword [ebp - 0x228], eax
test ecx, ecx
je 0x518253
push 2
push ecx
call fcn.0056f898
mov eax, dword [ebp - 0x228]
add esp, 8
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
test al, 1
je 0x518276
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x518276
push 2
push eax
call fcn.0056f898
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x244]
test eax, eax
je 0x518292
push 2
push eax
call fcn.0056f898
add esp, 8
mov eax, dword [ebx]
test eax, eax
je 0x5182a9
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 bl, byte [ebp - 0x219]
add esp, 8
test bl, bl
jne 0x51835d
push 0x60
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x220], 0x2f
call fcn.0056f8a6
mov ecx, eax
mov eax, dword [ebp - 0x220]
push 0xffffffffffffffff
push str.Startup_Check_for_Required_Install_Files_Failed
inc eax
mov dword [ebp - 0x224], ecx
push eax
push ecx
lea eax, [ebp - 0x248]
push eax
call fcn.00585d85
mov ecx, dword [ebp - 0x220]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x220], ecx
lea eax, [ebp - 0x224]
mov dword [ebp - 4], 0x14
push eax
push 0x3a
push str.CheckForRequiredFiles
push str.d:jenkinsworkspaceclient3.exe.fgmussexe_src_startup.cpp
push edx
call fcn.00550890
mov eax, dword [ebp - 0x224]
add esp, 0x2c
test eax, eax
je 0x51835d
push 2
push eax
call fcn.0056f898
add esp, 8
mov al, bl
jmp 0x518367
mov al, byte [ebp - 0x219]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056f3c2
mov esp, ebp
pop ebp
ret