Function at 0x454a30
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x560706
mov eax, dword fs:[0]
push eax
sub esp, 0x854
mov eax, dword [0x5c49f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.005369e0
add esp, 0xc
lea ecx, [ebp - 0x840]
call fcn.00434af0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x840]
cmp dword [ebp - 0x82c], 0x10
cmovae eax, dword [ebp - 0x840]
push eax
push str._s7z.exe_x
lea eax, [ebp - 0x810]
push 0x800
push eax
call fcn.00434800
add esp, 0x10
mov dword [ebp - 0x844], 0xf
lea ecx, [ebp - 0x858]
mov dword [ebp - 0x848], 0
mov byte [ebp - 0x858], 0
push 0xffffffffffffffff
push 0
push edi
call fcn.0042c2e0
cmp dword [ebp - 0x844], 0x10
lea eax, [ebp - 0x858]
cmovae eax, dword [ebp - 0x858]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x454b0e
test al, 0x10
je 0x454b0e
mov esi, 1
jmp 0x454b10
xor esi, esi
mov eax, dword [ebp - 0x844]
cmp eax, 0x10
jb 0x454b2e
inc eax
lea ecx, [ebp - 0x858]
push eax
push dword [ebp - 0x858]
call fcn.0042ceb0
test esi, esi
jne 0x454b92
push 0xffffffffffffffff
push esi
push edi
lea ecx, [ebp - 0x858]
mov dword [ebp - 0x844], 0xf
mov dword [ebp - 0x848], esi
mov byte [ebp - 0x858], 0
call fcn.0042c2e0
cmp dword [ebp - 0x844], 0x10
lea eax, [ebp - 0x858]
push esi
cmovae eax, dword [ebp - 0x858]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [ebp - 0x844]
cmp eax, 0x10
jb 0x454b92
inc eax
lea ecx, [ebp - 0x858]
push eax
push dword [ebp - 0x858]
call fcn.0042ceb0
cmp byte [ebp - 0x810], 0
mov dword [ebp - 0x814], 0xf
mov dword [ebp - 0x818], 0
mov byte [ebp - 0x828], 0
jne 0x454bba
xor ecx, ecx
jmp 0x454bcc
lea ecx, [ebp - 0x810]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x454bc3
sub ecx, edx
push ecx
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x828]
call fcn.0042c1e0
push 2
push 0x5b2f24
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], 1
call fcn.0042c4c0
push 0xffffffffffffffff
push 0
push ebx
lea ecx, [ebp - 0x828]
call fcn.0042c5f0
push 5
push str.___o_
lea ecx, [ebp - 0x828]
call fcn.0042c4c0
push 0xffffffffffffffff
push 0
push edi
lea ecx, [ebp - 0x828]
call fcn.0042c5f0
push 4
push str.___y
lea ecx, [ebp - 0x828]
call fcn.0042c4c0
cmp dword [ebp - 0x814], 0x10
lea edx, [ebp - 0x828]
cmovae edx, dword [ebp - 0x828]
sub esp, 0x18
mov esi, esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [edx], 0
jne 0x454c6c
xor ecx, ecx
jmp 0x454c7a
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x454c71
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.0042c1e0
mov edx, 0x40
lea ecx, [edx - 0x3f]
call fcn.004354b0
mov ecx, dword [ebp - 0x814]
add esp, 0x18
mov esi, eax
cmp ecx, 0x10
jb 0x454cb3
inc ecx
push ecx
push dword [ebp - 0x828]
lea ecx, [ebp - 0x828]
call fcn.0042ceb0
mov eax, dword [ebp - 0x82c]
mov dword [ebp - 0x814], 0xf
mov dword [ebp - 0x818], 0
mov byte [ebp - 0x828], 0
cmp eax, 0x10
jb 0x454cec
inc eax
lea ecx, [ebp - 0x840]
push eax
push dword [ebp - 0x840]
call fcn.0042ceb0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00533845
mov esp, ebp
pop ebp
ret