Function at 0x401450
Capabilities:
Create process on windows

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x318
lea eax, [esp + 0x84]
push esi
push edi
push 0x84
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edi, [esp + 0x8c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x110]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x110]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
js 0x4014c8
mov al, 0x5c
cmp byte [esp + esi + 0x110], al
je 0x4014c0
dec esi
jns 0x4014b2
jmp 0x4014c8
mov byte [esp + esi + 0x111], 0
mov eax, dword [0x409038]
test eax, eax
jge 0x401518
lea ecx, [esp + 0x8c]
lea edx, [esp + 0x110]
push ecx
push edx
call fcn.004010b0
lea eax, [esp + 0x94]
push eax
call fcn.00407b70
lea ecx, [esp + 0x11c]
mov byte [esp + esi + 0x11c], 0
push ecx
call fcn.00401cba
add esp, 0x10
xor eax, eax
pop edi
pop esi
add esp, 0x318
ret 0x10
lea edx, [esp + 0x194]
push edx
push 0x40bd2c
call fcn.00401c3d
add esp, 4
push eax
call fcn.00401000
add esp, 8
test eax, eax
jne 0x401571
lea eax, [esp + 0x194]
push eax
push str.TEMP
call fcn.00401c3d
add esp, 4
push eax
call fcn.00401000
add esp, 8
test eax, eax
jne 0x401571
lea ecx, [esp + 0x194]
push ecx
push 0x40bd20
call fcn.00401000
add esp, 8
or ecx, 0xffffffff
lea edi, [esp + 0x194]
xor eax, eax
lea edx, [esp + 8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebp
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0xc]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, 0x40bd1c
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebp, ecx
mov esi, edi
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea edx, [esp + 0x2a0]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x2a0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.cleanup.exe
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea edx, [esp + 0x21c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.setup.exe
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x21c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea edx, [esp + 0x21c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x330]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x90]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
call fcn.00401270
add esp, 8
mov esi, eax
test esi, esi
pop ebp
je 0x40171f
lea edx, [esp + 0x8c]
push str.CLEANUP.EXE
lea eax, [esp + 0xc]
push edx
push eax
call fcn.00401150
add esp, 0xc
lea ecx, [esp + 0x29c]
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp esi, 0xffffffff
push 0
push 0x40bcdc
jne 0x401700
push str.Installation_file_corrupted__Probably_incomplete_download.
jmp 0x401705
push str.Installation_FAILED.__Probably_needs_more_disk_space
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea edx, [esp + 0x194]
push edx
call fcn.00401cba
add esp, 4
jmp 0x40172f
lea eax, [esp + 0x218]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
lea ecx, [esp + 0x8c]
push str.CLEANUP.EXE
lea edx, [esp + 0xc]
push ecx
push edx
call fcn.00401150
add esp, 0xc
xor eax, eax
pop edi
pop esi
add esp, 0x318
ret 0x10