Function at 0x41a4f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c6b5
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x461020]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x50]
push eax
call fcn.00419380
mov dword [ebp - 4], 0
mov esi, 0x10
mov edx, dword [ebp - 0x40]
mov eax, edx
and eax, 0xf
add edx, 0x10
sub esi, eax
add esi, edx
push esi
call fcn.0042bcad
push esi
mov ebx, eax
push 0
push ebx
mov dword [ebp - 0x58], ebx
call fcn.0042d2f0
mov dword [ebp - 0x38], ebx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
xorps xmm0, xmm0
mov dword [ebp - 0x54], ebx
mov edx, 0x13
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
call fcn.00414be0
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x1c]
call fcn.00415a40
mov edx, dword [ebp - 0x54]
lea ecx, [ebp - 0x34]
add esp, 0xc
push esi
call fcn.00401200
add esp, 0xc
mov edx, 0x14
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.004145d0
cmp dword [edi + 0x14], 0x10
mov esi, eax
mov dword [ebp - 0x54], 0
mov eax, edi
jb 0x41a5c5
mov eax, dword [edi]
lea ecx, [ebp - 0x54]
push ecx
push 0x20006
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41a632
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x41a5ea
mov eax, dword [edi]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea ecx, [ebp - 0x54]
push 0
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push eax
push 0x80000002
call ebx
cmp dword [edi + 0x14], 0x10
jb 0x41a613
mov edi, dword [edi]
push 0
lea eax, [ebp - 0x54]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push edi
push 0x80000002
call ebx
test eax, eax
jne 0x41a66c
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x41a66c
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
cmp dword [esi + 0x14], 0x10
jb 0x41a64c
mov esi, dword [esi]
push dword [ebp - 0x24]
push eax
push 1
push esi
push 0x45a8a9
push ecx
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
test eax, eax
jne 0x41a66c
push dword [ebp - 0x54]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0x10
jb 0x41a6a0
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41a696
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a784
push ecx
push edx
call fcn.0042b48a
add esp, 8
mov ecx, dword [ebp - 0x20]
cmp ecx, 0x10
jb 0x41a6d4
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41a6ca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a789
push ecx
push edx
call fcn.0042b48a
add esp, 8
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
test ecx, ecx
je 0x41a72b
mov edx, dword [ebp - 0x14]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x41a70c
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a789
push edx
push ecx
call fcn.0042b48a
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push dword [ebp - 0x58]
call fcn.0042b6c5
mov ecx, dword [ebp - 0x3c]
add esp, 4
cmp ecx, 0x10
jb 0x41a766
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41a75c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a789
push ecx
push edx
call fcn.0042b48a
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042b459
mov esp, ebp
pop ebp
ret 4
call fcn.0043042f
call fcn.0043042f
int3