Function at 0x409fa8
Capabilities:
Create directory
Create process on windows
Set file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff74
xor ecx, ecx
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040358c
mov eax, dword [ebp - 8]
call fcn.0040358c
xor eax, eax
push ebp
push 0x40a469
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
push dword [0x41eb44]
push 0x40a480
lea edx, [ebp - 0x6c]
movzx eax, word [0x41d1f4]
call fcn.00404950
push dword [ebp - 0x6c]
push 0x40a48c
mov eax, 0x41eb60
mov edx, 4
call fcn.0040345c
push 0
mov eax, dword [0x41eb60]
call fcn.0040359c
push eax
call sub.kernel32.dll_CreateDirectoryA
test eax, eax
jne 0x40a101
push 0
mov eax, dword [0x41eb60]
call fcn.0040359c
push eax
call sub.kernel32.dll_CreateDirectoryA
test eax, eax
jne 0x40a101
push 0x20
mov eax, dword [0x41eb60]
call fcn.0040359c
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x40a101
add byte [0x41d1f8], 1
jae 0x40a08f
call fcn.00402a08
lea edx, [ebp - 0x74]
xor eax, eax
mov al, byte [0x41d1f8]
call fcn.00404950
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x70]
mov edx, 0x40a49c
call fcn.004033e8
mov eax, dword [ebp - 0x70]
call fcn.004128f8
cmp byte [0x41d1f8], 0xa
jbe 0x40a101
push dword [0x41edb8]
push dword [0x41eb60]
push 0x40a4b0
lea edx, [ebp - 0x7c]
xor eax, eax
call fcn.00405bb8
push dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
mov edx, 4
call fcn.0040345c
mov eax, dword [ebp - 0x78]
call fcn.004128f8
mov eax, 0x41eb64
call fcn.00403218
jmp 0x40a436
mov eax, 0x41eb74
mov edx, 0x40a4bc
call fcn.0040326c
lea eax, [ebp - 0x68]
xor ecx, ecx
mov edx, 0x10
call fcn.004027e8
lea eax, [ebp - 0x58]
xor ecx, ecx
mov edx, 0x44
call fcn.004027e8
mov dword [ebp - 0x58], 0x44
mov word [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x54], eax
xor eax, eax
mov dword [ebp - 0x50], eax
xor eax, eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 5
mov dword [ebp - 0x44], 5
mov dword [ebp - 0x2c], 5
mov word [ebp - 0x28], 0
mov word [ebp - 0x26], 0
xor eax, eax
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x18], eax
push 0x40a53c
push dword [0x41eb64]
push dword [0x41edbc]
push dword [ebp - 4]
push dword [ebp - 8]
push 0x40a548
push dword [0x41eb60]
push 0x40a53c
lea eax, [ebp - 0x10]
mov edx, 8
call fcn.0040345c
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push 0xc000040
push 0
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.0040359c
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x40a280
push 0x40a554
push dword [ebp - 0x10]
push 0x40a4b0
lea edx, [ebp - 0x84]
xor eax, eax
call fcn.00405bb8
push dword [ebp - 0x84]
lea eax, [ebp - 0x80]
mov edx, 4
call fcn.0040345c
mov eax, dword [ebp - 0x80]
call fcn.004128f8
add byte [0x41d1f8], 1
jae 0x40a225
call fcn.00402a08
cmp byte [0x41d1f8], 0xa
jbe 0x40a436
push dword [0x41edc0]
push dword [0x41eb60]
push 0x40a4b0
lea edx, [ebp - 0x8c]
xor eax, eax
call fcn.00405bb8
push dword [ebp - 0x8c]
lea eax, [ebp - 0x88]
mov edx, 4
call fcn.0040345c
mov eax, dword [ebp - 0x88]
call fcn.004128f8
mov eax, 0x41eb64
call fcn.00403218
jmp 0x40a436
mov byte [0x41eb30], 0
mov byte [ebp - 0x11], 0
cmp byte [0x41eb30], 0
jne 0x40a2cc
push 0x64
call sub.kernel32.dll_Sleep
push 0
push 0x409f78
mov eax, dword [ebp - 0x5c]
push eax
call sub.user32.dll_EnumThreadWindows
add byte [ebp - 0x11], 1
jae 0x40a2b6
call fcn.00402a08
cmp byte [ebp - 0x11], 0xa
jbe 0x40a2c3
mov byte [0x41eb30], 1
cmp byte [0x41eb30], 0
je 0x40a294
push 0x1b7740
mov eax, dword [ebp - 0x68]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
jne 0x40a322
mov eax, dword [0x41edc4]
call fcn.004128f8
mov eax, 0x41eb74
mov edx, 0x40a564
call fcn.0040326c
push 0
mov eax, dword [ebp - 0x68]
push eax
call sub.kernel32.dll_TerminateProcess
mov eax, dword [ebp - 0x68]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, 0x41eb74
mov edx, 0x40a584
call fcn.0040326c
jmp 0x40a436
mov eax, 0x41eb74
mov edx, 0x40a5fc
call fcn.0040326c
mov ax, word [0x41d1f4]
dec ax
je 0x40a354
dec ax
je 0x40a376
dec ax
je 0x40a3b4
dec ax
je 0x40a3f2
jmp 0x40a411
mov eax, 0x41eb88
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004033e8
mov eax, 0x41eb70
mov edx, dword [ebp - 8]
call fcn.0040326c
jmp 0x40a423
mov eax, 0x41eb74
mov edx, 0x40a6c0
call fcn.0040326c
push dword [0x41eb88]
push 0x40a744
push dword [ebp - 8]
mov eax, 0x41eb8c
mov edx, 3
call fcn.0040345c
mov eax, 0x41eb70
mov edx, dword [0x41eb8c]
call fcn.0040326c
jmp 0x40a423
mov eax, 0x41eb74
mov edx, 0x40a750
call fcn.0040326c
push dword [0x41eb8c]
push 0x40a744
push dword [ebp - 8]
mov eax, 0x41eb90
mov edx, 3
call fcn.0040345c
mov eax, 0x41eb70
mov edx, dword [0x41eb90]
call fcn.0040326c
jmp 0x40a423
push dword [0x41eb90]
push 0x40a744
push dword [ebp - 8]
mov eax, 0x41eb70
mov edx, 3
call fcn.0040345c
jmp 0x40a423
mov eax, 0x41eb70
mov ecx, dword [ebp - 8]
mov edx, 0x40a784
call fcn.004033e8
mov eax, 0x41eb74
mov edx, 0x40a798
call fcn.0040326c
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40a470
lea eax, [ebp - 0x8c]
mov edx, 9
call fcn.0040323c
lea eax, [ebp - 0x10]
call fcn.00403218
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040323c
ret