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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x517735
mov eax, dword fs:[0]
push eax
sub esp, 0x2e8
mov eax, dword [0x55d3e4]
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 edi, ecx
mov dword [ebp - 0x25c], edi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x24c], 0
push 0
push eax
call fcn.004bc5f0
add esp, 0xc
lea eax, [ebp - 0x218]
push 1
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x218]
lea ebx, [edi + 0x88]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4497e0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.00412010
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x449813
push dword [ebx]
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
call fcn.0042f140
mov ecx, eax
call fcn.00410870
mov ecx, ebx
test eax, eax
je 0x44982e
push 0x12
push str.ludashi_setup.dll
jmp 0x449835
push 0x19
push str.ludashiludashisetup.exe
call fcn.00445390
push dword [ebx]
call fcn.004386d0
add esp, 4
mov ecx, edi
call fcn.00447d20
test eax, eax
je 0x44987e
mov eax, dword [edi + 0xa4]
sub eax, 0x10
push eax
call fcn.0040f200
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x250], esi
lea eax, [ebp - 0x250]
mov dword [ebp - 4], 0
mov ebx, 1
jmp 0x4498a3
lea eax, [ebp - 0x258]
push eax
call fcn.0042f140
mov ecx, eax
call fcn.0040f270
mov esi, dword [ebp - 0x250]
mov ebx, 2
mov dword [ebp - 4], 1
lea ecx, [edi + 0x8c]
mov dword [ebp - 0x24c], ebx
push eax
mov dword [ebp - 0x254], ecx
call fcn.00418380
or edi, 0xffffffff
mov dword [ebp - 4], 0
test bl, 2
je 0x4498f0
mov edx, dword [ebp - 0x258]
and ebx, 0xfffffffd
mov dword [ebp - 0x24c], ebx
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4498f0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x449911
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x449911
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00474650
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x449a7c
push 0x48
push str.d:jenkins.jenkinsworkspacemaster_luinst_uiinst_uiprogresspage.cpp
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], al
call fcn.0040c270
push 3
push 0x524880
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 2
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.0040c270
mov byte [ebp - 4], 3
call fcn.00474650
mov edi, eax
lea ecx, [ebp - 0x2f4]
push 0x5a
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.00409f40
mov esi, eax
push str.Decided_download_url_:
push esi
mov byte [ebp - 4], 4
call fcn.0040ada0
mov ebx, dword [ebp - 0x254]
mov edx, 0x524b90
mov ecx, dword [ebx]
test ecx, ecx
cmovne edx, ecx
push edx
push esi
call fcn.0040d7d0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x2f4]
call fcn.0040ae60
mov edx, dword [ebp - 0x21c]
cmp edx, 0x10
jb 0x449a29
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x449a1f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x449ac1
push edx
push ecx
call fcn.004759bb
add esp, 8
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
cmp edx, 0x10
jb 0x449a82
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x449a70
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x449ac6
push edx
push ecx
call fcn.004759bb
add esp, 8
jmp 0x449a82
mov ebx, dword [ebp - 0x254]
mov eax, dword [ebp - 0x25c]
mov eax, dword [eax + 0x88]
cmp dword [eax - 0xc], 0
je 0x449aa3
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x449aa3
mov eax, 1
jmp 0x449aa5
xor eax, eax
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.00475dd9
mov esp, ebp
pop ebp
ret
call fcn.004c7638
call fcn.004c7638
int3