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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a915f
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x63b070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10c], ecx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax + 0x988]
cmp dword [ecx], 2
jne 0x4655b1
mov edx, dword [ebp - 0x10c]
mov eax, dword [edx + 0x988]
cmp dword [eax + 4], 1
jne 0x4655b1
mov ecx, dword [ebp - 0x10c]
mov edx, dword [ecx + 0x988]
mov eax, dword [edx + 8]
mov dword [ebp - 0x120], eax
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x11c], ecx
xorps xmm0, xmm0
movlpd qword [ebp - 0x128], xmm0
lea edx, [ebp - 0x128]
push edx
mov eax, dword [ebp - 0x11c]
push eax
mov ecx, dword [ebp - 0x120]
push ecx
push 1
mov ecx, dword [ebp - 0x10c]
call fcn.00465c10
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0xffffffff
jne 0x465461
push 1
push 0xb
mov ecx, dword [ebp - 0x10c]
call fcn.00464f50
xor al, al
jmp 0x46593a
cmp dword [ebp - 0x114], 0xfffffffe
jne 0x4655b1
mov ecx, dword [ebp - 0x10c]
call fcn.00466160
lea edx, [ebp - 0x128]
push edx
mov eax, dword [ebp - 0x11c]
push eax
mov ecx, dword [ebp - 0x120]
push ecx
push 1
mov ecx, dword [ebp - 0x10c]
call fcn.00465c10
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0xffffffff
jne 0x4654c5
push 1
push 0xb
mov ecx, dword [ebp - 0x10c]
call fcn.00464f50
xor al, al
jmp 0x46593a
cmp dword [ebp - 0x114], 0xfffffffe
jne 0x4655b1
push 0
push 0x5fd428
push 0x5fd41c
push 0x5fd43c
call fcn.0048abf0
mov ecx, eax
call fcn.0048ac90
mov edx, dword [ebp - 0x124]
push edx
mov eax, dword [ebp - 0x128]
push eax
lea ecx, [ebp - 0xf0]
push ecx
call fcn.00455d50
add esp, 0xc
mov dword [ebp - 0x12c], eax
mov edx, dword [ebp - 0x12c]
mov dword [ebp - 0x130], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x130]
push eax
push str.install_
lea ecx, [ebp - 0xd8]
push ecx
call fcn.00472f00
add esp, 0xc
mov dword [ebp - 0x134], eax
mov edx, dword [ebp - 0x134]
mov dword [ebp - 0x138], edx
mov byte [ebp - 4], 1
push 0
mov ecx, dword [ebp - 0x138]
call fcn.00411740
push eax
push 0x5fd44c
push 0x5fd444
call fcn.0048abf0
mov ecx, eax
call fcn.0048ac90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd8]
call fcn.00411780
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.00411780
push 1
push 0xb
mov ecx, dword [ebp - 0x10c]
call fcn.00464f50
xor al, al
jmp 0x46593a
lea ecx, [ebp - 0x48]
call fcn.00413850
mov dword [ebp - 4], 2
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x10c]
call fcn.00459640
push 0
lea ecx, [ebp - 0x48]
call fcn.00413640
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov dword [ebp - 0x14c], eax
lea ecx, [ebp - 0x48]
call fcn.00413640
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x465648
push 0
push str.DL009
push 0x5fd45c
push 0x5fd470
call fcn.0048abf0
mov ecx, eax
call fcn.0048ac90
push 1
push 4
mov ecx, dword [ebp - 0x10c]
call fcn.00464f50
mov byte [ebp - 0x10d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00413710
mov al, byte [ebp - 0x10d]
jmp 0x46593a
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x150], esp
lea edx, [ebp - 0x48]
push edx
call fcn.004138a0
mov dword [ebp - 0x154], eax
mov ecx, dword [ebp - 0x10c]
call fcn.00465180
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x13c], 0
je 0x4657cb
push 0
push 0x5e0842
push str.ProcessNeedRestartSign
push 0x5fd478
call fcn.0048abf0
mov ecx, eax
call fcn.0048ac90
mov dword [ebp - 0x118], 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 0x5fd49c
lea ecx, [ebp - 0x90]
call fcn.00418610
mov byte [ebp - 4], 3
push 0x5fd498
lea ecx, [ebp - 0x60]
call fcn.00418610
mov byte [ebp - 4], 4
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 - 0x118]
push eax
push 0x5fd4a4
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.00413680
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x108]
push edx
call fcn.00473170
add esp, 0xc
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x140]
push eax
lea ecx, [ebp - 0x60]
call fcn.00413760
lea ecx, [ebp - 0x108]
call fcn.00413710
mov ecx, dword [ebp - 0x118]
add ecx, 1
mov dword [ebp - 0x118], ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x158], esp
lea edx, [ebp - 0x60]
push edx
call fcn.004138a0
mov dword [ebp - 0x15c], eax
mov ecx, dword [ebp - 0x10c]
call fcn.00465180
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
jne 0x4656ed
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x48]
call fcn.004136a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x60]
call fcn.00413710
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x90]
call fcn.00413710
lea ecx, [ebp - 0xc0]
call fcn.00413850
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x78]
call fcn.00413850
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x78]
push ecx
lea edx, [ebp - 0xc0]
push edx
mov ecx, dword [ebp - 0x10c]
call fcn.00459c90
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x10c]
add ecx, 0x798
call fcn.004136a0
push 0
lea ecx, [ebp - 0x78]
push ecx
mov ecx, dword [ebp - 0x10c]
add ecx, 0x798
call fcn.0046d560
cmp eax, 0xffffffff
jne 0x4658bb
push 0x5fd4a0
lea ecx, [ebp - 0xa8]
call fcn.00418610
mov byte [ebp - 4], 7
push 0
push str.InstallPathLastLe
lea ecx, [ebp - 0xa8]
call fcn.00413610
mov dword [ebp - 0x148], eax
push 0x5fd4ac
lea edx, [ebp - 0xa8]
push edx
call fcn.0043cc70
add esp, 8
movzx eax, al
test eax, eax
jne 0x465881
cmp dword [ebp - 0x148], 0xffffffff
je 0x4658ac
push 0x5fd510
mov ecx, dword [ebp - 0x10c]
add ecx, 0x798
call fcn.0046d690
lea ecx, [ebp - 0x78]
push ecx
mov ecx, dword [ebp - 0x10c]
add ecx, 0x798
call fcn.0046d6b0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xa8]
call fcn.00413710
push 1
mov edx, dword [ebp - 0x10c]
mov eax, dword [edx + 0x780]
mov ecx, dword [ebp - 0x10c]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x780]
mov eax, dword [edx + 0x210]
call eax
push 1
mov ecx, dword [ebp - 0x10c]
mov edx, dword [ecx + 0x890]
mov eax, dword [ebp - 0x10c]
mov edx, dword [edx]
mov ecx, dword [eax + 0x890]
mov eax, dword [edx + 0x210]
call eax
mov byte [ebp - 0x10e], 1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x78]
call fcn.00413710
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc0]
call fcn.00413710
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00413710
mov al, byte [ebp - 0x10e]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a39ef
mov esp, ebp
pop ebp
ret