Function at 0x42590c
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x535a38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x22c
lea ecx, [ebp - 0x210]
call fcn.004016b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x210]
call fcn.00513c78
mov eax, dword [ebp + 8]
mov dword [ebp - 0x218], eax
mov ecx, dword [ebp - 0x218]
movsx edx, byte [ecx]
test edx, edx
je 0x425a57
mov eax, dword [ebp - 0x218]
movsx ecx, byte [eax]
cmp ecx, 0x5c
jne 0x425a2f
lea ecx, [ebp - 0x210]
call fcn.0040c890
mov dword [ebp - 0x21c], eax
mov edx, dword [ebp - 0x21c]
sub edx, 1
mov dword [ebp - 0x214], edx
jmp 0x4259a4
mov eax, dword [ebp - 0x214]
sub eax, 1
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jl 0x4259cb
mov ecx, dword [ebp - 0x214]
push ecx
lea ecx, [ebp - 0x210]
call fcn.00476de0
movsx edx, al
cmp edx, 0x20
je 0x4259c9
jmp 0x4259cb
jmp 0x425995
mov eax, dword [ebp - 0x21c]
sub eax, 1
cmp dword [ebp - 0x214], eax
je 0x425a2f
mov ecx, dword [ebp - 0x214]
add ecx, 1
push ecx
lea edx, [ebp - 0x220]
push edx
lea ecx, [ebp - 0x210]
call fcn.0050ca92
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x238], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x238]
push ecx
lea ecx, [ebp - 0x210]
call fcn.00513e26
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x220]
call fcn.00513ced
mov edx, dword [ebp - 0x218]
mov al, byte [edx]
push eax
lea ecx, [ebp - 0x210]
call fcn.0051407c
mov ecx, dword [ebp - 0x218]
add ecx, 1
mov dword [ebp - 0x218], ecx
jmp 0x425950
lea ecx, [ebp - 0x210]
call fcn.00409600
push eax
lea edx, [ebp - 0x20c]
push edx
call fcn.004fa590
add esp, 8
lea ecx, [ebp - 0x210]
call fcn.00513c78
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x218], eax
mov ecx, dword [ebp - 0x218]
movsx edx, byte [ecx]
test edx, edx
je 0x425b8e
mov eax, dword [ebp - 0x218]
mov cl, byte [eax]
push ecx
lea ecx, [ebp - 0x210]
call fcn.0051407c
mov edx, dword [ebp - 0x218]
movsx eax, byte [edx]
cmp eax, 0x5c
jne 0x425b7a
lea ecx, [ebp - 0x210]
call fcn.00409600
push eax
call dword [sym.imp.shlwapi.dll_PathFileExistsA]
test eax, eax
jne 0x425b15
push 0
lea ecx, [ebp - 0x210]
call fcn.00409600
push eax
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x425b15
mov dword [ebp - 0x224], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x210]
call fcn.00513ced
mov eax, dword [ebp - 0x224]
jmp 0x425c02
mov ecx, dword [ebp - 0x218]
movsx edx, byte [ecx]
test edx, edx
je 0x425b41
mov eax, dword [ebp - 0x218]
movsx ecx, byte [eax]
cmp ecx, 0x5c
jne 0x425b41
mov edx, dword [ebp - 0x218]
add edx, 1
mov dword [ebp - 0x218], edx
jmp 0x425b15
mov eax, dword [ebp - 0x218]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x425b75
mov dword [ebp - 0x228], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x210]
call fcn.00513ced
mov eax, dword [ebp - 0x228]
jmp 0x425c02
jmp 0x425a89
mov edx, dword [ebp - 0x218]
add edx, 1
mov dword [ebp - 0x218], edx
jmp 0x425a89
lea ecx, [ebp - 0x210]
call fcn.00409600
push eax
call dword [sym.imp.shlwapi.dll_PathFileExistsA]
test eax, eax
jne 0x425be0
push 0
lea ecx, [ebp - 0x210]
call fcn.00409600
push eax
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x425be0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x210]
call fcn.00513ced
mov eax, dword [ebp - 0x22c]
jmp 0x425c02
mov dword [ebp - 0x230], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x210]
call fcn.00513ced
mov eax, dword [ebp - 0x230]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret