Function at 0x455740
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 0x455b69
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, 0x455b80
call fcn.004045b8
xor ebx, ebx
push dword [0x46704c]
push 0x455bf0
lea edx, [ebp - 0x64]
movzx eax, word [0x464e8c]
call fcn.00407994
push dword [ebp - 0x64]
push 0x455bfc
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 0x455897
push 0
mov eax, dword [0x46706c]
call fcn.00404a24
push eax
call sub.kernel32.dll_CreateDirectoryA
test eax, eax
jne 0x455897
push 0x20
mov eax, dword [0x46706c]
call fcn.00404a24
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x455897
inc byte [0x464e90]
lea edx, [ebp - 0x6c]
xor eax, eax
mov al, byte [0x464e90]
call fcn.00407994
mov ecx, dword [ebp - 0x6c]
lea eax, [ebp - 0x68]
mov edx, 0x455c0c
call fcn.00404870
mov eax, dword [ebp - 0x68]
call fcn.004627dc
cmp byte [0x464e90], 0xa
jbe 0x455897
push 0x455c20
push dword [0x46706c]
push 0x455c40
lea edx, [ebp - 0x74]
xor eax, eax
call fcn.00408880
push dword [ebp - 0x74]
lea eax, [ebp - 0x70]
mov edx, 4
call fcn.004048e4
mov eax, dword [ebp - 0x70]
call fcn.004627dc
mov eax, 0x467070
call fcn.00404564
jmp 0x455b3e
mov eax, esi
mov edx, 0x455c4c
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, 0x455d14
call fcn.004045b8
mov dword [ebp - 0x50], 0x44
mov word [ebp - 0x20], 0
mov dword [ebp - 0x24], 1
push 0x455d7c
push dword [0x467070]
push 0x455d88
push dword [ebp - 4]
push dword [ebp - 8]
push 0x455db0
push dword [0x46706c]
push 0x455d7c
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 0x4559cc
push 0x455dbc
push dword [ebp - 0xc]
push 0x455c40
lea edx, [ebp - 0x7c]
xor eax, eax
call fcn.00408880
push dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
mov edx, 4
call fcn.004048e4
mov eax, dword [ebp - 0x78]
call fcn.004627dc
inc byte [0x464e90]
cmp byte [0x464e90], 0xa
jbe 0x455b3e
push 0x455dcc
push dword [0x46706c]
push 0x455c40
lea edx, [ebp - 0x84]
xor eax, eax
call fcn.00408880
push dword [ebp - 0x84]
lea eax, [ebp - 0x80]
mov edx, 4
call fcn.004048e4
mov eax, dword [ebp - 0x80]
call fcn.004627dc
mov eax, 0x467070
call fcn.00404564
jmp 0x455b3e
push 0x1b7740
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
jne 0x455a1c
mov eax, 0x455de8
call fcn.004627dc
mov eax, esi
mov edx, 0x455e00
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, 0x455ed8
call fcn.004045b8
jmp 0x455b3e
mov eax, esi
mov edx, 0x455efc
call fcn.004045b8
mov ax, word [0x464e8c]
dec ax
je 0x455a4f
invalid
dec ax
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, 0x455f34
call fcn.004045b8
jmp 0x455b30