Function at 0x410120
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x43fad7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x140
push ebx
push esi
mov esi, ecx
push edi
push 0x453ccc
lea ecx, [esp + 0x10]
call fcn.0042cff7
xor ebx, ebx
push 0x453ccc
lea ecx, [esp + 0x20]
mov dword [esp + 0x158], ebx
call fcn.0042cff7
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [esp + 0x49]
mov byte [esp + 0x48], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x14]
mov byte [esp + 0x154], 1
push eax
push 0xf003f
push 1
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4101fb
lea ecx, [esp + 0x24]
lea edx, [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x24]
push edx
push eax
push ebx
push str.ProgramFilesDir
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4101dc
lea edx, [esp + 0x48]
push edx
jmp 0x4101e1
push str.C:Program_Files
lea ecx, [esp + 0x10]
call fcn.0042d112
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebx
jmp 0x410209
push str.C:Program_Files
lea ecx, [esp + 0x10]
call fcn.0042d112
push 0xa
lea ecx, [esp + 0x2c]
call fcn.0042c309
lea ecx, [esp + 0x28]
lea edx, [esp + 0xc]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
mov byte [esp + 0x160], 2
call fcn.0042ccfe
mov ecx, esi
call fcn.00410b50
cmp eax, ebx
jne 0x41026e
lea ecx, [esp + 0x28]
mov byte [esp + 0x154], 1
call fcn.0042c37d
lea ecx, [esp + 0x1c]
mov byte [esp + 0x154], bl
call fcn.0042cf89
mov dword [esp + 0x154], 0xffffffff
jmp 0x41036a
push 0x453ccc
lea ecx, [esp + 0x14]
call fcn.0042cff7
push 0x453ccc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x158], 3
call fcn.0042cff7
mov esi, dword [esp + 0x2c]
or edi, 0xffffffff
cmp esi, ebx
mov byte [esp + 0x154], 4
je 0x410317
mov eax, esi
mov esi, dword [esi]
add eax, 8
lea ecx, [esp + 0x10]
push eax
call fcn.0042d0c2
lea ecx, [esp + 0x10]
call fcn.0042d417
push str.iplus_
lea ecx, [esp + 0x14]
call fcn.0042ac60
cmp eax, ebx
je 0x4102e7
mov eax, dword [esp + 0x10]
push str.iplus
push eax
call fcn.0041b575
add esp, 8
test eax, eax
jne 0x410313
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push eax
push ecx
lea edx, [esp + 0x24]
push str._s_s_s.dll
push edx
call fcn.0042afe6
mov eax, dword [esp + 0x2c]
push ebx
push eax
call fcn.0041c2f6
add esp, 0x1c
cmp eax, edi
jne 0x41038f
cmp esi, ebx
jne 0x4102a5
lea ecx, [esp + 0x28]
call fcn.0042c348
lea ecx, [esp + 0x18]
mov byte [esp + 0x154], 3
call fcn.0042cf89
lea ecx, [esp + 0x10]
mov byte [esp + 0x154], 2
call fcn.0042cf89
lea ecx, [esp + 0x28]
mov byte [esp + 0x154], 1
call fcn.0042c37d
lea ecx, [esp + 0x1c]
mov byte [esp + 0x154], bl
call fcn.0042cf89
mov dword [esp + 0x154], edi
lea ecx, [esp + 0xc]
call fcn.0042cf89
xor eax, eax
mov ecx, dword [esp + 0x14c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x14c
ret 4
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x160]
call fcn.0042d0c2
lea ecx, [esp + 0x28]
call fcn.0042c348
lea ecx, [esp + 0x18]
mov byte [esp + 0x154], 3
call fcn.0042cf89
lea ecx, [esp + 0x10]
mov byte [esp + 0x154], 2
call fcn.0042cf89
lea ecx, [esp + 0x28]
mov byte [esp + 0x154], 1
call fcn.0042c37d
lea ecx, [esp + 0x1c]
mov byte [esp + 0x154], bl
call fcn.0042cf89
lea ecx, [esp + 0xc]
mov dword [esp + 0x154], edi
call fcn.0042cf89
mov eax, 1
jmp 0x410375