Function at 0x45fc07
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x6a9a60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x84], eax
xor ebx, ebx
mov dword [edi + 0x20], 6
cmp dword [edi + 0x3c], ebx
jne 0x45fe2c
push 0x38
call fcn.004b2fb8
mov esi, eax
pop ecx
test esi, esi
je 0x45fe29
mov ecx, esi
call fcn.00433a2e
lea eax, [ebp - 0x7c]
mov dword [esi], vtable.KAntiUninstResultReporter::KAntiBlackProcess.0
push eax
mov dword [edi + 0x3c], esi
call fcn.0047939b
pop ecx
lea ecx, [ebp - 0x64]
call fcn.0042de72
push dword [ebp - 0x7c]
lea ecx, [ebp - 0x64]
call fcn.0042e07a
push eax
lea ecx, [ebp - 0x88]
call fcn.004040f0
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], ebx
call fcn.00404190
and dword [ebp - 0x68], ebx
lea eax, [ebp - 0x68]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x45fd4a
mov eax, dword [ebp - 0x68]
xor edx, edx
mov dword [ebp - 0x6c], edx
mov esi, edx
test eax, eax
je 0x45fd58
lea ecx, [ebp - 0x6c]
push ecx
push edx
lea ecx, [ebp - 0x74]
push ecx
push edx
push 0x61de34
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x74], 1
je 0x45fce3
cmp dword [ebp - 0x74], 2
jne 0x45fd4a
lea ecx, [ebp - 0x70]
call fcn.004041c0
mov eax, dword [ebp - 0x6c]
lea ecx, [ebp - 0x70]
shr eax, 1
inc eax
push eax
call fcn.004047c0
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x80], eax
push ecx
push eax
lea eax, [ebp - 0x74]
push eax
push 0
push 0x61de34
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45fd2b
mov eax, dword [ebp - 0x6c]
xor edx, edx
mov ecx, dword [ebp - 0x80]
xor esi, esi
shr eax, 1
inc esi
mov word [ecx + eax*2], dx
push 0xffffffffffffffff
lea ecx, [ebp - 0x70]
call fcn.0040e311
test esi, esi
je 0x45fd4a
mov eax, dword [ebp - 0x70]
mov ecx, ebx
push 1
cmp dword [eax - 0xc], ecx
pop eax
cmovne ecx, eax
mov dword [ebp - 0x78], ecx
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x45fd58
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 0x68], ebx
lea eax, [ebp - 0x68]
push eax
push str.SYSTEMCurrentControlSet_serviceskxescore
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x45fdad
push 4
pop esi
mov dword [ebp - 0x80], esi
cmp dword [ebp - 0x68], ebx
je 0x45fdad
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x74]
push eax
push 0
push 0x61650c
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45fdad
cmp dword [ebp - 0x74], esi
jne 0x45fdad
cmp dword [ebp - 0x6c], 2
push 1
pop eax
cmove ebx, eax
call fcn.0047a2f7
mov esi, eax
call fcn.0047a31b
push dword [ebp + 0x14]
mov ecx, dword [edi + 0x3c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
mov esi, dword [ebp - 0x88]
push eax
push dword [ebp - 0x78]
push ebx
push dword [ebp - 0x84]
push esi
push dword [ebp - 0x7c]
call fcn.0045fe3f
xor ebx, ebx
lea ecx, [edi + 4]
push ebx
push edi
push ebx
call fcn.0042f4f0
cmp dword [ebp - 0x68], ebx
je 0x45fdfb
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x68], ebx
lea ecx, [ecx - 0x10]
call fcn.004023e0
lea ecx, [esi - 0x10]
call fcn.004023e0
lea ecx, [ebp - 0x64]
call fcn.0042de83
mov ecx, dword [ebp - 0x7c]
add ecx, 0xfffffff0
call fcn.004023e0
xor eax, eax
inc eax
jmp 0x45fe2e
mov dword [edi + 0x3c], ebx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b3004
leave
ret 0x10