Function at 0x44d630
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e015
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4ab0fc]
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 0x44d68c
test cx, cx
je 0x44d688
mov cx, word [eax + 2]
cmp cx, word [edx + 2]
jne 0x44d68c
add eax, 4
add edx, 4
test cx, cx
jne 0x44d666
xor eax, eax
jmp 0x44d691
sbb eax, eax
or eax, 1
test eax, eax
je 0x44d749
mov ecx, str.12345678_1234_5678_90AB_CDDEEFAABBCC
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x44d6c6
test dx, dx
je 0x44d6c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x44d6c6
add eax, 4
add ecx, 4
test dx, dx
jne 0x44d6a0
xor eax, eax
jmp 0x44d6cb
sbb eax, eax
or eax, 1
test eax, eax
je 0x44d749
mov ecx, str.00000000_0000_0000_0000_000000000000
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x44d6fc
test dx, dx
je 0x44d6f8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x44d6fc
add eax, 4
add ecx, 4
test dx, dx
jne 0x44d6d6
xor eax, eax
jmp 0x44d701
sbb eax, eax
or eax, 1
test eax, eax
je 0x44d749
mov ecx, str.FFFFFFFF_FFFF_FFFF_FFFF_FFFFFFFFFFFF
mov eax, esi
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x44d736
test dx, dx
je 0x44d732
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x44d736
add eax, 4
add ecx, 4
test dx, dx
jne 0x44d710
xor eax, eax
jmp 0x44d73b
sbb eax, eax
or eax, 1
test eax, eax
je 0x44d749
cmp dword [esi - 0xc], 0x24
je 0x44d8c6
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 0x44d7d9
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 0x44d7d9
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x44d7d9
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004653bf
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 0x44d7ed
push ebx
call fcn.004653c8
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.00403800
mov ecx, eax
test ecx, ecx
je 0x44d921
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.00402940
test al, al
jne 0x44d839
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44d820
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x10]
call fcn.00402c70
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x10]
mov edi, dword [esi - 0xc]
test edi, edi
js 0x44d917
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x44d86b
push edi
lea ecx, [ebp - 0x10]
call fcn.00402c10
mov esi, dword [ebp - 0x10]
lea eax, [edi + 1]
push eax
push esi
call fcn.00474435
add esp, 8
cmp edi, dword [esi - 8]
jg 0x44d917
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.00402ee0
add esp, 0xc
push ebx
call fcn.004653c8
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 0x44d8c3
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 0x44d903
xor esi, esi
nop dword [eax]
test ecx, ecx
js 0x44d917
cmp ecx, eax
jg 0x44d917
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 0x44d8e0
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.004035d0
push 0x80004005
call fcn.004035d0
int3