Function at 0x415d90
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x437b9f
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x451008]
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
mov ebx, ecx
mov dword [ebp - 0x23c], ebx
lea edi, [ebx + 0x18]
mov ecx, edi
mov dword [ebp - 0x238], edi
call fcn.004113c0
mov esi, eax
test esi, esi
je 0x415e0c
mov ecx, esi
call fcn.00410e90
mov eax, dword [esi]
test eax, eax
je 0x415dfa
push 2
push eax
call fcn.0041aef0
add esp, 8
mov dword [esi], 0
push 8
push esi
mov dword [esi + 4], 0
call fcn.0041aef0
add esp, 8
push dword [ebx + 0x6c]
mov ecx, edi
push dword [ebx + 0x68]
call fcn.00411bf0
add esp, 8
lea ecx, [ebp - 0x22c]
push edi
call fcn.0040d340
lea ecx, [ebp - 0x22c]
mov dword [ebp - 4], 0
call fcn.0040e6a0
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 2
push edi
mov esi, eax
call fcn.0041aef0
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x22c]
cmp esi, 0xffffffff
setne bl
test eax, eax
je 0x415e72
push 2
push eax
call fcn.0041aef0
add esp, 8
test bl, bl
jne 0x41618e
lea eax, [ebp - 0x218]
xor esi, esi
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x415ec0
push 8
call fcn.0041ab28
add esp, 4
mov dword [ebp - 0x21c], eax
lea ecx, [ebp - 0x218]
mov dword [ebp - 4], 0xc
push ecx
mov ecx, eax
call fcn.0040d2b0
mov esi, eax
mov dword [ebp - 4], 0xffffffff
push esi
lea ecx, [ebp - 0x234]
call fcn.0040d340
mov dword [ebp - 4], 0x11
mov esi, 0x18
push 0x32
mov dword [ebp - 0x21c], 0
call fcn.0041b26a
push 0xffffffffffffffff
push str.ugm_active_download_at_
mov edi, eax
lea eax, [ebp - 0x21c]
push 0x19
push edi
push eax
mov dword [ebp - 0x22c], edi
call fcn.00426d70
xor ecx, ecx
add esp, 0x18
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x228], esi
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x234]
call fcn.0040e1f0
mov byte [ebp - 4], 0x11
test edi, edi
je 0x415f40
push 2
push edi
call fcn.0041aef0
add esp, 8
call fcn.00411d30
push edx
push eax
lea ecx, [ebp - 0x234]
call fcn.0040df30
push 0xa
mov dword [ebp - 0x21c], 0
mov esi, 4
call fcn.0041b26a
push 0xffffffffffffffff
push str..exe
mov edi, eax
lea eax, [ebp - 0x21c]
push 5
push edi
push eax
mov dword [ebp - 0x22c], edi
call fcn.00426d70
xor ecx, ecx
add esp, 0x18
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x228], esi
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0x234]
call fcn.0040e1f0
mov byte [ebp - 4], 0x11
test edi, edi
je 0x415fbf
push 2
push edi
call fcn.0041aef0
add esp, 8
push 0xa2
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x220], 0x50
call fcn.0041b26a
mov ecx, dword [ebp - 0x220]
push 0xffffffffffffffff
push str.Unable_to_open_OFileDownload_output_stream_for__s._Will_attempt_to_write_file__s
inc ecx
mov dword [ebp - 0x224], eax
push ecx
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00426d70
mov ecx, dword [ebp - 0x220]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x220], ecx
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 0x14
push eax
push dword [ebp - 0x238]
lea eax, [ebp - 0x224]
push eax
push 0x1d9
push str.OFileDownload::doPreCache
push str.d:jenkinsworkspaceclient3.lib.networklib_networklib_srcofiledownload.cpp
push edx
call fcn.00416c20
mov byte [ebp - 4], 0x11
add esp, 0x34
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x416065
push 2
push eax
call fcn.0041aef0
add esp, 8
mov eax, dword [ebp - 0x23c]
lea ecx, [ebp - 0x234]
push dword [eax + 0x6c]
push dword [eax + 0x68]
call fcn.00411bf0
add esp, 8
lea eax, [ebp - 0x234]
lea ecx, [ebp - 0x22c]
push eax
call fcn.0040d340
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0x15
call fcn.0040e6a0
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 2
push esi
mov edi, eax
call fcn.0041aef0
add esp, 8
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x22c]
cmp edi, 0xffffffff
setne bl
test eax, eax
je 0x4160d5
push 2
push eax
call fcn.0041aef0
add esp, 8
test bl, bl
jne 0x416179
push 0x94
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x220], 0x49
call fcn.0041b26a
mov ecx, dword [ebp - 0x220]
push 0xffffffffffffffff
push str.Unable_to_open_OFileDownload_output_stream_for__s._Download_will_now_fail
inc ecx
mov dword [ebp - 0x224], eax
push ecx
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00426d70
mov ecx, dword [ebp - 0x220]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x220], ecx
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 0x16
push eax
lea eax, [ebp - 0x224]
push eax
push 0x1e2
push str.OFileDownload::doPreCache
push str.d:jenkinsworkspaceclient3.lib.networklib_networklib_srcofiledownload.cpp
push edx
call fcn.00416c20
mov eax, dword [ebp - 0x224]
add esp, 0x30
test eax, eax
je 0x416179
push 2
push eax
call fcn.0041aef0
add esp, 8
mov eax, dword [ebp - 0x234]
test eax, eax
je 0x41618e
push 2
push eax
call fcn.0041aef0
add esp, 8
mov al, bl
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.0041ab17
mov esp, ebp
pop ebp
ret