Function at 0x413dd0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x45a0c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4737e0]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x4737e0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov dword [esp + 0x38], 1
call fcn.0041d42a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x413e22
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
push 0x3d
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallYouXunBox
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 2
call fcn.00401ef0
push 0x466304
lea ecx, [esp + 0x24]
call fcn.00401ac0
push str.YouXunBoxuninst.exe
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x44], 3
call fcn.00403050
push 0x466058
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0x50], 4
call fcn.00403050
add esp, 0x18
push str.http:__box.yxdown.com
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 5
call fcn.00401ac0
push str._nNwm8n
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], 6
call fcn.00401ac0
mov edi, dword [esp + 0x1c]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x10]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push edi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x413f87
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 0xc]
mov edx, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add ecx, ecx
push ecx
push eax
push 1
push 0
push str.DisplayName
push edx
call esi
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
mov edx, dword [esp + 0xc]
add ecx, ecx
push ecx
push eax
push 1
push 0
push str.UninstallString
push edx
call esi
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
mov edx, dword [esp + 0xc]
add ecx, ecx
push ecx
push eax
push 1
push 0
push str.DisplayIcon
push edx
call esi
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
mov edx, dword [esp + 0xc]
add ecx, ecx
push ecx
push eax
push 1
push 0
push str.URLInfoAbout
push edx
call esi
mov eax, dword [esp + 0x24]
mov ecx, dword [eax - 0xc]
mov edx, dword [esp + 0xc]
add ecx, ecx
push ecx
push eax
push 1
push 0
push str.Publisher
push edx
call esi
mov eax, dword [esp + 0x40]
mov ecx, dword [eax - 0xc]
mov edx, dword [esp + 0xc]
add ecx, ecx
push ecx
push eax
push 1
push 0
push str.PRODUCT_Version
push edx
call esi
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413fb2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 5
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413fd7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 4
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413ffc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414021
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414046
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x38], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414067
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41408c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4140b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0043bfab
add esp, 0x30
ret 8