Function at 0x467160
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x37c]
sub esp, 0x37c
push 0xffffffffffffffff
push 0x6405e0
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x74d890]
xor eax, ebp
mov dword [ebp + 0x378], 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 + 0x384]
mov dword [ebp - 0x44], eax
xor esi, esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], esi
wait
mov dword [ebp - 0x2c], vtable.CProtection.0
mov byte [ebp - 4], 1
mov byte [ebp + 0x344], 0
push pe_nt_image_headers32
push esi
lea ecx, [ebp + 0x210]
push ecx
call fcn.00615eb0
add esp, 0xc
xor bl, bl
mov byte [ebp - 0x25], bl
mov byte [ebp - 0x1d], bl
mov dword [ebp - 0x30], esi
lea edx, [ebp - 0x48]
push edx
push 1
push esi
mov eax, dword [0x754448]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x467325
mov dword [ebp - 0x1c], 0x32
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp + 0x310]
push edx
push eax
push eax
mov eax, dword [0x75443c]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call edi
test eax, eax
jne 0x46722f
mov bl, 1
mov byte [ebp - 0x25], bl
mov dword [ebp - 0x1c], 0x32
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp + 0x344]
push eax
push 0
push 0
mov ecx, dword [0x754438]
push ecx
mov edx, dword [ebp - 0x48]
push edx
call edi
test eax, eax
jne 0x467317
mov byte [ebp - 0x1d], 1
lea eax, [ebp + 0x344]
push eax
call fcn.00456de0
add esp, 4
test al, al
jne 0x467317
mov dword [ebp - 0x24], 1
push 0
call fcn.00618f71
push eax
call fcn.0061a4e4
add esp, 8
call fcn.0061a4f6
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fdiv qword [0x679bb0]
fmul qword [0x679ba8]
fnstcw word [ebp - 0x12]
movzx eax, word [ebp - 0x12]
or eax, 0xc00
mov dword [ebp - 0x34], eax
fldcw word [ebp - 0x34]
fistp qword [ebp - 0x38]
fldcw word [ebp - 0x12]
mov ecx, dword [ebp - 0x38]
mov edi, 0x3e8
sub edi, ecx
mov ecx, dword [ebp - 0x44]
mov dword [ecx + 0x298], 0x88b8
push 0
lea edx, [edi + 0x5208]
push edx
push 1
call fcn.004249e0
mov eax, dword [ebp - 0x44]
cmp byte [eax + 0x268], 0
jne 0x467317
mov ecx, eax
mov byte [ecx + 0x268], 1
push 0
push edi
push 0x6f
call fcn.004249e0
mov byte [ebp - 4], 0
mov eax, 1
mov dword [ebp - 0x2c], vtable.CProtection.0
wait
jmp 0x467b84
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
jne 0x467357
mov dword [ebp - 0x1c], 0x32
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp + 0x310]
push eax
push 0
push 0
mov ecx, dword [0x75443c]
push ecx
mov edx, dword [0x752bcc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x467371
mov byte [ebp - 0x25], 1
lea eax, [ebp + 0x310]
push eax
call fcn.00456a60
add esp, 4
test al, al
jne 0x467371
mov dword [ebp - 0x24], 1
cmp byte [ebp - 0x1d], 0
jne 0x46744d
mov dword [ebp - 0x1c], 0x32
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp + 0x344]
push edx
push 0
push 0
mov eax, dword [0x754438]
push eax
mov ecx, dword [0x752bcc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x46744d
mov byte [ebp - 0x1d], 1
lea edx, [ebp + 0x344]
push edx
call fcn.00456de0
add esp, 4
test al, al
jne 0x46744d
mov dword [ebp - 0x24], 1
push 0
call fcn.00618f71
push eax
call fcn.0061a4e4
add esp, 8
call fcn.0061a4f6
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fdiv qword [0x679bb0]
fmul qword [0x679ba8]
fnstcw word [ebp - 0x12]
movzx eax, word [ebp - 0x12]
or eax, 0xc00
mov dword [ebp - 0x34], eax
fldcw word [ebp - 0x34]
fistp qword [ebp - 0x38]
fldcw word [ebp - 0x12]
mov eax, dword [ebp - 0x38]
mov edi, 0x3e8
sub edi, eax
mov ebx, dword [ebp - 0x44]
mov dword [ebx + 0x298], 0x88b8
push 0
lea ecx, [edi + 0x4e20]
push ecx
push 1
mov ecx, ebx
call fcn.004249e0
cmp byte [ebx + 0x268], 0
jne 0x46744d
mov byte [ebx + 0x268], 1
mov ecx, ebx
jmp 0x4672f7
lea ecx, [ebp - 0x40]
cmp dword [0x747d1c], 0
jne 0x467706
call fcn.005151c0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x18]
push edx
push 1
push 0
mov eax, dword [0x754184]
push eax
mov ecx, dword [0x752b9c]
neg ecx
sbb ecx, ecx
add ecx, 0x80000002
push ecx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
call ebx
mov edi, eax
mov dword [ebp - 0x4c], edi
test edi, edi
je 0x46755c
cmp edi, 2
je 0x467558
lea ecx, [ebp - 0x14]
call fcn.00402500
mov byte [ebp - 4], 3
cmp dword [0x752b9c], 0
mov eax, str.CURRENT_USER
jne 0x4674c2
mov eax, str.MACHINE
mov edx, dword [0x754184]
push edx
push eax
push 0x670c10
lea eax, [ebp - 0x14]
push eax
call fcn.00402f70
add esp, 0x10
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x40]
call fcn.005152b0
test eax, eax
je 0x467511
lea edx, [ebp - 0x18]
push edx
push 1
push 0
mov eax, dword [0x754184]
push eax
mov ecx, dword [0x752b9c]
neg ecx
sbb ecx, ecx
add ecx, 0x80000002
push ecx
call ebx
mov edi, eax
mov dword [ebp - 0x4c], edi
test edi, edi
je 0x46754c
mov edx, dword [ebp - 0x14]
push edx
lea ecx, [ebp - 0x40]
call fcn.00515380
test eax, eax
je 0x46754c
lea eax, [ebp - 0x18]
push eax
push 1
push 0
mov ecx, dword [0x754184]
push ecx
mov edx, dword [0x752b9c]
neg edx
sbb edx, edx
add edx, 0x80000002
push edx
call ebx
mov edi, eax
mov dword [ebp - 0x4c], edi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00402570
test edi, edi
jne 0x4675a3
mov dword [ebp - 0x1c], pe_nt_image_headers32
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 0x210]
push ecx
push 0
push 0
mov edx, dword [0x754544]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call ebx
mov esi, eax
neg esi
sbb esi, esi
inc esi
mov dword [ebp - 0x30], esi
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4676c6
jmp 0x4675a9
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x60]
call fcn.005151c0
mov byte [ebp - 4], 4
push 0
lea edx, [ebp - 0x18]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareClassesCLSIDE6871B76_C3C8_44DD_B947_ABFFE144860D
push 0x80000001
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
call edi
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x46767f
lea ecx, [ebp - 0x14]
call fcn.00402500
mov byte [ebp - 4], 5
push str.SoftwareClassesCLSIDE6871B76_C3C8_44DD_B947_ABFFE144860D
push str.CURRENT_USER_s
lea eax, [ebp - 0x14]
push eax
call fcn.00402f70
add esp, 0xc
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x60]
call fcn.005152b0
test eax, eax
je 0x467671
push 0
lea edx, [ebp - 0x18]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareClassesCLSIDE6871B76_C3C8_44DD_B947_ABFFE144860D
push 0x80000001
call edi
test eax, eax
jne 0x467671
mov dword [ebp - 0x1c], pe_nt_image_headers32
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 0x210]
push ecx
push 0
push 0
mov edx, dword [0x754544]
push edx
mov eax, dword [ebp - 0x18]
push eax
call ebx
mov esi, eax
neg esi
sbb esi, esi
inc esi
mov dword [ebp - 0x30], esi
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.00402570
jmp 0x4676b6
mov dword [ebp - 0x1c], pe_nt_image_headers32
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp + 0x210]
push eax
push 0
push 0
mov ecx, dword [0x754544]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call ebx
mov esi, eax
neg esi
sbb esi, esi
inc esi
mov dword [ebp - 0x30], esi
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x60]
call fcn.00515220
test esi, esi
je 0x4676f0
mov edx, dword [0x753908]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4676d1
sub eax, edi
push eax
push edx
push pe_nt_image_headers32
lea ecx, [ebp + 0x210]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00448490
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00515220
mov ebx, 6
jmp 0x4678d0
call fcn.005151c0
mov ebx, 6
mov byte [ebp - 4], bl
push 0
lea edx, [ebp - 0x18]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
mov eax, dword [0x754188]
push eax
xor ecx, ecx
cmp byte [0x752bb8], cl
setne cl
add ecx, 0x80000001
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
call edi
test eax, eax
je 0x46785c
lea ecx, [ebp - 0x14]
call fcn.00402500
mov byte [ebp - 4], 7
cmp byte [0x752bb8], 0
mov eax, str.MACHINE
jne 0x46776d
mov eax, str.CURRENT_USER
mov edx, dword [0x754188]
push edx
push eax
push 0x670c10
lea eax, [ebp - 0x14]
push eax
call fcn.00402f70
add esp, 0x10
mov dword [ebp - 0x50], 1
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x40]
call fcn.005152b0
test eax, eax
je 0x4677d3
push 0
lea edx, [ebp - 0x18]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
mov eax, dword [0x754188]
push eax
xor ecx, ecx
cmp byte [0x752bb8], cl
setne cl
add ecx, 0x80000001
push ecx
call edi
test eax, eax
jne 0x4677d3
mov dword [ebp - 0x50], eax
jmp 0x467814
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00515380
test eax, eax
je 0x46784f
push 0
lea edx, [ebp - 0x18]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
mov eax, dword [0x754188]
push eax
xor ecx, ecx
cmp byte [0x752bb8], cl
setne cl
add ecx, 0x80000001
push ecx
call edi
test eax, eax
jne 0x46784f
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp + 0x210]
push eax
push 0
mov dword [ebp - 0x1c], pe_nt_image_headers32
push 0
mov ecx, dword [0x754544]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
neg esi
sbb esi, esi
inc esi
mov dword [ebp - 0x30], esi
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00402570
jmp 0x467896
mov dword [ebp - 0x1c], pe_nt_image_headers32
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp + 0x210]
push edx
push 0
push 0
mov eax, dword [0x754544]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
neg esi
sbb esi, esi
inc esi
mov dword [ebp - 0x30], esi
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4678c4
mov edx, dword [0x753908]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4678a5
sub eax, edi
push eax
push edx
push pe_nt_image_headers32
lea eax, [ebp + 0x210]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00448490
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00515220
test esi, esi
je 0x467ae0
cmp dword [ebp - 0x24], 0
jne 0x467aea
cmp dword [0x747d1c], 0
je 0x46792f
lea ecx, [ebp + 0x210]
mov eax, dword [0x754540]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x467916
test dl, dl
je 0x467912
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x467916
add eax, 2
add ecx, 2
test dl, dl
jne 0x4678f6
xor eax, eax
jmp 0x46791b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x467adb
mov dword [ebp - 0x24], 4
jmp 0x467aea
cmp byte [ebp + 0x344], 0
je 0x467971
lea ecx, [ebp + 0x210]
lea eax, [ebp + 0x344]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x467964
test dl, dl
je 0x467960
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x467964
add eax, 2
add ecx, 2
test dl, dl
jne 0x467944
xor eax, eax
jmp 0x467969
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x467ac8
lea ecx, [ebp + 0x210]
mov eax, dword [0x754534]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4679a0
test dl, dl
je 0x46799c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4679a0
add eax, 2
add ecx, 2
test dl, dl
jne 0x467980
xor eax, eax
jmp 0x4679a5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4679b5
mov dword [ebp - 0x24], 1
jmp 0x467aea
lea ecx, [ebp + 0x210]
mov eax, dword [0x754538]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4679e0
test dl, dl
je 0x4679dc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4679e0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4679c0
xor eax, eax
jmp 0x4679e5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4679f5
mov dword [ebp - 0x24], 2
jmp 0x467aea
lea ecx, [ebp + 0x210]
mov eax, dword [0x75453c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x467a20
test dl, dl
je 0x467a1c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x467a20
add eax, 2
add ecx, 2
test dl, dl
jne 0x467a00
xor eax, eax
jmp 0x467a25
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x467a35
mov dword [ebp - 0x24], 3
jmp 0x467aea
lea ecx, [ebp + 0x210]
mov eax, dword [0x754540]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x467a60
test dl, dl
je 0x467a5c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x467a60
add eax, 2
add ecx, 2
test dl, dl
jne 0x467a40
xor eax, eax
jmp 0x467a65
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x467adb
lea eax, [ebp + 0x310]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x467a72
sub eax, edx
je 0x467923
lea eax, [ebp + 0x344]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x467a90
sub eax, edx
cmp eax, 0x17
jne 0x467923
mov al, 0x2d
cmp byte [ebp + 0x349], al
jne 0x467923
cmp byte [ebp + 0x34f], al
jne 0x467923
cmp byte [ebp + 0x355], al
jne 0x467923
mov byte [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x2c], vtable.CProtection.0
wait
jmp 0x467b84
mov dword [ebp - 0x24], ebx
jmp 0x467aea
and dword [ebp - 0x24], 0
je 0x467b6e
jmp 0x467ae0
mov byte [ebp - 4], 0
mov dword [ebp - 0x2c], vtable.CProtection.0
wait
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x378]
xor ecx, ebp
call fcn.006157d3
add ebp, 0x37c
mov esp, ebp
pop ebp
ret