Function at 0x4215b0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d71e0
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 0x4219d2
cmp dword [esi + 0xb8], 0
je 0x4219e5
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 + 0xb8]
mov ecx, dword [eax]
test ecx, ecx
je 0x421690
mov eax, dword [ecx]
mov al, byte [eax + 8]
test al, al
je 0x421690
push 1
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0047ff90
test eax, eax
setne al
xor bl, bl
mov byte [esi + 0x80], al
jmp 0x421692
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 0x4219e5
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 + 0xb8]
mov ecx, dword [eax]
test ecx, ecx
je 0x42170b
mov eax, dword [ecx]
mov al, byte [eax + 8]
test al, al
je 0x42170b
push 1
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0047ff90
test eax, eax
setne al
mov byte [esi + 0x81], al
jmp 0x42170d
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 0x4219e5
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 + 0xb8]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041c9d0
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 0x4219e5
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 + 0xb8]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041c9d0
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 0x4219e5
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 + 0xb8]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041c9d0
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 0x4219e5
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 + 0xb8]
push eax
push 0xc
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041c9a0
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 0x4219e5
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 + 0xb8]
push eax
push 0xd4ef
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041c9a0
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 0x4219e5
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 + 0xb8]
push eax
push 0xd4ef
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041c9a0
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 0x4219e5
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