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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46cce0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
cmp dword [ebp + 0xc], 0
je 0x42eb7b
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
call fcn.0041bb40
lea ecx, [ebp - 0xa4]
call fcn.0041fce0
mov dword [ebp - 4], 0
push 0
push 0
push 0
lea ecx, [ebp - 0xa4]
push ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x120], esp
mov edx, dword [ebp + 8]
push edx
call fcn.0040c380
call fcn.0041d070
add esp, 0x28
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
jne 0x42e758
mov dword [ebp - 0x40], 1
jmp 0x42e75f
mov dword [ebp - 0x40], 0
mov cl, byte [ebp - 0x40]
mov byte [ebp - 0xd], cl
movzx edx, byte [ebp - 0xd]
test edx, edx
jne 0x42eb69
lea eax, [ebp - 0xa4]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x14], 8
jb 0x42e792
mov dword [ebp - 0x44], 1
jmp 0x42e799
mov dword [ebp - 0x44], 0
mov al, byte [ebp - 0x44]
mov byte [ebp - 0xe], al
movzx ecx, byte [ebp - 0xe]
test ecx, ecx
je 0x42e7bb
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0xb4], edx
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], eax
push 0
mov ecx, dword [ebp - 0xb8]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea edx, [ebp - 0xa4]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 0x14], 8
jb 0x42e802
mov dword [ebp - 0x4c], 1
jmp 0x42e809
mov dword [ebp - 0x4c], 0
mov dl, byte [ebp - 0x4c]
mov byte [ebp - 0xf], dl
movzx eax, byte [ebp - 0xf]
test eax, eax
je 0x42e82b
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov dword [ebp - 0xbc], edx
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0xc0], ecx
mov edx, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], edx
cmp dword [ebp - 0xc4], 0
je 0x42e92d
lea eax, [ebp - 0xa4]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x14], 8
jb 0x42e86e
mov dword [ebp - 0x54], 1
jmp 0x42e875
mov dword [ebp - 0x54], 0
mov al, byte [ebp - 0x54]
mov byte [ebp - 0x10], al
movzx ecx, byte [ebp - 0x10]
test ecx, ecx
je 0x42e897
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0xcc], edx
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 0xd0]
movzx edx, word [ecx]
test edx, edx
je 0x42e92d
lea eax, [ebp - 0xa4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x28]
cmp dword [edx + 0x14], 8
jb 0x42e8da
mov dword [ebp - 0x5c], 1
jmp 0x42e8e1
mov dword [ebp - 0x5c], 0
mov al, byte [ebp - 0x5c]
mov byte [ebp - 0x11], al
movzx ecx, byte [ebp - 0x11]
test ecx, ecx
je 0x42e903
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0xd8], edx
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp - 0xdc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42eb69
lea edx, [ebp - 0xa4]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 0x14], 8
jb 0x42e94e
mov dword [ebp - 0x64], 1
jmp 0x42e955
mov dword [ebp - 0x64], 0
mov dl, byte [ebp - 0x64]
mov byte [ebp - 0x12], dl
movzx eax, byte [ebp - 0x12]
test eax, eax
je 0x42e977
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov dword [ebp - 0xe0], edx
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x100], ecx
mov edx, dword [ebp - 0x100]
mov dword [ebp - 0xe4], edx
push 0
mov eax, dword [ebp - 0xe4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryExW]
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x14], 8
jb 0x42e9be
mov dword [ebp - 0x6c], 1
jmp 0x42e9c5
mov dword [ebp - 0x6c], 0
mov cl, byte [ebp - 0x6c]
mov byte [ebp - 0x13], cl
movzx edx, byte [ebp - 0x13]
test edx, edx
je 0x42e9e7
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov dword [ebp - 0xe8], ecx
mov edx, dword [ebp - 0xe8]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0xf0], ecx
cmp dword [ebp - 0xf0], 0
je 0x42eae9
lea edx, [ebp - 0xa4]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x34]
cmp dword [ecx + 0x14], 8
jb 0x42ea2a
mov dword [ebp - 0x74], 1
jmp 0x42ea31
mov dword [ebp - 0x74], 0
mov dl, byte [ebp - 0x74]
mov byte [ebp - 0x14], dl
movzx eax, byte [ebp - 0x14]
test eax, eax
je 0x42ea53
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
mov dword [ebp - 0xf4], edx
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0xf8], ecx
mov edx, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], edx
mov eax, dword [ebp - 0xfc]
movzx ecx, word [eax]
test ecx, ecx
je 0x42eae9
lea edx, [ebp - 0xa4]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x38]
cmp dword [ecx + 0x14], 8
jb 0x42ea96
mov dword [ebp - 0x7c], 1
jmp 0x42ea9d
mov dword [ebp - 0x7c], 0
mov dl, byte [ebp - 0x7c]
mov byte [ebp - 0x15], dl
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x42eabf
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx]
mov dword [ebp - 0x11c], edx
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x104], ecx
mov edx, dword [ebp - 0x104]
mov dword [ebp - 0x108], edx
mov eax, dword [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42eb69
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x14], 8
jb 0x42eb10
mov dword [ebp - 0x84], 1
jmp 0x42eb1a
mov dword [ebp - 0x84], 0
mov cl, byte [ebp - 0x84]
mov byte [ebp - 0x16], cl
movzx edx, byte [ebp - 0x16]
test edx, edx
je 0x42eb42
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
mov dword [ebp - 0x10c], ecx
mov edx, dword [ebp - 0x10c]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x110]
mov dword [ebp - 0x114], ecx
mov edx, dword [ebp - 0x114]
push edx
call fcn.004268e0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.0041fbb0
cmp dword [ebp + 0x10], 0
je 0x42eb8d
mov dword [ebp - 0x8c], 1
jmp 0x42eb97
mov dword [ebp - 0x8c], 4
push 0
push 0x80
mov eax, dword [ebp - 0x8c]
push eax
push 0
push 1
push SysReAllocString
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret