Function at 0x486ee0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x553140
mov eax, dword fs:[0]
push eax
sub esp, 0x98
push ebx
push esi
push edi
mov eax, dword [0x6f9540]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], 0x6f6e78
mov eax, dword [ebp + 0x10]
mov edx, 0x40
test eax, eax
mov dword [ebp - 4], 0
cmovne edx, eax
mov dword [ebp - 0xa0], edx
cmp edx, 0x40
jle 0x486f62
lea eax, [edx + edx]
push eax
call fcn.0052a452
add esp, 4
mov dword [ebp - 0x9c], eax
test eax, eax
jne 0x486f54
call fcn.00425c20
mov eax, dword [ebp - 0x9c]
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], edx
jmp 0x486f78
lea eax, [ebp - 0x94]
mov dword [ebp - 0xa4], 0x40
mov dword [ebp - 0x9c], eax
mov esi, dword [ebp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push edx
push eax
push esi
push dword [ebx]
mov byte [ebp - 4], 1
call edi
test eax, eax
jne 0x487099
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x50
jne 0x486ff0
test eax, eax
jne 0x486ff0
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.00481770
mov eax, dword [ebp - 0x9c]
lea ecx, [ebp - 0x94]
cmp eax, ecx
je 0x486fca
push eax
call fcn.0052a437
add esp, 4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
test eax, eax
je 0x487132
cmp eax, 0xffffffff
je 0x487141
mov eax, dword [ebp - 0x10]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
jmp 0x48712b
cmp eax, 0x7a
je 0x487015
mov esi, dword [ebp + 8]
mov eax, dword [esi + 8]
and eax, 0xc0000000
mov dword [esi], 0
and eax, 0xbfffffff
or eax, 0x80000000
mov dword [esi + 8], eax
jmp 0x486fb1
push 0
push 0
push esi
push dword [ebx]
call edi
mov edx, eax
test edx, edx
je 0x487055
cmp edx, dword [ebp - 0xa4]
mov ecx, edx
cmovl ecx, dword [ebp - 0xa4]
push ecx
push edx
lea ecx, [ebp - 0xa4]
call fcn.004552b0
push dword [ebp - 0xa0]
push dword [ebp - 0x9c]
push esi
push dword [ebx]
call edi
test eax, eax
jne 0x487099
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x94]
mov eax, dword [esi + 8]
and eax, 0xc0000000
and eax, 0xbfffffff
or eax, 0x80000000
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x9c]
mov dword [esi], 0
cmp eax, ecx
je 0x48708c
push eax
call fcn.0052a437
add esp, 4
lea ecx, [ebp - 0x10]
call fcn.00401a70
jmp 0x487141
mov eax, dword [ebp - 0x9c]
cmp esi, 0x50
jne 0x4870ae
cmp word [eax], 0
je 0x486fa3
push 0xffffffffffffffff
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.00420fa0
add esp, 0xc
mov esi, dword [ebp + 8]
mov ecx, esi
push eax
mov byte [ebp - 4], 2
call fcn.00481770
mov eax, dword [ebp + 0x10]
or edi, 0xffffffff
mov eax, dword [eax]
test eax, eax
je 0x4870ed
cmp eax, edi
je 0x4870fc
mov eax, dword [ebp + 0x10]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4870fc
push 4
push 2
push dword [ebp + 0x10]
call fcn.00403d20
add esp, 0xc
mov eax, dword [ebp - 0x9c]
lea ecx, [ebp - 0x94]
cmp eax, ecx
je 0x487115
push eax
call fcn.0052a437
add esp, 4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
test eax, eax
je 0x487132
cmp eax, 0xffffffff
je 0x487141
mov eax, dword [ebp - 0x10]
lock xadd dword [eax], edi
dec edi
setne al
test al, al
jne 0x487141
push 4
push 2
push dword [ebp - 0x10]
call fcn.00403d20
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc