Function at 0x423780
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
lea ecx, [ebp - 0x24]
mov edx, 0x57ced8
push 0x12
call fcn.00423f70
add esp, 4
xor eax, eax
cmp eax, dword [ebp - 0x24]
jno 0x4237b9
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], 0
jmp 0x4237c9
mov eax, dword [ebp - 0x1c]
movsd xmm0, qword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
movsd qword [ebp - 0x34], xmm0
lea ebx, [ebp - 0x24]
mov edx, 0x57ced8
mov ecx, ebx
push 0x12
call fcn.00423f70
add esp, 4
mov edi, dword [ebp - 0x24]
mov eax, edi
neg eax
jo 0x4237ee
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
jmp 0x4237f5
xor eax, eax
mov esi, 1
push eax
push esi
push ebx
call fcn.004e6b10
add esp, 0xc
cmp dword [ebp - 0x20], 0x55f0
setb bl
or bl, byte [ebp - 0x24]
test edi, 0x7fffffff
jne 0x423826
mov edi, 0xb
test bl, bl
lea esi, [ebp - 0x24]
jne 0x423842
jmp 0x42399a
push 1
push edi
push esi
call fcn.0040cd20
add esp, 0xc
mov edi, 0xb
test bl, bl
lea esi, [ebp - 0x24]
je 0x42399a
lea eax, [0x57ceb7]
mov dword [ebp - 0x20], 0x57ce8b
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x18], 0
mov dword [ebp - 0x24], 1
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.004255c0
add esp, 8
lea eax, [0x57cf03]
mov dword [ebp - 0x20], 0x57ceea
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x18], 0
mov dword [ebp - 0x24], 1
lea eax, [ebp - 0x44]
push esi
push eax
call fcn.004255c0
add esp, 8
mov edi, dword [ebp - 0x54]
call fcn.0043d010
mov dword [ebp - 0x24], eax
push esi
push 0x20019
push 0
push edi
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x4238ed
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x4238cf
add eax, eax
push 2
push eax
push dword [ebp - 0x40]
call fcn.0040cd20
add esp, 0xc
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x423998
add eax, eax
push 2
push eax
push edi
call fcn.0040cd20
add esp, 0xc
jmp 0x423998
mov ebx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], 4
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x28]
push eax
push ecx
push esi
push 0
mov dword [ebp - 0x48], edx
push edx
mov esi, ebx
push ebx
call sub.advapi32.dll_RegQueryValueExW
mov ebx, eax
test eax, eax
mov dword [ebp - 0x4c], edi
je 0x42395a
movzx eax, bx
or eax, 0x80070000
test ebx, ebx
cmovle eax, ebx
push eax
call fcn.00446800
add esp, 4
test edx, edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov byte [ebp - 0x24], 1
je 0x423958
lea eax, [ebp - 0x1c]
push eax
call fcn.004465e0
add esp, 4
jmp 0x42395d
mov edi, dword [ebp - 0x28]
push esi
call sub.advapi32.dll_RegCloseKey
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x42397a
add eax, eax
push 2
push eax
push dword [ebp - 0x48]
call fcn.0040cd20
add esp, 0xc
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x423991
add eax, eax
push 2
push eax
push dword [ebp - 0x4c]
call fcn.0040cd20
add esp, 0xc
test ebx, ebx
lea esi, [ebp - 0x24]
je 0x42399a
xor edi, edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x24], 0x57cf08
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], fcn.004eb5f0
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x38], 0x421d10
mov dword [ebp - 0x18], 2
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.004d0480
add esp, 8
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4239fb
push 1
push eax
push dword [ebp - 0x30]
call fcn.0040cd20
add esp, 0xc
mov eax, esi
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret