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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b27c0
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x63a404]
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.00544840
sub esp, 8
mov dword [ebp - 4], 0xd
lea ecx, [ebp - 0x244]
call fcn.00545b20
test eax, eax
js 0x517219
inc eax
push eax
push ebx
call fcn.00545be0
mov ebx, eax
lea ecx, [ebp - 0x244]
mov dword [ebp - 4], 0xffffffff
call fcn.004ffe40
test ebx, ebx
je 0x517571
push ebx
lea ecx, [ebp - 0x244]
call fcn.005448d0
push 0x5c
lea ecx, [ebp - 0x244]
mov dword [ebp - 4], 0x10
call fcn.005454a0
push 0x641068
lea ecx, [ebp - 0x244]
call fcn.00545810
lea ecx, [ebp - 0x244]
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
setne byte [ebp - 0x219]
je 0x5172fe
push 0xa
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x220], 4
call fcn.0056ea97
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.00584f75
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 0x51736f
push 0xc
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x238], 5
call fcn.0056ea97
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.00584f75
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.0056ea97
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.00584f75
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.0054faa0
mov eax, dword [ebp - 0x234]
add esp, 0x34
test eax, eax
je 0x517421
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [ebp - 0x234], 0
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x230], 0
test al, 2
je 0x51746d
mov ecx, dword [ebp - 0x23c]
and eax, 0xfffffffd
mov dword [ebp - 0x228], eax
test ecx, ecx
je 0x517463
push 2
push ecx
call fcn.0056ea89
mov eax, dword [ebp - 0x228]
add esp, 8
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
test al, 1
je 0x517486
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x517486
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x244]
test eax, eax
je 0x5174a2
push 2
push eax
call fcn.0056ea89
add esp, 8
mov eax, dword [ebx]
test eax, eax
je 0x5174b9
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 bl, byte [ebp - 0x219]
add esp, 8
test bl, bl
jne 0x51756d
push 0x60
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x220], 0x2f
call fcn.0056ea97
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.00584f75
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.0054faa0
mov eax, dword [ebp - 0x224]
add esp, 0x2c
test eax, eax
je 0x51756d
push 2
push eax
call fcn.0056ea89
add esp, 8
mov al, bl
jmp 0x517577
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.0056e5b3
mov esp, ebp
pop ebp
ret