Function at 0x1006f250
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100a7008]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.10052f70
add eax, 0x50
mov dword [ebp - 0x14], eax
push 0xc
push 0
lea eax, [ebp - 0x10]
push eax
call fcn.100048f0
add esp, 0xc
call fcn.10052f70
add eax, 0x34c
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x10]
mov dword [ecx], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
mov dword [eax], edx
mov ecx, dword [ebp + 8]
add ecx, 0x80
mov edx, dword [ebp - 0x14]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 0
je 0x1006f2e5
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 4]
movzx eax, word [edx]
test eax, eax
je 0x1006f2e5
mov ecx, dword [ebp - 0x14]
add ecx, 4
push ecx
mov edx, dword [0x1009f604]
sub edx, 1
push edx
push 0x1009f4f0
call fcn.1006f1d0
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
mov ecx, dword [ebp - 0x14]
cmp dword [ecx], 0
je 0x1006f396
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
movzx ecx, word [eax]
test ecx, ecx
je 0x1006f396
mov edx, dword [ebp - 0x14]
cmp dword [edx + 4], 0
je 0x1006f32e
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
movzx edx, word [ecx]
test edx, edx
je 0x1006f32e
mov eax, dword [ebp - 0x18]
push eax
call fcn.1006e740
add esp, 4
jmp 0x1006f33a
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.1006e820
add esp, 4
mov edx, dword [ebp - 0x18]
cmp dword [edx], 0
jne 0x1006f394
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [0x1009f4ec]
sub ecx, 1
push ecx
push 0x1009f1e0
call fcn.1006f1d0
add esp, 0xc
movzx edx, al
test edx, edx
je 0x1006f394
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 0
je 0x1006f388
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 4]
movzx eax, word [edx]
test eax, eax
je 0x1006f388
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.1006e740
add esp, 4
jmp 0x1006f394
mov edx, dword [ebp - 0x18]
push edx
call fcn.1006e820
add esp, 4
jmp 0x1006f3c6
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 0
je 0x1006f3ba
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 4]
movzx eax, word [edx]
test eax, eax
je 0x1006f3ba
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.1006e690
add esp, 4
jmp 0x1006f3c6
mov edx, dword [ebp - 0x18]
push edx
call fcn.1006e700
add esp, 4
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jne 0x1006f3d5
xor eax, eax
jmp 0x1006f4ec
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x28], ecx
cmp dword [ebp + 8], 0
je 0x1006f3ef
mov edx, dword [ebp + 8]
add edx, 0x100
mov dword [ebp - 0x24], edx
jmp 0x1006f3f6
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.1006f040
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x1006f41e
movzx edx, word [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
jne 0x1006f425
xor eax, eax
jmp 0x1006f4ec
push 1
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
jne 0x1006f43f
xor eax, eax
jmp 0x1006f4ec
cmp dword [ebp + 0xc], 0
je 0x1006f44d
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1c]
mov dword [edx], eax
push 0
push 0x55
mov ecx, dword [ebp - 0x14]
add ecx, 0x250
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
push eax
call fcn.1005bc10
cmp dword [ebp + 0x10], 0
je 0x1006f4e7
push 0
push 0x55
mov ecx, dword [ebp + 0x10]
add ecx, 0x120
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
push eax
call fcn.1005bc10
push 0x40
mov ecx, dword [ebp + 0x10]
push ecx
push 0x1001
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1006f4a7
xor eax, eax
jmp 0x1006f4ec
push 0x40
mov ecx, dword [ebp + 0x10]
add ecx, 0x80
push ecx
push 0x1002
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1006f4cd
xor eax, eax
jmp 0x1006f4ec
push 0xa
push 0x10
mov ecx, dword [ebp + 0x10]
add ecx, 0x100
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.10074dc0
add esp, 0x10
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10003840
mov esp, ebp
pop ebp
ret