Function at 0x419fb0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x453f71
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x440
mov eax, dword [0x46b3ac]
mov dword [esp + 0x438], eax
mov eax, dword [0x46c488]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0x28c]
mov ecx, dword [eax + 0xc]
push ebx
mov ebx, dword [eax + 8]
cmp ebx, ecx
push esi
push edi
mov dword [esp + 0x24], ebx
je 0x41a383
mov esi, dword [ebx + 0x1c]
xor edx, edx
xor eax, eax
mov word [esp + 0x30], dx
mov ecx, 0x81
lea edi, [esp + 0x32]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov word [esp + 0x238], dx
xor eax, eax
mov ecx, 0x81
lea edi, [esp + 0x23a]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x30]
push edx
push str.ItemSelect
mov ecx, esi
mov dword [esp + 0x30], esi
stosw word es:[edi], ax
call fcn.0041dad0
test eax, eax
je 0x41a363
lea eax, [esp + 0x30]
push str.true
push eax
call fcn.004314f2
add esp, 8
test eax, eax
jne 0x41a363
lea ecx, [esp + 0x238]
push ecx
push str.ItemExeUser
mov ecx, esi
call fcn.0041dad0
test eax, eax
je 0x41a363
mov esi, dword [esi + 4]
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
mov dword [esp + 0x20], eax
je 0x41a363
lea esp, [esp]
mov ebx, dword [eax]
mov edx, dword [0x46c488]
mov eax, dword [edx + 8]
mov esi, dword [eax + 0x278]
mov ecx, dword [esi - 0x10]
add eax, 0x278
mov eax, dword [ecx]
sub esi, 0x10
call dword [eax + 0x10]
mov ecx, dword [esi + 0xc]
test ecx, ecx
lea edx, [esi + 0xc]
jl 0x41a0dc
cmp eax, dword [esi]
jne 0x41a0dc
mov eax, esi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x41a110
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 2
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
je 0x41a3a4
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 4]
inc ecx
add ecx, ecx
mov edx, ecx
shr ecx, 2
add esi, 0x10
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add eax, 0x10
mov dword [esp + 0x10], eax
lea esi, [ebx + 0x208]
test esi, esi
mov dword [esp + 0x454], 0
jne 0x41a130
xor eax, eax
jmp 0x41a139
push esi
call fcn.004318b6
add esp, 4
push eax
push esi
lea ecx, [esp + 0x18]
call fcn.0040a770
lea esi, [ebx + 0x410]
test esi, esi
jne 0x41a152
xor eax, eax
jmp 0x41a15b
push esi
call fcn.004318b6
add esp, 4
push eax
push esi
lea ecx, [esp + 0x18]
call fcn.0040a770
mov eax, dword [ebx + 0x820]
test eax, eax
jne 0x41a319
lea eax, [esp + 0x238]
push str.true
push eax
call fcn.004314f2
add esp, 8
test eax, eax
jne 0x41a319
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [esp + 0x1c]
push ecx
push 0xf003f
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
je 0x41a1df
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x454], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41a342
mov ecx, dword [eax]
push eax
jmp 0x41a33d
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
push eax
push 0xf003f
push 0
push str.RunOnce
push ecx
call esi
test eax, eax
je 0x41a227
mov eax, dword [esp + 0x1c]
push 0
lea edx, [esp + 0x1c]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push 0x459be8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x41a319
push ebx
lea ecx, [esp + 0x18]
call fcn.00403aa0
push str.OneSetup
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x34]
push edx
mov byte [esp + 0x460], 1
call fcn.0040a8b0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x458], 2
call fcn.004038d0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x454], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a285
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0x10]
mov eax, dword [esi - 4]
mov edi, 1
cmp eax, edi
jle 0x41a2bc
mov eax, dword [esi - 0xc]
push eax
lea ecx, [esp + 0x14]
call fcn.004032e0
mov esi, dword [esp + 0x10]
cmp dword [esi - 4], edi
jle 0x41a2bc
mov ecx, dword [esi - 0xc]
push ecx
lea ecx, [esp + 0x14]
call fcn.004032e0
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
push esi
call fcn.004318b6
mov edx, dword [esp + 0x1c]
add esp, 4
shl eax, 1
push eax
push esi
push 1
push 0
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp + 0x18]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call edi
mov ecx, dword [esp + 0x1c]
push ecx
call edi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x454], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41a31d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x41a31d
mov esi, dword [esp + 0x10]
add esi, 0xfffffff0
mov dword [esp + 0x454], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41a342
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + 8]
add eax, 4
cmp eax, ecx
mov dword [esp + 0x20], eax
jne 0x41a0a0
mov ebx, dword [esp + 0x24]
mov eax, dword [0x46c488]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x28c]
mov eax, dword [edx + 0xc]
add ebx, 0x20
cmp ebx, eax
mov dword [esp + 0x24], ebx
jne 0x41a000
mov ecx, dword [esp + 0x44c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x444]
call fcn.00431018
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
jmp fcn.004032d0