Function at 0x40a71c
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.00403a94
mov eax, dword [ebp - 8]
call fcn.00403a94
xor eax, eax
push ebp
push 0x40ac1d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x41eb54
mov edx, 0x40ac34
call fcn.00403780
mov byte [ebp - 9], 0
push dword [0x41eb24]
push 0x40acdc
lea edx, [ebp - 0x6c]
movzx eax, word [0x41d298]
call fcn.00405148
push dword [ebp - 0x6c]
push 0x40ace8
mov eax, 0x41eb40
mov edx, 4
call fcn.00403964
push 0
mov eax, dword [0x41eb40]
call fcn.00403aa4
push eax
call sub.kernel32.dll_CreateDirectoryA
test eax, eax
jne 0x40a884
push 0
mov eax, dword [0x41eb40]
call fcn.00403aa4
push eax
call sub.kernel32.dll_CreateDirectoryA
test eax, eax
jne 0x40a884
push 0x20
mov eax, dword [0x41eb40]
call fcn.00403aa4
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x40a884
add byte [0x41d29c], 1
jae 0x40a812
call fcn.00402f1c
lea edx, [ebp - 0x74]
xor eax, eax
mov al, byte [0x41d29c]
call fcn.00405148
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x70]
mov edx, 0x40acf8
call fcn.004038f0
mov eax, dword [ebp - 0x70]
call fcn.00412f04
cmp byte [0x41d29c], 0xa
jbe 0x40a884
push dword [0x41ed98]
push dword [0x41eb40]
push 0x40ad0c
lea edx, [ebp - 0x7c]
xor eax, eax
call fcn.00406434
push dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
mov edx, 4
call fcn.00403964
mov eax, dword [ebp - 0x78]
call fcn.00412f04
mov eax, 0x41eb44
call fcn.0040372c
jmp 0x40abea
mov eax, 0x41eb54
mov edx, 0x40ad18
call fcn.00403780
lea eax, [ebp - 0x68]
xor ecx, ecx
mov edx, 0x10
call fcn.00402bd8
lea eax, [ebp - 0x58]
xor ecx, ecx
mov edx, 0x44
call fcn.00402bd8
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 0x40adf4
push dword [0x41eb44]
push dword [0x41ed9c]
push dword [ebp - 4]
push dword [ebp - 8]
push 0x40ae00
push dword [0x41eb40]
push 0x40adf4
lea eax, [ebp - 0x10]
mov edx, 8
call fcn.00403964
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.00403aa4
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x40aa03
push 0x40ae0c
push dword [ebp - 0x10]
push 0x40ad0c
lea edx, [ebp - 0x84]
xor eax, eax
call fcn.00406434
push dword [ebp - 0x84]
lea eax, [ebp - 0x80]
mov edx, 4
call fcn.00403964
mov eax, dword [ebp - 0x80]
call fcn.00412f04
add byte [0x41d29c], 1
jae 0x40a9a8
call fcn.00402f1c
cmp byte [0x41d29c], 0xa
jbe 0x40abea
push dword [0x41eda0]
push dword [0x41eb40]
push 0x40ad0c
lea edx, [ebp - 0x8c]
xor eax, eax
call fcn.00406434
push dword [ebp - 0x8c]
lea eax, [ebp - 0x88]
mov edx, 4
call fcn.00403964
mov eax, dword [ebp - 0x88]
call fcn.00412f04
mov eax, 0x41eb44
call fcn.0040372c
jmp 0x40abea
mov byte [0x41eb10], 0
mov byte [ebp - 0x11], 0
cmp byte [0x41eb10], 0
jne 0x40aa4f
push 0x64
call sub.kernel32.dll_Sleep
push 0
push 0x40a6ec
mov eax, dword [ebp - 0x5c]
push eax
call sub.user32.dll_EnumThreadWindows
add byte [ebp - 0x11], 1
jae 0x40aa39
call fcn.00402f1c
cmp byte [ebp - 0x11], 0xa
jbe 0x40aa46
mov byte [0x41eb10], 1
cmp byte [0x41eb10], 0
je 0x40aa17
push 0x1b7740
mov eax, dword [ebp - 0x68]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
jne 0x40aaa5
mov eax, dword [0x41eda4]
call fcn.00412f04
mov eax, 0x41eb54
mov edx, 0x40ae1c
call fcn.00403780
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_1
mov eax, 0x41eb54
mov edx, 0x40aebc
call fcn.00403780
jmp 0x40abea
mov eax, 0x41eb54
mov edx, 0x40af68
call fcn.00403780
mov ax, word [0x41d298]
dec ax
je 0x40aadb
dec ax
je 0x40ab0c
dec ax
je 0x40ab59
dec ax
je 0x40aba6
jmp 0x40abc5
mov eax, 0x41eb68
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004038f0
mov eax, 0x41eb50
mov edx, dword [ebp - 8]
call fcn.00403780
mov eax, 0x41eb54
mov edx, 0x40b038
call fcn.00403780
jmp 0x40abd7
mov eax, 0x41eb54
mov edx, 0x40b0b4
call fcn.00403780
push dword [0x41eb68]
push 0x40b0cc
push dword [ebp - 8]
mov eax, 0x41eb6c
mov edx, 3
call fcn.00403964
mov eax, 0x41eb50
mov edx, dword [0x41eb6c]
call fcn.00403780
mov eax, 0x41eb54
mov edx, 0x40b0d8
call fcn.00403780
jmp 0x40abd7
mov eax, 0x41eb54
mov edx, 0x40b184
call fcn.00403780
push dword [0x41eb6c]
push 0x40b0cc
push dword [ebp - 8]
mov eax, 0x41eb70
mov edx, 3
call fcn.00403964
mov eax, 0x41eb50
mov edx, dword [0x41eb70]
call fcn.00403780
mov eax, 0x41eb54
mov edx, 0x40b20c
call fcn.00403780
jmp 0x40abd7
push dword [0x41eb70]
push 0x40b0cc
push dword [ebp - 8]
mov eax, 0x41eb50
mov edx, 3
call fcn.00403964
jmp 0x40abd7
mov eax, 0x41eb50
mov ecx, dword [ebp - 8]
mov edx, 0x40b2a0
call fcn.004038f0
mov eax, 0x41eb54
mov edx, 0x40b2b4
call fcn.00403780
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ac24
lea eax, [ebp - 0x8c]
mov edx, 9
call fcn.00403750
lea eax, [ebp - 0x10]
call fcn.0040372c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403750
ret