Function at 0x442950
Capabilities:
Get geographical location
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53fc37
mov eax, dword fs:[0]
push eax
sub esp, 0xc6c
mov eax, dword [0x5a6900]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x30]
call fcn.004063a0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x4c]
push ecx
call fcn.004106b0
add esp, 8
mov byte [ebp - 4], 1
push 0x20
call fcn.0048b8bd
add esp, 4
mov dword [ebp - 0xc6c], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0xc6c], 0
je 0x4429d8
mov ecx, dword [ebp - 0xc6c]
call fcn.0043bfe0
mov dword [ebp - 0xc74], eax
jmp 0x4429e2
mov dword [ebp - 0xc74], 0
mov eax, dword [ebp - 0xc74]
mov dword [ebp - 0xc70], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xc70]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], 0
lea ecx, [ebp - 0x4c]
call fcn.00404930
push eax
mov ecx, dword [ebp - 0x50]
call fcn.0043c210
mov ecx, dword [ebp - 0x50]
call fcn.0042a9a0
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
call fcn.004278d0
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
call fcn.00427b30
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x442a41
mov dword [ebp - 0x54], 1
mov eax, dword [ebp - 0x54]
push eax
call fcn.0048b8f7
add esp, 4
mov dword [ebp - 0xc68], eax
mov ecx, dword [ebp - 0xc68]
mov dword [ebp - 0x60], ecx
mov eax, dword [ebp - 0x54]
push eax
push 0
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.004af7d0
add esp, 0xc
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x65], 0
mov dword [ebp - 0x6c], 0
jmp 0x442a8b
mov eax, dword [ebp - 0x6c]
add eax, 1
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x58]
call fcn.00427b30
cmp dword [ebp - 0x6c], eax
jae 0x442ab6
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0x58]
call fcn.00427b50
mov cl, byte [eax]
mov byte [ebp - 0x6d], cl
mov eax, dword [ebp - 0x60]
add eax, dword [ebp - 0x6c]
mov cl, byte [ebp - 0x6d]
mov byte [eax], cl
jmp 0x442a82
cmp dword [ebp - 0x50], 0
je 0x442b07
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xc60], eax
mov ecx, dword [ebp - 0xc60]
mov dword [ebp - 0xc64], ecx
cmp dword [ebp - 0xc64], 0
je 0x442af6
push 1
mov edx, dword [ebp - 0xc64]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc64]
mov edx, dword [eax]
call edx
mov dword [ebp - 0xc74], eax
jmp 0x442b00
mov dword [ebp - 0xc74], 0
mov dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x60]
push eax
call fcn.004103d0
add esp, 4
mov dword [ebp - 0x74], eax
lea ecx, [ebp - 0x78]
call fcn.0041d550
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x108]
call fcn.0041d580
mov byte [ebp - 4], 3
push 0
lea ecx, [ebp - 0x118]
call fcn.00419410
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x74]
push eax
lea ecx, [ebp - 0xc5c]
call fcn.00404890
mov byte [ebp - 4], 5
push 1
lea ecx, [ebp - 0x118]
push ecx
lea edx, [ebp - 0xc5c]
push edx
lea ecx, [ebp - 0x108]
call fcn.0041d620
mov byte [ebp - 0x119], al
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xc5c]
call fcn.00404910
movzx eax, byte [ebp - 0x119]
test eax, eax
jne 0x442cff
cmp dword [ebp - 0x60], 0
je 0x442bb9
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xc40], eax
mov ecx, dword [ebp - 0xc40]
push ecx
call fcn.0048b8ec
add esp, 4
mov dword [ebp - 0x60], 0
push 0x550488
mov ecx, dword [ebp - 0x14]
add ecx, 0x6b8
call fcn.004063e0
xor eax, eax
mov word [ebp - 0x324], ax
push 0x206
push 0
lea eax, [ebp - 0x322]
push eax
call fcn.004af7d0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x52c], ax
push 0x206
push 0
lea eax, [ebp - 0x52a]
push eax
call fcn.004af7d0
add esp, 0xc
lea eax, [ebp - 0xc3c]
push eax
call dword [0x572328]
add esp, 4
mov dword [ebp - 0xc74], eax
mov ecx, dword [ebp - 0xc74]
mov dword [ebp - 0xc78], ecx
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0xc78]
sub esp, 0x84
mov ecx, 0x21
mov edi, esp
rep movsd dword es:[edi], dword [esi]
push str._sConfig.ini
lea edx, [ebp - 0x324]
push edx
call fcn.0040fa70
add esp, 0x8c
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xc3c]
call dword [0x57231c]
lea eax, [ebp - 0x324]
push eax
push 0x104
lea ecx, [ebp - 0x52c]
push ecx
push 0x54a628
push str.CurrentDistrict
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x52c]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x680
call fcn.004063e0
mov ecx, dword [ebp - 0x14]
call fcn.00443640
mov dword [ebp - 0xbb8], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x118]
call fcn.004199d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x108]
call fcn.0040e250
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.00404910
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00402890
mov eax, dword [ebp - 0xbb8]
jmp 0x443616
push 0x54a619
lea ecx, [ebp - 0x548]
call fcn.00404890
mov byte [ebp - 4], 7
push 0x54a619
lea ecx, [ebp - 0x564]
call fcn.00404890
mov byte [ebp - 4], 8
push 0x54a619
lea ecx, [ebp - 0x580]
call fcn.00404890
mov byte [ebp - 4], 9
push 0x54a619
lea ecx, [ebp - 0x59c]
call fcn.00404890
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x5a0], 0
lea ecx, [ebp - 0x5bc]
call fcn.00411140
mov byte [ebp - 4], 0xb
push 0x54a619
lea ecx, [ebp - 0x5d8]
call fcn.00404890
mov byte [ebp - 4], 0xc
push 0x54a619
lea ecx, [ebp - 0x5f4]
call fcn.00404890
mov byte [ebp - 4], 0xd
push str.weatherinfo
lea ecx, [ebp - 0x118]
call fcn.0041a370
mov ecx, eax
call fcn.0041a5d0
movzx eax, al
test eax, eax
jne 0x443243
push 0
lea ecx, [ebp - 0x604]
call fcn.00419410
mov byte [ebp - 4], 0xe
push str.weatherinfo
lea ecx, [ebp - 0x118]
call fcn.0041a370
push eax
lea ecx, [ebp - 0x604]
call fcn.00419b30
push str.city
lea ecx, [ebp - 0x604]
call fcn.0041a370
mov ecx, eax
call fcn.0041a5d0
movzx eax, al
test eax, eax
jne 0x442e70
push str.city
lea ecx, [ebp - 0x604]
call fcn.0041a370
mov ecx, eax
call fcn.0041a630
movzx eax, al
test eax, eax
je 0x442e70
lea eax, [ebp - 0xbb4]
push eax
push str.city
lea ecx, [ebp - 0x604]
call fcn.0041a370
mov ecx, eax
call fcn.00419c80
mov dword [ebp - 0xc74], eax
mov ecx, dword [ebp - 0xc74]
mov dword [ebp - 0xc78], ecx
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0xc78]
push edx
lea ecx, [ebp - 0x548]
call fcn.0041d370
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xbb4]
call fcn.00404910
push str.img1
lea ecx, [ebp - 0x604]
call fcn.0041a370
mov ecx, eax
call fcn.0041a5d0
movzx eax, al
test eax, eax
jne 0x442f01
push str.img1
lea ecx, [ebp - 0x604]
call fcn.0041a370
mov ecx, eax
call fcn.0041a630
movzx eax, al
test eax, eax
je 0x442f01
lea eax, [ebp - 0xb98]
push eax
push str.img1
lea ecx, [ebp - 0x604]
call fcn.0041a370
mov ecx, eax
call fcn.00419c80
mov dword [ebp - 0xc74], eax
mov ecx, dword [ebp - 0xc74]
mov dword [ebp - 0xc78], ecx
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0xc78]
push edx
lea ecx, [ebp - 0x564]
call fcn.0041d370
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xb98]
call fcn.00404910
push str.temp
lea ecx, [ebp - 0x604]
call fcn.0041a370
mov ecx, eax
call fcn.0041a5d0
movzx eax, al
test eax, eax
jne 0x442f92
push str.temp
lea ecx, [ebp - 0x604]
call fcn.0041a370
mov ecx, eax
call fcn.0041a630
movzx eax, al
test eax, eax
je 0x442f92
lea eax, [ebp - 0xb7c]
push eax
push str.temp
lea ecx, [ebp - 0x604]
call fcn.0041a370
mov ecx, eax
call fcn.00419c80
mov dword [ebp - 0xc74], eax
mov ecx, dword [ebp - 0xc74]
mov dword [ebp - 0xc78], ecx
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0xc78]
push edx
lea ecx, [ebp - 0x580]
call fcn.0041d370
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xb7c]
call fcn.00404910
push str.weather1
lea ecx, [ebp - 0x604]
call fcn.0041a370
mov ecx, eax
call fcn.0041a5d0
movzx eax, al
test eax, eax
jne 0x443023
push str.weather1
lea ecx, [ebp - 0x604]
call fcn.0041a370
mov ecx, eax
call fcn.0041a630
movzx eax, al
test eax, eax
je 0x443023
lea eax, [ebp - 0xb60]
push eax
push str.weather1
lea ecx, [ebp - 0x604]
call fcn.0041a370
mov ecx, eax
call fcn.00419c80
mov dword [ebp - 0xc74], eax
mov ecx, dword [ebp - 0xc74]
mov dword [ebp - 0xc78], ecx
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0xc78]
push edx
lea ecx, [ebp - 0x5f4]
call fcn.0041d370
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xb60]
call fcn.00404910
push str.temp1
lea ecx, [ebp - 0x604]
call fcn.0041a370
mov ecx, eax
call fcn.0041a5d0
movzx eax, al
test eax, eax
jne 0x4430b4
push str.temp1
lea ecx, [ebp - 0x604]
call fcn.0041a370
mov ecx, eax
call fcn.0041a630
movzx eax, al
test eax, eax
je 0x4430b4
lea eax, [ebp - 0xb44]
push eax
push str.temp1
lea ecx, [ebp - 0x604]
call fcn.0041a370
mov ecx, eax
call fcn.00419c80
mov dword [ebp - 0xc74], eax
mov ecx, dword [ebp - 0xc74]
mov dword [ebp - 0xc78], ecx
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0xc78]
push edx
lea ecx, [ebp - 0x59c]
call fcn.0041d370
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xb44]
call fcn.00404910
push str.pm25
lea ecx, [ebp - 0x604]
call fcn.0041a370
mov ecx, eax
call fcn.0041a5d0
movzx eax, al
test eax, eax
jne 0x443234
push 0
lea ecx, [ebp - 0x614]
call fcn.00419410
mov byte [ebp - 4], 0x14
push str.pm25
lea ecx, [ebp - 0x604]
call fcn.0041a370
push eax
lea ecx, [ebp - 0x614]
call fcn.00419b30
push 0x550420
lea ecx, [ebp - 0x614]
call fcn.0041a370
mov ecx, eax
call fcn.0041a5d0
movzx eax, al
test eax, eax
jne 0x443194
push 0x550420
lea ecx, [ebp - 0x614]
call fcn.0041a370
mov ecx, eax
call fcn.0041a630
movzx eax, al
test eax, eax
je 0x443194
lea eax, [ebp - 0xb28]
push eax
push 0x550420
lea ecx, [ebp - 0x614]
call fcn.0041a370
mov ecx, eax
call fcn.00419c80
mov dword [ebp - 0xc74], eax
mov ecx, dword [ebp - 0xc74]
mov dword [ebp - 0xc78], ecx
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0xc78]
push edx
lea ecx, [ebp - 0x5bc]
call fcn.0041d370
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xb28]
call fcn.00404910
push str.desc
lea ecx, [ebp - 0x614]
call fcn.0041a370
mov ecx, eax
call fcn.0041a5d0
movzx eax, al
test eax, eax
jne 0x443225
push str.desc
lea ecx, [ebp - 0x614]
call fcn.0041a370
mov ecx, eax
call fcn.0041a630
movzx eax, al
test eax, eax
je 0x443225
lea eax, [ebp - 0xb0c]
push eax
push str.desc
lea ecx, [ebp - 0x614]
call fcn.0041a370
mov ecx, eax
call fcn.00419c80
mov dword [ebp - 0xc74], eax
mov ecx, dword [ebp - 0xc74]
mov dword [ebp - 0xc78], ecx
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0xc78]
push edx
lea ecx, [ebp - 0x5d8]
call fcn.0041d370
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xb0c]
call fcn.00404910
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x614]
call fcn.004199d0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x604]
call fcn.004199d0
xor eax, eax
mov word [ebp - 0x81c], ax
push 0x206
push 0
lea eax, [ebp - 0x81a]
push eax
call fcn.004af7d0
add esp, 0xc
push 0x208
push 0
lea eax, [ebp - 0x81c]
push eax
call fcn.004af7d0
add esp, 0xc
lea eax, [ebp - 0x81c]
push eax
lea ecx, [ebp - 0x548]
call fcn.00404930
push eax
call fcn.0040f9d0
add esp, 8
lea eax, [ebp - 0x81c]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x680
call fcn.004063e0
xor eax, eax
mov word [ebp - 0xa24], ax
push 0x206
push 0
lea eax, [ebp - 0xa22]
push eax
call fcn.004af7d0
add esp, 0xc
lea eax, [ebp - 0xaf0]
push eax
call dword [0x572328]
add esp, 4
mov dword [ebp - 0xc74], eax
mov ecx, dword [ebp - 0xc74]
mov dword [ebp - 0xc78], ecx
mov byte [ebp - 4], 0x17
mov esi, dword [ebp - 0xc78]
sub esp, 0x84
mov ecx, 0x21
mov edi, esp
rep movsd dword es:[edi], dword [esi]
push str._sConfig.ini
lea edx, [ebp - 0xa24]
push edx
call fcn.0040fa70
add esp, 0x8c
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xaf0]
call dword [0x57231c]
lea eax, [ebp - 0xa24]
push eax
lea ecx, [ebp - 0x81c]
push ecx
push str.CurrentDistrict
push str.Setting
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0x208
push 0
lea eax, [ebp - 0x81c]
push eax
call fcn.004af7d0
add esp, 0xc
lea eax, [ebp - 0x81c]
push eax
lea ecx, [ebp - 0x564]
call fcn.00404930
push eax
call fcn.0040f9d0
add esp, 8
lea eax, [ebp - 0x81c]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x6b8
call fcn.004063e0
push 0x208
push 0
lea eax, [ebp - 0x81c]
push eax
call fcn.004af7d0
add esp, 0xc
lea eax, [ebp - 0x81c]
push eax
lea ecx, [ebp - 0x580]
call fcn.00404930
push eax
call fcn.0040f9d0
add esp, 8
lea eax, [ebp - 0x81c]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x69c
call fcn.004063e0
push 0x550414
mov ecx, dword [ebp - 0x14]
add ecx, 0x69c
call fcn.00410ef0
push 0x208
push 0
lea eax, [ebp - 0x81c]
push eax
call fcn.004af7d0
add esp, 0xc
lea eax, [ebp - 0x81c]
push eax
lea ecx, [ebp - 0x5f4]
call fcn.00404930
push eax
call fcn.0040f9d0
add esp, 8
lea eax, [ebp - 0x81c]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x648
call fcn.004063e0
push 0x54baec
mov ecx, dword [ebp - 0x14]
add ecx, 0x648
call fcn.00410ef0
push 0x208
push 0
lea eax, [ebp - 0x81c]
push eax
call fcn.004af7d0
add esp, 0xc
lea eax, [ebp - 0x81c]
push eax
lea ecx, [ebp - 0x59c]
call fcn.00404930
push eax
call fcn.0040f9d0
add esp, 8
lea eax, [ebp - 0x81c]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x648
call fcn.00410ef0
push 0x208
push 0
lea eax, [ebp - 0x81c]
push eax
call fcn.004af7d0
add esp, 0xc
lea eax, [ebp - 0x81c]
push eax
lea ecx, [ebp - 0x5bc]
call fcn.00404930
push eax
call fcn.0040f9d0
add esp, 8
push str.PM2.5
mov ecx, dword [ebp - 0x14]
add ecx, 0x664
call fcn.004063e0
lea eax, [ebp - 0x81c]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x664
call fcn.00410ef0
push 0x5503fc
mov ecx, dword [ebp - 0x14]
add ecx, 0x664
call fcn.00410ef0
push 0x208
push 0
lea eax, [ebp - 0x81c]
push eax
call fcn.004af7d0
add esp, 0xc
lea eax, [ebp - 0x81c]
push eax
lea ecx, [ebp - 0x5d8]
call fcn.00404930
push eax
call fcn.0040f9d0
add esp, 8
lea eax, [ebp - 0x81c]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x664
call fcn.00410ef0
cmp dword [ebp - 0x60], 0
je 0x44355c
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xa6c], eax
mov ecx, dword [ebp - 0xa6c]
push ecx
call fcn.0048b8ec
add esp, 4
mov dword [ebp - 0x60], 0
mov ecx, dword [ebp - 0x14]
call fcn.00443640
mov dword [ebp - 0xa68], 1
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x5f4]
call fcn.00404910
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x5d8]
call fcn.00404910
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x5bc]
call fcn.00404910
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x59c]
call fcn.00404910
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x580]
call fcn.00404910
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x564]
call fcn.00404910
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x548]
call fcn.00404910
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x118]
call fcn.004199d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x108]
call fcn.0040e250
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.00404910
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00402890
mov eax, dword [ebp - 0xa68]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004af76a
mov esp, ebp
pop ebp
ret 4