Function at 0x451940
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x575045
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x244
push esi
mov dword [ebp - 0x1c], 0x200
call fcn.004515c0
mov ecx, str.03000200_0400_0500_0006_000700080009
mov eax, 0x5b8d58
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4519b6
test dx, dx
je 0x4519b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4519b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x451990
xor eax, eax
jmp 0x4519bb
sbb eax, eax
or eax, 1
test eax, eax
je 0x451a9f
mov ecx, str.12345678_1234_5678_90AB_CDDEEFAABBCC
mov eax, 0x5b8d58
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4519f6
test dx, dx
je 0x4519f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4519f6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4519d0
xor eax, eax
jmp 0x4519fb
sbb eax, eax
or eax, 1
test eax, eax
je 0x451a9f
mov ecx, str.00000000_0000_0000_0000_000000000000
mov eax, 0x5b8d58
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x451a36
test dx, dx
je 0x451a32
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x451a36
add eax, 4
add ecx, 4
test dx, dx
jne 0x451a10
xor eax, eax
jmp 0x451a3b
sbb eax, eax
or eax, 1
test eax, eax
je 0x451a9f
mov ecx, str.FFFFFFFF_FFFF_FFFF_FFFF_FFFFFFFFFFFF
mov eax, 0x5b8d58
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x451a76
test dx, dx
je 0x451a72
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x451a76
add eax, 4
add ecx, 4
test dx, dx
jne 0x451a50
xor eax, eax
jmp 0x451a7b
sbb eax, eax
or eax, 1
test eax, eax
je 0x451a9f
mov ecx, 0x5b8d58
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x451a87
sub ecx, edx
sar ecx, 1
cmp ecx, 0x24
je 0x451c25
push 0x2c
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
push str.UU1EUlU_UENaS2dhcG1xbWRyWkFwd25ybWVwX25mdw
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], 0
movups xmmword [ebp - 0x4c], xmm0
call fcn.004298d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
push 0x10
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
push str.S19hZmdsY0VzZ2I
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], 0
call fcn.004298d0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
push 0x101
push 0
sub esp, 0x18
lea eax, [ebp - 0x4c]
mov ecx, esp
push eax
call fcn.0042a1c0
lea ecx, [ebp - 0x14]
call fcn.00440f90
add esp, 0x18
push dword [eax]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [ebp - 0x14]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x451b40
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
sub esp, 0x18
lea eax, [ebp - 0x34]
mov ecx, esp
push eax
call fcn.0042a1c0
lea ecx, [ebp - 0x14]
call fcn.00440f90
add esp, 0x18
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x250]
push ecx
lea ecx, [ebp - 0x50]
push ecx
push 0
push dword [eax]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x451b8d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x250]
push eax
call fcn.00556231
add esp, 4
push eax
push str._wsX
push 0x5b8d58
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp - 0x20]
add esp, 0xc
cmp ecx, 8
jb 0x451bef
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x451be5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451c37
push ecx
push edx
call fcn.00544be1
add esp, 8
mov ecx, dword [ebp - 0x38]
cmp ecx, 8
jb 0x451c25
mov edx, dword [ebp - 0x4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x451c1b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451c37
push ecx
push edx
call fcn.00544be1
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00549bcf
int3