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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ac7fb
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x63f070]
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 0x465e71
mov edx, dword [ebp - 0x10c]
mov eax, dword [edx + 0x988]
cmp dword [eax + 4], 1
jne 0x465e71
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.00466590
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0xffffffff
jne 0x465d21
push 1
push 0xb
mov ecx, dword [ebp - 0x10c]
call fcn.00465810
xor al, al
jmp 0x4662ba
cmp dword [ebp - 0x114], 0xfffffffe
jne 0x465e71
mov ecx, dword [ebp - 0x10c]
call fcn.00466ae0
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.00466590
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0xffffffff
jne 0x465d85
push 1
push 0xb
mov ecx, dword [ebp - 0x10c]
call fcn.00465810
xor al, al
jmp 0x4662ba
cmp dword [ebp - 0x114], 0xfffffffe
jne 0x465e71
push 0
push 0x60160c
push 0x601564
push 0x601620
call fcn.0048be70
mov ecx, eax
call fcn.0048bf10
mov edx, dword [ebp - 0x124]
push edx
mov eax, dword [ebp - 0x128]
push eax
lea ecx, [ebp - 0xf0]
push ecx
call fcn.00456180
add esp, 0xc
mov dword [ebp - 0x13c], eax
mov edx, dword [ebp - 0x13c]
mov dword [ebp - 0x140], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x140]
push eax
push str.install_
lea ecx, [ebp - 0xd8]
push ecx
call fcn.00473c20
add esp, 0xc
mov dword [ebp - 0x144], eax
mov edx, dword [ebp - 0x144]
mov dword [ebp - 0x148], edx
mov byte [ebp - 4], 1
push 0
mov ecx, dword [ebp - 0x148]
call fcn.00411740
push eax
push 0x601630
push 0x601628
call fcn.0048be70
mov ecx, eax
call fcn.0048bf10
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.00465810
xor al, al
jmp 0x4662ba
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.00459af0
push 0
lea ecx, [ebp - 0x48]
call fcn.00413640
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov dword [ebp - 0x16c], eax
lea ecx, [ebp - 0x48]
call fcn.00413640
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x465f08
push 0
push str.DL009
push 0x601640
push 0x601654
call fcn.0048be70
mov ecx, eax
call fcn.0048bf10
push 1
push 4
mov ecx, dword [ebp - 0x10c]
call fcn.00465810
mov byte [ebp - 0x10d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00413710
mov al, byte [ebp - 0x10d]
jmp 0x4662ba
push 0
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x168], esp
push 0x5e485a
call fcn.00411850
mov dword [ebp - 0x14c], eax
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0x164], ecx
mov byte [ebp - 4], 3
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x160], esp
push 0x5e485b
call fcn.00411850
mov dword [ebp - 0x150], eax
mov edx, dword [ebp - 0x150]
mov dword [ebp - 0x178], edx
mov byte [ebp - 4], 4
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x170], esp
push str.DownloadEnvReady
call fcn.00411850
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x174], eax
mov byte [ebp - 4], 5
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x17c], esp
push 0x601670
call fcn.00411850
mov dword [ebp - 0x158], eax
mov ecx, dword [ebp - 0x158]
mov dword [ebp - 0x180], ecx
mov byte [ebp - 4], 6
call fcn.0048be70
mov byte [ebp - 4], 2
mov ecx, eax
call fcn.0048f210
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x184], esp
lea edx, [ebp - 0x48]
push edx
call fcn.004138a0
mov dword [ebp - 0x188], eax
mov ecx, dword [ebp - 0x10c]
call fcn.00465a40
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
je 0x46614b
push 0
push 0x5e4862
push str.ProcessNeedRestartSign
push 0x60167c
call fcn.0048be70
mov ecx, eax
call fcn.0048bf10
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 0x6016a0
lea ecx, [ebp - 0xa8]
call fcn.00418610
mov byte [ebp - 4], 7
push 0x60169c
lea ecx, [ebp - 0x60]
call fcn.00418610
mov byte [ebp - 4], 8
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 0x6016a8
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 - 0xa8]
call fcn.00413680
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x108]
push edx
call fcn.00473e90
add esp, 0xc
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
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 - 0x18c], esp
lea edx, [ebp - 0x60]
push edx
call fcn.004138a0
mov dword [ebp - 0x15c], eax
mov ecx, dword [ebp - 0x10c]
call fcn.00465a40
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
jne 0x46606d
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x48]
call fcn.004136a0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x60]
call fcn.00413710
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa8]
call fcn.00413710
lea ecx, [ebp - 0xc0]
call fcn.00413850
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x78]
call fcn.00413850
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x78]
push ecx
lea edx, [ebp - 0xc0]
push edx
mov ecx, dword [ebp - 0x10c]
call fcn.0045a140
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.0046e0a0
cmp eax, 0xffffffff
jne 0x46623b
push 0x6016a4
lea ecx, [ebp - 0x90]
call fcn.00418610
mov byte [ebp - 4], 0xb
push 0
push str.InstallPathLastLe
lea ecx, [ebp - 0x90]
call fcn.00413610
mov dword [ebp - 0x138], eax
push 0x6016b0
lea edx, [ebp - 0x90]
push edx
call fcn.0043aef0
add esp, 8
movzx eax, al
test eax, eax
jne 0x466201
cmp dword [ebp - 0x138], 0xffffffff
je 0x46622c
push 0x601714
mov ecx, dword [ebp - 0x10c]
add ecx, 0x798
call fcn.0046e1d0
lea ecx, [ebp - 0x78]
push ecx
mov ecx, dword [ebp - 0x10c]
add ecx, 0x798
call fcn.0046e1f0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x90]
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], 9
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.004a6edb
mov esp, ebp
pop ebp
ret