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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bb7d0
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x634274]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x43c], ebx
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00486960
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00486960
add esp, 0x18
lea eax, [ebp - 0x438]
mov ecx, ebx
push eax
call fcn.00408b00
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
push str.Dict
cmovae eax, dword [ebp - 0x438]
push eax
lea eax, [ebp - 0x420]
mov dword [ebp - 4], 0
push 0x5c5b7c
push eax
call fcn.0040ad20
add esp, 0x10
lea ecx, [ebp - 0x438]
cmp dword [ebp - 0x424], 8
lea edx, [ebp - 0x218]
cmovae ecx, dword [ebp - 0x438]
nop dword [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x406860
lea ecx, [ebp - 0x218]
add ecx, 0xfffffffe
nop word [eax + eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x406880
mov eax, dword [str.BackMB]
lea edi, [ebp - 0x218]
mov dword [ecx], eax
add edi, 0xfffffffe
mov eax, dword [0x5c6474]
mov dword [ecx + 4], eax
mov eax, dword [0x5c6478]
mov dword [ecx + 8], eax
mov ax, word [0x5c647c]
mov word [ecx + 0xc], ax
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x4068b6
mov eax, dword [0x625fd4]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [edi], eax
lea eax, [ebp - 0x218]
push eax
call ebx
test eax, eax
jne 0x4068ea
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 0x43c]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.00406700
mov eax, dword [0x63fa20]
test eax, eax
jne 0x40693b
push 0x158
call fcn.00455626
add esp, 4
mov dword [ebp - 0x440], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x406930
mov ecx, eax
call fcn.00450f00
jmp 0x406932
xor eax, eax
mov byte [ebp - 4], 0
mov dword [0x63fa20], eax
mov ecx, eax
call fcn.004616f3
lea edx, [ebp - 0x218]
sub edx, eax
nop word [eax + eax]
movzx ecx, word [eax]
lea eax, [eax + 2]
mov word [edx + eax - 2], cx
test cx, cx
jne 0x406950
lea ecx, [ebp - 0x218]
add ecx, 0xfffffffe
nop dword [eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x406970
mov eax, dword [str.BackMB]
lea edi, [ebp - 0x218]
mov dword [ecx], eax
add edi, 0xfffffffe
mov eax, dword [0x5c6474]
mov dword [ecx + 4], eax
mov eax, dword [0x5c6478]
mov dword [ecx + 8], eax
mov ax, word [0x5c647c]
mov word [ecx + 0xc], ax
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x4069a6
mov eax, dword [0x625fd4]
mov dword [edi], eax
lea eax, [ebp - 0x218]
push eax
call ebx
test eax, eax
jne 0x4069d4
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 0x43c]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.00406700
mov eax, dword [ebp - 0x424]
cmp eax, 8
jb 0x406a0b
inc eax
lea ecx, [ebp - 0x438]
push eax
push dword [ebp - 0x438]
call fcn.00402610
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00455afe
mov esp, ebp
pop ebp
ret