Function at 0x42db1e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x244
push ebx
push esi
push edi
mov esi, eax
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42db32
sub eax, edx
cmp eax, 0x104
jb 0x42db49
xor al, al
jmp 0x42dd48
cmp byte [ebp + 8], 0
je 0x42db6a
push esi
lea eax, [esp + 0x14c]
call fcn.0042d9e4
lea edi, [esp + 0x14c]
pop ecx
mov dword [esp + 0xc], edi
jmp 0x42db70
mov dword [esp + 0xc], esi
mov edi, esi
lea eax, [esp + 0x10]
push eax
push edi
call fcn.00448cec
pop ecx
pop ecx
test eax, eax
jne 0x42db98
test dword [esp + 0x16], 0x4000
je 0x42db98
push esi
call fcn.0042dac3
mov al, 1
jmp 0x42dd47
lea edx, [esp + 0x40]
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x42dba0
push 0x5c
pop ebx
lea eax, [esp + 0x40]
push ebx
push eax
call fcn.00445d90
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x42dcce
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42dbc7
sub eax, edx
cmp eax, 3
jbe 0x42dc08
cmp byte [esi + 1], bl
jne 0x42dc08
push ebx
add esi, 2
push esi
call fcn.00445d90
pop ecx
pop ecx
test eax, eax
je 0x42dcce
inc eax
push ebx
push eax
call fcn.00445d90
pop ecx
pop ecx
test eax, eax
je 0x42dcce
push ebx
inc eax
push eax
jmp 0x42dcbd
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42dc0d
sub eax, edx
mov edi, eax
lea eax, [esp + 0x40]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42dc1f
sub eax, ecx
cmp edi, eax
je 0x42dc43
mov al, byte [esi - 1]
cmp al, 0x3a
je 0x42dc37
cmp al, bl
jne 0x42dc43
inc esi
push ebx
push esi
call fcn.00445d90
pop ecx
pop ecx
mov esi, eax
mov edi, dword [esp + 0xc]
jmp 0x42dcc6
lea eax, [esp + 0x40]
mov byte [esi], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42dc53
sub eax, edx
je 0x42dcb8
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00448cec
pop ecx
pop ecx
test eax, eax
jne 0x42dc9e
test dword [esp + 0x16], 0x4000
jne 0x42dcb8
lea eax, [esp + 0x40]
push eax
push edi
push str.Cant_create_dir__s:_non_dir__s_in_the_way
call fcn.00446f45
add eax, 0x40
push eax
call fcn.00447492
add esp, 0x10
jmp 0x42db42
lea eax, [esp + 0x40]
push eax
call fcn.0044894a
test eax, eax
pop ecx
lea eax, [esp + 0x40]
push eax
jne 0x42dce6
call fcn.0042dac3
pop ecx
mov byte [esi], bl
push ebx
inc esi
push esi
call fcn.00445d90
pop ecx
pop ecx
mov esi, eax
test esi, esi
jne 0x42dc49
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push edi
call esi
cmp eax, 0xffffffff
je 0x42dd19
test al, 0x10
je 0x42dd19
push edi
jmp 0x42db8c
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42dcf9
test al, 0x10
jne 0x42db42
lea eax, [esp + 0x40]
push eax
push str.Cant_create_dir__s:_mkdir_fails
call fcn.00446f45
add eax, 0x40
push eax
call fcn.00447492
add esp, 0xc
jmp 0x42db42
push edi
call fcn.0044894a
pop ecx
push edi
test eax, eax
je 0x42db8c
call esi
cmp eax, 0xffffffff
je 0x42dd34
test al, 0x10
jne 0x42dd3c
push edi
push str.Unable_to_create_dir__s
jmp 0x42dd03
push edi
call fcn.0042dac3
test al, al
setne al
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret