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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff78
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040357c
mov eax, dword [ebp - 8]
call fcn.0040357c
lea ebx, [ebp - 0x54]
mov esi, 0x41ab24
xor eax, eax
push ebp
push 0x4090f6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x41ab68
mov edx, 0x409110
call fcn.0040325c
mov byte [ebp - 9], 0
push dword [0x41ab38]
push 0x409198
lea edx, [ebp - 0x68]
movzx eax, word [0x4191f4]
call fcn.004048e0
push dword [ebp - 0x68]
push 0x4091a4
mov eax, 0x41ab54
mov edx, 4
call fcn.0040344c
push 0
mov eax, dword [0x41ab54]
call fcn.0040358c
push eax
call sub.kernel32.dll_CreateDirectoryA
test eax, eax
jne 0x408deb
push 0
mov eax, dword [0x41ab54]
call fcn.0040358c
push eax
call sub.kernel32.dll_CreateDirectoryA
test eax, eax
jne 0x408deb
push 0x20
mov eax, dword [0x41ab54]
call fcn.0040358c
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x408deb
inc byte [0x4191f8]
lea edx, [ebp - 0x70]
xor eax, eax
mov al, byte [0x4191f8]
call fcn.004048e0
mov ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x6c]
mov edx, 0x4091b4
call fcn.004033d8
mov eax, dword [ebp - 0x6c]
call fcn.0040fd78
cmp byte [0x4191f8], 0xa
jbe 0x408deb
push dword [0x41adac]
push dword [0x41ab54]
push 0x4091c8
lea edx, [ebp - 0x78]
xor eax, eax
call fcn.004057d8
push dword [ebp - 0x78]
lea eax, [ebp - 0x74]
mov edx, 4
call fcn.0040344c
mov eax, dword [ebp - 0x74]
call fcn.0040fd78
mov eax, 0x41ab58
call fcn.00403208
jmp 0x4090c3
lea eax, [ebp - 0x64]
xor ecx, ecx
mov edx, 0x10
call fcn.004027e8
mov eax, ebx
xor ecx, ecx
mov edx, 0x44
call fcn.004027e8
mov dword [ebx], 0x44
mov word [ebx + 0x30], 0
xor eax, eax
mov dword [ebx + 4], eax
xor eax, eax
mov dword [ebx + 8], eax
xor eax, eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], 5
mov dword [ebx + 0x14], 5
mov dword [ebx + 0x2c], 5
mov word [ebx + 0x30], 0
mov word [ebx + 0x32], 0
xor eax, eax
mov dword [ebx + 0x34], eax
xor eax, eax
mov dword [ebx + 0x38], eax
xor eax, eax
mov dword [ebx + 0x3c], eax
xor eax, eax
mov dword [ebx + 0x40], eax
push 0x4091d4
push dword [0x41ab58]
push dword [0x41adb0]
push dword [ebp - 4]
push dword [ebp - 8]
push 0x4091e0
push dword [0x41ab54]
push 0x4091d4
lea eax, [ebp - 0x10]
mov edx, 8
call fcn.0040344c
lea eax, [ebp - 0x64]
push eax
push ebx
push 0
push 0
push 0xc000040
push 0
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.0040358c
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x408f48
push 0x4091ec
push dword [ebp - 0x10]
push 0x4091c8
lea edx, [ebp - 0x80]
xor eax, eax
call fcn.004057d8
push dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
mov edx, 4
call fcn.0040344c
mov eax, dword [ebp - 0x7c]
call fcn.0040fd78
inc byte [0x4191f8]
cmp byte [0x4191f8], 0xa
jbe 0x4090c3
push dword [0x41adb4]
push dword [0x41ab54]
push 0x4091c8
lea edx, [ebp - 0x88]
xor eax, eax
call fcn.004057d8
push dword [ebp - 0x88]
lea eax, [ebp - 0x84]
mov edx, 4
call fcn.0040344c
mov eax, dword [ebp - 0x84]
call fcn.0040fd78
mov eax, 0x41ab58
call fcn.00403208
jmp 0x4090c3
mov byte [esi], 0
xor ebx, ebx
cmp byte [esi], 0
jne 0x408f77
push 0x64
call sub.kernel32.dll_Sleep
push 0
push 0x408c60
mov eax, dword [ebp - 0x58]
push eax
call sub.user32.dll_EnumThreadWindows
inc ebx
cmp bl, 0xa
jbe 0x408f72
mov byte [esi], 1
cmp byte [esi], 0
je 0x408f52
push 0x1b7740
mov eax, dword [ebp - 0x64]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
jne 0x408fcd
mov eax, dword [0x41adb8]
call fcn.0040fd78
mov eax, 0x41ab68
mov edx, 0x4091fc
call fcn.0040325c
push 0
mov eax, dword [ebp - 0x64]
push eax
call sub.kernel32.dll_TerminateProcess
mov eax, dword [ebp - 0x64]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, 0x41ab68
mov edx, 0x4092cc
call fcn.0040325c
jmp 0x4090c3
mov ax, word [0x4191f4]
dec ax
je 0x408ff0
dec ax
je 0x409012
dec ax
je 0x409050
dec ax
je 0x40907f
jmp 0x40909e
mov eax, 0x41ab7c
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004033d8
mov eax, 0x41ab64
mov edx, dword [ebp - 8]
call fcn.0040325c
jmp 0x4090b0
mov eax, 0x41ab68
mov edx, 0x409304
call fcn.0040325c
push dword [0x41ab7c]
push 0x409328
push dword [ebp - 8]
mov eax, 0x41ab80
mov edx, 3
call fcn.0040344c
mov eax, 0x41ab64
mov edx, dword [0x41ab80]
call fcn.0040325c
jmp 0x4090b0
push dword [0x41ab80]
push 0x409328
push dword [ebp - 8]
mov eax, 0x41ab84
mov edx, 3
call fcn.0040344c
mov eax, 0x41ab64
mov edx, dword [0x41ab84]
call fcn.0040325c
jmp 0x4090b0
push dword [0x41ab84]
push 0x409328
push dword [ebp - 8]
mov eax, 0x41ab64
mov edx, 3
call fcn.0040344c
jmp 0x4090b0
mov eax, 0x41ab64
mov ecx, dword [ebp - 8]
mov edx, 0x409338
call fcn.004033d8
mov eax, 0x41ab68
mov edx, 0x40934c
call fcn.0040325c
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4090fd
lea eax, [ebp - 0x88]
mov edx, 9
call fcn.0040322c
lea eax, [ebp - 0x10]
call fcn.00403208
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040322c
ret