Function at 0x433e68
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], esi
lea ebx, [esi + 4]
push ebx
push 0x20019
push 0
push dword [esi]
mov dword [ebp - 0x14], ebx
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x433ebb
push edi
mov edi, dword [ebp + 8]
cmp dword [edi], eax
je 0x433ea8
mov ecx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add edi, 0x10
jmp 0x433d10
mov eax, dword [edi - 0xc]
cmp eax, 7
ja case.default.0x433d1c
jmp dword [eax*4 + 0x433ec8]
movsd xmm0, qword [edi]
call fcn.00493811
lea ecx, [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [edi - 4]
push ecx
push eax
push 0
push 0
push dword [edi - 0x10]
mov dword [ebp - 8], eax
push dword [ebx]
mov eax, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp + 8], 4
call eax
test eax, eax
je 0x433e95
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
jmp 0x433e95
mov esi, dword [edi - 4]
cvttsd2si ebx, qword [edi]
mov dword [ebp - 0x10], 4
movzx eax, byte [esi]
mov dword [ebp + 8], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp - 4]
push 0
push 0
push dword [edi - 0x10]
push dword [eax + 4]
call ecx
movzx edx, byte [ebp + 8]
test eax, eax
movzx ecx, bl
mov ebx, dword [ebp - 0x14]
cmovne edx, ecx
mov byte [esi], dl
mov esi, dword [ebp - 4]
jmp 0x433e95
mov eax, dword [edi - 4]
lea edx, [ebp + 8]
movsd xmm0, qword [edi]
push edx
push eax
push 0
push 0
push dword [edi - 0x10]
movsd qword [ebp - 0xc], xmm0
push dword [ebx]
mov dword [ebp - 0x10], eax
mov dword [ebp + 8], 8
call ecx
mov ecx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je case.default.0x433d1c
mov eax, dword [ebp - 0x10]
movsd xmm0, qword [ebp - 0xc]
movsd qword [eax], xmm0
jmp case.default.0x433d1c
cvttsd2si eax, qword [edi]
mov ecx, esi
movzx eax, ax
push eax
push dword [edi - 4]
push dword [edi - 0x10]
call fcn.00433f90
jmp 0x433e95
movsd xmm0, qword [edi]
call fcn.00493811
mov ecx, dword [edi - 8]
mov dword [ebp + 8], ecx
lea ecx, [ebp + 8]
push ecx
mov dword [ebp - 0x10], eax
mov eax, dword [edi - 4]
push eax
push 0
push 0
push dword [edi - 0x10]
mov dword [ebp - 8], eax
push dword [ebx]
mov eax, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call eax
test eax, eax
je 0x433e95
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x433e95
push eax
push dword [ebp + 8]
push dword [ebp - 8]
call fcn.004911bd
add esp, 0xc
jmp 0x433e95
push dword [edi - 4]
mov eax, dword [edi - 8]
mov ecx, esi
shr eax, 2
push eax
push dword [edi - 0x10]
call fcn.00433ef0
jmp 0x433e95
push dword [edi - 4]
mov eax, dword [edi - 8]
mov ecx, esi
shr eax, 1
push eax
push dword [edi - 0x10]
call fcn.00433ff0
jmp 0x433e95
mov eax, dword [edi - 8]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push dword [edi - 4]
push 0
push 0
push dword [edi - 0x10]
push dword [ebx]
call ecx
mov ecx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add edi, 0x18
cmp dword [edi - 0x10], 0
jne 0x433d10
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4