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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff78
les edi, [eax - 1]
invalid
push dword [ebx]
leave
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 0x45241a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
push dword [0x469080]
push 0x452430
lea edx, [ebp - 0x68]
movzx eax, word [0x466f18]
call fcn.0040799c
push dword [ebp - 0x68]
push 0x45243c
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 0x45213a
push 0
mov eax, dword [0x4690a0]
call fcn.00404a24
push eax
call sub.kernel32.dll_CreateDirectoryA
test eax, eax
jne 0x45213a
push 0x20
mov eax, dword [0x4690a0]
call fcn.00404a24
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x45213a
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, 0x45244c
call fcn.00404870
mov eax, dword [ebp - 0x6c]
call fcn.0045a4c4
cmp byte [0x466f1c], 0xa
jbe 0x45213a
push dword [0x4692f8]
push dword [0x4690a0]
push 0x452460
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.0045a4c4
mov eax, 0x4690a4
call fcn.00404564
jmp 0x4523e7
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, 0x45246c
call fcn.004045b8
mov dword [ebp - 0x54], 0x44
mov word [ebp - 0x24], 0
mov dword [ebp - 0x28], 1
push 0x45252c
push dword [0x4690a4]
push dword [0x4692fc]
push dword [ebp - 4]
push dword [ebp - 8]
push 0x452538
push dword [0x4690a0]
push 0x45252c
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 0x45226e
push 0x452544
push dword [ebp - 0x10]
push 0x452460
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.0045a4c4
inc byte [0x466f1c]
cmp byte [0x466f1c], 0xa
jbe 0x4523e7
push dword [0x469300]
push dword [0x4690a0]
push 0x452460
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.0045a4c4
mov eax, 0x4690a4
call fcn.00404564
jmp 0x4523e7
push 0x1b7740
mov eax, dword [ebp - 0x64]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
jne 0x4522c4
mov eax, dword [0x469304]
call fcn.0045a4c4
mov eax, 0x4690b4
mov edx, 0x452554
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, 0x45256c
call fcn.004045b8
jmp 0x4523e7
mov eax, 0x4690b4
mov edx, 0x4525cc
call fcn.004045b8
mov ax, word [0x466f18]
dec ax
je 0x4522f6
dec ax
je 0x452318
dec ax
je 0x452356
dec ax
je 0x4523a3
jmp 0x4523c2
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 0x4523d4
mov eax, 0x4690b4
mov edx, 0x45264c
call fcn.004045b8
push dword [0x4690c8]
push 0x45267c
push dword [ebp - 8]
mov eax, 0x4690cc
mov edx, 3
call fcn.004048e4
mov eax, 0x4690b0
mov edx, dword [0x4690cc]
call fcn.004045b8
jmp 0x4523d4
mov eax, 0x4690b4
mov edx, 0x452688
call fcn.004045b8
push dword [0x4690cc]
push 0x45267c
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, 0x452738
call fcn.004045b8
jmp 0x4523d4
push dword [0x4690d0]
push 0x45267c
push dword [ebp - 8]
mov eax, 0x4690b0
mov edx, 3
call fcn.004048e4
jmp 0x4523d4
mov eax, 0x4690b0
mov ecx, dword [ebp - 8]
mov edx, 0x4527d0
call fcn.00404870
mov eax, 0x4690b4
mov edx, 0x4527e4
call fcn.004045b8
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452421
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