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

Disassembly:
push 0x68
mov eax, 0x1058e35
call fcn.01022092
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x10], ebx
call fcn.0103b062
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.010155dc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.0101526d
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
cmp eax, ebx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], eax
je 0x104a35e
cmp dword [ebp - 0x10], ebx
jne 0x104a478
lea ecx, [ebp - 0x14]
call fcn.010155dc
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x28]
push eax
call fcn.01014be7
push eax
lea ecx, [ebp - 0x14]
call fcn.01015b0a
push dword [0x10645d0]
lea ecx, [ebp - 0x14]
call fcn.01014f10
test eax, eax
jne 0x104a3cb
push 0x1011f90
push 3
call fcn.0103aac4
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 0x1011f00
push 3
call fcn.0103aac4
add esp, 0x14
push dword [0x10645d0]
lea ecx, [ebp - 0x14]
call fcn.01014f10
test eax, eax
je 0x104a338
push dword [ebp - 0x14]
lea ecx, [ebp - 0x40]
call fcn.01017b73
lea ecx, [ebp - 0x74]
call fcn.0103ac08
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.010151a6
cmp dword [ebp - 0x28], ebx
jne 0x104a2af
cmp dword [ebp - 0x10], ebx
jne 0x104a478
push dword [ebp + 8]
push 0x1011e80
push 3
pop edi
push edi
call fcn.0103aac4
add esp, 0xc
cmp dword [ebp - 0x24], ebx
je 0x104a470
push 0x1011e30
push edi
call fcn.0103aac4
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.010157a2
mov byte [ebp - 4], 6
mov byte [ebp - 4], 3
call fcn.0104af64
cmp eax, ebx
jne 0x104a461
push 0x1011da0
push edi
call fcn.0103aac4
pop ecx
pop ecx
mov dword [ebp - 0x10], ebx
jmp 0x104a6a3
push 3
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.010157a2
mov byte [ebp - 4], 5
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x74]
call fcn.0103b51c
cmp eax, 0xb7
je 0x104a3fb
mov dword [ebp - 0x10], ebx
jmp 0x104a303
lea eax, [ebp - 0x18]
push eax
push 2
lea ecx, [ebp - 0x74]
call fcn.0103b658
test eax, eax
je 0x104a3f3
cmp dword [ebp + 0xc], esi
mov dword [ebp - 0x1c], 0x57
mov dword [ebp - 0x20], ebx
je 0x104a436
jle 0x104a3f3
cmp dword [ebp + 0xc], 4
jg 0x104a3f3
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x20]
call fcn.010492eb
jmp 0x104a447
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.010490ad
cmp eax, ebx
mov dword [ebp - 0x1c], eax
jne 0x104a3f3
cmp dword [ebp - 0x20], ebx
mov dword [ebp - 0x10], esi
je 0x104a338
mov dword [edi], esi
jmp 0x104a338
cmp dword [ebp - 0x28], ebx
mov dword [ebp - 0x10], esi
je 0x104a47b
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
jmp 0x104a47b
mov dword [ebp - 0x10], esi
jmp 0x104a6a3
push 3
pop edi
cmp dword [ebp - 0x38], ebx
je 0x104a6a3
lea ecx, [ebp - 0x1c]
call fcn.010155dc
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x40]
cmp eax, ebx
mov dword [ebp - 0x24], eax
je 0x104a590
lea ecx, [ebp + 0xc]
call fcn.010155dc
mov byte [ebp - 4], 8
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x40]
call fcn.01014be7
push eax
lea ecx, [ebp + 0xc]
call fcn.01015b0a
mov ecx, dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push eax
call fcn.0103b4ad
lea ecx, [ebp - 0x58]
call fcn.0101526d
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.010157a2
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x74]
call fcn.0103b51c
lea eax, [ebp - 0x58]
push eax
push 0xa
lea ecx, [ebp - 0x74]
call fcn.0103c315
lea ecx, [ebp - 0x74]
call fcn.0103ac08
mov eax, dword [ebp - 0x58]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x104a56f
lea ecx, [ebp - 0x20]
call fcn.010155dc
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x58]
call fcn.01014be7
push eax
lea ecx, [ebp - 0x20]
call fcn.01015b0a
mov eax, dword [ebp - 0x20]
push dword [eax - 0xc]
lea ecx, [ebp - 0x1c]
push eax
call fcn.0101580d
cmp dword [ebp - 0x14], ebx
jne 0x104a551
cmp dword [ebp - 0x24], ebx
je 0x104a55e
push 0x1011d98
lea ecx, [ebp - 0x1c]
call fcn.01015ced
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x20]
call fcn.010151a6
cmp dword [ebp - 0x14], ebx
jne 0x104a517
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x58]
call fcn.01014fc6
mov byte [ebp - 4], 7
lea ecx, [ebp + 0xc]
call fcn.010151a6
cmp dword [ebp - 0x24], ebx
jne 0x104a49e
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 0xc], ebx
jle 0x104a5a7
push eax
push 0x1011c18
push edi
call fcn.0103aac4
add esp, 0xc
lea ecx, [ebp - 0x28]
mov dword [ebp + 0x14], ebx
call fcn.010155dc
mov byte [ebp - 4], 0xc
push dword [0x10645c8]
lea ecx, [ebp + 0xc]
call fcn.01016a0f
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.01035e1c
mov byte [ebp - 4], 0xc
lea ecx, [ebp + 0xc]
call fcn.010151a6
lea eax, [ebp + 0x14]
push eax
push 0x2001f
push ebx
push dword [ebp - 0x28]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x104a67b
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + 8], ebx
je 0x104a64d
lea eax, [ebp + 0xc]
push eax
call fcn.01035a81
mov esi, eax
cmp esi, ebx
je 0x104a660
mov eax, dword [ebp + 0xc]
add eax, eax
push eax
push esi
push 7
push ebx
push dword [0x10645cc]
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x104a645
push 0x1011ab8
push edi
mov dword [ebp - 0x10], ebx
call fcn.0103aac4
pop ecx
pop ecx
push esi
call fcn.010213c8
jmp 0x104a66f
push dword [0x10645cc]
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x104a670
push 0x1011ab8
push edi
mov dword [ebp - 0x10], ebx
call fcn.0103aac4
pop ecx
pop ecx
push dword [ebp + 0x14]
call dword [entry0]
jmp 0x104a68b
push 0x1011ab8
push edi
mov dword [ebp - 0x10], ebx
call fcn.0103aac4
pop ecx
pop ecx
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
call fcn.010151a6
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.010151a6
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.01014fc6
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.010151a6
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x74]
call fcn.0103adc0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.010151a6
mov eax, dword [ebp - 0x10]
call fcn.0102217e
ret 0x10