Function at 0x4015a0
Capabilities:
Create directory
Create process on windows
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x415c3b
mov eax, dword fs:[0]
push eax
sub esp, 0x2f8
mov eax, dword [0x41f68c]
xor eax, esp
mov dword [esp + 0x2f0], eax
push ebx
push esi
push edi
mov eax, dword [0x41f68c]
xor eax, esp
push eax
lea eax, [esp + 0x308]
mov dword fs:[0], eax
call fcn.004025b0
test al, al
je 0x4015f1
or eax, 0xffffffff
jmp 0x401f97
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x14], 0
xor esi, esi
lea ecx, [esp + 0x14]
call fcn.004022c0
push 0x64
mov edi, eax
inc esi
call ebx
test edi, edi
jne 0x40161d
cmp esi, 0x12c
jl 0x401601
lea eax, [esp + 0x12c]
push eax
push 0
push 0
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
cmp byte [esp + 0x12c], 0
mov dword [esp + 0xf8], 0xf
mov dword [esp + 0xf4], 0
mov byte [esp + 0xe4], 0
jne 0x40165f
xor eax, eax
jmp 0x401679
lea eax, [esp + 0x12c]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401670
sub eax, edx
push eax
lea eax, [esp + 0x130]
push eax
lea ecx, [esp + 0xec]
call fcn.00402e80
push 6
push str._temp_
lea ecx, [esp + 0xec]
mov dword [esp + 0x318], 0
call fcn.00403080
cmp dword [esp + 0xf8], 0x10
lea eax, [esp + 0xe4]
cmovae eax, dword [esp + 0xe4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp dword [esp + 0xf8], 0x10
push esi
lea eax, [esp + 0xe8]
cmovae eax, dword [esp + 0xe8]
push eax
push str._s_d.txt
lea eax, [esp + 0x240]
push 0xc8
push eax
call fcn.004088a3
add esp, 0x14
lea eax, [esp + 0x234]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x40172f
or esi, 0xffffffff
jmp 0x401f7c
mov dword [esp + 0x110], 0xf
mov dword [esp + 0x10c], 0
mov byte [esp + 0xfc], 0
sub esp, 0x18
mov ecx, esp
mov byte [esp + 0x328], 1
push 6
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.value0
mov byte [ecx], 0
call fcn.00402e80
mov esi, dword [esp + 0x2c]
push esi
push 0
mov edx, edi
lea ecx, [esp + 0x11c]
call fcn.00402940
add esp, 0x20
mov ebx, eax
push 0xffffffffffffffff
push 0
lea eax, [esp + 0xec]
push eax
lea ecx, [esp + 0xc0]
mov dword [esp + 0xd4], 0xf
mov dword [esp + 0xd0], 0
mov byte [esp + 0xc0], 0
call fcn.00402d50
push str.Installer.exe
lea edx, [esp + 0x100]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x314], 2
call fcn.00403490
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xc0]
mov byte [esp + 0x31c], 3
call fcn.00402f80
mov byte [esp + 0x310], 2
cmp dword [esp + 0x2c], 0x10
jb 0x40181b
push dword [esp + 0x18]
call fcn.004081ae
add esp, 4
sub esp, 0x18
mov ecx, esp
push 6
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.value1
mov byte [ecx], 0
call fcn.00402e80
cmp dword [esp + 0xe0], 0x10
lea ecx, [esp + 0xcc]
cmovae ecx, dword [esp + 0xcc]
push esi
push ebx
mov edx, edi
call fcn.00401fd0
mov ebx, eax
add esp, 0x20
test ebx, ebx
jns 0x401870
mov esi, 0xfffffffb
jmp 0x401f0e
push 0xffffffffffffffff
push 0
lea eax, [esp + 0xec]
push eax
lea ecx, [esp + 0xc0]
call fcn.00402d50
push str.Installer.INI
lea edx, [esp + 0x100]
lea ecx, [esp + 0x1c]
call fcn.00403490
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xc0]
mov byte [esp + 0x31c], 4
call fcn.00402f80
mov byte [esp + 0x310], 2
cmp dword [esp + 0x2c], 0x10
jb 0x4018d4
push dword [esp + 0x18]
call fcn.004081ae
add esp, 4
sub esp, 0x18
mov ecx, esp
push str.value2
call fcn.00402c20
cmp dword [esp + 0xe0], 0x10
lea ecx, [esp + 0xcc]
cmovae ecx, dword [esp + 0xcc]
push esi
push ebx
mov edx, edi
call fcn.00401fd0
mov ebx, eax
add esp, 0x20
test ebx, ebx
jns 0x401916
mov esi, 0xfffffffc
jmp 0x401f0e
push 0xffffffffffffffff
push 0
lea eax, [esp + 0xec]
push eax
lea ecx, [esp + 0xc0]
call fcn.00402d50
push str.fondo.bmp
lea edx, [esp + 0x100]
lea ecx, [esp + 0x1c]
call fcn.00403490
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xc0]
mov byte [esp + 0x31c], 5
call fcn.00402f80
mov byte [esp + 0x310], 2
cmp dword [esp + 0x2c], 0x10
jb 0x40197a
push dword [esp + 0x18]
call fcn.004081ae
add esp, 4
push str..zip
lea edx, [esp + 0xb8]
lea ecx, [esp + 0xd0]
call fcn.00403490
sub esp, 0x14
mov ecx, esp
push str.value3
mov byte [esp + 0x32c], 6
call fcn.00402c20
cmp dword [esp + 0xf8], 0x10
lea ecx, [esp + 0xe4]
cmovae ecx, dword [esp + 0xe4]
push esi
push ebx
mov edx, edi
call fcn.00401fd0
mov ebx, eax
add esp, 0x20
test ebx, ebx
jns 0x4019dc
mov esi, 0xfffffffd
jmp 0x401ed7
cmp dword [esp + 0xe0], 0x10
lea ecx, [esp + 0xcc]
cmovae ecx, dword [esp + 0xcc]
call fcn.004026e0
cmp dword [esp + 0xc8], 0x10
lea eax, [esp + 0xb4]
cmovae eax, dword [esp + 0xb4]
push eax
push str.fondo.bmp
call dword [sym.imp.KERNEL32.dll_MoveFileA]
cmp dword [esp + 0xe0], 0x10
lea eax, [esp + 0xcc]
cmovae eax, dword [esp + 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0xffffffffffffffff
push 0
lea eax, [esp + 0xec]
push eax
lea ecx, [esp + 0xc0]
call fcn.00402d50
push str.header.bmp
lea edx, [esp + 0x100]
lea ecx, [esp + 0x1c]
call fcn.00403490
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xc0]
mov byte [esp + 0x31c], 7
call fcn.00402f80
lea ecx, [esp + 0x18]
mov byte [esp + 0x310], 6
call fcn.00402d00
push str..zip
lea edx, [esp + 0xb8]
lea ecx, [esp + 0x1c]
call fcn.00403490
add esp, 4
lea ecx, [esp + 0xcc]
push eax
call fcn.00402c80
lea ecx, [esp + 0x18]
call fcn.00402d00
sub esp, 0x18
mov ecx, esp
push str.value4
call fcn.00402c20
cmp dword [esp + 0xf8], 0x10
lea ecx, [esp + 0xe4]
cmovae ecx, dword [esp + 0xe4]
push esi
push ebx
mov edx, edi
call fcn.00401fd0
add esp, 0x20
test eax, eax
jns 0x401b01
mov esi, 0xfffffffe
jmp 0x401ed7
cmp dword [esp + 0xe0], 0x10
lea ecx, [esp + 0xcc]
cmovae ecx, dword [esp + 0xcc]
call fcn.004026e0
cmp dword [esp + 0xc8], 0x10
lea eax, [esp + 0xb4]
cmovae eax, dword [esp + 0xb4]
push eax
push str.header.bmp
call dword [sym.imp.KERNEL32.dll_MoveFileA]
cmp dword [esp + 0xe0], 0x10
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esp + 0xcc]
cmovae eax, dword [esp + 0xcc]
push eax
call ebx
push 0xffffffffffffffff
push 0
lea eax, [esp + 0xec]
push eax
lea ecx, [esp + 0xc0]
call fcn.00402d50
push str.Installer.exe
lea edx, [esp + 0x100]
lea ecx, [esp + 0x1c]
call fcn.00403490
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xc0]
mov byte [esp + 0x31c], 8
call fcn.00402f80
lea ecx, [esp + 0x18]
mov byte [esp + 0x310], 6
call fcn.00402d00
lea eax, [esp + 0xfc]
push eax
mov edx, str._KEYWORD
lea ecx, [esp + 0x4c]
call fcn.00403580
add esp, 4
push str.___PATHFILES
mov edx, eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x314], 9
call fcn.00403670
add esp, 4
lea ecx, [esp + 0xe4]
push ecx
mov edx, eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x314], 0xa
call fcn.00403710
add esp, 4
push 0x41b800
mov edx, eax
lea ecx, [esp + 0x118]
mov byte [esp + 0x314], 0xb
call fcn.00403670
add esp, 4
lea ecx, [esp + 0x18]
call fcn.00402d00
lea ecx, [esp + 0x60]
call fcn.00402d00
lea ecx, [esp + 0x48]
mov byte [esp + 0x310], 0xf
call fcn.00402d00
push 0x38
lea eax, [esp + 0x80]
push 0
push eax
call fcn.0040b7f0
add esp, 0xc
cmp dword [esp + 0xc8], 0x10
lea eax, [esp + 0xb4]
cmovae eax, dword [esp + 0xb4]
cmp dword [esp + 0x128], 0x10
mov dword [esp + 0x88], eax
lea eax, [esp + 0x114]
cmovae eax, dword [esp + 0x114]
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x78]
push eax
mov dword [esp + 0x7c], 0x3c
mov dword [esp + 0x80], 0x40
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 5
mov dword [esp + 0x9c], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
push 0xffffffffffffffff
push dword [esp + 0xb4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push 0
lea eax, [esp + 0xec]
push eax
lea ecx, [esp + 0xc0]
call fcn.00402d50
push str.Installer.exe
lea edx, [esp + 0x100]
lea ecx, [esp + 0x34]
call fcn.00403490
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xc0]
mov byte [esp + 0x31c], 0x10
call fcn.00402f80
lea ecx, [esp + 0x30]
mov byte [esp + 0x310], 0xf
call fcn.00402d00
cmp dword [esp + 0xc8], 0x10
lea eax, [esp + 0xb4]
cmovae eax, dword [esp + 0xb4]
push eax
call ebx
push 0xffffffffffffffff
push 0
lea eax, [esp + 0xec]
push eax
lea ecx, [esp + 0xc0]
call fcn.00402d50
push str.Installer.INI
lea edx, [esp + 0x100]
lea ecx, [esp + 0x34]
call fcn.00403490
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xc0]
mov byte [esp + 0x31c], 0x11
call fcn.00402f80
lea ecx, [esp + 0x30]
mov byte [esp + 0x310], 0xf
call fcn.00402d00
cmp dword [esp + 0xc8], 0x10
lea eax, [esp + 0xb4]
cmovae eax, dword [esp + 0xb4]
push eax
call ebx
push 0xffffffffffffffff
push 0
lea eax, [esp + 0xec]
push eax
lea ecx, [esp + 0xc0]
call fcn.00402d50
push str.header.bmp
lea edx, [esp + 0x100]
lea ecx, [esp + 0x34]
call fcn.00403490
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xc0]
mov byte [esp + 0x31c], 0x12
call fcn.00402f80
lea ecx, [esp + 0x30]
mov byte [esp + 0x310], 0xf
call fcn.00402d00
cmp dword [esp + 0xc8], 0x10
lea eax, [esp + 0xb4]
cmovae eax, dword [esp + 0xb4]
push eax
call ebx
push 0xffffffffffffffff
push 0
lea eax, [esp + 0xec]
push eax
lea ecx, [esp + 0xc0]
call fcn.00402d50
push str.fondo.bmp
lea edx, [esp + 0x100]
lea ecx, [esp + 0x34]
call fcn.00403490
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xc0]
mov byte [esp + 0x31c], 0x13
call fcn.00402f80
lea ecx, [esp + 0x30]
call fcn.00402d00
cmp dword [esp + 0xc8], 0x10
lea eax, [esp + 0xb4]
cmovae eax, dword [esp + 0xb4]
push eax
call ebx
lea ecx, [esp + 0x114]
xor esi, esi
call fcn.00402d00
cmp dword [esp + 0xe0], 0x10
jb 0x401ef0
push dword [esp + 0xcc]
call fcn.004081ae
add esp, 4
mov dword [esp + 0xe0], 0xf
mov dword [esp + 0xdc], 0
mov byte [esp + 0xcc], 0
cmp dword [esp + 0xc8], 0x10
jb 0x401f27
push dword [esp + 0xb4]
call fcn.004081ae
add esp, 4
cmp dword [esp + 0x110], 0x10
mov dword [esp + 0xc8], 0xf
mov dword [esp + 0xc4], 0
mov byte [esp + 0xb4], 0
jb 0x401f5e
push dword [esp + 0xfc]
call fcn.004081ae
add esp, 4
mov dword [esp + 0x110], 0xf
mov dword [esp + 0x10c], 0
mov byte [esp + 0xfc], 0
cmp dword [esp + 0xf8], 0x10
jb 0x401f95
push dword [esp + 0xe4]
call fcn.004081ae
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x308]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2f0]
xor ecx, esp
call fcn.0040819f
mov esp, ebp
pop ebp
ret