Function at 0x41635a
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, ecx
mov edx, str.upd:Update_upd:LocalizedPropertiesCollection
push ebx
push esi
push edi
lea ecx, [eax + 0x10]
mov dword [ebp - 0xc], eax
call fcn.004149dc
mov esi, eax
test esi, esi
je 0x416597
xor ebx, ebx
mov dword [ebp - 0x18], ebx
call fcn.004241c0
push ecx
push 0x17
push str.upd:LocalizedProperties
mov ecx, esi
mov dword [ebp - 0x1c], eax
call fcn.00413337
jmp 0x416410
push ecx
push 0xc
push str.upd:Language
mov ecx, eax
call fcn.00413337
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4163b8
mov eax, dword [eax + 0xc]
jmp 0x4163ba
mov eax, ebx
test ecx, ecx
jne 0x4163c3
mov ecx, 0x44c488
mov dword [ebp - 0x30], ecx
lea esi, [ebp - 0x30]
push 5
pop ecx
mov dword [ebp - 0x28], eax
lea edi, [ebp - 0x48]
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x48]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 8]
lea ecx, [ebp - 0x1c]
push eax
mov dword [ebp - 0x34], esi
call fcn.00426e70
push eax
add eax, 0x10
lea ecx, [ebp - 0x1c]
push eax
push ebx
lea eax, [ebp - 0x14]
push eax
call fcn.00427780
push ecx
push 0x17
push str.upd:LocalizedProperties
mov ecx, esi
call fcn.004132cf
mov dword [ebp - 8], eax
test eax, eax
jne 0x41639d
call fcn.00402506
push eax
lea ecx, [ebp - 4]
call fcn.00402331
push 0x55
pop ebx
push ebx
lea ecx, [ebp - 4]
call fcn.00402070
mov ecx, dword [ebp - 0xc]
mov edi, eax
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push ebx
push edi
mov ecx, dword [ecx + 4]
push 0x59
mov ecx, dword [ecx + 8]
movzx ecx, word [ecx + 4]
push ecx
call esi
push ecx
lea ecx, [ebp - 4]
call fcn.00411d9f
mov eax, dword [ebp - 4]
lea ecx, [ebp - 4]
push 0x2d
mov eax, dword [eax - 0xc]
mov dword [ebp - 8], eax
call fcn.00401c04
mov eax, dword [ebp - 4]
mov eax, dword [eax - 0xc]
sub ebx, eax
push ebx
lea eax, [edi + eax*2]
mov edi, dword [ebp - 0xc]
push eax
push 0x5a
mov eax, dword [edi + 4]
mov eax, dword [eax + 8]
movzx eax, word [eax + 4]
push eax
call esi
push ecx
lea ecx, [ebp - 4]
call fcn.00411d9f
lea ecx, [ebp - 4]
call fcn.00401809
lea ecx, [ebp - 0xc]
mov edx, dword [eax]
call fcn.00414c14
mov esi, dword [ebp - 0xc]
lea ecx, [ebp - 0x1c]
xor ebx, ebx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x20], ebx
push eax
call fcn.00421000
mov eax, dword [eax]
cmp eax, dword [ebp - 0x1c]
jne 0x416577
push dword [ebp - 8]
lea ecx, [ebp - 0xc]
call fcn.00402859
mov eax, dword [esi - 0xc]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x30], esi
push eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
call fcn.00421000
mov eax, dword [eax]
cmp eax, dword [ebp - 0x1c]
jne 0x416577
mov edx, str.upd:Update_upd:Properties
lea ecx, [edi + 0x10]
call fcn.004149dc
test eax, eax
je 0x41656e
push ecx
push 0x19
push str.DefaultPropertiesLanguage
mov ecx, eax
call fcn.00413578
test eax, eax
je 0x41656e
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x416539
mov eax, dword [eax + 0xc]
jmp 0x41653b
mov eax, ebx
test ecx, ecx
jne 0x416544
mov ecx, 0x44c488
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x30], ecx
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
call fcn.00421000
mov ecx, dword [ebp - 0x1c]
mov eax, dword [eax]
cmp eax, ecx
je 0x416571
jmp 0x416577
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
cmp eax, ecx
je 0x41657a
mov ebx, dword [eax + 0x24]
lea ecx, [esi - 0x10]
call fcn.004025d7
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.004025d7
lea ecx, [ebp - 0x1c]
call fcn.004219f0
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret