Function at 0x4a43c0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53817d
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x58e5a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ecx, esi
mov dword [ebp - 0xac], eax
mov al, byte [ebp + 0x10]
push 4
mov byte [ebp - 0x89], al
lea eax, [ebp - 0x70]
push 0
push eax
call fcn.00412e20
mov dword [ebp - 4], 0
push eax
call fcn.004a4d00
add esp, 4
mov dword [ebp - 0x9c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00408fc0
push 0xffffffffffffffff
push 5
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.00412e20
mov dword [ebp - 4], 1
lea edx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
mov eax, dword [ebp - 0x30]
cmovae edx, dword [ebp - 0x40]
or edi, 0xffffffff
test eax, eax
je 0x4a4486
dec eax
mov ecx, edi
cmp eax, edi
cmovb ecx, eax
cmp word [edx + ecx*2], 0x5c
lea esi, [edx + ecx*2]
je 0x4a4480
cmp esi, edx
je 0x4a4486
sub esi, 2
cmp word [esi], 0x5c
jne 0x4a4473
sub esi, edx
sar esi, 1
jmp 0x4a4489
or esi, 0xffffffff
push 0xffffffffffffffff
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.00412e20
mov byte [ebp - 4], 2
lea eax, [ebp - 0x58]
push esi
push 0
push eax
lea ecx, [ebp - 0x40]
call fcn.00412e20
mov esi, eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x4a44e6
mov ecx, eax
call fcn.00408fc0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.00408fc0
xor esi, esi
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xb8], esi
mov dword [ebp - 0xb4], esi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x94]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
push 0x3011f
push esi
push eax
push dword [ebp - 0x9c]
mov dword [ebp - 0x94], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4a4ac0
mov esi, dword [ebp - 0x94]
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xb8], 0x100
test esi, esi
je 0x4a4aba
xor esi, esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], esi
mov byte [ebp - 4], 5
lea eax, [ebp - 0x40]
push str.AutorunsDisabled
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00410940
add esp, 0xc
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
jb 0x4a4594
mov eax, dword [eax]
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x94], 0
push ecx
lea ecx, [ebp - 0x94]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push eax
push dword [ebp - 0x9c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4a45d9
mov esi, dword [ebp - 0x94]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x88]
call fcn.00408fc0
test esi, esi
jne 0x4a45f8
mov byte [ebp - 0x89], 0
jmp 0x4a4a95
mov eax, dword [ebp - 0xac]
add eax, 0xb4
cmp dword [eax + 0x14], 8
jb 0x4a460b
mov eax, dword [eax]
movzx eax, word [eax]
lea edx, [ebp - 0xbc]
mov dword [ebp - 0x94], eax
lea ecx, [ebp - 0x4c]
mov al, byte [ebp - 0x89]
mov esi, edx
test al, al
lea eax, [ebp - 0x28]
cmove ecx, edx
lea edx, [ebp - 0x4c]
cmove esi, edx
mov dword [ebp - 0xc0], ecx
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0xa4], esi
cmovae eax, dword [ebp - 0x28]
push eax
push ecx
lea eax, [ebp - 0xa0]
push eax
call fcn.004a4b80
mov byte [ebp - 4], 7
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x90]
push esi
push eax
call fcn.004a4b80
add esp, 0x18
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x90]
mov esi, dword [ebp - 0xac]
add esi, 0x60
cmp dword [eax - 0xc], 0
jne 0x4a46da
cmp dword [esi + 0x14], 8
jb 0x4a4696
mov esi, dword [esi]
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
test esi, esi
je 0x4a4893
mov ecx, esi
lea eax, [ecx + 2]
mov dword [ebp - 0x9c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a46b4
sub ecx, dword [ebp - 0x9c]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0
push edx
jmp 0x4a4884
cmp dword [esi + 0x14], 8
jb 0x4a46e2
mov esi, dword [esi]
push 1
push dword [ebp - 0x94]
lea ecx, [ebp - 0x98]
call fcn.004314d0
mov byte [ebp - 4], 9
push esi
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.0040c040
add esp, 0xc
mov byte [ebp - 4], 0xa
mov edi, dword [eax]
mov ecx, edi
mov eax, dword [ebp - 0x90]
sub ecx, eax
sar ecx, 1
mov dword [ebp - 0xb0], ecx
mov edx, dword [edi - 0xc]
mov esi, dword [eax - 0xc]
mov dword [ebp - 0xc4], esi
test edx, edx
js 0x4a4b68
test edi, edi
jne 0x4a473e
xor edx, edx
jmp 0x4a4750
push edx
push edi
call fcn.004fb6d3
mov edx, eax
add esp, 8
mov eax, dword [ebp - 0x90]
mov ecx, SysReAllocString
mov dword [ebp - 0x9c], edx
sub ecx, edx
cmp ecx, esi
jl 0x4a4b68
add esi, edx
js 0x4a4b68
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x4a4790
push esi
lea ecx, [ebp - 0x90]
call fcn.0040d330
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0xc4]
mov edx, dword [ebp - 0xb0]
cmp edx, ecx
ja 0x4a47a3
lea edi, [eax + edx*2]
lea edx, [eax + ecx*2]
mov ecx, dword [ebp - 0x9c]
add ecx, ecx
je 0x4a47e6
test edx, edx
je 0x4a47d0
push ecx
test edi, edi
je 0x4a47c5
push edi
push edx
call fcn.004d4210
add esp, 0xc
jmp 0x4a47e0
push 0
push edx
call fcn.004d52d0
add esp, 0xc
call fcn.004e08a8
mov dword [eax], 0x16
call fcn.004e0781
mov eax, dword [ebp - 0x90]
cmp esi, dword [eax - 8]
jg 0x4a4b68
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp - 0x90]
mov word [eax + esi*2], cx
mov byte [ebp - 4], 9
or edi, 0xffffffff
mov edx, dword [ebp - 0xa8]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a4822
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov eax, edi
mov edx, dword [ebp - 0x98]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a4843
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
mov eax, dword [ebp - 0x90]
cmovae esi, dword [ebp - 0x28]
test eax, eax
je 0x4a4893
mov edx, eax
lea ecx, [edx + 2]
mov dword [ebp - 0x98], ecx
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x4a4863
sub edx, dword [ebp - 0x98]
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push eax
push 1
push 0
push esi
mov eax, dword [ebp - 0xa4]
push dword [eax]
mov eax, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
call eax
mov eax, dword [ebp - 0xa0]
cmp dword [eax - 0xc], 0
jle 0x4a4a31
push dword [ebp - 0x94]
push eax
call fcn.004d547c
add esp, 8
test eax, eax
je 0x4a4a31
sub eax, dword [ebp - 0xa0]
sar eax, 1
js 0x4a4a31
mov esi, dword [ebp - 0xac]
add esi, 0x60
mov dword [ebp - 0xa4], esi
cmp dword [esi + 0x14], 8
jb 0x4a48e5
mov eax, dword [esi]
mov dword [ebp - 0xa4], eax
push 1
push dword [ebp - 0x94]
lea ecx, [ebp - 0xa8]
call fcn.004314d0
mov byte [ebp - 4], 0xd
push dword [ebp - 0xa4]
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.0040c040
add esp, 0xc
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xa0]
push 0x5629d0
push dword [eax]
call fcn.0042a1d0
test eax, eax
sete byte [ebp - 0x89]
mov byte [ebp - 4], 0xd
mov eax, edi
mov edx, dword [ebp - 0x98]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a4952
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov eax, edi
mov edx, dword [ebp - 0xa8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a4973
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x89], 0
je 0x4a49e0
push 1
push dword [ebp - 0x94]
lea ecx, [ebp - 0xa8]
call fcn.004314d0
mov byte [ebp - 4], 0x11
cmp dword [esi + 0x14], 8
jb 0x4a499b
mov esi, dword [esi]
push eax
lea eax, [ebp - 0x98]
push esi
push eax
call fcn.00415af0
add esp, 0xc
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xa0]
push 0x5629d0
push dword [eax]
call fcn.0042a1d0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x98]
call fcn.0040c110
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xa8]
call fcn.0040c110
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
mov eax, dword [ebp - 0xa0]
cmovae esi, dword [ebp - 0x28]
test eax, eax
je 0x4a4a4b
mov edx, eax
lea ecx, [edx + 2]
mov dword [ebp - 0xb0], ecx
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x4a4a00
sub edx, dword [ebp - 0xb0]
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push eax
mov eax, dword [ebp - 0xc0]
push 1
push 0
push esi
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x4a4a4b
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0xc0]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov byte [ebp - 0x89], 1
mov byte [ebp - 4], 7
mov eax, edi
mov edx, dword [ebp - 0x90]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a4a73
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xa0]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x4a4a92
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x4c]
mov byte [ebp - 4], 4
test esi, esi
je 0x4a4aab
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x4c], 0
mov esi, dword [ebp - 0xbc]
mov dword [ebp - 0x48], 0
jmp 0x4a4ac7
mov esi, dword [ebp - 0xbc]
mov byte [ebp - 0x89], 0
mov byte [ebp - 4], 2
test esi, esi
je 0x4a4ae0
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00408fc0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4a4b33
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a4b29
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a4b72
push edx
push ecx
call fcn.004d24a7
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov al, byte [ebp - 0x89]
mov dword [ebp - 0x2c], 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d2a60
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.0040fbc0
call fcn.004e0791
int3