Function at 0x40a0c0
Capabilities:
Create process on windows
Delete file
Set environment variable
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x40a0c8
push ebx
push esi
push edi
mov eax, 0x40a058
call fcn.004049e8
xor eax, eax
push ebp
push 0x40a4f9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x40b2c0]
xor edx, edx
mov dword [eax], edx
lea eax, [ebp - 0x14]
call fcn.00409978
mov edx, dword [ebp - 0x14]
mov eax, 0x40c95c
call fcn.00403a60
lea edx, [ebp - 0x18]
mov eax, dword [0x40c95c]
call fcn.00409898
mov edx, dword [ebp - 0x18]
mov eax, 0x40c95c
call fcn.00403a60
mov eax, 0x40c960
mov edx, 0x800
call fcn.00403ed0
push 0x800
mov eax, dword [0x40c960]
call fcn.00403de8
push eax
mov eax, dword [0x40c95c]
call fcn.00403de8
push eax
call sub.kernel32.dll_GetShortPathNameA
mov edx, 0x40c960
xchg edx, eax
call fcn.00403ed0
mov eax, 0x40c95c
mov edx, dword [0x40c960]
call fcn.00403a60
xor eax, eax
mov dword [0x40c900], eax
xor eax, eax
mov dword [0x40c904], eax
mov bl, 1
xor eax, eax
push ebp
push 0x40a2a5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x40a510
push 0xa
mov ecx, dword [0x40b338]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x408cd0]
call fcn.00409588
mov dword [0x40c900], eax
push 0x40a520
push 0xa
mov ecx, dword [0x40b338]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x408cd0]
call fcn.00409588
mov dword [0x40c904], eax
mov dl, 1
mov eax, dword [0x408c54]
call fcn.00403020
mov esi, eax
push 0
push 0
mov edx, dword [0x40c904]
mov eax, esi
call main
xor ecx, ecx
xor edx, edx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x14]
mov edx, 0x40a530
mov eax, esi
call fcn.00409e08
xor ecx, ecx
xor edx, edx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x14]
mov edx, 0x40c870
mov ecx, 0x90
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, esi
call fcn.00409434
push 0
push 0
mov edx, dword [0x40c900]
mov eax, esi
call main
xor ecx, ecx
xor edx, edx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x14]
mov edx, 0x40a530
mov eax, esi
call fcn.00409e08
lea eax, [ebp - 0x20]
mov edx, 0x40c870
call fcn.00403c54
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
mov eax, dword [0x40c95c]
call fcn.00409f90
mov edx, dword [ebp - 0x1c]
mov eax, 0x40c964
call fcn.00403a60
mov edx, dword [0x40c964]
mov eax, esi
call fcn.004093b0
push 2
mov eax, dword [0x40c964]
call fcn.00403de8
push eax
call sub.kernel32.dll_SetFileAttributesA
mov eax, esi
call fcn.00403050
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x40a2b1
xor eax, eax
push ebp
push 0x40a4d7
push dword fs:[eax]
mov dword fs:[eax], esp
test bl, bl
je 0x40a4b5
lea eax, [ebp - 0x24]
call fcn.00409a90
mov eax, dword [ebp - 0x24]
call fcn.00403de8
push eax
push 0x40a554
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, 0x40c960
call fcn.00403a0c
mov eax, dword [0x40c95c]
call fcn.00403c8c
mov esi, eax
dec esi
test esi, esi
jl 0x40a33a
inc esi
xor edi, edi
mov eax, dword [0x40c95c]
mov bl, byte [eax + edi - 1]
cmp bl, 0x26
je 0x40a327
lea eax, [ebp - 0x28]
mov edx, ebx
call fcn.00403bd8
mov edx, dword [ebp - 0x28]
mov eax, 0x40c960
call fcn.00403c94
jmp 0x40a336
mov eax, 0x40c960
mov edx, 0x40a564
call fcn.00403c94
inc edi
dec esi
jne 0x40a300
mov eax, 0x40c95c
mov edx, dword [0x40c960]
call fcn.00403a60
mov eax, 0x40c864
xor ecx, ecx
mov edx, 0xc
call fcn.00402ac0
mov dword [0x40c864], 0xc
mov dword [0x40c86c], 0xffffffff
xor eax, eax
mov dword [0x40c868], eax
mov eax, 0x40c908
xor ecx, ecx
mov edx, 0x44
call fcn.00402ac0
mov dword [0x40c908], 0x44
mov dword [0x40c934], 1
mov word [0x40c938], 0
cmp dword [0x40c878], 0x8000
jne 0x40a3c3
push 0x30
push 0x40a568
push 0x40a578
push 0
call sub.user32.dll_MessageBoxA_1
mov eax, dword [0x40b44c]
cmp dword [eax], 2
jne 0x40a401
push 0x40a630
push dword [0x40c964]
push 0x40a644
lea eax, [ebp - 0x2c]
mov edx, dword [0x40b3b8]
mov edx, dword [edx]
call fcn.00403be8
push dword [ebp - 0x2c]
mov eax, 0x40c96c
mov edx, 4
call fcn.00403d4c
jmp 0x40a433
push 0x40a650
push dword [0x40c964]
push 0x40a644
lea eax, [ebp - 0x30]
mov edx, dword [0x40b3b8]
mov edx, dword [edx]
call fcn.00403be8
push dword [ebp - 0x30]
mov eax, 0x40c96c
mov edx, 4
call fcn.00403d4c
push 0x40c94c
push 0x40c908
push 0
push 0
push 0x20
push 0xffffffffffffffff
push 0x40c864
push 0x40c864
mov eax, dword [0x40c96c]
call fcn.00403de8
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x40a498
push 0xffffffffffffffff
mov eax, dword [0x40c94c]
push eax
call sub.kernel32.dll_WaitForSingleObject
push 0x40c968
mov eax, dword [0x40c94c]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [0x40c94c]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [0x40c950]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [0x40c964]
call fcn.00403de8
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [0x40b2c0]
mov edx, dword [0x40c968]
mov dword [eax], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40a4de
mov eax, dword [0x40c900]
call fcn.00403050
mov eax, dword [0x40c904]
call fcn.00403050
ret