Function at 0x455cf0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x497d5d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4b7180]
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 0x455d4c
test si, si
je 0x455d48
mov cx, word [eax + 2]
cmp cx, word [edx + 2]
jne 0x455d4c
add eax, 4
add edx, 4
test cx, cx
jne 0x455d26
xor eax, eax
jmp 0x455d51
sbb eax, eax
or eax, 1
test eax, eax
je 0x455e09
mov ecx, str.12345678_1234_5678_90AB_CDDEEFAABBCC
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x455d86
test dx, dx
je 0x455d82
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x455d86
add eax, 4
add ecx, 4
test dx, dx
jne 0x455d60
xor eax, eax
jmp 0x455d8b
sbb eax, eax
or eax, 1
test eax, eax
je 0x455e09
mov ecx, str.00000000_0000_0000_0000_000000000000
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x455dbc
test dx, dx
je 0x455db8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x455dbc
add eax, 4
add ecx, 4
test dx, dx
jne 0x455d96
xor eax, eax
jmp 0x455dc1
sbb eax, eax
or eax, 1
test eax, eax
je 0x455e09
mov ecx, str.FFFFFFFF_FFFF_FFFF_FFFF_FFFFFFFFFFFF
mov eax, edi
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x455df6
test dx, dx
je 0x455df2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x455df6
add eax, 4
add ecx, 4
test dx, dx
jne 0x455dd0
xor eax, eax
jmp 0x455dfb
sbb eax, eax
or eax, 1
test eax, eax
je 0x455e09
cmp dword [edi - 0xc], 0x24
je 0x455ff5
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 0x455ece
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 0x455ece
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x455ece
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 0x455e84
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00426d50
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 0x455ee2
test ebx, ebx
je 0x455ece
sub edi, ebx
mov eax, ebx
and edi, 0xfffffffe
cmp edi, 0x1000
jb 0x455ec4
mov ebx, dword [eax - 4]
add edi, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45606f
push edi
push ebx
call fcn.0046de58
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.00404e10
mov ecx, eax
test ecx, ecx
je 0x456065
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.00404180
test al, al
jne 0x455f39
test ebx, ebx
jne 0x455f15
xor ecx, ecx
jmp 0x455f2f
mov ecx, ebx
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x455f20
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x10]
call fcn.004044b0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x10]
mov edx, dword [esi - 0xc]
mov dword [ebp - 0x24], edx
test edx, edx
js 0x45605b
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x455f6e
push edx
lea ecx, [ebp - 0x10]
call fcn.00404450
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
lea eax, [edx + 1]
push eax
push esi
call fcn.0047d535
mov eax, dword [ebp - 0x24]
add esp, 8
cmp eax, dword [esi - 8]
jg 0x45605b
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.00404720
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 0x455fbd
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x455ff5
sub edi, ebx
mov eax, ebx
and edi, 0xfffffffe
cmp edi, 0x1000
jb 0x455feb
mov ebx, dword [eax - 4]
add edi, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45606f
push edi
push ebx
call fcn.0046de58
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 0x456047
xor edi, edi
mov ebx, 0x4d2
xor edx, edx
test edx, edx
js 0x45605b
cmp ecx, eax
jg 0x45605b
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 0x456018
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.00404bf0
push 0x80004005
call fcn.00404bf0
call fcn.004734cf
int3