Function at 0x4834a0
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x204]
sub esp, 0x204
push 0xffffffffffffffff
push 0x54c6a8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x8870bc]
xor eax, ebp
mov dword [ebp + 0x200], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x20c]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x10], 0x6f6ba0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0x6f6ba0
push 0xff
lea eax, [ebp]
mov byte [ebp - 4], 1
push eax
push 1
push dword [ebp + 0x210]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
or esi, 0xffffffff
test eax, eax
je 0x483564
push esi
lea eax, [ebp]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00457730
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 - 0x20]
mov eax, dword [eax]
test eax, eax
je 0x483555
cmp eax, esi
je 0x483564
mov eax, dword [ebp - 0x20]
mov ecx, esi
lock xadd dword [eax], ecx
cmp ecx, 1
setne al
test al, al
jne 0x483564
push 4
push 2
push dword [ebp - 0x20]
call fcn.004016c0
add esp, 0xc
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 0
je 0x4835f8
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0040afc0
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 2
mov ecx, dword [eax + 0xc]
add ecx, eax
lea eax, [ebp - 0x15]
push eax
push 0x10
lea eax, [ebp - 0x28]
push eax
push ecx
call fcn.00436440
add esp, 0x18
mov ecx, eax
cmp byte [ebp - 0x15], 0
je 0x4835c4
mov eax, dword [ebp - 0x28]
cmp byte [eax], 0
jne 0x4835c4
cmp ecx, 0x814
jne 0x4835c4
push 0x7c3174
push 2
lea ecx, [ebp - 0x10]
call fcn.00403500
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 1
mov eax, dword [eax]
test eax, eax
je 0x4835e9
cmp eax, 0xffffffff
je 0x4835f8
mov eax, dword [ebp - 0x1c]
mov ecx, esi
lock xadd dword [eax], ecx
cmp ecx, 1
setne al
test al, al
jne 0x4835f8
push 4
push 1
push dword [ebp - 0x1c]
call fcn.004016c0
add esp, 0xc
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0
jne 0x48366b
push 0xff
lea eax, [ebp]
push eax
push 0x59
push dword [ebp + 0x210]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x483668
push 0xffffffffffffffff
lea eax, [ebp]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00457730
mov edx, dword [ebp - 0x10]
add esp, 0xc
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
mov dword [eax], edx
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
test eax, eax
je 0x483659
cmp eax, 0xffffffff
je 0x483668
mov eax, dword [ebp - 0x24]
mov ecx, esi
lock xadd dword [eax], ecx
cmp ecx, 1
setne al
test al, al
jne 0x483668
push 4
push 2
push dword [ebp - 0x24]
call fcn.004016c0
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], 0x6f6ba0
mov eax, dword [eax]
test eax, eax
je 0x483695
cmp eax, 0xffffffff
je 0x4836a4
mov eax, dword [ebp - 0x14]
mov ecx, esi
lock xadd dword [eax], ecx
cmp ecx, 1
setne al
test al, al
jne 0x4836a4
push 4
push 2
push dword [ebp - 0x14]
call fcn.004016c0
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
test eax, eax
je 0x4836c3
cmp eax, 0xffffffff
je 0x4836d2
mov eax, dword [ebp - 0x10]
lock xadd dword [eax], esi
cmp esi, 1
setne al
test al, al
jne 0x4836d2
push 4
push 2
push dword [ebp - 0x10]
call fcn.004016c0
add esp, 0xc
mov eax, edi
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.00520afb
lea esp, [ebp + 0x204]
pop ebp
ret