Function at 0x4152c8
Capabilities:
Set environment variable
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x4152d0
push ebx
push esi
push edi
mov eax, 0x414e00
call fcn.00405f18
xor eax, eax
push ebp
push 0x415885
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x416a98]
xor edx, edx
mov dword [eax], edx
lea eax, [ebp - 0x18]
call fcn.00413528
mov edx, dword [ebp - 0x18]
mov eax, 0x41cad0
call fcn.0040433c
lea edx, [ebp - 0x1c]
mov eax, dword [0x41cad0]
call fcn.0041343c
mov edx, dword [ebp - 0x1c]
mov eax, 0x41cad0
call fcn.0040433c
lea eax, [ebp - 0x20]
call fcn.00414d68
mov edx, dword [ebp - 0x20]
mov eax, 0x41cadc
call fcn.0040433c
mov eax, dword [0x41cadc]
call fcn.00404754
push eax
push 0x415894
call sub.kernel32.dll_SetEnvironmentVariableA
mov dl, 1
mov eax, dword [0x413af0]
call fcn.00413b8c
mov dword [0x41ca60], eax
mov eax, dword [0x41ca60]
mov byte [eax + 4], 1
mov eax, dword [0x41ca60]
mov byte [eax + 5], 1
mov eax, dword [0x41ca60]
add eax, 8
mov edx, 0x4158a4
call fcn.0040433c
xor eax, eax
mov dword [0x41ca70], eax
mov dl, 1
mov eax, dword [0x40fbe0]
call fcn.00403704
mov dword [0x41ca74], eax
mov bl, 1
xor eax, eax
push ebp
push 0x4153db
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4158d0
push 0xa
mov ecx, dword [0x416b28]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x40ff60]
call fcn.0041270c
mov dword [0x41ca70], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4153e7
xor edx, edx
push ebp
push 0x415863
push dword fs:[edx]
mov dword fs:[edx], esp
test bl, bl
je 0x415837
mov dl, 1
mov eax, dword [0x40fee4]
call fcn.00403704
mov dword [0x41ca64], eax
mov dl, 1
mov eax, dword [0x40fee4]
call fcn.00403704
mov dword [0x41ca68], eax
xor eax, eax
push ebp
push 0x41560f
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x41ca70]
mov eax, dword [0x41ca60]
call fcn.00413ce4
mov ecx, dword [0x41ca64]
mov edx, 0x4158e0
mov eax, dword [0x41ca60]
call fcn.00413c10
xor ecx, ecx
xor edx, edx
mov eax, dword [0x41ca64]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov edx, 0x41c9d0
mov ecx, 0x90
mov eax, dword [0x41ca64]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [0x41ca64]
call fcn.004125d0
mov ecx, dword [0x41ca64]
mov edx, 0x4158f0
mov eax, dword [0x41ca60]
call fcn.00413c10
mov edx, dword [0x41ca64]
mov eax, dword [0x41ca74]
mov ecx, dword [eax]
call dword [ecx + 0x6c]
lea eax, [ebp - 0x28]
mov edx, 0x41c9d0
call fcn.0040454c
mov edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
mov eax, dword [0x41cad0]
call fcn.00414cc8
mov edx, dword [ebp - 0x24]
mov eax, 0x41cad8
call fcn.0040433c
mov edx, dword [0x41cad8]
mov eax, dword [0x41ca74]
mov ecx, dword [eax]
call dword [ecx + 0x74]
push 2
mov eax, dword [0x41cad8]
call fcn.00404754
push eax
call sub.kernel32.dll_SetFileAttributesA
mov eax, dword [0x41ca74]
mov edx, dword [eax]
call dword [edx + 0x44]
mov ecx, dword [0x41ca68]
mov edx, 0x4158fc
mov eax, dword [0x41ca60]
call fcn.00413c10
mov edx, dword [0x41ca68]
mov eax, dword [0x41ca74]
mov ecx, dword [eax]
call dword [ecx + 0x6c]
mov eax, dword [0x41ca74]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4155ed
inc eax
mov dword [ebp - 0x14], eax
mov dword [0x41ca78], 0
mov dl, 1
mov eax, dword [0x40fee4]
call fcn.00403704
mov dword [0x41ca6c], eax
xor eax, eax
push ebp
push 0x4155d7
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x2c]
mov edx, dword [0x41ca78]
mov eax, dword [0x41ca74]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [0x41ca6c]
mov eax, dword [0x41ca60]
call fcn.00413c10
push dword [0x41cadc]
push 0x41590c
lea ecx, [ebp - 0x34]
mov edx, dword [0x41ca78]
mov eax, dword [0x41ca74]
mov ebx, dword [eax]
call dword [ebx + 0xc]
push dword [ebp - 0x34]
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00404658
mov edx, dword [ebp - 0x30]
mov eax, dword [0x41ca6c]
call fcn.0041254c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4155de
mov eax, dword [0x41ca6c]
call fcn.00403734
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x415616
mov eax, dword [0x41ca68]
call fcn.00403734
mov eax, dword [0x41ca64]
call fcn.00403734
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41586a
mov eax, dword [0x41ca74]
call fcn.00403734
mov eax, dword [0x41ca70]
call fcn.00403734
mov eax, dword [0x41ca60]
call fcn.00403734
ret