Function at 0x453730
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495225
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4b4180]
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 0x45378c
test cx, cx
je 0x453788
mov cx, word [eax + 2]
cmp cx, word [edx + 2]
jne 0x45378c
add eax, 4
add edx, 4
test cx, cx
jne 0x453766
xor eax, eax
jmp 0x453791
sbb eax, eax
or eax, 1
test eax, eax
je 0x453849
mov ecx, str.12345678_1234_5678_90AB_CDDEEFAABBCC
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4537c6
test dx, dx
je 0x4537c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4537c6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4537a0
xor eax, eax
jmp 0x4537cb
sbb eax, eax
or eax, 1
test eax, eax
je 0x453849
mov ecx, str.00000000_0000_0000_0000_000000000000
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4537fc
test dx, dx
je 0x4537f8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4537fc
add eax, 4
add ecx, 4
test dx, dx
jne 0x4537d6
xor eax, eax
jmp 0x453801
sbb eax, eax
or eax, 1
test eax, eax
je 0x453849
mov ecx, str.FFFFFFFF_FFFF_FFFF_FFFF_FFFFFFFFFFFF
mov eax, esi
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x453836
test dx, dx
je 0x453832
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x453836
add eax, 4
add ecx, 4
test dx, dx
jne 0x453810
xor eax, eax
jmp 0x45383b
sbb eax, eax
or eax, 1
test eax, eax
je 0x453849
cmp dword [esi - 0xc], 0x24
je 0x4539c6
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 0x4538d8
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 0x4538d8
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4538d8
mov ecx, 2
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.0046bbef
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 0x4538ec
push ebx
call fcn.0046bbf8
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.004038b0
mov ecx, eax
test ecx, ecx
je 0x453a21
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.004029f0
test al, al
jne 0x453939
mov ecx, ebx
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x453920
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x10]
call fcn.00402d20
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x10]
mov edi, dword [esi - 0xc]
test edi, edi
js 0x453a17
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x45396b
push edi
lea ecx, [ebp - 0x10]
call fcn.00402cc0
mov esi, dword [ebp - 0x10]
lea eax, [edi + 1]
push eax
push esi
call fcn.0047ae25
add esp, 8
cmp edi, dword [esi - 8]
jg 0x453a17
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.00402f90
add esp, 0xc
push ebx
call fcn.0046bbf8
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 0x4539c3
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 0x453a03
xor esi, esi
nop dword [eax]
test ecx, ecx
js 0x453a17
cmp ecx, eax
jg 0x453a17
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 0x4539e0
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.00403680
push 0x80004005
call fcn.00403680
int3