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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff78
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.00404a14
mov eax, dword [ebp - 8]
call fcn.00404a14
xor eax, eax
push ebp
push 0x45274e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x4690b4
mov edx, 0x452764
call fcn.004045b8
mov byte [ebp - 9], 0
push dword [0x469080]
push 0x4527a4
lea edx, [ebp - 0x68]
movzx eax, word [0x466f18]
call fcn.0040799c
push dword [ebp - 0x68]
push 0x4527b0
mov eax, 0x4690a0
mov edx, 4
call fcn.004048e4
push 0
mov eax, dword [0x4690a0]
call fcn.00404a24
push eax
call sub.kernel32.dll_CreateDirectoryA
test eax, eax
jne 0x45247d
push 0
mov eax, dword [0x4690a0]
call fcn.00404a24
push eax
call sub.kernel32.dll_CreateDirectoryA
test eax, eax
jne 0x45247d
push 0x20
mov eax, dword [0x4690a0]
call fcn.00404a24
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x45247d
inc byte [0x466f1c]
lea edx, [ebp - 0x70]
xor eax, eax
mov al, byte [0x466f1c]
call fcn.0040799c
mov ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x6c]
mov edx, 0x4527c0
call fcn.00404870
mov eax, dword [ebp - 0x6c]
call fcn.0045a7ac
cmp byte [0x466f1c], 0xa
jbe 0x45247d
push dword [0x4692f8]
push dword [0x4690a0]
push 0x4527d4
lea edx, [ebp - 0x78]
xor eax, eax
call fcn.00408a9c
push dword [ebp - 0x78]
lea eax, [ebp - 0x74]
mov edx, 4
call fcn.004048e4
mov eax, dword [ebp - 0x74]
call fcn.0045a7ac
mov eax, 0x4690a4
call fcn.00404564
jmp 0x45271b
mov eax, 0x4690b4
mov edx, 0x4527e0
call fcn.004045b8
lea eax, [ebp - 0x64]
xor ecx, ecx
mov edx, 0x10
call fcn.0040308c
lea eax, [ebp - 0x54]
xor ecx, ecx
mov edx, 0x44
call fcn.0040308c
mov eax, 0x4690b4
mov edx, 0x45288c
call fcn.004045b8
mov dword [ebp - 0x54], 0x44
mov word [ebp - 0x24], 0
mov dword [ebp - 0x28], 1
push 0x452938
push dword [0x4690a4]
push dword [0x4692fc]
push dword [ebp - 4]
push dword [ebp - 8]
push 0x452944
push dword [0x4690a0]
push 0x452938
lea eax, [ebp - 0x10]
mov edx, 8
call fcn.004048e4
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x54]
push eax
push 0
push 0
push 0xc000040
push 0
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.00404a24
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x4525c0
push 0x452950
push dword [ebp - 0x10]
push 0x4527d4
lea edx, [ebp - 0x80]
xor eax, eax
call fcn.00408a9c
push dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
mov edx, 4
call fcn.004048e4
mov eax, dword [ebp - 0x7c]
call fcn.0045a7ac
inc byte [0x466f1c]
cmp byte [0x466f1c], 0xa
jbe 0x45271b
push dword [0x469300]
push dword [0x4690a0]
push 0x4527d4
lea edx, [ebp - 0x88]
xor eax, eax
call fcn.00408a9c
push dword [ebp - 0x88]
lea eax, [ebp - 0x84]
mov edx, 4
call fcn.004048e4
mov eax, dword [ebp - 0x84]
call fcn.0045a7ac
mov eax, 0x4690a4
call fcn.00404564
jmp 0x45271b
push 0x1b7740
mov eax, dword [ebp - 0x64]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
jne 0x452616
mov eax, dword [0x469304]
call fcn.0045a7ac
mov eax, 0x4690b4
mov edx, 0x452960
call fcn.004045b8
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_1
mov eax, 0x4690b4
mov edx, 0x452a24
call fcn.004045b8
jmp 0x45271b
mov ax, word [0x466f18]
dec ax
je 0x452639
dec ax
je 0x45265b
dec ax
je 0x452699
dec ax
je 0x4526e6
jmp 0x452705
mov eax, 0x4690c8
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404870
mov eax, 0x4690b0
mov edx, dword [ebp - 8]
call fcn.004045b8
jmp 0x452717
mov eax, 0x4690b4
mov edx, 0x452adc
call fcn.004045b8
push dword [0x4690c8]
push 0x452b68
push dword [ebp - 8]
mov eax, 0x4690cc
mov edx, 3
call fcn.004048e4
mov eax, 0x4690b0
mov edx, dword [0x4690cc]
call fcn.004045b8
jmp 0x452717
mov eax, 0x4690b4
mov edx, 0x452b74
call fcn.004045b8
push dword [0x4690cc]
push 0x452b68
push dword [ebp - 8]
mov eax, 0x4690d0
mov edx, 3
call fcn.004048e4
mov eax, 0x4690b0
mov edx, dword [0x4690d0]
call fcn.004045b8
mov eax, 0x4690b4
mov edx, 0x452c48
call fcn.004045b8
jmp 0x452717
push dword [0x4690d0]
push 0x452b68
push dword [ebp - 8]
mov eax, 0x4690b0
mov edx, 3
call fcn.004048e4
jmp 0x452717
mov eax, 0x4690b0
mov ecx, dword [ebp - 8]
mov edx, 0x452d20
call fcn.00404870
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452755
lea eax, [ebp - 0x88]
mov edx, 9
call fcn.00404588
lea eax, [ebp - 0x10]
call fcn.00404564
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404588
ret