Function at 0x486cc0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x552fd0
mov eax, dword fs:[0]
push eax
sub esp, 0x98
push ebx
push esi
push edi
mov eax, dword [0x6fb4c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], 0x6f8de4
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 0x486d42
lea eax, [edx + edx]
push eax
call fcn.0052a232
add esp, 4
mov dword [ebp - 0x9c], eax
test eax, eax
jne 0x486d34
call fcn.00425c40
mov eax, dword [ebp - 0x9c]
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], edx
jmp 0x486d58
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 0x486e79
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x50
jne 0x486dd0
test eax, eax
jne 0x486dd0
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.00481540
mov eax, dword [ebp - 0x9c]
lea ecx, [ebp - 0x94]
cmp eax, ecx
je 0x486daa
push eax
call fcn.0052a217
add esp, 4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
test eax, eax
je 0x486f12
cmp eax, 0xffffffff
je 0x486f21
mov eax, dword [ebp - 0x10]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
jmp 0x486f0b
cmp eax, 0x7a
je 0x486df5
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 0x486d91
push 0
push 0
push esi
push dword [ebx]
call edi
mov edx, eax
test edx, edx
je 0x486e35
cmp edx, dword [ebp - 0xa4]
mov ecx, edx
cmovl ecx, dword [ebp - 0xa4]
push ecx
push edx
lea ecx, [ebp - 0xa4]
call fcn.00455070
push dword [ebp - 0xa0]
push dword [ebp - 0x9c]
push esi
push dword [ebx]
call edi
test eax, eax
jne 0x486e79
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 0x486e6c
push eax
call fcn.0052a217
add esp, 4
lea ecx, [ebp - 0x10]
call fcn.00401a70
jmp 0x486f21
mov eax, dword [ebp - 0x9c]
cmp esi, 0x50
jne 0x486e8e
cmp word [eax], 0
je 0x486d83
push 0xffffffffffffffff
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.00420d90
add esp, 0xc
mov esi, dword [ebp + 8]
mov ecx, esi
push eax
mov byte [ebp - 4], 2
call fcn.00481540
mov eax, dword [ebp + 0x10]
or edi, 0xffffffff
mov eax, dword [eax]
test eax, eax
je 0x486ecd
cmp eax, edi
je 0x486edc
mov eax, dword [ebp + 0x10]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x486edc
push 4
push 2
push dword [ebp + 0x10]
call fcn.00403690
add esp, 0xc
mov eax, dword [ebp - 0x9c]
lea ecx, [ebp - 0x94]
cmp eax, ecx
je 0x486ef5
push eax
call fcn.0052a217
add esp, 4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
test eax, eax
je 0x486f12
cmp eax, 0xffffffff
je 0x486f21
mov eax, dword [ebp - 0x10]
lock xadd dword [eax], edi
dec edi
setne al
test al, al
jne 0x486f21
push 4
push 2
push dword [ebp - 0x10]
call fcn.00403690
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