Function at 0x417bc0
Capabilities:
Manipulate safe mode programs
Set registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495f75
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x44
mov eax, dword [0x4c6190]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x4c966c]
cmp eax, dword [ecx + 4]
jle 0x417c57
push 0x4c966c
call fcn.0046608e
add esp, 4
cmp dword [0x4c966c], 0xffffffff
jne 0x417c57
push 2
push 0x4c9674
mov word [0x4c9670], 0
call fcn.00465178
push 0x499b20
call fcn.004663a0
add esp, 0xc
push 0x4c966c
call fcn.00466044
add esp, 4
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push 0x4a9588
lea ecx, [ebp - 0x20]
movq qword [ebp - 0x20], xmm0
call fcn.0048c460
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.0048c570
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.0048c4e0
cmp esi, 4
je 0x417ee3
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x43
call esi
test eax, eax
je 0x417ee3
push 0x43
call esi
mov dword [ebp - 0x3c], 0
xor ecx, ecx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], cx
mov dword [ebp - 4], 2
sub eax, 1
je 0x417cf3
sub eax, 1
je 0x417cec
mov dword [ebp - 4], 0xffffffff
jmp 0x417df7
mov eax, 0x4a9f10
jmp 0x417cf8
mov eax, 0x4a9e98
push 0x3b
push eax
lea ecx, [ebp - 0x3c]
call fcn.00402010
cmp dword [ebp - 0x28], 8
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x50], 0
push ecx
push 0
push 0xf003f
push 0
push 0
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x40], 0
cmovae eax, dword [ebp - 0x3c]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edx, dword [ebp - 0x50]
test edx, edx
je 0x417f02
test eax, eax
jne 0x417f02
movups xmm0, xmmword [0x4a9ff0]
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x51], 1
lea esi, [ecx + 2]
movups xmmword [ebp - 0x24], xmm0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417d65
sub ecx, esi
lea eax, [ebp - 0x24]
sar ecx, 1
push ecx
push eax
push 1
push 0
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x417da3
push eax
push 0x4aa000
push 0x4a9fc0
push 2
call fcn.00453ac0
add esp, 0x10
mov byte [ebp - 0x51], 0
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x28]
cmp ecx, 8
jb 0x417ded
mov edx, dword [ebp - 0x3c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x417de3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417f56
push ecx
push edx
call fcn.00465ef5
add esp, 8
cmp byte [ebp - 0x51], 0
je 0x417f4d
push 0x4aa030
push 0x4aa05c
push 4
call fcn.00453ac0
add esp, 0xc
mov dword [ebp - 0x44], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x4c]
movq qword [ebp - 0x4c], xmm0
push 0
push 0x4a9588
call fcn.0048c460
mov dword [ebp - 4], 3
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
push 0x2710
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x4c]
call fcn.0048c5f0
mov ecx, dword [ebp - 0x30]
test al, al
sete al
mov byte [ebp - 0x51], al
test ecx, ecx
je 0x417ec3
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x2c]
push ecx
call fcn.00401cb0
mov ecx, dword [ebp - 0x28]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x30]
add esp, 0xc
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x417eb6
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417f51
push ecx
push esi
call fcn.00465ef5
mov al, byte [ebp - 0x51]
add esp, 8
test al, al
je 0x417edb
push 0x4aa08c
push 0x4aa05c
push 2
call fcn.00453ac0
add esp, 0xc
lea ecx, [ebp - 0x4c]
call fcn.0048c4e0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00465ee7
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push eax
push 0x4a9f88
push 0x4a9fc0
push 2
call fcn.00453ac0
mov ecx, dword [ebp - 0x28]
add esp, 0x10
cmp ecx, 8
jb 0x417f4d
mov edx, dword [ebp - 0x3c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x417f43
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417f56
push ecx
push edx
call fcn.00465ef5
add esp, 8
xor al, al
jmp 0x417ee5
call fcn.00469eed
call fcn.00469eed
int3