Function at 0x4082f0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x48fbb0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b5a50]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov dword [esp + 0x38], 2
call fcn.0043e9ec
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40833b
push 0x80004005
call fcn.004010b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push 0x10
mov bl, 3
push str.SOFTWAREyxdown_
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], bl
call fcn.00401d30
mov eax, dword [esp + 0x40]
lea esi, [esp + 0x1c]
call fcn.00402630
mov byte [esp + 0x38], 4
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00411980
mov byte [esp + 0x38], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4083a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ebx, ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], edi
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
push edi
push 0x2001f
push edi
push edi
mov byte [esp + 0x50], 5
mov eax, dword [esp + 0x30]
push edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x40], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
jne 0x40848a
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
cmp eax, edi
setne cl
mov dword [esp + 0x28], esi
mov ebx, eax
cmp ecx, edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
je 0x40841f
push eax
call ebp
lea ecx, [eax + eax + 2]
push ecx
push ebx
push 1
push 0
push 0x49ad44
push esi
call edi
mov eax, dword [esp + 0x48]
xor ecx, ecx
test eax, eax
setne cl
mov ebx, eax
test ecx, ecx
je 0x408445
push eax
call ebp
lea edx, [eax + eax + 2]
push edx
push ebx
push 1
push 0
push str.YouXiMing
push esi
call edi
mov eax, dword [esp + 0x4c]
xor ecx, ecx
test eax, eax
setne cl
mov ebx, eax
test ecx, ecx
je 0x40846b
push eax
call ebp
lea eax, [eax + eax + 2]
push eax
push ebx
push 1
push 0
push str.ZhuChengXu
push esi
call edi
test esi, esi
je 0x40847e
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x28], 0
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x2c], 0
mov esi, dword [esp + 0x18]
push 6
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x2c], esp
mov edi, esp
push esi
call fcn.00401e30
mov ecx, dword [esp + 0x4c]
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00408570
test ebx, ebx
je 0x4084bc
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0x38], 2
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4084da
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov byte [esp + 0x38], 1
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 0x4084ff
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 + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408524
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 + 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40854c
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
pop ebp
pop ebx
add esp, 0x28
ret 0x10