Function at 0x4015fe
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4142d9
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x1c0], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x1d8]
mov dword fs:[0], eax
push 7
pop ecx
mov esi, str.hG82FvM93ZMscWrr39uIcQTFOzhHRw
lea edi, [esp + 0xa4]
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
lea edx, [esp + 0xa4]
inc ecx
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
call fcn.00401537
push 0x51
lea edx, [esp + 0xa8]
pop ecx
call fcn.004013cc
push 0x104
lea eax, [esp + 0xc8]
xor ebx, ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x51
lea edx, [esp + 0xa8]
pop ecx
call fcn.00401267
lea ecx, [esp + 0xc4]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4016a1
sub ecx, edx
cmp ecx, 4
jl 0x401923
lea eax, [esp + ecx + 0xc0]
push str..exe
push eax
call fcn.004025e1
pop ecx
pop ecx
test eax, eax
jne 0x401923
push 0x39
lea edx, [esp + 0xa8]
pop ecx
call fcn.00401267
push 0x1b
lea edx, [esp + 0xa8]
pop ecx
call fcn.00401537
push 0x4b
lea edx, [esp + 0xa8]
pop ecx
call fcn.00401537
lea ecx, [esp + 0x5c]
call fcn.004019a5
push 0x40
lea edx, [esp + 0xa8]
mov dword [esp + 0x1e4], ebx
pop ecx
call fcn.00401537
cmp dword [esp + 0x6c], 0
lea edx, [esp + 0xa4]
jne 0x401739
push 0x1a
pop ecx
call fcn.00401537
push 0x29
pop esi
jmp 0x401913
push 7
pop ecx
call fcn.00401537
push ecx
lea edx, [esp + 0x60]
lea ecx, [esp + 0x48]
call fcn.00402073
mov byte [esp + 0x1e4], 1
lea ecx, [esp + 0x90]
mov edx, eax
mov dword [esp], str.0434BDCF_3870_40C1_97DA_8DA8CD946AF4.exe
call fcn.0040212d
pop ecx
push ebx
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1e8], 3
call fcn.00401d77
push ecx
lea edx, [esp + 0x60]
lea ecx, [esp + 0x30]
call fcn.00402073
mov byte [esp + 0x1e4], 4
lea ecx, [esp + 0x18]
mov edx, eax
mov dword [esp], str.InstallerHelper
call fcn.0040212d
mov byte [esp + 0x1e4], 5
lea ecx, [esp + 0x78]
mov edx, eax
mov dword [esp], str..dll
call fcn.0040212d
pop ecx
push ebx
push 1
lea ecx, [esp + 0x1c]
call fcn.00401d77
push ebx
push 1
lea ecx, [esp + 0x34]
mov byte [esp + 0x1e8], 8
call fcn.00401d77
push 0x3f
lea edx, [esp + 0xa8]
pop ecx
call fcn.00401537
push ecx
push ecx
lea ecx, [esp + 0x7c]
call fcn.00402470
pop ecx
pop ecx
push 0x43
lea edx, [esp + 0xa8]
pop ecx
call fcn.004013cc
push 0x5c
lea edx, [esp + 0xa8]
pop ecx
call fcn.0040119f
cmp dword [esp + 0x88], 0x10
lea eax, [esp + 0x74]
cmovae eax, dword [esp + 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
lea edx, [esp + 0xa4]
test edi, edi
jne 0x40184f
push 0x4c
pop ecx
call fcn.00401537
push 0x2d
jmp 0x40187a
push 4
pop ecx
call fcn.00401537
push str.f56887
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
lea edx, [esp + 0xa4]
test esi, esi
jne 0x40187d
push 0x44
pop ecx
call fcn.00401267
push 0x2c
pop esi
jmp 0x4018f8
push 0x58
pop ecx
call fcn.004013cc
call esi
push 0x2e
lea edx, [esp + 0xa8]
pop ecx
call fcn.0040119f
push 0x61
lea edx, [esp + 0xa8]
pop ecx
call fcn.00401267
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x33
lea edx, [esp + 0xa8]
pop ecx
call fcn.00401537
push 0x1d
lea edx, [esp + 0xa8]
pop ecx
call fcn.00401537
lea ecx, [esp + 0x5c]
call fcn.004023c0
lea eax, [esp + 0xa4]
push eax
push 0x41a6f8
call fcn.00402efd
pop ecx
pop ecx
lea eax, [esp + 0xa4]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov esi, ebx
push ebx
push 1
lea ecx, [esp + 0x7c]
call fcn.00401d77
push ebx
push 1
lea ecx, [esp + 0x94]
call fcn.00401d77
push ebx
push 1
lea ecx, [esp + 0x64]
call fcn.00401d77
mov eax, esi
jmp 0x401925
xor eax, eax
mov ecx, dword [esp + 0x1d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c0]
xor ecx, esp
call fcn.00402511
mov esp, ebp
pop ebp
ret 8