Function at 0x4456b0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x481288]
xor eax, ebp
mov dword [ebp - 0x24], eax
mov dword [ebp - 8], str.SOFTWAREMicrosoftWindows_NTCurrentVersionAppCompatFlagsCompatibility_Assistant
push 0x4880d0
push str._sBinQQ.exe
push 0x208
push 0x104
lea eax, [ebp - 0x230]
push eax
call fcn.004157ac
add esp, 0x14
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x10]
push ecx
push 7
push 0
mov edx, dword [ebp - 8]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x44573b
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
mov edx, dword [ebp - 8]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x445746
jmp 0x445983
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push 0
lea ecx, [ebp - 4]
push ecx
push 0
push 0x47653c
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0xc], 0
jbe 0x445849
cmp dword [ebp - 4], 7
je 0x445792
jmp 0x445983
mov eax, dword [ebp - 0xc]
push eax
call fcn.00415b6a
add esp, 4
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
lea eax, [ebp - 4]
push eax
push 0
push 0x476568
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x234], 0
mov eax, dword [ebp - 0x238]
movzx ecx, word [eax]
test ecx, ecx
je 0x445849
mov edx, dword [ebp - 0x238]
sub edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0xc]
jae 0x445849
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x23c], eax
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x23c]
push edx
call fcn.00405830
add esp, 8
test eax, eax
je 0x445819
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x23c]
push eax
call fcn.00414d31
add esp, 4
mov ecx, dword [ebp - 0x238]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 0x238], edx
mov eax, dword [ebp - 0x234]
add eax, 1
mov dword [ebp - 0x234], eax
jmp 0x4457d1
cmp dword [ebp - 0x20], 0
jne 0x44596d
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x248], ecx
mov dword [ebp - 0x244], 0
cmp dword [ebp - 0xc], 0
jbe 0x44588d
mov edx, dword [ebp - 0x248]
push edx
call fcn.00414d31
add esp, 4
mov ecx, dword [ebp - 0xc]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 0x244], edx
jmp 0x4458a6
mov eax, dword [ebp - 0x248]
push eax
call fcn.00414d31
add esp, 4
lea ecx, [eax + eax + 4]
mov dword [ebp - 0x244], ecx
mov edx, dword [ebp - 0x244]
push edx
call fcn.00415b6a
add esp, 4
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x24c], eax
mov ecx, dword [ebp - 0x244]
push ecx
push 0
mov edx, dword [ebp - 0x240]
push edx
call fcn.00415680
add esp, 0xc
cmp dword [ebp - 0xc], 0
jbe 0x445912
mov eax, dword [ebp - 0xc]
sub eax, 2
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x240]
push edx
call fcn.00415c30
add esp, 0xc
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x240]
lea edx, [ecx + eax - 2]
mov dword [ebp - 0x240], edx
mov eax, dword [ebp - 0x248]
push eax
call fcn.00414d31
add esp, 4
shl eax, 1
push eax
mov ecx, dword [ebp - 0x248]
push ecx
mov edx, dword [ebp - 0x240]
push edx
call fcn.00415c30
add esp, 0xc
mov eax, dword [ebp - 0x244]
push eax
mov ecx, dword [ebp - 0x24c]
push ecx
push 7
push 0
push str.ExecutablesToExclude
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x24c]
push eax
call fcn.00415a8d
add esp, 4
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00415a8d
add esp, 4
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.004151d0
mov esp, ebp
pop ebp
ret