Function at 0x442070
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e79f8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x672014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
push 0x633b54
lea ecx, [ebp - 0x18]
xor bl, bl
call fcn.0040d490
mov dword [ebp - 4], 1
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 2
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
push 0x20019
push str.SOFTWAREClasses.pdf
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.00435b20
mov edi, dword [ebp - 0x40]
test eax, eax
jne 0x44231b
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0x633b54
push edi
call esi
test eax, eax
jne 0x44231b
mov eax, dword [ebp - 0x10]
cmp eax, 1
je 0x44213b
cmp eax, 2
jne 0x44231b
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x34]
shr eax, 1
push ecx
push eax
mov dword [ebp - 0x10], eax
call fcn.004354a0
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x30]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 0x14], 0
push dword [ebp - 0x14]
push eax
call fcn.00442680
add esp, 8
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x34]
push ecx
push eax
push 0x633b54
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.00435c20
test eax, eax
jne 0x44231b
test edi, edi
je 0x4421ac
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x3c], 0
call fcn.00410350
sub esp, 0xc
mov byte [ebp - 4], 6
movq xmm0, qword [ebp - 0x34]
mov ecx, esp
mov eax, dword [ebp - 0x2c]
push str.SOFTWAREClasses_s_shellOpencommand
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea eax, [ebp - 0x14]
push eax
call fcn.004425b0
add esp, 0x14
lea ecx, [ebp - 0x40]
push 0x20019
push dword [ebp - 0x14]
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00435b20
mov edi, dword [ebp - 0x40]
test eax, eax
jne 0x44230f
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
lea eax, [ebp - 0x20]
push eax
push 0
push 0x633b54
push edi
call esi
test eax, eax
jne 0x44230f
mov eax, dword [ebp - 0x20]
cmp eax, 1
je 0x442238
cmp eax, 2
jne 0x44230f
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x34]
shr eax, 1
push ecx
push eax
mov dword [ebp - 0x10], eax
call fcn.004354a0
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 7
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x30]
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 0x20], 0
push dword [ebp - 0x20]
push eax
call fcn.00442680
add esp, 8
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x34]
push ecx
push eax
push 0x633b54
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
call fcn.00435c20
test eax, eax
jne 0x44230f
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 0x34]
push eax
mov byte [ebp - 4], 6
call fcn.0040d490
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0xa
push eax
push 0x63443c
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], 1
push eax
lea ecx, [ebp - 0x10]
call fcn.00418160
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xb
call fcn.00410290
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xa
call fcn.0040d440
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x442303
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00441570
test al, al
movzx ebx, bl
mov ecx, 1
cmovne ebx, ecx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.0040d440
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.0040d440
mov byte [ebp - 0x28], bl
call fcn.0040cdf0
mov ecx, eax
test ecx, ecx
jne 0x442333
push 0x80004005
call fcn.004021c2
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x442348
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x44234a
call edx
add eax, 0x10
mov dword [ebp - 0x24], eax
test bl, bl
mov byte [ebp - 4], 0xc
mov edx, 0x63cf54
mov eax, 0x634d08
cmove edx, eax
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x442370
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x24]
call fcn.00401fc3
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
push esi
push 0
push 0x1174f
mov ecx, dword [ecx]
call fcn.0041a4e0
or ebx, 0xffffffff
mov byte [ebp - 4], 0xd
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4423e1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4423df
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4423df
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4423e1
call edx
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 3
push dword [ebp - 0x18]
mov ecx, dword [eax]
push 0
push 0x11750
call fcn.0041a4e0
mov byte [ebp - 4], 2
test edi, edi
je 0x44240f
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x40], 0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x3c], 0
test ecx, ecx
je 0x442489
mov eax, dword [ebp - 0x2c]
sub eax, ecx
sar eax, 1
cmp eax, 0x7fffffff
jbe 0x442434
call fcn.005bcb11
add eax, eax
cmp eax, 0x1000
jb 0x44246b
test cl, 0x1f
je 0x442447
call fcn.005bcb11
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x442453
call fcn.005bcb11
sub ecx, eax
cmp ecx, 4
jae 0x44245f
call fcn.005bcb11
cmp ecx, 0x23
jbe 0x442469
call fcn.005bcb11
mov ecx, eax
push ecx
call fcn.0046f3d1
add esp, 4
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4424df
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4424db
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4424db
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, edx
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret