Function at 0x4ac6f0
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x204]
sub esp, 0x204
push 0xffffffffffffffff
push 0x580bfe
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x732480]
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], 0x71f078
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x14], 0x71f078
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 0x4ac7bb
push edi
lea eax, [ebp]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00435080
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 0x4ac7ac
cmp eax, edi
je 0x4ac7bb
mov eax, dword [ebp - 0x10]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4ac7bb
push 4
push 2
push dword [ebp - 0x10]
call fcn.00425140
add esp, 0xc
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 0
je 0x4ac853
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0042ea20
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.0046e1b0
add esp, 0x18
mov ecx, eax
cmp byte [ebp - 0x15], 0
je 0x4ac821
mov eax, dword [ebp - 0x24]
cmp byte [eax], 0
jne 0x4ac821
cmp ecx, 0x814
jne 0x4ac821
push 0x604358
push 2
mov ecx, esi
call fcn.00427430
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
mov eax, dword [eax]
test eax, eax
je 0x4ac844
cmp eax, 0xffffffff
je 0x4ac853
mov eax, dword [ebp - 0x10]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4ac853
push 4
push 1
push dword [ebp - 0x10]
call fcn.00425140
add esp, 0xc
mov eax, dword [esi]
cmp dword [eax + 4], 0
je 0x4ac889
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
test eax, eax
je 0x4ac909
cmp eax, 0xffffffff
je 0x4ac918
mov ecx, dword [ebp - 0x14]
lock xadd dword [ecx], edi
dec edi
setne cl
test cl, cl
je 0x4ac909
jmp 0x4ac918
push 0xff
lea eax, [ebp]
push eax
push 0x59
push dword [ebp + 0x210]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4ac8ec
push 0xffffffffffffffff
lea eax, [ebp]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00435080
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 0x4ac8dd
cmp eax, 0xffffffff
je 0x4ac8ec
mov eax, dword [ebp - 0x10]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4ac8ec
push 4
push 2
push dword [ebp - 0x10]
call fcn.00425140
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
test eax, eax
je 0x4ac909
cmp eax, 0xffffffff
je 0x4ac918
mov eax, dword [ebp - 0x14]
lock xadd dword [eax], edi
dec edi
setne al
test al, al
jne 0x4ac918
push 4
push 2
push dword [ebp - 0x14]
call fcn.00425140
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.00553392
lea esp, [ebp + 0x204]
pop ebp
ret