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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x680
mov eax, dword [0x5d2614]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x680], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x67c], eax
mov dword [ebp - 0x660], ebx
cmp eax, ebx
je 0x43ee40
push esi
push 0x208
lea ecx, [ebp - 0x454]
push ebx
push ecx
mov dword [ebp - 0x668], ebx
mov dword [ebp - 0x670], ebx
mov dword [ebp - 0x664], ebx
mov dword [ebp - 0x674], 1
mov dword [ebp - 0x678], ebx
call fcn.00544f30
lea eax, [ebp - 0x454]
mov esi, str.SOFTWAREMicrosoftWindows_NTCurrentVersionTime_Zones
mov ecx, eax
add esp, 0xc
mov edx, 0x104
sub esi, ecx
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x43ec42
movzx ecx, word [esi + eax]
cmp cx, bx
je 0x43ec42
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x43ec22
jmp 0x43ec46
cmp edx, ebx
jne 0x43ec49
sub eax, 2
xor edx, edx
mov word [eax], dx
lea eax, [ebp - 0x668]
push eax
push 0x20019
push ebx
lea ecx, [ebp - 0x454]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43ee28
mov ecx, dword [ebp - 0x668]
push ebx
push ebx
push ebx
push ebx
lea edx, [ebp - 0x664]
push edx
lea eax, [ebp - 0x65c]
push eax
push ebx
push ecx
mov dword [ebp - 0x66c], ebx
mov dword [ebp - 0x664], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x43ee1b
lea esi, [ebp - 0x454]
lea edx, [ebp - 0x24c]
sub esi, edx
push edi
lea esp, [esp]
push 0x208
lea eax, [ebp - 0x24c]
push ebx
push eax
call fcn.00544f30
add esp, 0xc
mov edx, 0x104
lea eax, [ebp - 0x24c]
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x43ed00
movzx ecx, word [esi + eax]
cmp cx, bx
je 0x43ed00
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x43ece0
jmp 0x43ed04
cmp edx, ebx
jne 0x43ed07
sub eax, 2
xor edx, edx
push 0x5a12d4
lea edi, [ebp - 0x24c]
mov word [eax], dx
call fcn.00429d10
lea eax, [ebp - 0x65c]
push eax
call fcn.00429d10
lea ecx, [ebp - 0x670]
push ecx
push 0x20019
push ebx
mov edx, edi
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43edcc
lea eax, [ebp - 0x678]
push eax
mov eax, dword [ebp - 0x670]
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x674]
push edx
push ebx
push 0x5a9200
mov edi, 1
push eax
mov dword [ebp - 0x674], edi
mov dword [ebp - 0x678], 0x40
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43eda7
mov ecx, dword [ebp - 0x680]
add ecx, 4
push ecx
lea edx, [ebp - 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x43eda7
mov dword [ebp - 0x660], edi
mov eax, dword [ebp - 0x670]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x660], edi
je 0x43ee03
add dword [ebp - 0x66c], edi
mov dword [ebp - 0x664], 0x104
mov eax, dword [ebp - 0x66c]
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x664]
push ecx
mov ecx, dword [ebp - 0x668]
lea edx, [ebp - 0x65c]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x43ecc0
cmp dword [ebp - 0x660], 1
jne 0x43ee1a
lea edx, [ebp - 0x65c]
push edx
mov edx, dword [ebp - 0x67c]
mov ecx, 0x80
call fcn.0041aaa0
pop edi
mov eax, dword [ebp - 0x668]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x660]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005418f3
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.005418f3
mov esp, ebp
pop ebp
ret 8