Function at 0x452e30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x494105
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4b30fc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
mov esi, dword [ebx]
mov edx, str.03000200_0400_0500_0006_000700080009
mov eax, esi
mov cx, word [eax]
cmp cx, word [edx]
jne 0x452e8c
test cx, cx
je 0x452e88
mov cx, word [eax + 2]
cmp cx, word [edx + 2]
jne 0x452e8c
add eax, 4
add edx, 4
test cx, cx
jne 0x452e66
xor eax, eax
jmp 0x452e91
sbb eax, eax
or eax, 1
test eax, eax
je 0x452f49
mov ecx, str.12345678_1234_5678_90AB_CDDEEFAABBCC
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x452ec6
test dx, dx
je 0x452ec2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x452ec6
add eax, 4
add ecx, 4
test dx, dx
jne 0x452ea0
xor eax, eax
jmp 0x452ecb
sbb eax, eax
or eax, 1
test eax, eax
je 0x452f49
mov ecx, str.00000000_0000_0000_0000_000000000000
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x452efc
test dx, dx
je 0x452ef8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x452efc
add eax, 4
add ecx, 4
test dx, dx
jne 0x452ed6
xor eax, eax
jmp 0x452f01
sbb eax, eax
or eax, 1
test eax, eax
je 0x452f49
mov ecx, str.FFFFFFFF_FFFF_FFFF_FFFF_FFFFFFFFFFFF
mov eax, esi
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x452f36
test dx, dx
je 0x452f32
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x452f36
add eax, 4
add ecx, 4
test dx, dx
jne 0x452f10
xor eax, eax
jmp 0x452f3b
sbb eax, eax
or eax, 1
test eax, eax
je 0x452f49
cmp dword [esi - 0xc], 0x24
je 0x4530c6
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 0x452fd9
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 0x452fd9
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x452fd9
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046abbf
add esp, 4
mov ebx, eax
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 0x452fed
push ebx
call fcn.0046abc8
add esp, 4
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.00403910
mov ecx, eax
test ecx, ecx
je 0x453121
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push ebx
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.00402a50
test al, al
jne 0x453039
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x453020
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x10]
call fcn.00402d80
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x10]
mov edi, dword [esi - 0xc]
test edi, edi
js 0x453117
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x45306b
push edi
lea ecx, [ebp - 0x10]
call fcn.00402d20
mov esi, dword [ebp - 0x10]
lea eax, [edi + 1]
push eax
push esi
call fcn.00479ce5
add esp, 8
cmp edi, dword [esi - 8]
jg 0x453117
push esi
push str._wsX
push dword [ebp - 0x1c]
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
call fcn.00402ff0
add esp, 0xc
push ebx
call fcn.0046abc8
add esp, 4
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4530c3
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebx]
xor ecx, ecx
lea edi, [edx - 0xc]
mov dword [ebx + 4], 0
mov eax, dword [edi]
test eax, eax
jle 0x453103
xor esi, esi
nop dword [eax]
test ecx, ecx
js 0x453117
cmp ecx, eax
jg 0x453117
movzx eax, word [edx]
inc ecx
imul eax, ecx
add edx, 2
imul eax, eax, 0x4d2
add esi, eax
mov dword [ebx + 4], esi
mov eax, dword [edi]
cmp ecx, eax
jl 0x4530e0
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.004036e0
push 0x80004005
call fcn.004036e0
int3