Function at 0x1028c56
Capabilities:
Check if file exists
Get file attributes
Identify system language via api

Disassembly:
mov eax, 0x107f29d
call fcn.01068a88
sub esp, 0x12c
mov eax, dword [0x1097470]
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], eax
xor esi, esi
mov dword [ebp - 0xdc], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0xe0], edi
mov dword [ebp - 0xe8], edi
mov dword [ebp - 0xf0], edi
mov dword [ebp - 0xec], edi
push 0x1004d00
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 4
call fcn.01012a13
lea eax, [ebp - 0x104]
push eax
push 4
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 5
call fcn.010732b1
push 1
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 7
call fcn.0101260e
lea eax, [ebp - 0x114]
push eax
call fcn.01045e5f
mov ecx, eax
call fcn.01046598
cmp dword [ebp - 0x10c], edi
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
jne 0x1028cfe
mov esi, 0x80070057
jmp 0x1028fc9
mov eax, dword [ebp - 0x110]
cmp eax, edi
jne 0x1028d0d
mov eax, 0x1001d48
push eax
lea ecx, [ebp - 0xdc]
call fcn.01018b29
cmp dword [ebp - 0xdc], edi
jne 0x1028d25
xor eax, eax
jmp 0x1028d31
push dword [ebp - 0xdc]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov ecx, dword [ebp - 0xdc]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x1028d64
push 0x1001688
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push eax
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0xe4], eax
call fcn.010136b2
push dword [ebp - 0xe4]
call ebx
push 0x1004cc0
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push eax
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0xe4], eax
call fcn.010136b2
push dword [ebp - 0xe4]
call ebx
push dword [ebp - 0xdc]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1028fc9
lea eax, [ebp - 0xe0]
push eax
push 0x10048e8
push 1
push edi
push 0x1010118
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, edi
jne 0x1028fc9
cmp dword [ebp - 0xe0], edi
je 0x1028fc9
push dword [ebp - 0xdc]
lea ecx, [ebp - 0x104]
call fcn.01027507
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ecx]
lea esi, [ebp - 0xf4]
push esi
sub esp, 0x10
mov edi, esp
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ecx
mov byte [ebp - 4], 9
movsd dword es:[edi], dword [esi]
call dword [edx + 0xe8]
mov esi, eax
lea eax, [ebp - 0x104]
push eax
mov byte [ebp - 4], 8
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test esi, esi
jl 0x1028fc7
cmp word [ebp - 0xf4], 0
je 0x1028fc7
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax]
lea edx, [ebp - 0xe8]
push edx
push eax
call dword [ecx + 0xb4]
mov esi, eax
test esi, esi
jl 0x1028fc7
cmp dword [ebp - 0xe8], 0
je 0x1028fc7
push 0x1004c8c
lea ecx, [ebp - 0x124]
call fcn.010277f0
mov esi, eax
lea edi, [ebp - 0x104]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x1004c78
lea ecx, [ebp - 0xe4]
movsd dword es:[edi], dword [esi]
call fcn.010271bf
mov eax, dword [eax]
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ecx]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x104]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
push ecx
mov byte [ebp - 4], 0xb
movsd dword es:[edi], dword [esi]
call dword [edx + 0x140]
push dword [ebp - 0xe4]
mov esi, eax
call ebx
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test esi, esi
jl 0x1028fc7
push 0x1004c28
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax]
lea edx, [ebp - 0xf0]
push edx
push dword [ebp - 0xe4]
mov byte [ebp - 4], 0xc
push eax
call dword [ecx + 0x94]
push dword [ebp - 0xe4]
mov esi, eax
mov byte [ebp - 4], 8
call ebx
test esi, esi
jl 0x1028fc7
cmp dword [ebp - 0xf0], 0
je 0x1028fc7
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
call esi
mov di, ax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
cmp ax, di
jne 0x1028f3b
push 0x1004c20
jmp 0x1028f5c
call esi
movzx eax, ax
push eax
lea eax, [ebp - 0xd8]
push 0x1004c10
push eax
call fcn.01068e87
add esp, 0xc
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0xec]
call fcn.01018b29
push dword [ebp - 0xec]
push 0x1004c00
push dword [ebp - 0xf0]
push dword [ebp - 0xe0]
call fcn.01026ff2
mov esi, eax
test esi, esi
jl 0x1028fc7
push dword [ebp - 0xdc]
lea ecx, [ebp - 0x124]
call fcn.01027507
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ecx]
sub esp, 0x10
mov edi, esp
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ecx
mov byte [ebp - 4], 0xd
movsd dword es:[edi], dword [esi]
call dword [edx + 0x108]
mov esi, eax
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
xor edi, edi
push 1
lea ecx, [ebp - 0x114]
call fcn.0101260e
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 4
call fcn.010733db
push dword [ebp - 0xec]
call ebx
mov eax, dword [ebp - 0xf0]
cmp eax, edi
mov byte [ebp - 4], 2
je 0x1029001
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xe8]
cmp eax, edi
mov byte [ebp - 4], 1
je 0x1029015
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xe0]
cmp eax, edi
mov byte [ebp - 4], 0
je 0x1029029
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0xdc]
call ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
mov eax, esi
call fcn.01067393
pop edi
pop esi
pop ebx
leave
ret