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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x537fc8
mov eax, dword fs:[0]
push eax
sub esp, 0x88
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
push 4
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.00412e20
mov dword [ebp - 4], 0
push eax
call fcn.004a4d00
add esp, 4
mov dword [ebp - 0x84], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00408fc0
push 0xffffffffffffffff
push 5
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00412e20
mov dword [ebp - 4], 1
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x18]
cmovae edx, dword [ebp - 0x28]
or edi, 0xffffffff
test eax, eax
je 0x4a3aba
dec eax
mov ecx, edi
cmp eax, edi
cmovb ecx, eax
cmp word [edx + ecx*2], 0x5c
lea esi, [edx + ecx*2]
je 0x4a3ab4
cmp esi, edx
je 0x4a3aba
sub esi, 2
cmp word [esi], 0x5c
jne 0x4a3aa7
sub esi, edx
sar esi, 1
jmp 0x4a3abd
or esi, 0xffffffff
push 0xffffffffffffffff
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00412e20
mov byte [ebp - 4], 2
lea eax, [ebp - 0x70]
push esi
push 0
push eax
lea ecx, [ebp - 0x28]
call fcn.00412e20
mov esi, eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4a3b1a
mov ecx, eax
call fcn.00408fc0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.00408fc0
xor esi, esi
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x8c], esi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x78]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
push 0xf003f
push esi
push eax
push dword [ebp - 0x84]
mov dword [ebp - 0x78], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4a3da6
mov esi, dword [ebp - 0x78]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x90], eax
test esi, esi
je 0x4a3da6
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.004a4b80
add esp, 0xc
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x80]
add eax, 0xb4
cmp dword [eax + 0x14], 8
jb 0x4a3bbb
mov eax, dword [eax]
movzx eax, word [eax]
lea ecx, [ebp - 0x7c]
push eax
mov dword [ebp - 0x78], eax
call fcn.00424640
mov eax, dword [ebp - 0x7c]
cmp dword [eax - 0xc], 0
jle 0x4a3d6f
push dword [ebp - 0x78]
push eax
call fcn.004d547c
add esp, 8
test eax, eax
je 0x4a3d6f
sub eax, dword [ebp - 0x7c]
sar eax, 1
js 0x4a3d6f
mov edi, dword [ebp - 0x80]
add edi, 0x60
mov dword [ebp - 0x80], edi
cmp dword [edi + 0x14], 8
jb 0x4a3c0a
mov eax, dword [edi]
mov dword [ebp - 0x80], eax
push 1
push dword [ebp - 0x78]
lea ecx, [ebp - 0x88]
call fcn.004314d0
mov byte [ebp - 4], 6
push dword [ebp - 0x80]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.0040c040
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x7c]
push 0x5629d0
push dword [eax]
call fcn.0042a1d0
test eax, eax
sete byte [ebp - 0x71]
mov byte [ebp - 4], 6
or eax, 0xffffffff
mov edx, dword [ebp - 0x84]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a3c6c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
or eax, 0xffffffff
mov edx, dword [ebp - 0x88]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a3c8e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x71], 0
je 0x4a3d1f
push 1
push dword [ebp - 0x78]
lea ecx, [ebp - 0x84]
call fcn.004314d0
mov byte [ebp - 4], 0xa
cmp dword [edi + 0x14], 8
jb 0x4a3cb4
mov edi, dword [edi]
push eax
lea eax, [ebp - 0x88]
push edi
push eax
call fcn.00415af0
add esp, 0xc
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x7c]
push 0x5629d0
push dword [eax]
call fcn.0042a1d0
mov byte [ebp - 4], 0xa
or edi, 0xffffffff
mov edx, dword [ebp - 0x88]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a3cfc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov eax, edi
mov edx, dword [ebp - 0x84]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a3d22
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4a3d22
or edi, 0xffffffff
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x7c]
test eax, eax
jne 0x4a3d3e
mov eax, 0xd
jmp 0x4a3d82
mov edx, eax
lea ecx, [edx + 2]
mov dword [ebp - 0x80], ecx
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x4a3d46
sub edx, dword [ebp - 0x80]
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push eax
push 1
push 0
push dword [ebp - 0x78]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x4a3d82
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
sete byte [ebp - 0x71]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x7c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x4a3daa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4a3daa
mov byte [ebp - 0x71], 0
mov byte [ebp - 4], 2
test esi, esi
je 0x4a3dc3
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00408fc0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4a3e16
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a3e0c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a3e48
push edx
push ecx
call fcn.004d24a7
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov al, byte [ebp - 0x71]
mov dword [ebp - 0x14], 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
call fcn.004e0791
int3