Function at 0x458b30
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 0x57cfe5
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.004586c0
mov ecx, str.03000200_0400_0500_0006_000700080009
mov eax, 0x5c9848
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x458ba6
test dx, dx
je 0x458ba2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x458ba6
add eax, 4
add ecx, 4
test dx, dx
jne 0x458b80
xor eax, eax
jmp 0x458bab
sbb eax, eax
or eax, 1
test eax, eax
je 0x458c8f
mov ecx, str.12345678_1234_5678_90AB_CDDEEFAABBCC
mov eax, 0x5c9848
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x458be6
test dx, dx
je 0x458be2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x458be6
add eax, 4
add ecx, 4
test dx, dx
jne 0x458bc0
xor eax, eax
jmp 0x458beb
sbb eax, eax
or eax, 1
test eax, eax
je 0x458c8f
mov ecx, str.00000000_0000_0000_0000_000000000000
mov eax, 0x5c9848
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x458c26
test dx, dx
je 0x458c22
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x458c26
add eax, 4
add ecx, 4
test dx, dx
jne 0x458c00
xor eax, eax
jmp 0x458c2b
sbb eax, eax
or eax, 1
test eax, eax
je 0x458c8f
mov ecx, str.FFFFFFFF_FFFF_FFFF_FFFF_FFFFFFFFFFFF
mov eax, 0x5c9848
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x458c66
test dx, dx
je 0x458c62
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x458c66
add eax, 4
add ecx, 4
test dx, dx
jne 0x458c40
xor eax, eax
jmp 0x458c6b
sbb eax, eax
or eax, 1
test eax, eax
je 0x458c8f
mov ecx, 0x5c9848
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x458c77
sub ecx, edx
sar ecx, 1
cmp ecx, 0x24
je 0x458e15
push 0x3b
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
push str.S1JnQMRgdbIWUceEzV0YFx8OKUjk9hFF4t8JjtyfOSsX2RSQ16FVA7gOh4
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], 0
movups xmmword [ebp - 0x4c], xmm0
call fcn.0042d600
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
push 0x18
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
push str.MDlYbYn1YYOwpZ9Vz0lFRVA8
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], 0
call fcn.0042d600
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.0042e9e0
lea ecx, [ebp - 0x14]
call fcn.00445090
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 0x458d30
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.0042e9e0
lea ecx, [ebp - 0x14]
call fcn.00445090
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 0x458d7d
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.0055e701
add esp, 4
push eax
push str._wsX
push 0x5c9848
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp - 0x20]
add esp, 0xc
cmp ecx, 8
jb 0x458ddf
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x458dd5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458e27
push ecx
push edx
call fcn.0054db34
add esp, 8
mov ecx, dword [ebp - 0x38]
cmp ecx, 8
jb 0x458e15
mov edx, dword [ebp - 0x4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x458e0b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458e27
push ecx
push edx
call fcn.0054db34
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.00552a0f
int3