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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x610c09
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.004bcb80
test eax, eax
jne 0x4bc527
xor al, al
jmp 0x4bc8b5
lea ecx, [ebp - 0x48]
call fcn.0047cc30
mov dword [ebp - 4], 0
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0xdc]
call fcn.004b4ff0
push 0
lea ecx, [ebp - 0x48]
call fcn.0047ca20
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov dword [ebp - 0xf8], eax
lea ecx, [ebp - 0x48]
call fcn.0047ca20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4bc59f
push 4
mov ecx, dword [ebp - 0xdc]
call fcn.004bc050
mov byte [ebp - 0xdd], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.0047caf0
mov al, byte [ebp - 0xdd]
jmp 0x4bc8b5
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xfc], esp
lea edx, [ebp - 0x48]
push edx
call fcn.0047cc80
mov dword [ebp - 0x100], eax
mov ecx, dword [ebp - 0xdc]
call fcn.004bc2d0
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 0
je 0x4bc722
push 0
push 0x6764a6
push str.ProcessNeedRestartSign
push 0x6913b4
call fcn.004dc890
mov ecx, eax
call fcn.004dc930
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 0x6913d4
lea ecx, [ebp - 0x90]
call fcn.0048b540
mov byte [ebp - 4], 1
push 0x69134c
lea ecx, [ebp - 0x60]
call fcn.0048b540
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 0x6913dc
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.0047ca60
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0xd8]
push edx
call fcn.004ca390
add esp, 0xc
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
push eax
lea ecx, [ebp - 0x60]
call fcn.0047cb40
lea ecx, [ebp - 0xd8]
call fcn.0047caf0
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.0047cc80
mov dword [ebp - 0x108], eax
mov ecx, dword [ebp - 0xdc]
call fcn.004bc2d0
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 0
jne 0x4bc644
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x48]
call fcn.0047ca80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.0047caf0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x90]
call fcn.0047caf0
lea ecx, [ebp - 0xc0]
call fcn.0047cc30
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x78]
call fcn.0047cc30
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x78]
push ecx
lea edx, [ebp - 0xc0]
push edx
mov ecx, dword [ebp - 0xdc]
call fcn.004b54e0
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0xdc]
add ecx, 0x380
call fcn.0047ca80
push 0
lea ecx, [ebp - 0x78]
push ecx
mov ecx, dword [ebp - 0xdc]
add ecx, 0x380
call fcn.004c4dc0
cmp eax, 0xffffffff
jne 0x4bc812
push 0x6913d8
lea ecx, [ebp - 0xa8]
call fcn.0048b540
mov byte [ebp - 4], 5
push 0
push str.InstallPathLastLe
lea ecx, [ebp - 0xa8]
call fcn.0047c9f0
mov dword [ebp - 0xf4], eax
push 0x6913e4
lea edx, [ebp - 0xa8]
push edx
call fcn.0049ddc0
add esp, 8
movzx eax, al
test eax, eax
jne 0x4bc7d8
cmp dword [ebp - 0xf4], 0xffffffff
je 0x4bc803
push 0x691448
mov ecx, dword [ebp - 0xdc]
add ecx, 0x380
call fcn.004c4ef0
lea ecx, [ebp - 0x78]
push ecx
mov ecx, dword [ebp - 0xdc]
add ecx, 0x380
call fcn.004c4f10
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa8]
call fcn.0047caf0
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.0047caf0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc0]
call fcn.0047caf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.0047caf0
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.005c950e
mov esp, ebp
pop ebp
ret