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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fbaf2
mov eax, dword fs:[0]
push eax
sub esp, 0xbe8
mov eax, dword [0x6af320]
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 0x45b898
xor ecx, ecx
jmp 0x45b8b0
lea ecx, [ebp - 0xba8]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45b8a1
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0xba8]
push eax
lea ecx, [ebp - 0xa54]
call fcn.00413650
mov dword [ebp - 4], 0
cmp dword [ebp - 0xa44], 0
jne 0x45b915
push str.no_zone_info
push 0xdf
push str.LDCountryImpl::calcZone
call fcn.0056c830
add esp, 0xc
mov ecx, edi
push 0x6304a0
call fcn.00413780
cmp dword [ebp - 0xa40], 8
jb 0x45b90e
push dword [ebp - 0xa54]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, edi
jmp 0x45c4c3
lea eax, [ebp - 0xa9c]
mov ecx, 0x6d69a0
push eax
call fcn.0045cc60
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.00417250
test eax, eax
jne 0x45b983
lea eax, [ebp - 0xa24]
mov ecx, 0x6d69a0
push eax
call fcn.0045cbc0
mov ebx, 6
mov byte [ebp - 0xbad], 1
cmp dword [eax + 0x10], 0
jne 0x45b98a
mov byte [ebp - 0xbad], 0
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
test bl, 4
je 0x45b9c9
and ebx, 0xfffffffb
cmp dword [ebp - 0xa10], 8
jb 0x45b9ac
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 0x45b9e9
cmp dword [ebp - 0xa88], 8
jb 0x45b9e9
push dword [ebp - 0xa9c]
call esi
add esp, 4
cmp byte [ebp - 0xbad], 0
je 0x45ba33
push str.use_local_setting_zone
push 0xe4
push str.LDCountryImpl::calcZone
call fcn.0056c830
add esp, 0xc
mov ecx, 0x6d69a0
push edi
call fcn.0045cbc0
cmp dword [ebp - 0xa40], 8
jb 0x45b90e
push dword [ebp - 0xa54]
call esi
add esp, 4
mov eax, edi
jmp 0x45c4c3
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.0056c830
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 0x63f968
call fcn.00413780
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 0x45bc3e
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 0x45bc3e
xor edi, edi
test eax, eax
je 0x45bc38
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 0x45bc2b
mov dword [ebp - 0xbb4], eax
lea edx, [ebp - 0xa84]
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0xafc]
call fcn.00425c20
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x45bb83
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.00413150
test bl, bl
je 0x45bc25
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 0x63f9dc
push dword [ebp - 0xbb4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45bc25
lea eax, [ebp - 0xa0c]
push eax
lea eax, [ebp - 0xa54]
push eax
call fcn.00417070
add esp, 8
test al, al
jne 0x45bc38
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
inc edi
cmp edi, dword [ebp - 0xbdc]
jb 0x45bb20
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.00413780
mov byte [ebp - 4], 3
cmp dword [ebp - 0xa5c], 0
jne 0x45bd11
push str.not_find_reg_key
push 0x10b
push str.LDCountryImpl::calcZone
call fcn.0056c830
add esp, 0xc
mov ecx, edi
push 0x6304a0
call fcn.00413780
cmp dword [ebp - 0xa58], 8
jb 0x45bca4
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 0x45bcd5
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 0x45b90e
push dword [ebp - 0xa54]
call esi
add esp, 4
mov eax, edi
jmp 0x45c4c3
cmp dword [ebp - 0xa58], 8
lea eax, [ebp - 0xa6c]
cmovae eax, dword [ebp - 0xa6c]
push eax
push 0x638a5c
push 0x10e
push str.LDCountryImpl::calcZone
call fcn.0056c830
lea eax, [ebp - 0xa6c]
push eax
lea eax, [ebp - 0xab4]
push eax
call fcn.0057a390
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.00579910
add esp, 0x1c
push 8
push str.zone.txt
lea ecx, [ebp - 0xae4]
mov byte [ebp - 4], 7
call fcn.004245a0
lea edx, [ebp - 0xacc]
lea ecx, [ebp - 0xae4]
call fcn.004e0d00
mov dword [ebp - 0xbcc], 0
mov dword [ebp - 0xbc8], 0
mov dword [ebp - 0xbc4], 0
push 0x63c5b0
lea ecx, [ebp - 0xa24]
mov byte [ebp - 4], 8
call fcn.0042d560
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.0057a940
add esp, 0xc
mov byte [ebp - 4], 8
cmp dword [ebp - 0xa10], 0x10
jb 0x45be25
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.0056c830
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 0x45c1ba
xor ecx, ecx
mov dword [ebp - 0xbb4], ecx
lea esp, [esp]
cmp eax, ebx
jbe 0x45c0e8
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.0042d0e0
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 0x63f964
mov dword [ebp - 0xa10], 0xf
mov dword [ebp - 0xa14], 0
mov byte [ebp - 0xa24], 0
call fcn.0042d440
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.0057a940
add esp, 0xc
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0xa10], 0x10
jb 0x45bf8e
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 0x45c038
test eax, eax
je 0x45c0e8
cmp dword [edi + 0x14], 0x10
mov ebx, dword [edi + 0x10]
jb 0x45bfd3
mov eax, dword [edi]
mov dword [ebp - 0xbd0], eax
jmp 0x45bfd9
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.00437e70
add esp, 4
test eax, eax
jne 0x45c027
mov ecx, dword [ebp - 0xaa4]
cmp ecx, ebx
jae 0x45c01e
or eax, 0xffffffff
jmp 0x45c025
xor eax, eax
cmp ecx, ebx
setne al
test eax, eax
sete al
test al, al
jne 0x45c0ca
mov ebx, dword [ebp - 0xbbc]
test edi, edi
je 0x45c06c
push ebx
push edi
call fcn.00437030
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 0x45c084
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 0x45c1ba
mov ecx, dword [ebp - 0xbb4]
jmp 0x45bed0
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 0x45c0f3
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.0057a310
mov edi, eax
add esp, 8
lea eax, [ebp - 0xa3c]
cmp eax, edi
je 0x45c14f
cmp dword [ebp - 0xa28], 8
jb 0x45c126
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.00417ff0
cmp dword [ebp - 0xa10], 8
jb 0x45c163
push dword [ebp - 0xa24]
call esi
add esp, 4
mov eax, dword [ebp - 0xbc0]
test eax, eax
je 0x45c1a2
push dword [ebp - 0xbbc]
push eax
call fcn.00437030
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 0x45c1ba
push dword [ebp - 0xa9c]
call esi
add esp, 4
cmp dword [ebp - 0xa2c], 0
je 0x45c29c
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.00413280
lea eax, [ebp - 0xa24]
mov byte [ebp - 4], 0xf
mov ecx, dword [0x6d69bc]
push eax
push str.lastZoneArea
call fcn.0042e720
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0xa10], 8
jb 0x45c22c
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.00413280
lea eax, [ebp - 0xa24]
mov byte [ebp - 4], 0x10
mov ecx, dword [0x6d69bc]
push eax
push str.lastZoneName
call fcn.0042e720
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0xa10], 8
jb 0x45c291
push dword [ebp - 0xa24]
call esi
add esp, 4
mov ecx, dword [0x6d69bc]
call fcn.005942a0
cmp dword [ebp - 0xa28], 8
lea eax, [ebp - 0xa3c]
cmovae eax, dword [ebp - 0xa3c]
push eax
push 0x638a5c
push 0x130
push str.LDCountryImpl::calcZone
call fcn.0056c830
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 0x45c311
mov eax, dword [ebp - 0xa2c]
inc eax
je 0x45c323
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 0x45c323
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 0x45c38b
push dword [ebp - 0xbc8]
push eax
call fcn.00437030
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 0x45c39f
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 0x45c3d0
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 0x45c3ff
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 0x45c430
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 0x45c45f
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 0x45c490
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 0x45c4c1
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.005f24e0
mov esp, ebp
pop ebp
ret 4