Function at 0x10008c60
Capabilities:
Get geographical location
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1002c9ce
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x10ac
call fcn.10029a60
mov eax, dword [0x10048070]
xor eax, esp
mov dword [esp + 0x10a8], eax
push ebx
push esi
push edi
mov eax, dword [0x10048070]
xor eax, esp
push eax
lea eax, [esp + 0x10c0]
mov dword fs:[0], eax
mov dword [esp + 0x18], ecx
lea eax, [esp + 0x94]
push eax
call dword [sym.imp.iImportLib.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_elex::filepath::getProgramRunDir_void_]
add esp, 4
push 0xb
push str.cfgccc.dat
lea ecx, [esp + 0x9c]
mov dword [esp + 0x10d0], 0
call fcn.10003930
cmp dword [esp + 0xa8], 8
push 0
push 0x80
push 3
push 0
push 1
lea eax, [esp + 0xa8]
cmovae eax, dword [esp + 0xa8]
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10008d20
xor al, al
mov byte [esp + 0x17], al
jmp 0x1000915a
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], 0
mov byte [esp + 0x64], 0
mov byte [esp + 0x10c8], 1
lea ecx, [ecx]
push 0x1000
lea eax, [esp + 0xb1]
push 0
push eax
mov dword [esp + 0x34], 0
mov byte [esp + 0xb8], 0
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [esp + 0x28]
push 0
push eax
push 0x1000
lea eax, [esp + 0xb8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0x28]
mov esi, eax
test ecx, ecx
je 0x10008dc3
cmp byte [esp + 0xac], 0
jne 0x10008d9a
xor ecx, ecx
jmp 0x10008dad
lea ecx, [esp + 0xac]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10008da4
sub ecx, edx
push ecx
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0x6c]
call fcn.1000e890
mov ecx, dword [esp + 0x28]
test esi, esi
je 0x10008dcf
test ecx, ecx
jne 0x10008d40
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.iImportLib.dll_public:_static_class_elex::Value____cdecl_JSON::JSONReader::Read_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
mov byte [esp + 0x10c8], 2
test esi, esi
je 0x10009117
cmp dword [esi + 4], 6
jne 0x10009117
push str.country_list
lea ecx, [esp + 0x80]
mov dword [esp + 0x28], 0
call fcn.10001780
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x80]
push eax
mov ecx, esi
mov byte [esp + 0x10d0], 3
call dword [sym.imp.iImportLib.dll_public:_bool___thiscall_elex::DictionaryValue::GetDictionary_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_elex::DictionaryValue___]
lea ecx, [esp + 0x7c]
call fcn.10001f40
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10009117
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], 0
mov byte [esp + 0x4c], 0
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x10cc], 4
call dword [sym.imp.iImportLib.dll_public:_void___thiscall_elex::DictionaryValue::Iterator::constructor_class_elex::DictionaryValue_const__]
lea ecx, [esp + 0x44]
call dword [sym.imp.iImportLib.dll_public:_bool___thiscall_elex::DictionaryValue::Iterator::IsAtEnd_void_const]
test al, al
jne 0x100090eb
lea esp, [esp]
lea ecx, [esp + 0x44]
call dword [sym.imp.iImportLib.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____thiscall_elex::DictionaryValue::Iterator::key_void_const]
mov edx, eax
lea ecx, [esp + 0x7c]
call fcn.10021090
push 0
push 0x10048e90
push 0x10048e74
mov byte [esp + 0x10d4], 5
push 0
lea ecx, [esp + 0x54]
mov dword [esp + 0x38], 0
call dword [sym.imp.iImportLib.dll_public:_class_elex::Value_const____thiscall_elex::DictionaryValue::Iterator::value_void_const]
push eax
call sub.MSVCR110.dll___RTDynamicCast
mov esi, eax
add esp, 0x14
test esi, esi
je 0x10008f60
push str.city_list
lea ecx, [esp + 0x30]
call fcn.10001780
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x30]
push eax
mov ecx, esi
mov byte [esp + 0x10d0], 6
call dword [sym.imp.iImportLib.dll_public:_bool___thiscall_elex::DictionaryValue::GetList_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_elex::ListValue_const___const]
mov byte [esp + 0x10c8], 5
cmp dword [esp + 0x40], 0x10
jb 0x10008f20
push dword [esp + 0x2c]
call ebx
add esp, 4
push str.country_fullname
lea ecx, [esp + 0x30]
call fcn.10001780
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x30]
push eax
mov ecx, esi
mov byte [esp + 0x10d0], 7
call dword [sym.imp.iImportLib.dll_public:_bool___thiscall_elex::DictionaryValue::GetString_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____const]
mov byte [esp + 0x10c8], 5
cmp dword [esp + 0x40], 0x10
jb 0x10008f60
push dword [esp + 0x2c]
call ebx
add esp, 4
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x2c]
call fcn.10021090
mov edi, eax
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x7c]
push eax
lea ecx, [ecx + 0x20]
mov byte [esp + 0x10cc], 8
call fcn.1000daa0
mov esi, eax
cmp esi, edi
je 0x10008fb6
cmp dword [esi + 0x14], 8
jb 0x10008f9b
push dword [esi]
call ebx
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
push edi
mov ecx, esi
mov word [esi], ax
call fcn.10003aa0
mov byte [esp + 0x10c8], 5
cmp dword [esp + 0x40], 8
jb 0x10008fce
push dword [esp + 0x2c]
call ebx
add esp, 4
cmp dword [esp + 0x28], 0
je 0x100090b0
push 0xc
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
mov edi, eax
add esp, 4
test edi, edi
je 0x10009000
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
jmp 0x10009002
xor edi, edi
mov ecx, dword [esp + 0x28]
xor esi, esi
call dword [sym.imp.iImportLib.dll_public:_unsigned_int___thiscall_elex::ListValue::GetSize_void_const]
test eax, eax
je 0x1000909d
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x20]
push eax
push esi
mov dword [esp + 0x28], 0
call dword [sym.imp.iImportLib.dll_public:_bool___thiscall_elex::ListValue::Get_unsigned_int__class_elex::Value_const___const]
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x1000908a
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
mov byte [esp + 0x10c8], 9
mov eax, dword [ecx]
lea edx, [esp + 0x2c]
push edx
call dword [eax + 0x10]
cmp dword [esp + 0x3c], 0
je 0x10009072
lea eax, [esp + 0x2c]
push eax
mov ecx, edi
call fcn.10012730
mov byte [esp + 0x10c8], 5
cmp dword [esp + 0x40], 8
jb 0x1000908a
push dword [esp + 0x2c]
call ebx
add esp, 4
mov ecx, dword [esp + 0x28]
inc esi
call dword [sym.imp.iImportLib.dll_public:_unsigned_int___thiscall_elex::ListValue::GetSize_void_const]
cmp esi, eax
jb 0x10009016
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x7c]
push eax
lea ecx, [ecx + 0x18]
call fcn.1000e040
mov dword [eax], edi
lea ecx, [esp + 0x44]
call dword [sym.imp.iImportLib.dll_public:_void___thiscall_elex::DictionaryValue::Iterator::Advance_void_]
mov byte [esp + 0x10c8], 4
cmp dword [esp + 0x90], 8
jb 0x100090d5
push dword [esp + 0x7c]
call ebx
add esp, 4
lea ecx, [esp + 0x44]
call dword [sym.imp.iImportLib.dll_public:_bool___thiscall_elex::DictionaryValue::Iterator::IsAtEnd_void_const]
test al, al
je 0x10008e90
mov esi, dword [esp + 0x1c]
cmp dword [esp + 0x60], 0x10
mov byte [esp + 0x17], 1
jb 0x10009100
push dword [esp + 0x4c]
call ebx
add esp, 4
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], 0
mov byte [esp + 0x4c], 0
jmp 0x1000911d
xor al, al
mov byte [esp + 0x17], al
mov byte [esp + 0x10c8], 1
test esi, esi
je 0x10009131
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
cmp dword [esp + 0x78], 0x10
jb 0x10009141
push dword [esp + 0x64]
call ebx
add esp, 4
mov al, byte [esp + 0x17]
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], 0
mov byte [esp + 0x64], 0
cmp dword [esp + 0xa8], 8
jb 0x10009174
push dword [esp + 0x94]
call ebx
mov al, byte [esp + 0x1b]
add esp, 4
mov ecx, dword [esp + 0x10c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10a8]
xor ecx, esp
call fcn.10029016
mov esp, ebp
pop ebp
ret