Function at 0x41a4b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x48f010
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4afa68]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x218]
mov esi, ecx
xor ebx, ebx
push 0x49c377
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
call fcn.004031c0
push 0x207
lea ecx, [ebp + 1]
push ebx
mov dword [ebp - 4], ebx
push ecx
mov byte [ebp], bl
call fcn.00457ee0
add esp, 0xc
push 0x16
push str.SOFTWAREClassesCLSID
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x2c], 0x208
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], 0x20019
mov byte [ebp - 4], 1
call fcn.004030b0
push str.IsWow64Process
push str.kernel32
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, ebx
je 0x41a575
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
cmp dword [ebp - 0x14], ebx
je 0x41a588
cmp dword [ebp + 0x214], 0x40
mov edi, 0x20119
je 0x41a58b
mov edi, dword [ebp - 0x38]
call fcn.004384a4
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41a5a5
push 0x80004005
call fcn.00405cc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
push esi
lea ecx, [ebp - 0x14]
push str._sInprocServer32
push ecx
mov byte [ebp - 4], 2
call fcn.0040bc00
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 0xc]
add esp, 0xc
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.00402b80
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x41a5f8
push ebx
lea ecx, [ebp - 0x18]
call fcn.00403000
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
push eax
push edi
push ebx
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x20], eax
cmp eax, ebx
je 0x41a622
push 0x4a74e4
lea ecx, [ebp - 0x24]
push ecx
mov dword [ebp - 0x24], eax
call fcn.004581eb
lea edx, [ebp - 0x2c]
push edx
mov edx, dword [ebp - 0x1c]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x34]
push ecx
push ebx
push 0x49c377
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x20], eax
cmp eax, ebx
je 0x41a656
mov dword [ebp - 0x28], eax
push 0x4a74e4
lea eax, [ebp - 0x28]
push eax
call fcn.004581eb
mov edi, dword [ebp - 0x30]
mov ecx, 0x41
lea esi, [ebp]
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a690
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41a690
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x41a69e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov dword [ebp - 0x1c], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a6c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.004512da
add ebp, 0x20c
mov esp, ebp
pop ebp
ret 8