Function at 0x10028d50
Capabilities:
Check if file exists
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa30
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov edi, dword [ebp + 0xc]
push 0x206
push eax
mov word [ebp - 0x824], ax
lea eax, [ebp - 0x822]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov ecx, str._s_s_s_s_s
cmp dword [ebp + 0x14], 0
mov eax, str._s_s_s__s_s
cmove eax, ecx
mov dword [ebp - 0xa30], eax
lea eax, [ebp - 0x824]
push 0x104
push eax
push esi
call sym.HncFoundation.dll_HncPathToAbsolute
xor eax, eax
push 0x100
mov word [ebp - 0xc], ax
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
lea eax, [ebp - 0x214]
push eax
push 0x104
lea eax, [ebp - 0x41c]
push eax
push 0x100
lea eax, [ebp - 0x61c]
push eax
push 3
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.MSVCR120.dll__wsplitpath_s]
mov eax, dword [0x100f9874]
add esp, 0x24
cmp eax, 0xffffffff
jne 0x10028e28
mov edx, 0x104
lea ecx, [ebp - 0xa2c]
call fcn.10048750
lea eax, [ebp - 0xa2c]
push eax
call sym.HncFoundation.dll_public:_static_unsigned_long_int___cdecl_Hnc::Framework::ToLCID_unsigned_short_int_const__
add esp, 4
mov dword [0x100f9874], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea ecx, [ebp - 0xc]
push 4
push ecx
push 3
movzx eax, ax
push eax
call esi
mov ebx, dword [ebp + 0x18]
test ebx, ebx
je 0x10028e6d
lea eax, [ebp - 0xc]
push 0x100c0c94
push eax
call dword [sym.imp.MSVCR120.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x10028e6d
push 0x100c0c8c
lea eax, [ebp - 0xc]
push 4
push eax
call dword [sym.imp.MSVCR120.dll_wcscpy_s]
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0xa30]
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10029015
push 4
lea eax, [ebp - 0xc]
push eax
push 3
push 0x409
call esi
test ebx, ebx
je 0x10028ee6
lea eax, [ebp - 0xc]
push 0x100c0c94
push eax
call dword [sym.imp.MSVCR120.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x10028ee6
push 0x100c0c8c
lea eax, [ebp - 0xc]
push 4
push eax
call dword [sym.imp.MSVCR120.dll_wcscpy_s]
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0xa30]
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10029015
push 4
lea eax, [ebp - 0xc]
push eax
push 3
push 0x400
call esi
test ebx, ebx
je 0x10028f5f
lea eax, [ebp - 0xc]
push 0x100c0c94
push eax
call dword [sym.imp.MSVCR120.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x10028f5f
push 0x100c0c8c
lea eax, [ebp - 0xc]
push 4
push eax
call dword [sym.imp.MSVCR120.dll_wcscpy_s]
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0xa30]
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10029015
cmp dword [ebp + 0x14], eax
je 0x10028fc6
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x100c0cd8
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
jmp 0x1002900e
push 4
lea eax, [ebp - 0xc]
push eax
push 3
push 0x412
call esi
test ebx, ebx
je 0x10028fe1
lea ecx, [ebp - 0xc]
call fcn.10028d20
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0xa30]
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100944ae
mov esp, ebp
pop ebp
ret 0x14