Function at 0x490a60
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e39e4
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x51cbc0]
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 al, byte [ebp + 0xc]
lea ecx, [ebp - 0x90]
mov esi, dword [ebp + 8]
mov byte [ebp - 0x91], al
call fcn.00439310
push esi
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x90]
call fcn.00480610
push 9
push str.tsmission
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00417770
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x98]
call fcn.00439620
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x490b24
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x490b1a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x490df0
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x98]
call fcn.0048cb40
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
jb 0x490b59
mov edx, dword [ebp - 0x28]
mov ecx, edx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x490b70
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00417770
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x490bbb
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x490bb1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x490df5
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
jb 0x490bdd
mov eax, dword [ebp - 0x40]
push eax
lea ecx, [ebp - 0x9c]
call fcn.004371d0
mov ebx, dword [eax]
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x98], esp
push str.State
mov byte [ebp - 4], 4
call fcn.004371d0
push ecx
mov esi, esp
mov byte [ebp - 4], 5
mov dword [ebp - 0xa0], esi
call fcn.0040b000
mov ecx, eax
test ecx, ecx
je 0x490dfa
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push str.Software360TotalSecurityMission
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.0041cf80
test al, al
jne 0x490c4a
push str.Software360TotalSecurityMission
mov ecx, esi
call fcn.00407c70
movzx eax, byte [ebp - 0x91]
lea ecx, [ebp - 0x50]
sub eax, 0x7fffffff
mov byte [ebp - 4], 5
push eax
mov byte [ebp - 4], 4
call fcn.00406430
mov esi, ebx
mov edi, eax
lea eax, [esi + 2]
mov edi, edi
mov cx, word [esi]
add esi, 2
test cx, cx
jne 0x490c70
push 0
sub esi, eax
mov dword [ebp - 0x98], 0
lea eax, [ebp - 0x98]
sar esi, 1
push eax
mov eax, dword [edi + 0xc]
push 0
or eax, 0x20006
push eax
push 0
push 0
push 0
push dword [edi + 4]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x490ce5
lea eax, [esi*2 + 2]
push eax
push ebx
push 1
push 0
push dword [edi + 8]
push dword [ebp - 0x98]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x98]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
test esi, esi
sete bl
jmp 0x490ce7
xor ebx, ebx
mov edx, dword [ebp - 0x48]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x490d04
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x4c]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x490d1e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x9c]
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x490d3d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x490d71
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x490d67
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x490e04
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x490db3
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x490da9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x490e09
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.0043d4c0
mov al, bl
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.004d55dc
mov esp, ebp
pop ebp
ret 8
call fcn.004c98d0
call fcn.004c98d0
push 0x80004005
call fcn.00409110
call fcn.004c98d0
call fcn.004c98d0
int3