Function at 0x10044090
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x1008e251
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x100c6580]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov esi, dword [esp + 0x50]
mov dword [esi], ebx
lea eax, [esp + 0x1c]
push eax
push 0x100a3eb8
mov dword [esp + 0x50], ebx
mov dword [esp + 0x38], 1
mov dword [esp + 0x24], ebx
call dword [sym.imp.ole32.dll_StringFromCLSID]
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x10044335
push eax
lea ecx, [esp + 0x30]
call fcn.1000ad20
mov ecx, dword [esp + 0x1c]
push ecx
mov dword [esp + 0x4c], 1
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x20], ebx
push 0x100a3ce4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4c], 3
call fcn.10001280
push str.InProcServer32
lea ecx, [esp + 0x38]
mov byte [esp + 0x4c], 4
call fcn.10001280
mov esi, eax
push str.SOFTWAREClassesCLSID_
lea ecx, [esp + 0x18]
mov byte [esp + 0x4c], 5
call fcn.10001280
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
mov byte [esp + 0x50], 6
call fcn.10001730
push esi
lea edx, [esp + 0x28]
push edx
mov ecx, eax
mov byte [esp + 0x50], 7
call fcn.10001730
mov eax, dword [eax]
cmp eax, ebx
je 0x10044184
mov eax, dword [eax]
jmp 0x10044186
xor eax, eax
push 0x20019
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x44]
call fcn.10011e60
test eax, eax
lea ecx, [esp + 0x24]
sete byte [esp + 0x13]
call fcn.1001b440
lea ecx, [esp + 0x18]
call fcn.1001b440
lea ecx, [esp + 0x14]
call fcn.1001b440
lea ecx, [esp + 0x34]
mov byte [esp + 0x48], 4
call fcn.1001b440
cmp byte [esp + 0x13], bl
je 0x100442f2
mov edi, dword [esp + 0x28]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], ebx
cmp edi, ebx
je 0x100441e8
mov eax, dword [edi]
jmp 0x100441ea
xor eax, eax
lea ecx, [esp + 0x14]
push ecx
push ebx
lea edx, [esp + 0x2c]
push edx
push ebx
push eax
mov eax, dword [esp + 0x4c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100442f2
cmp dword [esp + 0x24], 1
jne 0x100442f2
mov esi, dword [esp + 0x14]
inc esi
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
mov dword [esp + 0x14], esi
neg ecx
or ecx, eax
push ecx
call fcn.100713e0
mov esi, eax
mov eax, dword [esp + 0x18]
push eax
push ebx
push esi
call fcn.10072920
add esp, 0x10
cmp edi, ebx
je 0x1004424f
mov eax, dword [edi]
jmp 0x10044251
xor eax, eax
lea ecx, [esp + 0x14]
push ecx
push esi
push eax
lea ecx, [esp + 0x44]
call fcn.10019ec0
push esi
lea ecx, [esp + 0x24]
call fcn.100023e0
push esi
call fcn.10071dac
mov esi, dword [esp + 0x24]
add esp, 4
cmp esi, ebx
je 0x100442f2
mov eax, dword [esi]
cmp eax, ebx
je 0x100442f2
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
cmp eax, ebx
jbe 0x100442f2
mov edx, dword [esi]
push edx
lea ecx, [esp + 0x1c]
call fcn.1000b5a0
push 0x5c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4c], 8
call fcn.10042f10
cmp eax, 0xffffffff
je 0x100442e9
inc eax
push eax
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x20]
call fcn.1001b100
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4c], 9
call fcn.1003c3f0
lea ecx, [esp + 0x34]
mov byte [esp + 0x48], 8
call fcn.1000af00
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x54]
call fcn.100023e0
lea ecx, [esp + 0x18]
call fcn.1000af00
lea ecx, [esp + 0x28]
call fcn.1001b440
lea ecx, [esp + 0x20]
call fcn.1001b440
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x10044313
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x2c]
call fcn.1001b440
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x3c
ret 4
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x3c
ret 4