Function at 0x41f4be
Capabilities:
Check if file exists
Create directory

Disassembly:
push 0xc4
mov eax, 0x52a499
call fcn.004e41bf
mov esi, ecx
mov dword [ebp - 0xc8], esi
mov eax, dword [esi + 0x560]
cmp dword [eax], 2
jne 0x41f5de
cmp dword [eax + 4], 1
jne 0x41f5de
mov edi, dword [eax + 8]
xorps xmm0, xmm0
mov ebx, dword [eax + 0xc]
lea eax, [ebp - 0xd0]
push eax
push ebx
push edi
push ecx
movlpd qword [ebp - 0xd0], xmm0
call fcn.0041fa6e
cmp eax, 0xffffffff
jne 0x41f523
push 0xb
mov ecx, esi
call fcn.0041f1d0
xor al, al
jmp 0x41f8c4
cmp eax, 0xfffffffe
jne 0x41f5de
mov ecx, esi
call fcn.0041fe9e
lea eax, [ebp - 0xd0]
push eax
push ebx
push edi
push ecx
mov ecx, esi
call fcn.0041fa6e
cmp eax, 0xffffffff
je 0x41f513
cmp eax, 0xfffffffe
jne 0x41f5de
xor ebx, ebx
mov edi, str.Other
push ebx
push str.DL008
push str.FlowError
push edi
call fcn.004319f3
mov ecx, eax
call fcn.00431a4f
push dword [ebp - 0xcc]
lea ecx, [ebp - 0xc0]
push dword [ebp - 0xd0]
call fcn.00419117
push eax
mov edx, str.install_
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x28]
call fcn.0042715d
add esp, 0xc
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x41f5a8
mov eax, dword [eax]
push ebx
push eax
push str.NoEnoughSpace
push edi
call fcn.004319f3
mov ecx, eax
call fcn.00431a4f
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.0040bfcb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
push ebx
push 1
call fcn.0040bfcb
jmp 0x41f513
xor ebx, ebx
mov dword [ebp - 0x34], 7
xor eax, eax
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 2
push eax
mov ecx, esi
call fcn.0041adbf
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
push ebx
cmovae eax, dword [ebp - 0x48]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41f65c
push ebx
push str.DL009
push str.FlowError
push str.Other
call fcn.004319f3
mov ecx, eax
call fcn.00431a4f
push 4
mov ecx, esi
call fcn.0041f1d0
mov byte [ebp - 0xc1], bl
jmp 0x41f8b3
sub esp, 0x18
lea eax, [ebp - 0x48]
mov ecx, esp
push eax
call fcn.0040219e
call fcn.0041f37b
test eax, eax
je 0x41f773
push ebx
push 0x56204c
push str.ProcessNeedRestartSign
push str.Other
call fcn.004319f3
mov ecx, eax
call fcn.00431a4f
push 7
xor eax, eax
lea edi, [ebp - 0x2e]
pop ecx
mov word [ebp - 0x30], ax
xor esi, esi
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x78]
inc esi
stosw word es:[edi], ax
mov edi, 0x55695c
push edi
call fcn.0040996a
push edi
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 3
call fcn.0040996a
mov byte [ebp - 4], 4
xor eax, eax
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
push esi
push 0x55db88
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x30]
push eax
call fcn.00401903
add esp, 0x10
lea ecx, [ebp - 0x78]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004022b0
lea eax, [ebp - 0x78]
push eax
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0xc0]
call fcn.00427295
pop ecx
push eax
lea ecx, [ebp - 0x90]
call fcn.0040214d
push ebx
push 1
lea ecx, [ebp - 0xc0]
call fcn.004021c6
sub esp, 0x18
lea eax, [ebp - 0x90]
mov ecx, esp
inc esi
push eax
call fcn.0040219e
call fcn.0041f37b
test eax, eax
jne 0x41f6c8
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x48]
call fcn.00402329
push ebx
push 1
lea ecx, [ebp - 0x90]
call fcn.004021c6
push ebx
push 1
lea ecx, [ebp - 0x78]
call fcn.004021c6
mov esi, dword [ebp - 0xc8]
push 7
pop ecx
xor eax, eax
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x98], ebx
mov word [ebp - 0xa8], ax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], ebx
mov word [ebp - 0x60], ax
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0xa8]
mov ecx, esi
push eax
call fcn.0041b171
lea edi, [esi + 0x380]
lea eax, [ebp - 0x48]
cmp edi, eax
je 0x41f7c3
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
call fcn.00402329
push dword [ebp - 0x50]
cmp dword [ebp - 0x4c], 8
lea eax, [ebp - 0x60]
push ebx
cmovae eax, dword [ebp - 0x60]
mov ecx, edi
push eax
call fcn.0040221d
cmp eax, 0xffffffff
jne 0x41f863
push 0x55695c
lea ecx, [ebp - 0x78]
call fcn.0040996a
push str.InstallPathLastLe
mov byte [ebp - 4], 7
call fcn.00401903
pop ecx
push eax
push ebx
push str.InstallPathLastLe
lea ecx, [ebp - 0x78]
call fcn.0040221d
mov edx, 0x55695c
mov dword [ebp - 0xc8], eax
lea ecx, [ebp - 0x78]
call fcn.0040f692
test al, al
jne 0x41f82e
cmp dword [ebp - 0xc8], 0xffffffff
je 0x41f854
push 0x55bd28
call fcn.00401903
pop ecx
push eax
push 0x55bd28
mov ecx, edi
call fcn.00426334
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x60]
mov ecx, edi
push eax
call fcn.004263d8
push ebx
push 1
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 6
call fcn.004021c6
mov ecx, dword [esi + 0x368]
push 1
mov eax, dword [ecx]
call dword [eax + 0x1bc]
mov ecx, dword [esi + 0x478]
push 1
mov eax, dword [ecx]
call dword [eax + 0x1bc]
mov ecx, dword [esi + 0x35c]
push 1
mov eax, dword [ecx]
call dword [eax + 0xd8]
push ebx
push 1
lea ecx, [ebp - 0x60]
mov byte [ebp - 0xc1], 1
call fcn.004021c6
push ebx
push 1
lea ecx, [ebp - 0xa8]
call fcn.004021c6
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.004021c6
mov al, byte [ebp - 0xc1]
call fcn.004e4169
ret