Function at 0x444d35
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
push ebx
mov ebx, ecx
push esi
push 0x49c04c
mov dword [ebp - 0x10], ebx
lea ecx, [ebx + 0x10]
call fcn.0045e7a5
test eax, eax
je 0x445347
push edi
lea edi, [eax + 0x1f0]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x20]
push str.UILang
lea ecx, [ebx + 0x10]
call fcn.0045e7a5
mov dword [ebp - 0x20], eax
test eax, eax
je 0x445346
lea esi, [eax + 0x1f0]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x20]
xor eax, eax
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x230]
push edx
push 0x2000000
push str.SYSTEMCurrentControlSetControl
mov eax, dword [eax + 0x228]
push 0x80000002
mov eax, dword [eax + 0x48]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x20019
push dword [0x4ad198]
push str.MUIUILanguages
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
call fcn.0043d5bb
push eax
lea ecx, [ebp - 8]
call fcn.0043bbe8
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 8]
push eax
push 0
mov edx, str.NlsLocale
call fcn.0044defb
push 0x10
push 0
push dword [ebp - 8]
call dword [sym.imp.msvcrt.dll_wcstoul]
push 0x208
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x240]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0x20
lea eax, [ebp - 0x240]
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
push 0x104
push eax
push ecx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x444f0b
push 0x208
call dword [sym.imp.msvcrt.dll_void____cdecl_operator_new_unsigned_int_]
pop ecx
test eax, eax
je 0x444e60
mov ecx, eax
call fcn.00465f4e
mov ebx, eax
jmp 0x444e62
xor ebx, ebx
mov eax, dword [ebx]
lea ecx, [ebp - 0x240]
push ecx
mov ecx, ebx
call dword [eax + 0x2c]
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 0x10]
push 0x208
call dword [sym.imp.msvcrt.dll_void____cdecl_operator_new_unsigned_int_]
pop ecx
test eax, eax
je 0x444e93
mov ecx, eax
call fcn.00465f4e
mov ebx, eax
jmp 0x444e95
xor ebx, ebx
mov eax, dword [ebx]
lea ecx, [ebp - 0x240]
push ecx
mov ecx, ebx
call dword [eax + 0x2c]
mov eax, dword [esi]
mov ecx, esi
push ebx
call dword [eax + 0x10]
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x14]
and dword [ebp - 0x14], 0
lea edx, [ebp - 0x240]
push eax
push str.LCID
call fcn.0044de32
mov eax, dword [ebp - 0xc]
pop ecx
pop ecx
cmp dword [ebp - 0x14], eax
jne 0x444ee3
mov eax, dword [esi]
mov ecx, esi
push 2
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x20]
dec eax
push eax
call fcn.0046762b
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x240]
push 0x104
inc eax
push ecx
push eax
push dword [ebp - 4]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x444e45
mov ebx, dword [ebp - 0x10]
lea ecx, [ebp - 4]
call fcn.0043b8cb
push 0x49c068
lea ecx, [ebx + 0x10]
call fcn.0045e7a5
mov dword [ebp - 0xc], eax
lea esi, [eax + 0x1f0]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x20]
mov ecx, dword [ebx + 0x230]
lea eax, [ebp - 4]
push eax
push 0x2000000
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionTime_Zones
mov ecx, dword [ecx + 0x228]
push 0x80000002
mov ecx, dword [ecx + 0x48]
push ecx
mov edx, dword [ecx]
call dword [edx + 0xc]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 8]
push eax
push str.TimeZoneKeyName
mov edx, str.TimeZoneInformation
call fcn.0044defb
pop ecx
pop ecx
push 0x104
lea eax, [ebp - 0x240]
xor edi, edi
push eax
push edi
push dword [ebp - 4]
mov dword [ebp - 0x14], edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x44500e
mov ebx, dword [ebp - 0xc]
push 0x208
call dword [sym.imp.msvcrt.dll_void____cdecl_operator_new_unsigned_int_]
pop ecx
test eax, eax
je 0x444fab
mov ecx, eax
call fcn.00465f4e
mov edi, eax
mov eax, dword [edi]
lea ecx, [ebp - 0x240]
push ecx
mov ecx, edi
call dword [eax + 0x2c]
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0x10]
lea eax, [ebp - 0x240]
push eax
push dword [ebp - 8]
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x444fe7
mov eax, dword [esi]
mov ecx, esi
push 2
call dword [eax + 0xc]
dec eax
mov ecx, ebx
push eax
call fcn.0046762b
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x240]
push 0x104
push eax
inc edi
push edi
push dword [ebp - 4]
mov dword [ebp - 0x14], edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push 0
pop edi
test eax, eax
je 0x444f92
mov ebx, dword [ebp - 0x10]
lea ecx, [ebp - 4]
call fcn.0043b8cb
lea esi, [ebx + 0x10]
push str.UserLocale_Default
mov ecx, esi
call fcn.0045e7a5
mov dword [ebp - 0x1c], eax
mov edx, dword [eax + 0x1f0]
lea ecx, [eax + 0x1f0]
call dword [edx + 0x20]
push str.UserLocale_.Default
mov ecx, esi
call fcn.0045e7a5
mov dword [ebp - 0x20], eax
mov edx, dword [eax + 0x1f0]
lea ecx, [eax + 0x1f0]
call dword [edx + 0x20]
push str.SysLocale
mov ecx, esi
call fcn.0045e7a5
mov dword [ebp - 0x14], eax
mov edx, dword [eax + 0x1f0]
lea ecx, [eax + 0x1f0]
call dword [edx + 0x20]
mov ecx, dword [ebx + 0x230]
lea eax, [ebp - 4]
push eax
push 0x2000000
push str..DEFAULT
mov ecx, dword [ecx + 0x228]
push 0x80000003
mov ecx, dword [ecx + 0x48]
push ecx
mov edx, dword [ecx]
call dword [edx + 0xc]
lea ecx, [ebp - 8]
call fcn.0043c7e8
mov ecx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
mov edi, str.Control_PanelInternational
push str.Locale
mov edx, edi
call fcn.0044defb
pop ecx
pop ecx
lea ecx, [ebp - 4]
call fcn.0043b8cb
push 0x10
push 0
push dword [ebp - 8]
call dword [sym.imp.msvcrt.dll_wcstoul]
mov ecx, dword [ebx + 0x230]
add esp, 0xc
mov dword [ebp - 0x30], eax
lea eax, [ebp - 4]
mov ecx, dword [ecx + 0x228]
push eax
push 0x2000000
push str.DEFAULT
mov ecx, dword [ecx + 0x48]
push 0x80000003
push ecx
mov esi, dword [ecx]
call dword [esi + 0xc]
mov ecx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
push str.Locale
mov edx, edi
call fcn.0044defb
mov ebx, dword [sym.imp.msvcrt.dll_wcstoul]
xor esi, esi
push 0x10
push esi
push dword [ebp - 8]
call ebx
add esp, 0x14
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 4]
call fcn.0043b8cb
lea eax, [ebp - 4]
push eax
push 0x20019
push dword [0x4ad198]
push str.NlsLocale
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [ebp - 8]
call fcn.0043c7e8
mov ecx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
mov edx, str._Default_
call fcn.0044dd53
mov edi, dword [ebp - 8]
push 0x10
push esi
push edi
call ebx
mov ecx, dword [ebp - 0x10]
add esp, 0x10
mov dword [ebp - 0x28], esi
mov ebx, esi
mov dword [ebp - 0x38], eax
mov ecx, dword [ecx + 0x234]
cmp word [ecx + 0xc], si
je 0x44532e
mov edi, dword [ebp - 0x10]
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x10], eax
push dword [eax + ebx*8 + 4]
lea eax, [ebp - 0x2c]
push str._.8x
push eax
call fcn.0044af44
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
push esi
push esi
push esi
mov esi, dword [ebp - 0x2c]
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44530d
mov eax, dword [ebp - 0x10]
push 0x208
movzx ecx, word [eax + ebx*8]
mov eax, dword [edi + 0x234]
mov eax, dword [eax + 0x1c]
lea eax, [eax + ecx*2]
add eax, 2
mov dword [ebp - 0x24], eax
call dword [sym.imp.msvcrt.dll_void____cdecl_operator_new_unsigned_int_]
pop ecx
test eax, eax
je 0x4451ff
mov ecx, eax
call fcn.00465f4e
mov ecx, eax
mov dword [ebp - 0xc], ecx
jmp 0x445206
xor eax, eax
mov ecx, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ecx]
push dword [ebp - 0x24]
call dword [eax + 0x2c]
mov ecx, dword [ebp - 0x20]
push dword [ebp - 0xc]
add ecx, 0x1f0
mov eax, dword [ecx]
call dword [eax + 0x10]
push 0x208
call dword [sym.imp.msvcrt.dll_void____cdecl_operator_new_unsigned_int_]
pop ecx
test eax, eax
je 0x44523d
mov ecx, eax
call fcn.00465f4e
mov ecx, eax
mov dword [ebp - 0xc], ecx
jmp 0x445244
xor eax, eax
mov ecx, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ecx]
push dword [ebp - 0x24]
call dword [eax + 0x2c]
mov ecx, dword [ebp - 0x1c]
push dword [ebp - 0xc]
add ecx, 0x1f0
mov eax, dword [ecx]
call dword [eax + 0x10]
push 0x208
call dword [sym.imp.msvcrt.dll_void____cdecl_operator_new_unsigned_int_]
pop ecx
test eax, eax
je 0x44527b
mov ecx, eax
call fcn.00465f4e
mov ecx, eax
mov dword [ebp - 0xc], ecx
jmp 0x445282
xor eax, eax
mov ecx, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ecx]
push dword [ebp - 0x24]
call dword [eax + 0x2c]
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0xc]
add ecx, 0x1f0
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + ebx*8 + 4]
cmp eax, dword [ebp - 0x30]
jne 0x4452c8
mov ecx, dword [ebp - 0x20]
add ecx, 0x1f0
push 2
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x20]
dec eax
push eax
call fcn.0046762b
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + ebx*8 + 4]
cmp eax, dword [ebp - 0x34]
jne 0x4452ee
mov ecx, dword [ebp - 0x1c]
add ecx, 0x1f0
push 2
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x1c]
dec eax
push eax
call fcn.0046762b
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + ebx*8 + 4]
cmp eax, dword [ebp - 0x38]
jne 0x44530d
mov ecx, dword [ebp - 0x14]
add ecx, 0x1f0
push 2
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x14]
dec eax
push eax
call fcn.0046762b
lea ecx, [esi - 0x10]
call fcn.0043d912
mov ecx, dword [edi + 0x234]
inc ebx
push 0
pop esi
movzx eax, word [ecx + 0xc]
cmp ebx, eax
jne 0x445191
mov edi, dword [ebp - 8]
lea ecx, [edi - 0x10]
call fcn.0043d912
lea ecx, [ebp - 4]
call fcn.0043b8cb
lea ecx, [ebp - 0x18]
call fcn.0043b8cb
pop edi
pop esi
pop ebx
leave
ret