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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x10], ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
call dword [sym.imp.DENKIPM.dll_Ordinal_1574]
mov dword [ebp - 8], eax
xor eax, eax
cmp dword [ebp - 8], 0
setne al
movzx ecx, al
test ecx, ecx
jne 0x42843c
mov ecx, dword [ebp - 0x10]
call dword [sym.imp.DENKIPM.dll_Ordinal_1573]
mov dword [ebp - 8], eax
xor edx, edx
cmp dword [ebp - 8], 0
setne dl
movzx eax, dl
test eax, eax
jne 0x42843c
mov dword [ebp - 8], 0x42b7a8
mov byte [ebp - 1], 0
cmp dword [ebp - 0xc], 0x10b
jne 0x4285b4
mov dword [ebp - 0x18], 0
push 0
push 0
mov ecx, dword [ebp - 0x10]
call dword [sym.imp.DENKIPM.dll_Ordinal_1604]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x428484
mov dword [ebp - 0x14], 1
mov ecx, dword [ebp - 0x14]
shl ecx, 1
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x18], eax
jmp 0x4284a6
mov edx, dword [ebp - 0x14]
shl edx, 1
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x10]
call dword [sym.imp.DENKIPM.dll_Ordinal_1604]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
je 0x4284c1
mov eax, dword [ebp - 0x1c]
and eax, 0x10
jne 0x4284c5
mov byte [ebp - 1], 1
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x4285aa
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x14]
lea edx, [ecx + eax + 0x100]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.DENKIPM.dll_Ordinal_1075]
push str.12.0
lea ecx, [ebp - 0x2c]
call dword [sym.imp.DENKIPM.dll_Ordinal_1077]
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x10]
call dword [sym.imp.DENKIPM.dll_Ordinal_1244]
movzx edx, al
test edx, edx
je 0x428543
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.DENKIPM.dll_Ordinal_1086]
movzx edx, al
test edx, edx
je 0x428543
mov dword [ebp - 0x90], 1
jmp 0x42854d
mov dword [ebp - 0x90], 0
mov al, byte [ebp - 0x90]
mov byte [ebp - 0x21], al
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x18]
push edx
movzx eax, byte [ebp - 0x21]
neg eax
sbb eax, eax
add eax, 0x429
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.00428a30
add esp, 0x14
push 0x10
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.DENKIPM.dll_Ordinal_1078]
lea ecx, [ebp - 0x28]
call dword [sym.imp.DENKIPM.dll_Ordinal_1078]
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
movzx ecx, byte [ebp - 1]
test ecx, ecx
jne 0x4286ad
mov dword [ebp - 0x3c], 0
lea edx, [ebp - 0x34]
push edx
mov ecx, dword [ebp + 0xc]
call dword [sym.imp.DENKIPM.dll_Ordinal_1712]
movzx eax, al
test eax, eax
jne 0x428618
push 0
push 0
lea ecx, [ebp - 0x3c]
push ecx
push 0
mov edx, dword [ebp - 0xc]
push edx
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jne 0x428612
push 2
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 0x80
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
shl edx, 1
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x38], eax
push 0x42b7a8
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0x42a
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x38]
push eax
call fcn.00428a30
add esp, 0x18
push 0x10
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [0x430138]
push ecx
lea ecx, [ebp - 0x88]
call fcn.00407500
lea ecx, [ebp - 0x88]
call fcn.00407080
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x3c], 0
je 0x4286a2
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [ebp - 0x88]
call fcn.00407590
mov al, 1
mov esp, ebp
pop ebp
ret