Function at 0x4a3470
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x642630
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
mov eax, dword [esp + 0x90]
lea edx, [esp + 0x20]
push esi
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 0xa8]
push edx
push 0xffffffffffffffff
push 0x100d
push eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x34], 2
call dword [sym.imp.USER32.dll_SendMessageA]
xor esi, esi
mov dword [esp + 0x1c], eax
cmp eax, esi
jl 0x4a3797
push ebx
push ebp
push edi
mov word [esp + 0x48], si
mov dword [esp + 0x2c], 0x659b68
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x98], esi
cmp edi, esi
je 0x4a36d2
push esi
push 0x400
push esi
push edi
call fcn.0060bb90
mov dword [esp + 0x14], eax
mov ecx, edi
cdq
mov ebx, eax
mov eax, esi
sub ecx, ebx
push esi
sbb eax, edx
push 0x400
push eax
push ecx
mov dword [esp + 0x30], edx
call fcn.0060bae0
mov ebp, eax
and ebp, 0x800003ff
jns 0x4a352f
dec ebp
or ebp, 0xfffffc00
inc ebp
mov eax, ebp
mov ecx, edi
shl eax, 0xa
cdq
sub ecx, eax
mov eax, esi
sbb eax, edx
sub ecx, ebx
mov ebx, dword [esp + 0x20]
push 0
sbb eax, ebx
push 0x100000
push eax
push ecx
call fcn.0060bae0
mov ebx, eax
and ebx, 0x800003ff
jns 0x4a3565
dec ebx
or ebx, 0xfffffc00
inc ebx
push 0
push 0x40000000
push esi
push edi
call fcn.0060bae0
lea ecx, [esp + 0x10]
push 3
push ecx
mov esi, eax
push 0xe
push 0x400
mov dword [esp + 0x2c], esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x4a35b9
mov edi, 0x6cd6b0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x1c]
test esi, esi
jne 0x4a3687
cmp ebx, 0x3e7
jg 0x4a3687
test ebx, ebx
jne 0x4a3641
cmp ebp, 0x3e7
jg 0x4a3641
test ebp, ebp
je 0x4a361f
mov eax, dword [esp + 0x14]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x3ff
add eax, edx
mov edx, dword [0x6fd858]
mov ecx, eax
mov eax, 0x66666667
sar ecx, 0xa
push edx
imul ecx
sar edx, 2
mov eax, edx
lea ecx, [esp + 0x14]
shr eax, 0x1f
add edx, eax
push edx
push ecx
push ebp
jmp 0x4a36c0
mov eax, dword [0x6fd854]
mov ecx, dword [esp + 0x14]
push eax
push ecx
lea edx, [esp + 0x50]
push str._d___s
push edx
call fcn.0060a593
add esp, 0x10
jmp 0x4a36d2
lea ebp, [ebp + ebp*4]
lea eax, [ebp + ebp*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x3ff
add eax, edx
mov ecx, eax
mov eax, dword [0x6fd85c]
push eax
mov eax, 0x66666667
sar ecx, 0xa
imul ecx
sar edx, 2
mov ecx, edx
lea eax, [esp + 0x4c]
shr ecx, 0x1f
add edx, ecx
push edx
lea edx, [esp + 0x18]
push edx
push ebx
push str._d_s_02d___s
push eax
jmp 0x4a36ca
lea ebx, [ebx + ebx*4]
lea eax, [ebx + ebx*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x3ff
add eax, edx
mov edx, dword [0x6fd860]
mov ecx, eax
mov eax, 0x66666667
sar ecx, 0xa
push edx
imul ecx
sar edx, 2
mov eax, edx
lea ecx, [esp + 0x14]
shr eax, 0x1f
add edx, eax
push edx
push ecx
push esi
lea edx, [esp + 0x58]
push str._d_s_02d___s
push edx
call fcn.0060a593
add esp, 0x18
mov eax, dword [esp + 0x18]
xor esi, esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], esi
mov ebp, dword [eax + 0xa8]
mov word [esp + 0x20], si
mov ecx, dword [0x6fca90]
lea edx, [esp + 0x48]
mov ebx, 1
push ecx
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0xa0], bl
call fcn.004027e0
mov edx, dword [esp + 0x1c]
cmp edx, esi
jne 0x4a3718
lea edx, [esp + 0x20]
mov esi, dword [esp + 0x28]
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x6c]
rep stosd dword es:[edi], eax
push edx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], ebx
mov dword [esp + 0x80], edx
call fcn.00609a4e
add esp, 4
inc eax
mov dword [esp + 0x80], eax
lea eax, [esp + 0x68]
push eax
push esi
push 0x1074
push ebp
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x98], 0
call fcn.00401070
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0x18]
push ecx
push 0
push 0
push 0
push 0
push 4
push 0
push esi
lea ecx, [edx + 0x8c]
call fcn.006208e8
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x84]
pop esi
mov dword fs:[0], ecx
add esp, 0x8c
ret 8