Function at 0x454124
Capabilities:
Create directory
Write file on windows

Disassembly:
push 0x108
mov eax, 0x4de1c2
call fcn.004bb87f
and dword [ebp - 4], 0
push 0x400
mov byte [ebp - 4], 2
call fcn.004b9bb1
pop ecx
push 0x800
mov dword [ebp - 0xf0], eax
call fcn.004b9bb1
pop ecx
mov ebx, eax
push 0x4000
mov dword [ebp - 0x104], ebx
call fcn.004b9bb1
pop ecx
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0xe8], eax
call fcn.00453970
mov esi, 0x5311f0
push esi
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 3
call fcn.00401749
push esi
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 4
call fcn.00401749
push esi
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 5
call fcn.00401749
push dword [ebp + 0xc]
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 6
call fcn.00453cc8
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0xa0]
call fcn.00453c28
lea ecx, [ebp - 0xa0]
call fcn.00453c3d
mov edi, dword [ebp - 0xe0]
mov esi, dword [ebp - 0xe4]
xor eax, eax
mov dword [ebp - 0xec], eax
cmp eax, dword [ebp - 0x114]
jge 0x45446c
lea ecx, [ebp - 0xa0]
test eax, eax
jne 0x45421b
call fcn.00453c3d
jmp 0x454220
call fcn.00453c6c
lea ecx, [ebp - 0xa0]
call fcn.00453dcf
mov esi, dword [ebp - 0xf0]
push 0x400
xor edi, edi
push edi
push esi
call fcn.004bc640
push 0x800
push edi
push ebx
call fcn.004bc640
add esp, 0x18
lea eax, [ebp - 0xdc]
push edi
push edi
push edi
push edi
push 0x400
push esi
push eax
lea ecx, [ebp - 0xa0]
call fcn.00453bd6
push 0x400
push ebx
push 0xffffffffffffffff
push esi
push edi
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
lea ecx, [ebp - 0xe0]
call fcn.00405fa6
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0xe4]
call fcn.00401cd3
jmp 0x454355
sub edi, esi
sar edi, 1
lea ecx, [ebp - 0xe0]
test edi, edi
js 0x45437a
lea eax, [edi + 1]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0040491d
push eax
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0xfc]
push eax
mov byte [ebp - 4], 7
call fcn.00401dfb
add esp, 0xc
push eax
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 8
call fcn.00401cd3
mov ecx, dword [ebp - 0xfc]
lea ecx, [ecx - 0x10]
call fcn.00404c8b
mov ecx, dword [ebp - 0x108]
mov byte [ebp - 4], 6
lea ecx, [ecx - 0x10]
call fcn.00404c8b
push 0
push dword [ebp - 0xe4]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [esi - 0xc]
sub eax, edi
dec eax
push eax
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0xe0]
call fcn.0040540c
push eax
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 9
call fcn.00401cd3
mov ecx, dword [ebp - 0xf4]
mov byte [ebp - 4], 6
lea ecx, [ecx - 0x10]
call fcn.00404c8b
mov esi, dword [ebp - 0xe0]
push 0x4f09fc
push esi
call fcn.004c35b9
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x45429f
or edi, 0xffffffff
jmp 0x4542a3
push ebx
call fcn.00405fa6
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.00401dfb
add esp, 0xc
push eax
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 0xa
call fcn.00401cd3
mov ecx, dword [ebp - 0x100]
mov byte [ebp - 4], 6
lea ecx, [ecx - 0x10]
call fcn.00404c8b
mov edi, dword [ebp - 0xe0]
push 0x2f
push edi
call fcn.004bd397
pop ecx
pop ecx
mov ecx, eax
test ecx, ecx
jne 0x4543d7
or ecx, 0xffffffff
jmp 0x4543db
sub ecx, edi
sar ecx, 1
mov eax, dword [edi - 0xc]
mov esi, dword [ebp - 0xe4]
dec eax
cmp ecx, eax
jne 0x4543f4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x45443c
xor eax, eax
push eax
push 0x80
push 2
push eax
push eax
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
push 0x4000
push dword [ebp - 0xe8]
lea ecx, [ebp - 0xa0]
call fcn.00453f06
test eax, eax
jne 0x454453
push ebx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x104]
lea ecx, [ebp - 0xa0]
call fcn.00453b99
mov eax, dword [ebp - 0xec]
inc eax
jmp 0x4541f8
push 0
lea ecx, [ebp - 0x10c]
push ecx
push eax
push dword [ebp - 0xe8]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x45440e
mov eax, dword [ebp - 0xf0]
push eax
call fcn.004baa14
push ebx
call fcn.004baa14
push dword [ebp - 0xe8]
call fcn.004baa14
mov ecx, dword [ebp - 0xf8]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.00404c8b
lea ecx, [esi - 0x10]
call fcn.00404c8b
lea ecx, [edi - 0x10]
call fcn.00404c8b
lea ecx, [ebp - 0xa0]
call fcn.00453a5a
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00404c8b
mov bl, 1
jmp 0x4544d7
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00404c8b
mov al, bl
call fcn.004bb7d1
ret