Function at 0x401c56
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x423b7f
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
mov eax, dword [0x42f060]
xor eax, esp
mov dword [esp + 0x1c0], eax
push ebx
push esi
push edi
mov eax, dword [0x42f060]
xor eax, esp
push eax
lea eax, [esp + 0x1d8]
mov dword fs:[0], eax
push 7
pop ecx
mov esi, str.CIAQMjNyRP2Oude1c9fpbgXeVAVFHP
lea edi, [esp + 0xa4]
rep movsd dword es:[edi], dword [esi]
push 9
lea eax, [esp + 0xa8]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov edi, str.registry
push edi
push eax
call fcn.004111b9
add esp, 0xc
test eax, eax
jne 0x401cd4
lea edx, [esp + 0xa4]
call fcn.00401aec
push 0x2c
pop esi
lea edx, [esp + 0xa4]
mov ecx, esi
call fcn.00401c00
push 0x104
lea eax, [esp + 0xc8]
xor ebx, ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x21
lea edx, [esp + 0xa8]
pop ecx
call fcn.00401c00
lea ecx, [esp + 0xc4]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401d14
sub ecx, edx
cmp ecx, 4
jl 0x401f86
lea eax, [esp + ecx + 0xc0]
push str..exe
push eax
call fcn.00406c11
pop ecx
pop ecx
test eax, eax
jne 0x401f86
push 0x30
lea edx, [esp + 0xa8]
pop ecx
call fcn.00401c00
push 0x2b
lea edx, [esp + 0xa8]
pop ecx
call fcn.00401c00
lea ecx, [esp + 0x5c]
call fcn.00402008
push 0x27
lea edx, [esp + 0xa8]
mov dword [esp + 0x1e4], ebx
pop ecx
call fcn.00401a37
push 0x3a
lea edx, [esp + 0xa8]
pop ecx
call fcn.00401b91
cmp dword [esp + 0x6c], 0
lea edx, [esp + 0xa4]
jne 0x401da9
call fcn.00401aec
push 0x29
pop esi
jmp 0x401f76
call fcn.00401aec
push ecx
lea edx, [esp + 0x60]
lea ecx, [esp + 0x48]
call fcn.00405f60
mov byte [esp + 0x1e4], 1
lea ecx, [esp + 0x90]
mov edx, eax
mov dword [esp], str.FC6FECA8_4864_46E5_867E_C4BA3A352447.exe
call fcn.0040601a
pop ecx
push ebx
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1e8], 3
call fcn.00402625
push ecx
lea edx, [esp + 0x60]
lea ecx, [esp + 0x30]
call fcn.00405f60
mov byte [esp + 0x1e4], 4
lea ecx, [esp + 0x18]
mov edx, eax
mov dword [esp], str.InstallerHelper
call fcn.0040601a
mov byte [esp + 0x1e4], 5
lea ecx, [esp + 0x78]
mov edx, eax
mov dword [esp], str..dll
call fcn.0040601a
pop ecx
push ebx
push 1
lea ecx, [esp + 0x1c]
call fcn.00402625
push ebx
push 1
lea ecx, [esp + 0x34]
mov byte [esp + 0x1e8], 8
call fcn.00402625
push 9
lea eax, [esp + 0xa8]
push edi
push eax
call fcn.004111b9
add esp, 0xc
test eax, eax
jne 0x401e74
lea edx, [esp + 0xa4]
call fcn.00401aec
push ecx
push ecx
lea ecx, [esp + 0x7c]
call fcn.00406aa0
pop ecx
pop ecx
push 0x27
lea edx, [esp + 0xa8]
pop ecx
call fcn.00401b91
lea edx, [esp + 0xa4]
call fcn.00401aec
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 0x401ed1
push 0x46
pop ecx
call fcn.00401a37
push 0x2d
pop esi
jmp 0x401f5b
call fcn.00401aec
push str.f91777
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x401ef7
push 0x37
lea edx, [esp + 0xa8]
pop ecx
call fcn.00401c00
jmp 0x401f5b
call eax
push 0x50
lea edx, [esp + 0xa8]
pop ecx
call fcn.00401b91
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 8
lea edx, [esp + 0xa8]
pop ecx
call fcn.00401b91
push 0x5d
lea edx, [esp + 0xa8]
pop ecx
call fcn.00401c00
lea ecx, [esp + 0x5c]
call fcn.004069f0
lea eax, [esp + 0xa4]
push eax
push 0x42b9a8
call fcn.0040785c
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.00402625
push ebx
push 1
lea ecx, [esp + 0x94]
call fcn.00402625
push ebx
push 1
lea ecx, [esp + 0x64]
call fcn.00402625
mov eax, esi
jmp 0x401f88
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.00406b41
mov esp, ebp
pop ebp
ret 8