Function at 0x1000c8a0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005fa74
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf0
push ebx
push esi
mov dword [ebp - 0x44], 0
mov esi, dword [0x10085778]
push edi
mov edi, ecx
mov dword [ebp - 0xf8], 0x10074604
mov dword [ebp - 0x48], edi
mov dword [ebp - 0xe8], 0x10074564
mov dword [ebp - 0x90], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
push ecx
lea eax, [ebp - 0xe0]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0x44], 2
call fcn.1001cd70
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf8], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xf8]
mov ecx, dword [eax + 4]
push ecx
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xfc], eax
lea ecx, [ebp - 0xe0]
call fcn.1001cca0
push esi
lea ecx, [ebp - 0xe8]
mov dword [ebp - 4], 2
call fcn.10019c20
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xf8]
call fcn.10019520
mov byte [ebp - 4], 3
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x1000c97e
lea eax, [ebp - 0x28]
mov ebx, dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
push 0
push 0
push 0
push eax
push 0
push 0x800
call ebx
push 0x100624d0
push eax
mov dword [ebp - 0x10], eax
call fcn.100226e6
mov esi, eax
add esp, 8
test esi, esi
jne 0x1000c9f4
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.10006860
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1000c9cb
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10006e40
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10019540
mov dword [ebp - 4], 4
jmp 0x1000cbb2
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x1000ca00
lea eax, [ebp - 0x28]
push dword [ebp - 0x10]
push esi
push 0
push eax
push 0
push 0x800
call ebx
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
cmp byte [esi], 0
jne 0x1000ca2b
xor ecx, ecx
jmp 0x1000ca39
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000ca30
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.10006a40
push esi
mov byte [ebp - 4], 5
call fcn.10022497
mov ebx, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
add esp, 4
push 0
push 0
push 0xe
push 0x800
call ebx
push 0x100624d0
push eax
mov dword [ebp - 0x10], eax
call fcn.100226e6
mov esi, eax
add esp, 8
test esi, esi
jne 0x1000caea
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.10006860
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x1000ca9a
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.10006e40
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
cmp eax, 0x10
jb 0x1000cac1
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10006e40
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10019540
mov dword [ebp - 4], 6
jmp 0x1000cbb2
push dword [ebp - 0x10]
push esi
push 0xe
push 0x800
call ebx
cmp byte [esi], 0
jne 0x1000cb00
xor ecx, ecx
jmp 0x1000cb0e
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000cb05
sub ecx, edx
push ecx
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.1001c150
push esi
mov ebx, eax
call fcn.10022497
add esp, 4
cmp ebx, 0xffffffff
je 0x1000cb32
push ebx
lea ecx, [ebp - 0x40]
call fcn.10006fb0
cmp dword [ebp - 0x30], 0
jne 0x1000cb47
push 1
push 0x10071ccc
lea ecx, [ebp - 0x40]
call fcn.10006a40
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.10006860
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x1000cb67
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.10006e40
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
cmp eax, 0x10
jb 0x1000cb8e
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10006e40
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10019540
mov dword [ebp - 4], 7
lea eax, [ebp - 0x90]
mov dword [ebp - 0x90], vtable.std::ios_base.0
push eax
call fcn.10025ac2
mov ecx, dword [ebp - 0xc]
add esp, 4
mov eax, edi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret