Function at 0x10010ebf
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xec
push esi
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x100110be
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x48]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 0x50]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x5c]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x50], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x78]
movzx eax, byte [eax]
test eax, eax
je 0x10010f46
push 0xb67
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
jmp 0x100110b9
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x30]
push dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.1002d7f4
mov esi, eax
mov eax, dword [ebp - 0x98]
push dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.1002d7f4
mov ecx, dword [esi]
cmp ecx, dword [eax]
jne 0x10011028
mov dword [ebp - 0x1c], 1
jmp 0x1001102c
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x30]
push dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.1002d7f4
cmp dword [eax], 0xffff
jne 0x10011052
mov dword [ebp - 0x28], 1
jmp 0x10011056
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
cmp dword [ebp - 0x28], eax
jle 0x10011069
mov dword [ebp - 0x38], 1
jmp 0x1001106d
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
add eax, dword [ebp - 0x38]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
cmp dword [ebp - 0x54], 0x4cb8
jge 0x10011095
mov dword [ebp - 0x5c], 1
jmp 0x10011099
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x7c]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x10011258
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x54]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0x84], 0x268c
cmp dword [ebp - 0x84], 0xa22
jge 0x100111f7
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x8c]
push eax
push 0x10008154
call fcn.1005b040
add esp, 0x14
mov byte [ebp - 1], 0
mov byte [ebp - 2], 0
mov byte [ebp - 9], 0
mov byte [ebp - 3], 1
and dword [ebp - 0x18], 0
jmp 0x10011154
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x2c]
jge 0x1001119c
lea eax, [ebp - 8]
push eax
push 0x100080f0
call fcn.1005b040
pop ecx
pop ecx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x20]
jne 0x10011178
mov byte [ebp - 1], 1
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x24]
jne 0x10011184
mov byte [ebp - 2], 1
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x20]
jl 0x10011194
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x24]
jle 0x1001119a
mov byte [ebp - 3], 0
jmp 0x1001119c
jmp 0x1001114d
movzx eax, byte [ebp - 3]
test eax, eax
je 0x100111df
movzx eax, byte [ebp - 1]
test eax, eax
jne 0x100111b5
mov dword [ebp - 0x34], 1
jmp 0x100111b9
and dword [ebp - 0x34], 0
movzx eax, byte [ebp - 2]
test eax, eax
jne 0x100111ca
mov dword [ebp - 0x3c], 1
jmp 0x100111ce
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x8c]
jle 0x100111ec
push 0x10008164
call fcn.1005b826
pop ecx
jmp 0x100111f7
push 0x10008170
call fcn.1005b826
pop ecx
mov eax, dword [ebp + 0x4c]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x58]
mov dword [ebp - 0x94], eax
push dword [ebp - 0x94]
push dword [ebp - 0x9c]
push 0
push dword [ebp - 0xa4]
push dword [ebp - 0xac]
push dword [ebp - 0xb4]
push dword [ebp - 0xbc]
push dword [ebp - 0xc4]
push dword [ebp - 0xcc]
push dword [ebp - 0xd4]
push dword [ebp - 0xdc]
call fcn.10010e5d
add esp, 0x2c
pop esi
mov esp, ebp
pop ebp
ret