Function at 0x10016504
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005bdcc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x74
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x100166ab
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x1001659e
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x1001657c
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 1
jge 0x10016599
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x44]
call fcn.10001510
mov dword [eax], 0xc23782e
jmp 0x10016571
jmp 0x100166a9
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x100166a9
mov dword [ebp - 0x2c], 0x7ffe
mov dword [ebp - 0x4c], str.xfwginw_uyajgp_vcgcqib_gswh_xfsnm_fefkhtf_dskn_fhip
cmp dword [ebp - 0x2c], 0x8274
jle 0x10016665
push 0xcff
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
and dword [ebp - 0x28], 0
jmp 0x100165e7
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x7c3b
jge 0x10016665
and dword [ebp - 0x20], 0
jmp 0x100165fd
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x57e9
jge 0x10016660
and dword [ebp - 0x24], 0
jmp 0x10016613
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x745b
jge 0x1001665e
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
xor eax, dword [ebp - 0x28]
cdq
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], edx
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x84]
call fcn.10002a51
pop ecx
pop ecx
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
call fcn.1000b0ad
push eax
call fcn.1004498a
pop ecx
lea ecx, [ebp - 0x84]
call fcn.100013f2
jmp 0x1001660c
jmp 0x100165f6
jmp 0x100165e0
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
and dword [ebp - 4], 0
cmp dword [ebp - 0x2c], 0x7d2f
jge 0x10016683
push dword [ebp - 0x4c]
call fcn.1004498a
pop ecx
jmp 0x1001669f
or dword [ebp - 4], 0xffffffff
jmp 0x100166a9
jmp 0x1001671c
lea eax, [ebp + 0x20]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x10016714
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
jmp 0x100166f5
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 2
jge 0x10016712
mov eax, dword [ebp - 0x1c]
push dword [eax]
mov ecx, dword [ebp - 0x64]
call fcn.10001510
mov dword [eax], 0xd3df
jmp 0x100166ea
jmp 0x1001671c
push 0
call dword [sym.imp.KERNEL32.dll_ExitThread]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret