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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x610ee9
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x6c6f60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xdc], ecx
mov ecx, dword [ebp - 0xdc]
call fcn.004bcd60
test eax, eax
jne 0x4bc707
xor al, al
jmp 0x4bca95
lea ecx, [ebp - 0x48]
call fcn.0047dd90
mov dword [ebp - 4], 0
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0xdc]
call fcn.004b51d0
push 0
lea ecx, [ebp - 0x48]
call fcn.0047db80
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov dword [ebp - 0xf8], eax
lea ecx, [ebp - 0x48]
call fcn.0047db80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4bc77f
push 4
mov ecx, dword [ebp - 0xdc]
call fcn.004bc230
mov byte [ebp - 0xdd], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.0047dc50
mov al, byte [ebp - 0xdd]
jmp 0x4bca95
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xfc], esp
lea edx, [ebp - 0x48]
push edx
call fcn.0047dde0
mov dword [ebp - 0x100], eax
mov ecx, dword [ebp - 0xdc]
call fcn.004bc4b0
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 0
je 0x4bc902
push 0
push 0x6764b6
push str.ProcessNeedRestartSign
push 0x6914e4
call fcn.004dcb80
mov ecx, eax
call fcn.004dcc20
mov dword [ebp - 0xe4], 1
xor eax, eax
mov word [ebp - 0x30], ax
xor ecx, ecx
mov dword [ebp - 0x2e], ecx
mov dword [ebp - 0x2a], ecx
mov dword [ebp - 0x26], ecx
mov dword [ebp - 0x22], ecx
mov dword [ebp - 0x1e], ecx
mov dword [ebp - 0x1a], ecx
mov dword [ebp - 0x16], ecx
mov word [ebp - 0x12], cx
push 0x691504
lea ecx, [ebp - 0x90]
call fcn.0048c140
mov byte [ebp - 4], 1
push 0x69147c
lea ecx, [ebp - 0x60]
call fcn.0048c140
mov byte [ebp - 4], 2
xor edx, edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0xe4]
push eax
push 0x69150c
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x90]
call fcn.0047dbc0
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0xd8]
push edx
call fcn.004ca580
add esp, 0xc
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
push eax
lea ecx, [ebp - 0x60]
call fcn.0047dca0
lea ecx, [ebp - 0xd8]
call fcn.0047dc50
mov ecx, dword [ebp - 0xe4]
add ecx, 1
mov dword [ebp - 0xe4], ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x104], esp
lea edx, [ebp - 0x60]
push edx
call fcn.0047dde0
mov dword [ebp - 0x108], eax
mov ecx, dword [ebp - 0xdc]
call fcn.004bc4b0
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 0
jne 0x4bc824
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x48]
call fcn.0047dbe0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.0047dc50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x90]
call fcn.0047dc50
lea ecx, [ebp - 0xc0]
call fcn.0047dd90
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x78]
call fcn.0047dd90
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x78]
push ecx
lea edx, [ebp - 0xc0]
push edx
mov ecx, dword [ebp - 0xdc]
call fcn.004b56c0
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0xdc]
add ecx, 0x380
call fcn.0047dbe0
push 0
lea ecx, [ebp - 0x78]
push ecx
mov ecx, dword [ebp - 0xdc]
add ecx, 0x380
call fcn.004c4fb0
cmp eax, 0xffffffff
jne 0x4bc9f2
push 0x691508
lea ecx, [ebp - 0xa8]
call fcn.0048c140
mov byte [ebp - 4], 5
push 0
push str.InstallPathLastLe
lea ecx, [ebp - 0xa8]
call fcn.0047db50
mov dword [ebp - 0xf4], eax
push 0x691514
lea edx, [ebp - 0xa8]
push edx
call fcn.0049df90
add esp, 8
movzx eax, al
test eax, eax
jne 0x4bc9b8
cmp dword [ebp - 0xf4], 0xffffffff
je 0x4bc9e3
push 0x691578
mov ecx, dword [ebp - 0xdc]
add ecx, 0x380
call fcn.004c50e0
lea ecx, [ebp - 0x78]
push ecx
mov ecx, dword [ebp - 0xdc]
add ecx, 0x380
call fcn.004c5100
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa8]
call fcn.0047dc50
push 1
mov edx, dword [ebp - 0xdc]
mov eax, dword [edx + 0x368]
mov ecx, dword [ebp - 0xdc]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x368]
mov eax, dword [edx + 0x1bc]
call eax
push 1
mov ecx, dword [ebp - 0xdc]
mov edx, dword [ecx + 0x478]
mov eax, dword [ebp - 0xdc]
mov edx, dword [edx]
mov ecx, dword [eax + 0x478]
mov eax, dword [edx + 0x1bc]
call eax
push 1
mov ecx, dword [ebp - 0xdc]
mov edx, dword [ecx + 0x35c]
mov eax, dword [ebp - 0xdc]
mov edx, dword [edx]
mov ecx, dword [eax + 0x35c]
mov eax, dword [edx + 0xd8]
call eax
mov byte [ebp - 0xde], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x78]
call fcn.0047dc50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc0]
call fcn.0047dc50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.0047dc50
mov al, byte [ebp - 0xde]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c978e
mov esp, ebp
pop ebp
ret