Function at 0x493090
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x61d928
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 0x4933a9
push ebx
push ebp
push edi
mov word [esp + 0x48], si
mov dword [esp + 0x2c], 0x633d50
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x98], esi
cmp edi, esi
je 0x4932f2
push esi
push 0x400
push esi
push edi
call fcn.005e8310
mov dword [esp + 0x14], eax
mov ecx, edi
cdq
mov ebp, eax
mov eax, esi
sub ecx, ebp
push esi
sbb eax, edx
push 0x400
push eax
push ecx
mov dword [esp + 0x30], edx
call fcn.005e8260
mov ebx, eax
and ebx, 0x800003ff
jns 0x49314f
dec ebx
or ebx, 0xfffffc00
inc ebx
mov eax, ebx
mov ecx, edi
shl eax, 0xa
cdq
sub ecx, eax
mov eax, esi
sbb eax, edx
sub ecx, ebp
mov ebp, dword [esp + 0x20]
push 0
sbb eax, ebp
push 0x100000
push eax
push ecx
call fcn.005e8260
mov ebp, eax
and ebp, 0x800003ff
jns 0x493185
dec ebp
or ebp, 0xfffffc00
inc ebp
push 0
push 0x40000000
push esi
push edi
call fcn.005e8260
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 0x4931d9
mov edi, 0x6a4160
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 0x4932a5
cmp ebp, 0x3e7
jg 0x4932a5
test ebp, ebp
jne 0x493261
cmp ebx, 0x3e7
jg 0x493261
test ebx, ebx
je 0x49323f
mov eax, dword [esp + 0x14]
mov ecx, dword [0x6d1f88]
push ecx
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 ecx, eax
mov eax, 0x66666667
sar ecx, 0xa
imul ecx
sar edx, 2
mov eax, edx
lea ecx, [esp + 0x14]
shr eax, 0x1f
add edx, eax
push edx
push ecx
push ebx
jmp 0x4932e0
mov eax, dword [0x6d1f84]
mov ecx, dword [esp + 0x14]
push eax
push ecx
lea edx, [esp + 0x50]
push str._d___s
push edx
call fcn.005e6db3
add esp, 0x10
jmp 0x4932f2
mov eax, dword [0x6d1f8c]
lea ebx, [ebx + ebx*4]
push eax
lea eax, [ebx + ebx*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x3ff
add eax, edx
mov ecx, 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 ebp
push str._d_s_02d___s
push eax
jmp 0x4932ea
lea ebp, [ebp + ebp*4]
mov ecx, dword [0x6d1f90]
push ecx
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, 0x66666667
sar ecx, 0xa
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.005e6db3
add esp, 0x18
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x48]
mov ebx, dword [eax + 0xa8]
xor eax, eax
push eax
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov word [esp + 0x28], ax
call fcn.00402e00
mov esi, dword [esp + 0x28]
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x6c]
rep stosd dword es:[edi], eax
mov eax, 1
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], eax
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x49334a
mov dword [esp + 0x7c], eax
jmp 0x493356
lea edx, [esp + 0x20]
lea eax, [esp + 0x20]
mov dword [esp + 0x7c], edx
push eax
call fcn.005e639f
add esp, 4
inc eax
mov dword [esp + 0x80], eax
lea eax, [esp + 0x68]
push eax
push esi
push 0x1074
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x1c]
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.005fccf9
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x84]
pop esi
mov dword fs:[0], ecx
add esp, 0x8c
ret 8