Function at 0x421660
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6fb0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
mov eax, dword [0x532008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test byte [esi + 8], 0x10
je 0x421a82
cmp dword [esi + 0xbc], 0
je 0x421a95
push 0xc
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x40]
push str.ShowBootTime
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.0040a960
mov dword [ebp - 4], 0
xor eax, eax
push 0xa
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
push str.BootAssist
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.0040a960
mov byte [ebp - 4], 1
mov eax, dword [esi + 0xbc]
mov ecx, dword [eax]
test ecx, ecx
je 0x421740
mov eax, dword [ecx]
mov al, byte [eax + 8]
test al, al
je 0x421740
push 1
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00480130
test eax, eax
setne al
xor bl, bl
mov byte [esi + 0x80], al
jmp 0x421742
mov bl, 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0040a900
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0040a900
test bl, bl
jne 0x421a95
push str.ShowWeather
lea ecx, [ebp - 0x28]
call fcn.0040a040
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x40]
push str.BootAssist
call fcn.0040a040
mov byte [ebp - 4], 3
mov eax, dword [esi + 0xbc]
mov ecx, dword [eax]
test ecx, ecx
je 0x4217bb
mov eax, dword [ecx]
mov al, byte [eax + 8]
test al, al
je 0x4217bb
push 1
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00480130
test eax, eax
setne al
mov byte [esi + 0x81], al
jmp 0x4217bd
mov bl, 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.0040a900
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040a900
test bl, bl
jne 0x421a95
push str.ShowRecommend
lea ecx, [ebp - 0x28]
call fcn.0040a040
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x40]
push str.BootAssist
call fcn.0040a040
mov byte [ebp - 4], 5
lea eax, [esi + 0x82]
mov ecx, dword [esi + 0xbc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041ca70
mov bl, al
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.0040a900
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040a900
test bl, bl
je 0x421a95
push str.ShowNews
lea ecx, [ebp - 0x28]
call fcn.0040a040
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x40]
push str.BootAssist
call fcn.0040a040
mov byte [ebp - 4], 7
lea eax, [esi + 0x83]
mov ecx, dword [esi + 0xbc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041ca70
mov bl, al
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40]
call fcn.0040a900
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040a900
test bl, bl
je 0x421a95
push str.DefaultLoc
lea ecx, [ebp - 0x28]
call fcn.0040a040
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x40]
push str.BootAssist
call fcn.0040a040
mov byte [ebp - 4], 9
lea eax, [esi + 0xa0]
mov ecx, dword [esi + 0xbc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041ca70
mov bl, al
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x40]
call fcn.0040a900
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040a900
test bl, bl
je 0x421a95
push str.ProvinceID
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x10], 0xc
call fcn.0040a040
mov dword [ebp - 4], 0xa
lea ecx, [ebp - 0x40]
push str.BootAssist
call fcn.0040a040
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x10]
mov ecx, dword [esi + 0xbc]
push eax
push 0xc
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041ca40
mov bl, al
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x40]
call fcn.0040a900
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040a900
test bl, bl
je 0x421a95
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x28]
cdq
push str.CityID
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], edx
mov dword [ebp - 0x10], 0xd4ef
call fcn.0040a040
mov dword [ebp - 4], 0xc
lea ecx, [ebp - 0x40]
push str.BootAssist
call fcn.0040a040
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x10]
mov ecx, dword [esi + 0xbc]
push eax
push 0xd4ef
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041ca40
mov bl, al
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x40]
call fcn.0040a900
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040a900
test bl, bl
je 0x421a95
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x28]
cdq
push str.CountyID
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], edx
mov dword [ebp - 0x10], 0xd4ef
call fcn.0040a040
mov dword [ebp - 4], 0xe
lea ecx, [ebp - 0x40]
push str.BootAssist
call fcn.0040a040
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x10]
mov ecx, dword [esi + 0xbc]
push eax
push 0xd4ef
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041ca40
mov bl, al
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x40]
call fcn.0040a900
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040a900
test bl, bl
je 0x421a95
mov eax, dword [ebp - 0x10]
cdq
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], edx
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret