Function at 0x101c86a1
Capabilities:
Set registry value

Disassembly:
push 0x498
mov eax, 0x1033f1e9
call fcn.102f781d
mov eax, ecx
cmp dword [eax + 0x24], 0
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], ecx
jne 0x101c86f5
push 0x1001f308
push 0x3a
lea eax, [ebp - 0x28c]
push eax
call fcn.10161ac8
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
lea edi, [ebp - 0x180]
rep movsd dword es:[edi], dword [esi]
push 0x103495b0
lea eax, [ebp - 0x180]
push eax
call fcn.102f72b2
cmp dword [ecx + 0x14], 0x3fff
jbe 0x101c8707
push 0x1001f2a8
push 0x21
jmp 0x101c86c8
mov esi, dword [ebp + 0xc]
mov ecx, dword [esi + 0x10]
mov eax, ecx
sub eax, dword [esi + 0xc]
push 0x1c
cdq
pop edi
idiv edi
test eax, eax
jne 0x101c8725
push 0x1001f240
push 0x1d
jmp 0x101c86c8
push esi
xor ebx, ebx
push ecx
inc ebx
lea ecx, [ebp - 0x3c]
mov edi, ebx
call fcn.1019a2c5
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0xc]
push esi
push eax
lea ecx, [ebp - 0x3c]
call fcn.1019a2c5
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
jmp 0x101c878a
lea ecx, [ebp - 0x44]
call fcn.1017ed03
push eax
lea ecx, [ebp - 0x2c]
call fcn.10162deb
mov eax, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
push 0
push ebx
lea ecx, [ebp - 0x2c]
lea edi, [edi + eax + 1]
call fcn.10161215
lea ecx, [ebp - 0x44]
call fcn.1016170c
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x44]
call fcn.10316997
test al, al
je 0x101c875b
add edi, edi
push edi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x40], edi
call fcn.101df934
mov eax, dword [esi + 0x10]
push esi
push eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], ebx
xor edi, edi
call fcn.1019a2c5
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0xc]
push esi
push eax
lea ecx, [ebp - 0x54]
call fcn.1019a2c5
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x30], eax
jmp 0x101c8827
lea ecx, [ebp - 0x34]
call fcn.1017ed03
push eax
lea ecx, [ebp - 0x2c]
call fcn.10162deb
mov eax, dword [ebp - 0x18]
inc eax
push eax
mov eax, dword [ebp - 0x74]
add eax, edi
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 2
call fcn.101c4403
mov eax, dword [ebp - 0x18]
push 0
push ebx
lea ecx, [ebp - 0x2c]
lea edi, [edi + eax*2 + 2]
mov byte [ebp - 4], bl
call fcn.10161215
lea ecx, [ebp - 0x34]
call fcn.1016170c
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x34]
call fcn.10316997
test al, al
je 0x101c87e1
mov eax, dword [ebp - 0x74]
push 2
add eax, edi
push eax
push 0x103681c4
call fcn.101c4403
mov ebx, dword [ebp - 0x4c]
cmp dword [ebx + 0x18], 8
lea edi, [ebx + 4]
jb 0x101c8859
mov eax, dword [edi]
jmp 0x101c885b
mov eax, edi
push dword [ebp - 0x40]
mov esi, dword [ebp - 0x48]
push dword [ebp - 0x74]
push 7
push 0
push eax
push dword [esi + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x101c88c0
cmp dword [esi + 0x20], 8
jb 0x101c8881
mov esi, dword [esi + 0xc]
jmp 0x101c8884
add esi, 0xc
cmp dword [ebx + 0x18], 8
jb 0x101c888c
mov edi, dword [edi]
push esi
push edi
push 0x1001f1e8
push eax
lea eax, [ebp - 0x4a4]
push eax
call fcn.101b70ff
add esp, 0x14
push 0x43
pop ecx
mov esi, eax
lea edi, [ebp - 0x398]
rep movsd dword es:[edi], dword [esi]
push 0x103495b0
lea eax, [ebp - 0x398]
jmp 0x101c86ef
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.101df8a9
call fcn.102f78a0
ret 8