Function at 0x489eb0
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x204]
sub esp, 0x204
push 0xffffffffffffffff
push 0x5536de
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x6f9540]
xor eax, ebp
mov dword [ebp + 0x200], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x20c]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], 1
mov dword [esi], 0x6e6190
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x14], 0x6e6190
push 0xff
lea eax, [ebp]
mov dword [ebp - 4], 1
push eax
push 1
push dword [ebp + 0x210]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
or edi, 0xffffffff
test eax, eax
je 0x489f7b
push edi
lea eax, [ebp]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00420fa0
mov ecx, dword [ebp - 0x14]
mov edx, eax
add esp, 0xc
mov eax, dword [edx]
mov dword [ebp - 0x14], eax
mov dword [edx], ecx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
test eax, eax
je 0x489f6c
cmp eax, edi
je 0x489f7b
mov eax, dword [ebp - 0x10]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x489f7b
push 4
push 2
push dword [ebp - 0x10]
call fcn.00403d20
add esp, 0xc
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 0
je 0x48a013
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040d000
mov dword [ebp - 0x20], 3
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 2
mov ecx, dword [eax + 0xc]
add ecx, eax
lea eax, [ebp - 0x15]
push eax
push 0x10
lea eax, [ebp - 0x24]
push eax
push ecx
call fcn.004396b0
add esp, 0x18
mov ecx, eax
cmp byte [ebp - 0x15], 0
je 0x489fe1
mov eax, dword [ebp - 0x24]
cmp byte [eax], 0
jne 0x489fe1
cmp ecx, 0x814
jne 0x489fe1
push 0x61f108
push 2
mov ecx, esi
call fcn.00405f50
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
mov eax, dword [eax]
test eax, eax
je 0x48a004
cmp eax, 0xffffffff
je 0x48a013
mov eax, dword [ebp - 0x10]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x48a013
push 4
push 1
push dword [ebp - 0x10]
call fcn.00403d20
add esp, 0xc
mov eax, dword [esi]
cmp dword [eax + 4], 0
je 0x48a049
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
test eax, eax
je 0x48a0c9
cmp eax, 0xffffffff
je 0x48a0d8
mov ecx, dword [ebp - 0x14]
lock xadd dword [ecx], edi
dec edi
setne cl
test cl, cl
je 0x48a0c9
jmp 0x48a0d8
push 0xff
lea eax, [ebp]
push eax
push 0x59
push dword [ebp + 0x210]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x48a0ac
push 0xffffffffffffffff
lea eax, [ebp]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00420fa0
mov edx, dword [esi]
add esp, 0xc
mov ecx, dword [eax]
mov dword [esi], ecx
mov dword [eax], edx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
test eax, eax
je 0x48a09d
cmp eax, 0xffffffff
je 0x48a0ac
mov eax, dword [ebp - 0x10]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x48a0ac
push 4
push 2
push dword [ebp - 0x10]
call fcn.00403d20
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
test eax, eax
je 0x48a0c9
cmp eax, 0xffffffff
je 0x48a0d8
mov eax, dword [ebp - 0x14]
lock xadd dword [eax], edi
dec edi
setne al
test al, al
jne 0x48a0d8
push 4
push 2
push dword [ebp - 0x14]
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
mov ecx, dword [ebp + 0x200]
xor ecx, ebp
call fcn.00524b20
lea esp, [ebp + 0x204]
pop ebp
ret