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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c6b4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x150
mov dword [ebp - 0x18], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xdc]
call fcn.0040c380
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x64]
mov dword [ebp - 0xc4], ecx
mov ecx, dword [ebp - 0xc4]
call fcn.004267f0
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], 0
push 0x5c
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0xcc]
push eax
lea ecx, [ebp - 0xdc]
call fcn.0041f800
push eax
call fcn.00426770
add esp, 0x10
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
je 0x4269c4
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0xfc], ecx
lea edx, [ebp - 0x1d]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x14]
push edx
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0x12c]
call fcn.00426820
mov ecx, dword [ebp - 0x18]
or ecx, 1
mov dword [ebp - 0x18], ecx
mov byte [ebp - 4], 2
lea edx, [ebp - 0x12c]
push edx
lea ecx, [ebp - 0x64]
call fcn.0041bae0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x12c]
call fcn.0041fbb0
jmp 0x426a2e
lea eax, [ebp - 0xdc]
mov dword [ebp - 0xf8], eax
lea ecx, [ebp - 0x1e]
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x6c]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0xdc]
push ecx
lea ecx, [ebp - 0x114]
call fcn.00426820
mov edx, dword [ebp - 0x18]
or edx, 2
mov dword [ebp - 0x18], edx
mov byte [ebp - 4], 3
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x64]
call fcn.0041bae0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x114]
call fcn.0041fbb0
jmp 0x426a44
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, 1
test edx, edx
jne 0x42693a
lea eax, [ebp - 0x64]
mov dword [ebp - 0x70], eax
xor ecx, ecx
imul edx, ecx, 0x18
mov eax, dword [ebp - 0x70]
add edx, dword [eax]
mov dword [ebp - 0x74], edx
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x14], 8
jb 0x426a75
mov dword [ebp - 0x38], 1
jmp 0x426a7c
mov dword [ebp - 0x38], 0
mov cl, byte [ebp - 0x38]
mov byte [ebp - 0xd], cl
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x426a98
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp - 0x80]
push edx
lea ecx, [ebp - 0xf4]
call fcn.0040c380
mov byte [ebp - 4], 4
lea eax, [ebp - 0xf4]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x14], 8
jb 0x426ad8
mov dword [ebp - 0x40], 1
jmp 0x426adf
mov dword [ebp - 0x40], 0
mov al, byte [ebp - 0x40]
mov byte [ebp - 0xe], al
movzx ecx, byte [ebp - 0xe]
test ecx, ecx
je 0x426b01
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x426ce9
mov dword [ebp - 0x1c], 1
jmp 0x426b3d
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
lea eax, [ebp - 0x64]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x48]
mov eax, dword [ecx + 4]
sub eax, dword [edx]
cdq
mov ecx, 0x18
idiv ecx
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x90]
jge 0x426ce9
push 0x47965c
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0x15c]
push ecx
call fcn.00407dc0
add esp, 0xc
mov dword [ebp - 0x94], eax
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0xa0], edx
mov byte [ebp - 4], 5
lea eax, [ebp - 0x64]
mov dword [ebp - 0x98], eax
imul ecx, dword [ebp - 0x1c], 0x18
mov edx, dword [ebp - 0x98]
add ecx, dword [edx]
mov dword [ebp - 0x9c], ecx
mov eax, dword [ebp - 0x9c]
push eax
mov ecx, dword [ebp - 0xa0]
push ecx
lea edx, [ebp - 0x144]
push edx
call fcn.004034f0
add esp, 0xc
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
push eax
lea ecx, [ebp - 0xf4]
call fcn.00403820
lea ecx, [ebp - 0x144]
call fcn.0041fbb0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x15c]
call fcn.0041fbb0
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x14], 8
jb 0x426c27
mov dword [ebp - 0x4c], 1
jmp 0x426c2e
mov dword [ebp - 0x4c], 0
mov cl, byte [ebp - 0x4c]
mov byte [ebp - 0xf], cl
movzx edx, byte [ebp - 0xf]
test edx, edx
je 0x426c50
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov dword [ebp - 0xa8], ecx
mov edx, dword [ebp - 0xa8]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0xb0], ecx
mov edx, dword [ebp - 0xb0]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x426ce4
lea eax, [ebp - 0xf4]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x34]
cmp dword [edx + 0x14], 8
jb 0x426c97
mov dword [ebp - 0x54], 1
jmp 0x426c9e
mov dword [ebp - 0x54], 0
mov al, byte [ebp - 0x54]
mov byte [ebp - 0x10], al
movzx ecx, byte [ebp - 0x10]
test ecx, ecx
je 0x426cc0
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0xb8], edx
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], eax
push 0
mov ecx, dword [ebp - 0xbc]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x426b34
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xf4]
call fcn.0041fbb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.004272c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xdc]
call fcn.0041fbb0
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret