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

Disassembly:
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [0x478210]
push 2
call fcn.00405767
push 0x30
xor ebx, ebx
pop ecx
test eax, eax
je 0x404aed
call eax
movzx eax, ax
push eax
push 0x4d9000
call fcn.004054c9
jmp 0x404b46
push 0x78
pop eax
push ebx
mov esi, 0x43ed58
mov word [0x4d9002], ax
push esi
push ebx
push str.Control_PanelDesktopResourceLocale
xor eax, eax
mov word [0x4d9000], cx
push 0x80000001
mov word [0x4d9004], ax
call fcn.004057f8
cmp word [0x43ed58], bx
jne 0x404b3b
push ebx
push esi
push 0x40765c
push str..DEFAULTControl_PanelInternational
push 0x80000003
call fcn.004057f8
push esi
push 0x4d9000
call sub.KERNEL32.dll_lstrcatW
push ebp
call fcn.00404a00
mov eax, dword [0x47820c]
mov ebp, 0x4cd000
and eax, 0x20
mov dword [0x4782dc], 0x10000
push ebp
mov dword [0x4782c0], eax
call fcn.004054e2
test eax, eax
jne 0x404c08
mov edx, dword [edi + 0x48]
test edx, edx
je 0x404c08
mov ecx, dword [0x478238]
mov esi, 0x4681a0
mov eax, dword [edi + 0x4c]
push ebx
push esi
lea eax, [ecx + eax*2]
push eax
lea eax, [ecx + edx*2]
push eax
push dword [edi + 0x44]
call fcn.004057f8
mov ax, word [0x4681a0]
test ax, ax
je 0x404c08
push 0x22
pop ecx
cmp ax, cx
jne 0x404bc5
push ecx
mov esi, 0x4681a2
push esi
call fcn.004054a0
xor ecx, ecx
mov word [eax], cx
push esi
call sub.KERNEL32.dll_lstrlenW
add eax, 0xfffffffc
lea eax, [esi + eax*2]
cmp eax, esi
jbe 0x404bfb
push str..exe
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x404bfb
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x404bf5
test al, 0x10
jne 0x404bfb
push esi
call fcn.00405b2a
push esi
call fcn.00405400
push eax
push ebp
call fcn.0040599b
push ebp
call fcn.004054e2
test eax, eax
jne 0x404c1e
push dword [edi + 0x8c]
push ebp
call fcn.00404ef3
push reloc.USER32.dll_GetDlgItem
push ebx
push ebx
push 1
push 0x67
push dword [0x4701f4]
call dword [sym.imp.USER32.dll_LoadImageW]
mov ecx, eax
mov dword [0x4701d8], ecx
cmp dword [edi + 0x50], 0xffffffff
pop ebp
je 0x404ccd
mov eax, dword [0x4701f4]
mov esi, 0x4076c8
push 0x4701a0
mov dword [0x4701a4], 0x401000
mov dword [0x4701b0], eax
mov dword [0x4701b4], ecx
mov dword [0x4701c4], esi
call dword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
jne 0x404c84
xor eax, eax
jmp 0x404d41
push ebx
lea eax, [esp + 0x10]
push eax
push ebx
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
push ebx
push dword [0x4701f4]
push ebx
push ebx
push eax
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
push eax
push dword [esp + 0x28]
push dword [esp + 0x28]
push 0x80000000
push ebx
push esi
push 0x80
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x44ed60], eax
push ebx
call fcn.0040133a
test eax, eax
jne 0x404d3e
call fcn.00404a00
cmp dword [0x4782e0], ebx
jne 0x404d25
push 5
push dword [0x44ed60]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4701d4]
push ebx
push 0x4041ff
add eax, 0x69
push ebx
movzx eax, ax
push eax
push dword [0x4701f4]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
push 5
mov esi, eax
call fcn.0040133a
push 1
call fcn.00403948
mov eax, esi
jmp 0x404d41
push ebx
call fcn.00404973
test eax, eax
je 0x404d48
cmp dword [0x4701ec], ebx
jne 0x404d3e
push 2
call fcn.0040133a
push 2
pop eax
pop edi
pop esi
pop ebx
add esp, 0x10
ret
push 1
call fcn.0040133a
jmp 0x404c7d