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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
push ebx
push esi
xor ecx, 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 - 0x68], ecx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0xc], 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
mov esi, 0x467080
xor eax, eax
push ebp
push 0x45556d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, 0x455584
call fcn.004045b8
xor ebx, ebx
push dword [0x46704c]
push 0x4555ec
lea edx, [ebp - 0x64]
movzx eax, word [0x464e8c]
call fcn.004079a4
push dword [ebp - 0x64]
push 0x4555f8
mov eax, 0x46706c
mov edx, 4
call fcn.004048e4
push 0
mov eax, dword [0x46706c]
call fcn.00404a24
push eax
call sub.kernel32.dll_CreateDirectoryA
test eax, eax
jne 0x45528f
push 0
mov eax, dword [0x46706c]
call fcn.00404a24
push eax
call sub.kernel32.dll_CreateDirectoryA
test eax, eax
jne 0x45528f
push 0x20
mov eax, dword [0x46706c]
call fcn.00404a24
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x45528f
inc byte [0x464e90]
lea edx, [ebp - 0x6c]
xor eax, eax
mov al, byte [0x464e90]
call fcn.004079a4
mov ecx, dword [ebp - 0x6c]
lea eax, [ebp - 0x68]
mov edx, 0x455608
call fcn.00404870
mov eax, dword [ebp - 0x68]
call fcn.00462344
cmp byte [0x464e90], 0xa
jbe 0x45528f
push 0x45561c
push dword [0x46706c]
push 0x45563c
lea edx, [ebp - 0x74]
xor eax, eax
call fcn.00408914
push dword [ebp - 0x74]
lea eax, [ebp - 0x70]
mov edx, 4
call fcn.004048e4
mov eax, dword [ebp - 0x70]
call fcn.00462344
mov eax, 0x467070
call fcn.00404564
jmp 0x455542
mov eax, esi
mov edx, 0x455648
call fcn.004045b8
lea eax, [ebp - 0x60]
xor ecx, ecx
mov edx, 0x10
call fcn.0040308c
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x44
call fcn.0040308c
mov eax, esi
mov edx, 0x45567c
call fcn.004045b8
mov dword [ebp - 0x50], 0x44
mov word [ebp - 0x20], 0
mov dword [ebp - 0x24], 1
push 0x45570c
push dword [0x467070]
push 0x455718
push dword [ebp - 4]
push dword [ebp - 8]
push 0x455740
push dword [0x46706c]
push 0x45570c
lea eax, [ebp - 0xc]
mov edx, 8
call fcn.004048e4
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push 0xc000040
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404a24
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x4553c4
push 0x45574c
push dword [ebp - 0xc]
push 0x45563c
lea edx, [ebp - 0x7c]
xor eax, eax
call fcn.00408914
push dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
mov edx, 4
call fcn.004048e4
mov eax, dword [ebp - 0x78]
call fcn.00462344
inc byte [0x464e90]
cmp byte [0x464e90], 0xa
jbe 0x455542
push 0x45575c
push dword [0x46706c]
push 0x45563c
lea edx, [ebp - 0x84]
xor eax, eax
call fcn.00408914
push dword [ebp - 0x84]
lea eax, [ebp - 0x80]
mov edx, 4
call fcn.004048e4
mov eax, dword [ebp - 0x80]
call fcn.00462344
mov eax, 0x467070
call fcn.00404564
jmp 0x455542
push 0x1b7740
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
jne 0x455414
mov eax, 0x455778
call fcn.00462344
mov eax, esi
mov edx, 0x455790
call fcn.004045b8
push 0
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_TerminateProcess
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, esi
mov edx, 0x455860
call fcn.004045b8
jmp 0x455542
mov eax, esi
mov edx, 0x455914
call fcn.004045b8
mov ax, word [0x464e8c]
dec ax
je 0x455447
dec ax
je 0x455475
dec ax
je 0x4554bc
dec ax
je 0x455503
jmp 0x455522
mov eax, 0x46709c
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404870
mov eax, 0x46707c
mov edx, dword [ebp - 8]
call fcn.004045b8
mov eax, esi
mov edx, 0x455930
call fcn.004045b8
jmp 0x455534
mov eax, esi
mov edx, 0x4559a0
call fcn.004045b8
push dword [0x46709c]
push 0x455a58
push dword [ebp - 8]
mov eax, 0x4670a0
mov edx, 3
call fcn.004048e4
mov eax, 0x46707c
mov edx, dword [0x4670a0]
call fcn.004045b8
mov eax, esi
mov edx, 0x455a64
call fcn.004045b8
jmp 0x455534
mov eax, esi
mov edx, 0x455ae0
call fcn.004045b8
push dword [0x4670a0]
push 0x455a58
push dword [ebp - 8]
mov eax, 0x4670a4
mov edx, 3
call fcn.004048e4
mov eax, 0x46707c
mov edx, dword [0x4670a4]
call fcn.004045b8
mov eax, esi
mov edx, 0x455b8c
call fcn.004045b8
jmp 0x455534
push dword [0x4670a4]
push 0x455a58
push dword [ebp - 8]
mov eax, 0x46707c
mov edx, 3
call fcn.004048e4
jmp 0x455534
mov eax, 0x46707c
mov ecx, dword [ebp - 8]
mov edx, 0x455c30
call fcn.00404870
mov eax, esi
mov edx, 0x455c44
call fcn.004045b8
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455574
lea eax, [ebp - 0x84]
mov edx, 9
call fcn.00404588
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404588
ret