Function at 0x457c00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f42d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4c0180]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x1c], eax
mov edi, dword [eax]
mov edx, str.03000200_0400_0500_0006_000700080009
mov eax, edi
mov si, word [eax]
cmp si, word [edx]
jne 0x457c5c
test si, si
je 0x457c58
mov cx, word [eax + 2]
cmp cx, word [edx + 2]
jne 0x457c5c
add eax, 4
add edx, 4
test cx, cx
jne 0x457c36
xor eax, eax
jmp 0x457c61
sbb eax, eax
or eax, 1
test eax, eax
je 0x457d19
mov ecx, str.12345678_1234_5678_90AB_CDDEEFAABBCC
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x457c96
test dx, dx
je 0x457c92
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x457c96
add eax, 4
add ecx, 4
test dx, dx
jne 0x457c70
xor eax, eax
jmp 0x457c9b
sbb eax, eax
or eax, 1
test eax, eax
je 0x457d19
mov ecx, str.00000000_0000_0000_0000_000000000000
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x457ccc
test dx, dx
je 0x457cc8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x457ccc
add eax, 4
add ecx, 4
test dx, dx
jne 0x457ca6
xor eax, eax
jmp 0x457cd1
sbb eax, eax
or eax, 1
test eax, eax
je 0x457d19
mov ecx, str.FFFFFFFF_FFFF_FFFF_FFFF_FFFFFFFFFFFF
mov eax, edi
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x457d06
test dx, dx
je 0x457d02
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x457d06
add eax, 4
add ecx, 4
test dx, dx
jne 0x457ce0
xor eax, eax
jmp 0x457d0b
sbb eax, eax
or eax, 1
test eax, eax
je 0x457d19
cmp dword [edi - 0xc], 0x24
je 0x457f05
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0x101
push 0
push str.SOFTWAREMicrosoftCryptography
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x457dde
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x20]
push eax
push 0
push str.MachineGuid
push dword [ebp - 0x18]
call esi
test eax, eax
jne 0x457dde
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x457dde
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], edi
test eax, eax
je 0x457d94
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00427330
mov edi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x30]
lea eax, [ebp - 0x14]
push eax
push ebx
lea eax, [ebp - 0x20]
push eax
push 0
push str.MachineGuid
push dword [ebp - 0x18]
call esi
test eax, eax
je 0x457df2
test ebx, ebx
je 0x457dde
sub edi, ebx
mov eax, ebx
and edi, 0xfffffffe
cmp edi, 0x1000
jb 0x457dd4
mov ebx, dword [eax - 4]
add edi, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x457f7f
push edi
push ebx
call fcn.00470c18
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00405150
mov ecx, eax
test ecx, ecx
je 0x457f75
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push ebx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004044c0
test al, al
jne 0x457e49
test ebx, ebx
jne 0x457e25
xor ecx, ecx
jmp 0x457e3f
mov ecx, ebx
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x457e30
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x10]
call fcn.004047f0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x10]
mov edx, dword [esi - 0xc]
mov dword [ebp - 0x24], edx
test edx, edx
js 0x457f6b
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x457e7e
push edx
lea ecx, [ebp - 0x10]
call fcn.00404790
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
lea eax, [edx + 1]
push eax
push esi
call fcn.004821cd
mov eax, dword [ebp - 0x24]
add esp, 8
cmp eax, dword [esi - 8]
jg 0x457f6b
push esi
push str._wsX
push dword [ebp - 0x1c]
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
call fcn.00404a60
add esp, 0xc
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x457ecd
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x457f05
sub edi, ebx
mov eax, ebx
and edi, 0xfffffffe
cmp edi, 0x1000
jb 0x457efb
mov ebx, dword [eax - 4]
add edi, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x457f7f
push edi
push ebx
call fcn.00470c18
add esp, 8
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov esi, dword [eax]
mov dword [eax + 4], 0
lea eax, [esi - 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [eax]
test eax, eax
jle 0x457f57
xor edi, edi
mov ebx, 0x4d2
xor edx, edx
test edx, edx
js 0x457f6b
cmp ecx, eax
jg 0x457f6b
movzx eax, word [esi]
inc ecx
imul eax, ebx
add edx, 0x4d2
add esi, 2
add ebx, 0x4d2
add edi, eax
mov eax, dword [ebp - 0x1c]
mov dword [eax + 4], edi
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
cmp ecx, eax
jl 0x457f28
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00404f30
push 0x80004005
call fcn.00404f30
call fcn.0047627f
int3