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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x680
mov eax, dword [0x5d1614]
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 0x43e1f0
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.005440c0
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 0x43dff2
movzx ecx, word [esi + eax]
cmp cx, bx
je 0x43dff2
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x43dfd2
jmp 0x43dff6
cmp edx, ebx
jne 0x43dff9
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 0x43e1d8
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 0x43e1cb
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.005440c0
add esp, 0xc
mov edx, 0x104
lea eax, [ebp - 0x24c]
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x43e0b0
movzx ecx, word [esi + eax]
cmp cx, bx
je 0x43e0b0
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x43e090
jmp 0x43e0b4
cmp edx, ebx
jne 0x43e0b7
sub eax, 2
xor edx, edx
push 0x5a02d4
lea edi, [ebp - 0x24c]
mov word [eax], dx
call fcn.00429420
lea eax, [ebp - 0x65c]
push eax
call fcn.00429420
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 0x43e17c
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 0x5a81a8
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 0x43e157
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 0x43e157
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 0x43e1b3
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 0x43e070
cmp dword [ebp - 0x660], 1
jne 0x43e1ca
lea edx, [ebp - 0x65c]
push edx
mov edx, dword [ebp - 0x67c]
mov ecx, 0x80
call fcn.0041aa80
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.00540a86
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00540a86
mov esp, ebp
pop ebp
ret 8