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

Disassembly:
sub esp, 0x61c
mov edx, dword [str.SystemCurrentControlSetControlSession_Manager]
lea eax, [esp + 0x18]
push esi
lea ecx, [esp + 0xc]
xor esi, esi
push eax
push ecx
push esi
push 0x2001f
push esi
push 0x4c2d68
push esi
push edx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4413b9
lea eax, [esp + 4]
lea ecx, [esp + 0x20]
push eax
mov eax, dword [str.BootExecute]
lea edx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push esi
push eax
push ecx
mov dword [esp + 0x1c], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x441396
mov eax, dword [esp + 4]
push ebx
push ebp
push edi
test eax, eax
je 0x441278
mov al, byte [esp + 0x2c]
lea ebp, [esp + 0x42c]
test al, al
lea ebx, [esp + 0x2c]
je 0x44124b
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
push ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ebx
mov dword [esp + 0x24], ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00468c20
push str.bluescrn.exe
push ebp
call fcn.00466970
add esp, 0xc
test eax, eax
jne 0x44123b
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x20]
lea ebp, [ecx + ebp + 1]
mov edx, dword [esp + 0x20]
mov al, byte [ebx + edx + 1]
lea ebx, [ebx + edx + 1]
test al, al
jne 0x4411d1
lea eax, [esp + 0x42c]
mov byte [ebp], 0
sub ebp, eax
lea esi, [esp + 0x42c]
inc ebp
lea edi, [esp + 0x2c]
mov ecx, ebp
mov dword [esp + 0x10], ebp
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x630]
lea ecx, [esp + 0x14]
push eax
call fcn.0047e259
push str.bluescrn.exe
lea ecx, [esp + 0x18]
call fcn.0047e8c0
lea ecx, [esp + 0x22c]
push 0x1ff
mov edx, dword [esp + 0x18]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x441382
mov esi, dword [esp + 0x10]
mov byte [esp + 0x42b], 0
test esi, esi
lea edx, [esp + 0x2c]
je 0x4412cf
lea edx, [esp + esi + 0x2b]
mov ebx, dword [esp + 0x634]
or ecx, 0xffffffff
mov edi, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x22c]
mov ebp, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, esi
lea eax, [ecx + ebp + 1]
cmp eax, 0x200
mov dword [esp + 0x10], eax
ja 0x441382
lea edi, [esp + 0x22c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x2c]
push eax
mov byte [esp + eax + 0x2f], 0
mov eax, dword [str.BootExecute]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x441382
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x14]
call fcn.0047e4e4
mov esi, dword [esp + 0x1c]
pop edi
pop ebp
pop ebx
test esi, esi
jne 0x4413a2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040f5f0
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x61c
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040f5f0
mov eax, esi
pop esi
add esp, 0x61c
ret 8