Function at 0x404a20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x41e4a6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
mov eax, dword [edi + 0x10]
mov eax, dword [eax - 0xc]
push ebx
xor ebx, ebx
cmp eax, ebx
push esi
je 0x404b0f
mov ecx, dword [edi + 0x14]
cmp dword [ecx - 0xc], ebx
je 0x404b0f
mov edx, dword [edi + 0x1c]
cmp dword [edx - 0xc], ebx
je 0x404b0f
mov eax, dword [edi + 0x20]
cmp dword [eax - 0xc], ebx
je 0x404b0f
call fcn.00418935
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 8], eax
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x14]
mov esi, dword [edi + 0x10]
push eax
push ecx
push edx
push esi
push str.SoftwareAutodeskSubscriptionCenterProfile
lea eax, [esp + 0x1c]
push str.__s__s___s___s__s
push eax
mov dword [esp + 0x250], ebx
call fcn.004021e0
mov eax, dword [esp + 0x24]
mov ecx, dword [eax - 0xc]
add esp, 0x1c
cmp ecx, ebx
je 0x404b06
lea ecx, [esp + 0xc]
push ecx
push 0x20019
push ebx
push eax
push SysReAllocString
mov dword [esp + 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 2
jne 0x404b02
lea ecx, [esp + 8]
call fcn.004015d0
mov al, 1
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, ebx
je 0x404b25
lea ecx, [esp + 8]
call fcn.004015d0
xor al, al
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00418935
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
call fcn.00418935
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x234], 1
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x14]
push ebx
push ebx
push ebx
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x3c]
push edx
push eax
push ecx
mov dword [esp + 0x34], 0x100
mov dword [esp + 0x38], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov esi, eax
cmp esi, ebx
jne 0x404c36
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
inc eax
push edx
mov dword [esp + 0x18], eax
call fcn.0041468f
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x404c23
lea eax, [esp + 0x18]
push eax
push ebx
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x1c]
push 0
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x3c]
push eax
push ecx
push edx
mov dword [esp + 0x3c], 0
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov esi, eax
test esi, esi
mov eax, dword [esp + 0x1c]
jne 0x404c10
cmp eax, 1
jne 0x404c15
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x24]
call fcn.00401990
push ebx
lea ecx, [esp + 0x28]
call fcn.00401990
lea ecx, [esp + 0x20]
push ecx
lea eax, [edi + 0x44]
call fcn.00405f80
jmp 0x404c1a
cmp eax, 1
je 0x404c1a
mov esi, 0xd
push ebx
call fcn.0041468a
add esp, 4
mov ecx, dword [esp + 0x10]
inc ecx
xor ebx, ebx
test esi, esi
mov dword [esp + 0x10], ecx
je 0x404b57
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x404c51
cmp esi, 0x103
je 0x404c51
xor bl, bl
jmp 0x404c53
mov bl, 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x234], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404c79
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404c97
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov dword [esp + 0x234], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404cc0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x22c]
pop esi
mov al, bl
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret