Function at 0x42d6c0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x48e091
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b1ae0]
xor eax, esp
push eax
lea eax, [esp + 0xbc]
mov dword fs:[0], eax
mov esi, dword [esp + 0xcc]
mov eax, dword [esi + 4]
mov edi, dword [esi]
cmp eax, 3
jbe 0x42d708
cmp word [edi + 2], 0x3a
jne 0x42d708
add edi, 6
mov ebx, dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
xor ebp, ebp
cmp word [edi], bp
je 0x42d778
movzx eax, word [edi]
cmp ax, 0x5c
je 0x42d724
cmp ax, 0x2f
jne 0x42d770
xor eax, eax
mov word [edi], ax
mov eax, dword [esi]
push eax
call ebx
cmp eax, 0xffffffff
je 0x42d737
test al, 0x10
jne 0x42d768
mov eax, dword [esi]
push ebp
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
jne 0x42d768
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ebp, eax
cmp ebp, 0xb7
jne 0x42d893
mov eax, dword [esi]
push eax
call ebx
test al, 0x10
je 0x42d982
xor ebp, ebp
mov ecx, 0x5c
mov word [edi], cx
add edi, 2
cmp word [edi], bp
jne 0x42d715
mov eax, dword [esi]
push ebp
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
jne 0x42dabb
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edi, eax
cmp edi, 0xb7
je 0x42da0e
mov esi, dword [esi]
lea edx, [esp + 0x68]
push esi
push edx
call fcn.0042a950
mov esi, eax
lea eax, [esp + 0x38]
push edi
push eax
mov dword [esp + 0xd4], 6
call fcn.0042d220
push 0x4974d8
push eax
lea ecx, [esp + 0x64]
push ecx
mov byte [esp + 0xe0], 7
call fcn.0040bd80
push esi
push eax
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0xec], 8
call fcn.0040be40
add esp, 0x28
push 0xffffffffffffffff
push ebp
push eax
mov ecx, 0x4b0810
mov byte [esp + 0xd0], 9
call fcn.0040b380
mov edi, 0x10
cmp dword [esp + 0x2c], edi
jb 0x42d820
mov eax, dword [esp + 0x18]
push eax
call fcn.00473948
add esp, 4
mov esi, 0xf
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebp
mov byte [esp + 0x18], 0
cmp dword [esp + 0x64], edi
jb 0x42d845
mov ecx, dword [esp + 0x50]
push ecx
call fcn.00473948
add esp, 4
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebp
mov byte [esp + 0x50], 0
cmp dword [esp + 0x48], edi
jb 0x42d865
mov edx, dword [esp + 0x34]
push edx
call fcn.00473948
add esp, 4
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebp
mov byte [esp + 0x34], 0
cmp dword [esp + 0x80], edi
jb 0x42d97b
mov eax, dword [esp + 0x6c]
push eax
call fcn.00473948
add esp, 4
xor al, al
jmp 0x42dabd
mov esi, dword [esi]
lea edx, [esp + 0x68]
push esi
push edx
call fcn.0042a950
mov esi, eax
lea eax, [esp + 0x1c]
push ebp
xor ebx, ebx
push eax
mov dword [esp + 0xd4], ebx
call fcn.0042d220
push 0x4974d8
push eax
lea ecx, [esp + 0x64]
push ecx
mov byte [esp + 0xe0], 1
call fcn.0040bd80
push esi
push eax
lea edx, [esp + 0x54]
push edx
mov byte [esp + 0xec], 2
call fcn.0040be40
add esp, 0x28
push 0xffffffffffffffff
push ebx
push eax
mov ecx, 0x4b0810
mov byte [esp + 0xd0], 3
call fcn.0040b380
mov edi, 0x10
cmp dword [esp + 0x48], edi
jb 0x42d913
mov eax, dword [esp + 0x34]
push eax
call fcn.00473948
add esp, 4
mov esi, 0xf
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], 0
cmp dword [esp + 0x64], edi
jb 0x42d938
mov ecx, dword [esp + 0x50]
push ecx
call fcn.00473948
add esp, 4
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], 0
cmp dword [esp + 0x2c], edi
jb 0x42d958
mov edx, dword [esp + 0x18]
push edx
call fcn.00473948
add esp, 4
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], 0
cmp dword [esp + 0x80], edi
jb 0x42d97b
mov eax, dword [esp + 0x6c]
push eax
call fcn.00473948
add esp, 4
xor al, al
jmp 0x42dabd
mov esi, dword [esi]
lea ecx, [esp + 0x68]
push esi
push ecx
call fcn.0042a950
push str._exists_and_is_not_a_directory
push eax
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0xd8], 4
call fcn.0040bd80
add esp, 0x14
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x4b0810
mov byte [esp + 0xd0], 5
call fcn.0040b380
mov esi, 0x10
cmp dword [esp + 0x2c], esi
jb 0x42d9dc
mov eax, dword [esp + 0x18]
push eax
call fcn.00473948
add esp, 4
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
cmp dword [esp + 0x80], esi
jb 0x42d97b
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.00473948
add esp, 4
xor al, al
jmp 0x42dabd
mov eax, dword [esi]
push eax
call ebx
test al, 0x10
jne 0x42dabb
mov esi, dword [esi]
lea ecx, [esp + 0xa0]
push esi
push ecx
call fcn.0042a950
push str._exists_and_is_not_a_directory
push eax
lea edx, [esp + 0x94]
push edx
mov dword [esp + 0xd8], 0xa
call fcn.0040bd80
add esp, 0x14
push 0xffffffffffffffff
push ebp
push eax
mov ecx, 0x4b0810
mov byte [esp + 0xd0], 0xb
call fcn.0040b380
mov esi, 0x10
cmp dword [esp + 0x9c], esi
jb 0x42da80
mov eax, dword [esp + 0x88]
push eax
call fcn.00473948
add esp, 4
mov dword [esp + 0x9c], 0xf
mov dword [esp + 0x98], ebp
mov byte [esp + 0x88], 0
cmp dword [esp + 0xb8], esi
jb 0x42d97b
mov ecx, dword [esp + 0xa4]
push ecx
call fcn.00473948
add esp, 4
xor al, al
jmp 0x42dabd
mov al, 1
mov ecx, dword [esp + 0xbc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb4
ret