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

Disassembly:
push 0x68
mov eax, 0x10592a6
call fcn.01021eb9
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x10], ebx
call fcn.0103b217
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.010151da
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.01014c71
mov byte [ebp - 4], 3
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
xor esi, esi
mov dword [edi], ebx
mov eax, dword [eax]
inc esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], eax
cmp eax, ebx
je 0x104aaab
cmp dword [ebp - 0x10], ebx
jne 0x104abc5
lea ecx, [ebp - 0x14]
call fcn.010151da
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x28]
push eax
call fcn.0105038c
push eax
lea ecx, [ebp - 0x14]
call fcn.01015959
push dword [0x10646a0]
lea ecx, [ebp - 0x14]
call fcn.0101492b
test eax, eax
jne 0x104ab18
push 0x1011b80
push 3
call fcn.0103ac75
pop ecx
pop ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x24], ebx
push dword [ebp + 8]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push 0x1011af0
push 3
call fcn.0103ac75
add esp, 0x14
push dword [0x10646a0]
lea ecx, [ebp - 0x14]
call fcn.0101492b
test eax, eax
je 0x104aa85
push dword [ebp - 0x14]
lea ecx, [ebp - 0x40]
call fcn.010172fc
lea ecx, [ebp - 0x74]
call fcn.0103adbd
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.01015174
cmp dword [ebp - 0x28], ebx
jne 0x104a9fc
cmp dword [ebp - 0x10], ebx
jne 0x104abc5
push dword [ebp + 8]
push 0x1011a70
push 3
pop edi
push edi
call fcn.0103ac75
add esp, 0xc
cmp dword [ebp - 0x24], ebx
je 0x104abbd
push 0x1011a20
push edi
call fcn.0103ac75
pop ecx
pop ecx
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0xc]
lea eax, [ebp + 8]
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push eax
mov dword [ebp - 0x28], ebx
call fcn.010151f2
mov byte [ebp - 4], 6
mov byte [ebp - 4], 3
call fcn.0104960e
cmp eax, ebx
jne 0x104abae
push 0x1011990
push edi
call fcn.0103ac75
pop ecx
pop ecx
mov dword [ebp - 0x10], ebx
jmp 0x104adf0
push 3
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.010151f2
mov byte [ebp - 4], 5
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x74]
call fcn.0103b6d1
cmp eax, 0xb7
je 0x104ab48
mov dword [ebp - 0x10], ebx
jmp 0x104aa50
lea eax, [ebp - 0x18]
push eax
push 2
lea ecx, [ebp - 0x74]
call fcn.0103b80d
test eax, eax
je 0x104ab40
mov dword [ebp - 0x1c], 0x57
mov dword [ebp - 0x20], ebx
cmp dword [ebp + 0xc], esi
je 0x104ab83
jle 0x104ab40
cmp dword [ebp + 0xc], 4
jg 0x104ab40
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x20]
call fcn.01049a28
jmp 0x104ab94
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.010497e2
mov dword [ebp - 0x1c], eax
cmp eax, ebx
jne 0x104ab40
mov dword [ebp - 0x10], esi
cmp dword [ebp - 0x20], ebx
je 0x104aa85
mov dword [edi], esi
jmp 0x104aa85
mov dword [ebp - 0x10], esi
cmp dword [ebp - 0x28], ebx
je 0x104abc8
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
jmp 0x104abc8
mov dword [ebp - 0x10], esi
jmp 0x104adf0
push 3
pop edi
cmp dword [ebp - 0x38], ebx
je 0x104adf0
lea ecx, [ebp - 0x1c]
call fcn.010151da
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x24], eax
cmp eax, ebx
je 0x104acdd
lea ecx, [ebp + 0xc]
call fcn.010151da
mov byte [ebp - 4], 8
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x40]
call fcn.0105038c
push eax
lea ecx, [ebp + 0xc]
call fcn.01015959
mov ecx, dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push eax
call fcn.0103b662
lea ecx, [ebp - 0x58]
call fcn.01014c71
mov byte [ebp - 4], 9
push edi
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.010151f2
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x74]
call fcn.0103b6d1
lea eax, [ebp - 0x58]
push eax
push 0xa
lea ecx, [ebp - 0x74]
call fcn.0103c4cc
lea ecx, [ebp - 0x74]
call fcn.0103adbd
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x104acbc
lea ecx, [ebp - 0x20]
call fcn.010151da
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x58]
call fcn.0105038c
push eax
lea ecx, [ebp - 0x20]
call fcn.01015959
mov eax, dword [ebp - 0x20]
push dword [eax - 0xc]
lea ecx, [ebp - 0x1c]
push eax
call fcn.010155f6
cmp dword [ebp - 0x14], ebx
jne 0x104ac9e
cmp dword [ebp - 0x24], ebx
je 0x104acab
push 0x1011988
lea ecx, [ebp - 0x1c]
call fcn.01018c3e
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x20]
call fcn.01015174
cmp dword [ebp - 0x14], ebx
jne 0x104ac64
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x58]
call fcn.01014fbc
mov byte [ebp - 4], 7
lea ecx, [ebp + 0xc]
call fcn.01015174
cmp dword [ebp - 0x24], ebx
jne 0x104abeb
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 0xc], ebx
jle 0x104acf4
push eax
push 0x1011808
push edi
call fcn.0103ac75
add esp, 0xc
lea ecx, [ebp - 0x28]
mov dword [ebp + 0x14], ebx
call fcn.010151da
mov byte [ebp - 4], 0xc
push dword [0x1064698]
lea ecx, [ebp + 0xc]
call fcn.010161a7
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.010360f6
mov byte [ebp - 4], 0xc
lea ecx, [ebp + 0xc]
call fcn.01015174
lea eax, [ebp + 0x14]
push eax
push 0x2001f
push ebx
push dword [ebp - 0x28]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x104adc8
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + 8], ebx
je 0x104ad9a
lea eax, [ebp + 0xc]
push eax
call fcn.01035d59
mov esi, eax
cmp esi, ebx
je 0x104adad
mov eax, dword [ebp + 0xc]
add eax, eax
push eax
push esi
push 7
push ebx
push dword [0x106469c]
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x104ad92
push 0x10116a8
push edi
mov dword [ebp - 0x10], ebx
call fcn.0103ac75
pop ecx
pop ecx
push esi
call fcn.01021179
jmp 0x104adbc
push dword [0x106469c]
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x104adbd
push 0x10116a8
push edi
mov dword [ebp - 0x10], ebx
call fcn.0103ac75
pop ecx
pop ecx
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x104add8
push 0x10116a8
push edi
mov dword [ebp - 0x10], ebx
call fcn.0103ac75
pop ecx
pop ecx
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
call fcn.01015174
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.01015174
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.01014fbc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.01015174
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x74]
call fcn.0103af75
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.01015174
mov eax, dword [ebp - 0x10]
call fcn.01021fa5
ret 0x10