Function at 0x4db3f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea esi, [ebp - 0xc4]
mov edi, eax
sub esp, 0x1dc
mov ecx, esi
mov dword [ebp - 0x1c8], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x20019
mov dword [esp + 4], 0x34
mov dword [esp + 8], str.SYSTEMCurrentControlSetControlTimeZoneInformation
mov dword [esp], 0x80000002
call fcn.00506170
lea ecx, [ebp - 0x1b4]
sub esp, 0x14
mov dword [esp + 4], 0xf
mov dword [esp + 8], str.TimeZoneKeyName
mov dword [esp], esi
call fcn.006262b0
sub esp, 0xc
mov ecx, esi
call fcn.005061d0
mov eax, dword [ebp - 0x1b4]
mov edx, dword [eax + 4]
test edx, edx
je 0x4db4e0
lea eax, [ebp - 0x1b4]
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.005ab8c0
mov eax, dword [ebp - 0x1b4]
mov edx, dword [eax]
test edx, edx
je 0x4db4b0
cmp edx, 0xffffffff
je 0x4db49f
lock sub dword [eax], 1
mov eax, dword [ebp - 0x1b4]
je 0x4db4b0
mov eax, dword [ebp - 0x1c8]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], eax
mov dword [esp + 8], 4
mov dword [esp + 4], 2
call fcn.004a4c50
mov eax, dword [ebp - 0x1c8]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebp - 0x170]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
lea eax, [ebp - 0x1b0]
sub esp, 4
call fcn.004db0e0
mov eax, dword [ebp - 0x1b0]
lea edx, [eax + 0x10]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
lea ebx, [edx + ecx*4]
lea eax, [edx + eax*4]
cmp eax, ebx
mov dword [ebp - 0x1c4], eax
je 0x4db866
lea eax, [ebp - 0x1a0]
mov dword [ebp - 0x1bc], eax
lea esi, [esi]
mov ecx, ebx
mov dword [ebp - 0x1ac], 0x2c
call fcn.005f6be0
test al, al
jne 0x4dba90
mov edx, dword [ebx]
xor eax, eax
mov ecx, edx
add ecx, dword [edx + 0xc]
mov edi, ecx
je 0x4db58e
mov ecx, dword [edx + 4]
test ecx, ecx
je 0x4db58e
xor edx, edx
cmp byte [edi], 0
je 0x4db58e
mov eax, edi
jmp 0x4db576
cmp byte [eax + edx], 0
je 0x4db57d
add edx, 1
cmp ecx, edx
jne 0x4db570
cmp edx, 0xffffffff
mov edi, eax
mov eax, edx
jne 0x4db58e
mov dword [esp], edi
call sub.msvcrt.dll_strlen
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1bc]
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.005ac1a0
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], str.SOFTWAREMicrosoftWindows_NTCurrentVersionTime_Zones
mov dword [esp], esi
call fcn.005b01a0
mov eax, dword [ebp - 0xc4]
mov dword [esp + 4], 0
lea ecx, [ebp - 0x1a8]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x1a0]
mov eax, dword [eax + 4]
lea eax, [edx + eax + 1]
mov dword [esp], eax
call fcn.005b0ff0
mov eax, dword [ebp - 0x1a8]
sub esp, 8
mov ecx, dword [eax + 0xc]
add ecx, eax
mov eax, dword [ebp - 0xc4]
mov edi, ecx
mov edx, dword [eax + 4]
add eax, dword [eax + 0xc]
mov dword [esp], ecx
add edx, edx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [ebp - 0x1c0], edx
call sub.msvcrt.dll_memcpy
mov edx, dword [ebp - 0x1c0]
mov eax, 0x5c
add edx, edi
mov word [edx], ax
mov eax, dword [ebp - 0x1a0]
lea ecx, [edx + 2]
mov edx, dword [eax + 4]
add eax, dword [eax + 0xc]
mov dword [esp], ecx
add edx, edx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0xc4]
mov edx, dword [eax]
test edx, edx
je 0x4db882
cmp edx, 0xffffffff
je 0x4db672
lock sub dword [eax], 1
mov eax, dword [ebp - 0xc4]
je 0x4db882
mov eax, dword [ebp - 0x1a0]
mov edx, dword [eax]
test edx, edx
je 0x4db8aa
cmp edx, 0xffffffff
je 0x4db697
lock sub dword [eax], 1
mov eax, dword [ebp - 0x1a0]
je 0x4db8aa
mov eax, dword [ebp - 0x1a8]
xor edx, edx
cmp eax, 0x880f80
mov ecx, dword [eax + 4]
je 0x4db6ae
add eax, dword [eax + 0xc]
mov edx, eax
mov dword [esp + 4], ecx
lea ecx, [ebp - 0x1a4]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x20019
mov dword [esp + 8], edx
mov dword [esp], 0x80000002
call fcn.00506170
mov eax, dword [ebp - 0x1a4]
sub esp, 0x14
test eax, eax
je 0x4db815
mov edi, dword [ebp - 0x1bc]
mov dword [esp], eax
lea edx, [ebp - 0x6c]
mov eax, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x1a0], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], edi
mov dword [esp + 8], 0
mov dword [esp + 4], 0x743cf8
mov edi, eax
call eax
mov eax, dword [ebp - 0x1bc]
sub esp, 0x18
mov dword [ebp - 0x1a0], 0x40
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x743d00
mov dword [esp + 0x14], eax
lea eax, [ebp - 0xc0]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x1a4]
mov dword [esp], eax
mov eax, edi
call eax
lea eax, [ebp - 0x1ac]
sub esp, 0x18
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x19c]
mov dword [esp + 4], 0x743d08
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x1a4]
mov dword [esp], eax
call edi
sub esp, 0x18
test eax, eax
jne 0x4db815
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x1a4]
call fcn.005061d0
mov eax, dword [ebp - 0x1a8]
mov edx, dword [eax]
test edx, edx
je 0x4db8d0
cmp edx, 0xffffffff
je 0x4db845
lock sub dword [eax], 1
mov eax, dword [ebp - 0x1a8]
je 0x4db8d0
mov eax, dword [ebp - 0x170]
cmp dword [ebp - 0xc4], eax
je 0x4db8fa
add ebx, 4
cmp dword [ebp - 0x1c4], ebx
jne 0x4db530
mov eax, dword [ebp - 0x1c8]
mov dword [eax], 0x8c0c18
lea ecx, [ebp - 0x1b0]
call fcn.00594670
jmp 0x4db482
mov dword [esp], eax
mov dword [esp + 8], 4
mov dword [esp + 4], 2
call fcn.004a4c50
mov eax, dword [ebp - 0x1a0]
mov edx, dword [eax]
test edx, edx
jne 0x4db682
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call fcn.004a4c50
jmp 0x4db697
mov dword [esp], eax
mov dword [esp + 8], 4
mov dword [esp + 4], 2
call fcn.004a4c50
mov eax, dword [ebp - 0x170]
cmp dword [ebp - 0xc4], eax
jne 0x4db857
mov eax, dword [ebp - 0x11c]
cmp dword [ebp - 0x70], eax
jne 0x4db857
movzx eax, word [ebp - 0x12c]
cmp word [ebp - 0x80], ax
jne 0x4db857
movzx eax, word [ebp - 0x12a]
cmp word [ebp - 0x7e], ax
jne 0x4db857
movzx eax, word [ebp - 0x126]
cmp word [ebp - 0x7a], ax
jne 0x4db857
movzx eax, word [ebp - 0x128]
cmp word [ebp - 0x7c], ax
jne 0x4db857
movzx eax, word [ebp - 0x124]
cmp word [ebp - 0x78], ax
jne 0x4db857
movzx eax, word [ebp - 0x122]
cmp word [ebp - 0x76], ax
jne 0x4db857
movzx eax, word [ebp - 0x120]
cmp word [ebp - 0x74], ax
jne 0x4db857
movzx eax, word [ebp - 0x11e]
cmp word [ebp - 0x72], ax
jne 0x4db857
lea eax, [ebp - 0x16c]
mov dword [esp + 4], eax
lea eax, [ebp - 0xc0]
mov dword [esp], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x4db857
mov eax, dword [ebp - 0xc8]
cmp dword [ebp - 0x1c], eax
jne 0x4db857
movzx eax, word [ebp - 0xd8]
cmp word [ebp - 0x2c], ax
jne 0x4db857
movzx eax, word [ebp - 0xd6]
cmp word [ebp - 0x2a], ax
jne 0x4db857
movzx eax, word [ebp - 0xd2]
cmp word [ebp - 0x26], ax
jne 0x4db857
movzx eax, word [ebp - 0xd4]
cmp word [ebp - 0x28], ax
jne 0x4db857
movzx eax, word [ebp - 0xd0]
cmp word [ebp - 0x24], ax
jne 0x4db857
movzx eax, word [ebp - 0xce]
cmp word [ebp - 0x22], ax
jne 0x4db857
movzx eax, word [ebp - 0xcc]
cmp word [ebp - 0x20], ax
jne 0x4db857
movzx eax, word [ebp - 0xca]
cmp word [ebp - 0x1e], ax
jne 0x4db857
lea eax, [ebp - 0x118]
mov dword [esp + 4], eax
lea eax, [ebp - 0x6c]
mov dword [esp], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x4db857
mov eax, dword [ebx]
mov esi, dword [ebp - 0x1c8]
mov dword [esi], eax
mov edx, dword [eax]
add edx, 1
cmp edx, 1
jbe 0x4db872
lock add dword [eax], 1
jmp 0x4db872
mov dword [ebp - 0x1a0], 0x880f80
jmp 0x4db5a4