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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b368f
mov eax, dword fs:[0]
push eax
sub esp, 0x230
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
mov ebx, ecx
mov dword [ebp - 0x23c], ebx
lea edi, [ebx + 0x18]
mov ecx, edi
mov dword [ebp - 0x238], edi
call fcn.00548420
mov esi, eax
test esi, esi
je 0x52112c
mov ecx, esi
call fcn.00547910
mov eax, dword [esi]
test eax, eax
je 0x52111a
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 dword [ebx + 0x6c]
mov ecx, edi
push dword [ebx + 0x68]
call fcn.00548810
add esp, 8
lea ecx, [ebp - 0x22c]
push edi
call fcn.005448d0
lea ecx, [ebp - 0x22c]
mov dword [ebp - 4], 0
call fcn.00545f90
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 2
push edi
mov esi, eax
call fcn.0056ea89
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x22c]
cmp esi, 0xffffffff
setne bl
test eax, eax
je 0x521192
push 2
push eax
call fcn.0056ea89
add esp, 8
test bl, bl
jne 0x5214ae
lea eax, [ebp - 0x218]
xor esi, esi
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x5211e0
push 8
call fcn.0056e7bf
add esp, 4
mov dword [ebp - 0x21c], eax
lea ecx, [ebp - 0x218]
mov dword [ebp - 4], 0xc
push ecx
mov ecx, eax
call fcn.00544840
mov esi, eax
mov dword [ebp - 4], 0xffffffff
push esi
lea ecx, [ebp - 0x234]
call fcn.005448d0
mov dword [ebp - 4], 0x11
mov esi, 0x18
push 0x32
mov dword [ebp - 0x21c], 0
call fcn.0056ea97
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.00584f75
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.00545810
mov byte [ebp - 4], 0x11
test edi, edi
je 0x521260
push 2
push edi
call fcn.0056ea89
add esp, 8
call fcn.0054e0a0
push edx
push eax
lea ecx, [ebp - 0x234]
call fcn.00545550
push 0xa
mov dword [ebp - 0x21c], 0
mov esi, 4
call fcn.0056ea97
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.00584f75
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.00545810
mov byte [ebp - 4], 0x11
test edi, edi
je 0x5212df
push 2
push edi
call fcn.0056ea89
add esp, 8
push 0xa2
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x220], 0x50
call fcn.0056ea97
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.00584f75
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.0054faa0
mov byte [ebp - 4], 0x11
add esp, 0x34
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x521385
push 2
push eax
call fcn.0056ea89
add esp, 8
mov eax, dword [ebp - 0x23c]
lea ecx, [ebp - 0x234]
push dword [eax + 0x6c]
push dword [eax + 0x68]
call fcn.00548810
add esp, 8
lea eax, [ebp - 0x234]
lea ecx, [ebp - 0x22c]
push eax
call fcn.005448d0
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0x15
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
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x22c]
cmp edi, 0xffffffff
setne bl
test eax, eax
je 0x5213f5
push 2
push eax
call fcn.0056ea89
add esp, 8
test bl, bl
jne 0x521499
push 0x94
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x220], 0x49
call fcn.0056ea97
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.00584f75
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.0054faa0
mov eax, dword [ebp - 0x224]
add esp, 0x30
test eax, eax
je 0x521499
push 2
push eax
call fcn.0056ea89
add esp, 8
mov eax, dword [ebp - 0x234]
test eax, eax
je 0x5214ae
push 2
push eax
call fcn.0056ea89
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.0056e5b3
mov esp, ebp
pop ebp
ret