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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c88a8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x660124]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
push eax
call fcn.0042e310
add esp, 4
mov dword [0x6734c4], 0
lea eax, [ebp - 0x58]
mov dword [0x6734c0], 0xffffffff
mov dword [0x66bdb0], 0
mov dword [0x66bdb4], 0xa
push eax
mov byte [0x67aaf3], 1
call fcn.004171e0
push str.yxqxylog_
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
call fcn.004040c0
add esp, 0xc
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x416f91
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004030b0
sub esp, 0x18
mov dword [ebp - 0x44], 0xf
mov ecx, esp
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x416fc0
mov eax, dword [ecx]
jmp 0x416fc2
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.00402f10
lea ecx, [ebp - 0x28]
call fcn.0041ae80
add esp, 0x18
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41700d
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea eax, [ebp - 0x28]
push eax
call fcn.00417280
mov ecx, dword [0x65c004]
lea eax, [ebp - 0x40]
cmp ecx, eax
je 0x41702d
push 0xffffffffffffffff
push 0
push eax
call fcn.00402f10
push str.info_
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004048a0
add esp, 0xc
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 0x10
jb 0x41704e
mov eax, dword [eax]
push eax
push 0
call fcn.0042f430
mov byte [ebp - 4], 3
add esp, 8
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x417072
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004030b0
push str.warning_
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004048a0
add esp, 0xc
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 0x10
jb 0x417093
mov eax, dword [eax]
push eax
push 1
call fcn.0042f430
mov byte [ebp - 4], 3
add esp, 8
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x4170b7
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004030b0
push str.error_
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004048a0
add esp, 0xc
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 0x10
jb 0x4170d8
mov eax, dword [eax]
push eax
push 2
call fcn.0042f430
mov byte [ebp - 4], 3
add esp, 8
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x4170fc
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004030b0
push str.fatal_
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.004048a0
add esp, 0xc
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 0x10
jb 0x41711d
mov eax, dword [eax]
push eax
push 3
call fcn.0042f430
mov eax, dword [ebp - 0x60]
add esp, 8
cmp eax, 0x10
jb 0x41713d
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.004030b0
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x417152
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00416980
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp ecx, 0x10
jb 0x41717b
inc ecx
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.004030b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005846b2
mov esp, ebp
pop ebp
ret 4