Function at 0x461b20
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61b592
mov eax, dword fs:[0]
push eax
sub esp, 0xbe8
mov eax, dword [0x6d8314]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xbac]
push eax
mov dword [ebp - 0xbe0], edi
mov dword [ebp - 0xbe8], 0
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
xor eax, eax
mov dword [ebp - 0xa40], 7
mov dword [ebp - 0xa44], 0
mov word [ebp - 0xa54], ax
cmp word [ebp - 0xba8], ax
jne 0x461b98
xor ecx, ecx
jmp 0x461bb0
lea ecx, [ebp - 0xba8]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x461ba1
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0xba8]
push eax
lea ecx, [ebp - 0xa54]
call fcn.00415c10
mov dword [ebp - 4], 0
cmp dword [ebp - 0xa44], 0
jne 0x461c15
push str.no_zone_info
push 0xdf
push str.LDCountryImpl::calcZone
call fcn.00584a40
add esp, 0xc
mov ecx, edi
push 0x6523fc
call fcn.00415d10
cmp dword [ebp - 0xa40], 8
jb 0x461c0e
push dword [ebp - 0xa54]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, edi
jmp 0x4627c3
lea eax, [ebp - 0xa9c]
mov ecx, 0x701c70
push eax
call fcn.00462f60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa54]
cmp dword [ebp - 0xa40], 8
mov ebx, 2
push dword [ebp - 0xa44]
cmovae ecx, dword [ebp - 0xa54]
push ecx
push dword [eax + 0x10]
mov ecx, eax
mov dword [ebp - 0xbe8], ebx
push 0
call fcn.004140b0
test eax, eax
jne 0x461c83
lea eax, [ebp - 0xa24]
mov ecx, 0x701c70
push eax
call fcn.00462ec0
mov ebx, 6
mov byte [ebp - 0xbad], 1
cmp dword [eax + 0x10], 0
jne 0x461c8a
mov byte [ebp - 0xbad], 0
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
test bl, 4
je 0x461cc9
and ebx, 0xfffffffb
cmp dword [ebp - 0xa10], 8
jb 0x461cac
push dword [ebp - 0xa24]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0xa10], 7
mov dword [ebp - 0xa14], 0
mov word [ebp - 0xa24], ax
mov dword [ebp - 4], 0
test bl, 2
je 0x461ce9
cmp dword [ebp - 0xa88], 8
jb 0x461ce9
push dword [ebp - 0xa9c]
call esi
add esp, 4
cmp byte [ebp - 0xbad], 0
je 0x461d33
push str.use_local_setting_zone
push 0xe4
push str.LDCountryImpl::calcZone
call fcn.00584a40
add esp, 0xc
mov ecx, 0x701c70
push edi
call fcn.00462ec0
cmp dword [ebp - 0xa40], 8
jb 0x461c0e
push dword [ebp - 0xa54]
call esi
add esp, 4
mov eax, edi
jmp 0x4627c3
cmp dword [ebp - 0xa40], 8
lea eax, [ebp - 0xa54]
cmovae eax, dword [ebp - 0xa54]
push eax
push str.clac_zone_from_register__s
push 0xe8
push str.LDCountryImpl::calcZone
call fcn.00584a40
xor eax, eax
mov dword [ebp - 0xbd8], 0
push 0x1f4
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
mov dword [ebp - 0xbdc], 0
mov dword [ebp - 0xbe4], 0
call sub.MSVCR120.dll_memset
add esp, 0x1c
lea ecx, [ebp - 0xa84]
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionTime_Zones_
call fcn.00415d10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xbd8]
cmp dword [ebp - 0xa70], 8
lea eax, [ebp - 0xa84]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmovae eax, dword [ebp - 0xa84]
push ecx
push 0x20019
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
jne 0x461f3e
push eax
push eax
push eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0xbdc]
push eax
push 0
push 0
push 0
push dword [ebp - 0xbd8]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [ebp - 0xbdc]
test eax, eax
je 0x461f3e
xor edi, edi
test eax, eax
je 0x461f38
lea esp, [esp]
xor eax, eax
mov dword [ebp - 0xbe4], 0xfb
push eax
push eax
push eax
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0xbe4]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
push dword [ebp - 0xbd8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x461f2b
mov dword [ebp - 0xbb4], eax
lea edx, [ebp - 0xa84]
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0xafc]
call fcn.00429ac0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x461e83
mov eax, dword [eax]
lea ecx, [ebp - 0xbb4]
push ecx
push 0x20019
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
lea ecx, [ebp - 0xafc]
sete bl
call fcn.004148d0
test bl, bl
je 0x461f25
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0xa0c], ax
lea eax, [ebp - 0xa0a]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0xbd0], 0
lea eax, [ebp - 0xbd4]
mov dword [ebp - 0xbd4], 0x800
push eax
lea eax, [ebp - 0xa0c]
push eax
lea eax, [ebp - 0xbd0]
push eax
push 0
push 0x6622ec
push dword [ebp - 0xbb4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x461f25
lea eax, [ebp - 0xa0c]
push eax
lea eax, [ebp - 0xa54]
push eax
call fcn.00413e90
add esp, 8
test al, al
jne 0x461f38
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
inc edi
cmp edi, dword [ebp - 0xbdc]
jb 0x461e20
mov edi, dword [ebp - 0xbe0]
push dword [ebp - 0xbd8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0xa6c]
call fcn.00415d10
mov byte [ebp - 4], 3
cmp dword [ebp - 0xa5c], 0
jne 0x462011
push str.not_find_reg_key
push 0x10b
push str.LDCountryImpl::calcZone
call fcn.00584a40
add esp, 0xc
mov ecx, edi
push 0x6523fc
call fcn.00415d10
cmp dword [ebp - 0xa58], 8
jb 0x461fa4
push dword [ebp - 0xa6c]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0xa58], 7
cmp dword [ebp - 0xa70], 8
mov dword [ebp - 0xa5c], 0
mov word [ebp - 0xa6c], ax
jb 0x461fd5
push dword [ebp - 0xa84]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0xa70], 7
cmp dword [ebp - 0xa40], 8
mov dword [ebp - 0xa74], 0
mov word [ebp - 0xa84], ax
jb 0x461c0e
push dword [ebp - 0xa54]
call esi
add esp, 4
mov eax, edi
jmp 0x4627c3
cmp dword [ebp - 0xa58], 8
lea eax, [ebp - 0xa6c]
cmovae eax, dword [ebp - 0xa6c]
push eax
push 0x65aeac
push 0x10e
push str.LDCountryImpl::calcZone
call fcn.00584a40
lea eax, [ebp - 0xa6c]
push eax
lea eax, [ebp - 0xab4]
push eax
call fcn.00599450
xor eax, eax
mov dword [ebp - 0xa28], 7
mov dword [ebp - 0xa2c], 0
mov word [ebp - 0xa3c], ax
mov dword [ebp - 0xab8], 0xf
mov dword [ebp - 0xabc], eax
mov byte [ebp - 0xacc], al
lea eax, [ebp - 0xae4]
mov byte [ebp - 4], 6
push eax
call fcn.00598920
add esp, 0x1c
push 8
push str.zone.txt
lea ecx, [ebp - 0xae4]
mov byte [ebp - 4], 7
call fcn.00428400
lea edx, [ebp - 0xacc]
lea ecx, [ebp - 0xae4]
call fcn.004ee5c0
mov dword [ebp - 0xbcc], 0
mov dword [ebp - 0xbc8], 0
mov dword [ebp - 0xbc4], 0
push 0x65ed70
lea ecx, [ebp - 0xa24]
mov byte [ebp - 4], 8
call fcn.00431130
lea eax, [ebp - 0xa24]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0xacc]
push eax
lea eax, [ebp - 0xbcc]
push eax
call fcn.00599a00
add esp, 0xc
mov byte [ebp - 4], 8
cmp dword [ebp - 0xa10], 0x10
jb 0x462125
push dword [ebp - 0xa24]
call esi
add esp, 4
mov ecx, dword [ebp - 0xbc8]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0xbcc]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push str.zone_size__d
push 0x11a
push str.LDCountryImpl::calcZone
call fcn.00584a40
add esp, 0x10
mov dword [ebp - 0xae8], 0xf
mov dword [ebp - 0xaec], 0
mov byte [ebp - 0xafc], 0
mov dword [ebp - 0xbf4], 0
mov dword [ebp - 0xbf0], 0
mov dword [ebp - 0xbec], 0
mov byte [ebp - 4], 0xb
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0xbc8]
xor ebx, ebx
mov edi, dword [ebp - 0xbcc]
sub ecx, edi
imul ecx
mov dword [ebp - 0xbd4], ebx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4624ba
xor ecx, ecx
mov dword [ebp - 0xbb4], ecx
lea esp, [esp]
cmp eax, ebx
jbe 0x4623e8
push 0xffffffffffffffff
lea eax, [edi + ecx]
mov dword [ebp - 0xa88], 0xf
push 0
push eax
lea ecx, [ebp - 0xa9c]
mov dword [ebp - 0xa8c], 0
mov byte [ebp - 0xa9c], 0
call fcn.00430cb0
mov dword [ebp - 0xbc0], 0
mov dword [ebp - 0xbbc], 0
mov dword [ebp - 0xbb8], 0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xa24]
push 1
push 0x662274
mov dword [ebp - 0xa10], 0xf
mov dword [ebp - 0xa14], 0
mov byte [ebp - 0xa24], 0
call fcn.00431010
lea eax, [ebp - 0xa24]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0xa9c]
push eax
lea eax, [ebp - 0xbc0]
push eax
call fcn.00599a00
add esp, 0xc
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0xa10], 0x10
jb 0x46228e
push dword [ebp - 0xa24]
call esi
add esp, 4
mov ebx, dword [ebp - 0xbbc]
mov eax, 0x2aaaaaab
mov edi, dword [ebp - 0xbc0]
mov ecx, ebx
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 3
jb 0x462338
test eax, eax
je 0x4623e8
cmp dword [edi + 0x14], 0x10
mov ebx, dword [edi + 0x10]
jb 0x4622d3
mov eax, dword [edi]
mov dword [ebp - 0xbd0], eax
jmp 0x4622d9
mov dword [ebp - 0xbd0], edi
cmp dword [ebp - 0xaa0], 0x10
lea ecx, [ebp - 0xab4]
mov edx, dword [ebp - 0xbd0]
mov eax, ebx
cmovae ecx, dword [ebp - 0xab4]
cmp dword [ebp - 0xaa4], ebx
cmovb eax, dword [ebp - 0xaa4]
push eax
call fcn.0043bf80
add esp, 4
test eax, eax
jne 0x462327
mov ecx, dword [ebp - 0xaa4]
cmp ecx, ebx
jae 0x46231e
or eax, 0xffffffff
jmp 0x462325
xor eax, eax
cmp ecx, ebx
setne al
test eax, eax
sete al
test al, al
jne 0x4623ca
mov ebx, dword [ebp - 0xbbc]
test edi, edi
je 0x46236c
push ebx
push edi
call fcn.0043b140
push dword [ebp - 0xbc0]
call esi
add esp, 4
mov dword [ebp - 0xbc0], 0
mov dword [ebp - 0xbbc], 0
mov dword [ebp - 0xbb8], 0
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0xa88], 0x10
jb 0x462384
push dword [ebp - 0xa9c]
call esi
add esp, 4
mov ecx, dword [ebp - 0xbc8]
mov eax, 0x2aaaaaab
mov edi, dword [ebp - 0xbcc]
sub ecx, edi
mov ebx, dword [ebp - 0xbd4]
add dword [ebp - 0xbb4], 0x18
inc ebx
imul ecx
mov dword [ebp - 0xbd4], ebx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jae 0x4624ba
mov ecx, dword [ebp - 0xbb4]
jmp 0x4621d0
mov ecx, dword [ebp - 0xbbc]
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
ja 0x4623f3
push str.invalid_vector_T__subscript
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xout_of_range_char_const__]
lea eax, [edi + 0x18]
push eax
lea eax, [ebp - 0xa24]
push eax
call fcn.00599320
mov edi, eax
add esp, 8
lea eax, [ebp - 0xa3c]
cmp eax, edi
je 0x46244f
cmp dword [ebp - 0xa28], 8
jb 0x462426
push dword [ebp - 0xa3c]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0xa28], 7
push edi
lea ecx, [ebp - 0xa3c]
mov dword [ebp - 0xa2c], 0
mov word [ebp - 0xa3c], ax
call fcn.0041aea0
cmp dword [ebp - 0xa10], 8
jb 0x462463
push dword [ebp - 0xa24]
call esi
add esp, 4
mov eax, dword [ebp - 0xbc0]
test eax, eax
je 0x4624a2
push dword [ebp - 0xbbc]
push eax
call fcn.0043b140
push dword [ebp - 0xbc0]
call esi
add esp, 4
mov dword [ebp - 0xbc0], 0
mov dword [ebp - 0xbbc], 0
mov dword [ebp - 0xbb8], 0
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0xa88], 0x10
jb 0x4624ba
push dword [ebp - 0xa9c]
call esi
add esp, 4
cmp dword [ebp - 0xa2c], 0
je 0x46259c
xor eax, eax
mov dword [ebp - 0xa10], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0xa24], ax
lea ecx, [ebp - 0xa24]
lea eax, [ebp - 0xa3c]
mov dword [ebp - 0xa14], 0
push eax
call fcn.00414cd0
lea eax, [ebp - 0xa24]
mov byte [ebp - 4], 0xf
mov ecx, dword [0x701c8c]
push eax
push str.lastZoneArea
call fcn.004322e0
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0xa10], 8
jb 0x46252c
push dword [ebp - 0xa24]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0xa10], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0xa24], ax
lea ecx, [ebp - 0xa24]
lea eax, [ebp - 0xa54]
mov dword [ebp - 0xa14], 0
push eax
call fcn.00414cd0
lea eax, [ebp - 0xa24]
mov byte [ebp - 4], 0x10
mov ecx, dword [0x701c8c]
push eax
push str.lastZoneName
call fcn.004322e0
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0xa10], 8
jb 0x462591
push dword [ebp - 0xa24]
call esi
add esp, 4
mov ecx, dword [0x701c8c]
call fcn.005b3410
cmp dword [ebp - 0xa28], 8
lea eax, [ebp - 0xa3c]
cmovae eax, dword [ebp - 0xa3c]
push eax
push 0x65aeac
push 0x130
push str.LDCountryImpl::calcZone
call fcn.00584a40
mov ebx, dword [ebp - 0xbe0]
xor eax, eax
add esp, 0x10
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
mov ecx, dword [ebp - 0xa28]
cmp ecx, 8
jae 0x462611
mov eax, dword [ebp - 0xa2c]
inc eax
je 0x462623
add eax, eax
push eax
lea eax, [ebp - 0xa3c]
push eax
push ebx
call dword [sym.imp.MSVCR120.dll_memmove]
mov ecx, dword [ebp - 0xa28]
add esp, 0xc
jmp 0x462623
mov eax, dword [ebp - 0xa3c]
mov dword [ebx], eax
mov dword [ebp - 0xa3c], 0
mov eax, dword [ebp - 0xa2c]
mov dword [ebx + 0x10], eax
xor eax, eax
mov word [ebp - 0xa3c], ax
mov eax, dword [ebp - 0xbcc]
mov dword [ebx + 0x14], ecx
mov dword [ebp - 0xa28], 7
mov dword [ebp - 0xa2c], 0
test eax, eax
je 0x46268b
push dword [ebp - 0xbc8]
push eax
call fcn.0043b140
push dword [ebp - 0xbcc]
call esi
add esp, 4
mov dword [ebp - 0xbcc], 0
mov dword [ebp - 0xbc8], 0
mov dword [ebp - 0xbc4], 0
cmp dword [ebp - 0xad0], 8
jb 0x46269f
push dword [ebp - 0xae4]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0xad0], 7
cmp dword [ebp - 0xab8], 0x10
mov dword [ebp - 0xad4], 0
mov word [ebp - 0xae4], ax
jb 0x4626d0
push dword [ebp - 0xacc]
call esi
add esp, 4
cmp dword [ebp - 0xa28], 8
mov dword [ebp - 0xab8], 0xf
mov dword [ebp - 0xabc], 0
mov byte [ebp - 0xacc], 0
jb 0x4626ff
push dword [ebp - 0xa3c]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0xa28], 7
cmp dword [ebp - 0xaa0], 0x10
mov dword [ebp - 0xa2c], 0
mov word [ebp - 0xa3c], ax
jb 0x462730
push dword [ebp - 0xab4]
call esi
add esp, 4
cmp dword [ebp - 0xa58], 8
mov dword [ebp - 0xaa0], 0xf
mov dword [ebp - 0xaa4], 0
mov byte [ebp - 0xab4], 0
jb 0x46275f
push dword [ebp - 0xa6c]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0xa58], 7
cmp dword [ebp - 0xa70], 8
mov dword [ebp - 0xa5c], 0
mov word [ebp - 0xa6c], ax
jb 0x462790
push dword [ebp - 0xa84]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0xa70], 7
cmp dword [ebp - 0xa40], 8
mov dword [ebp - 0xa74], 0
mov word [ebp - 0xa84], ax
jb 0x4627c1
push dword [ebp - 0xa54]
call esi
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006116d0
mov esp, ebp
pop ebp
ret 4