Function at 0x100299b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007c0b7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10029b88
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
lea eax, [eax + ecx - 0xdf81]
test eax, eax
je 0x10029a25
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x10029a20
push 0x23e8
push 0
push 0xb2a
push 0x127a
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x10029b86
push 3
lea ecx, [ebp - 0x50]
call fcn.10016394
and dword [ebp - 4], 0
mov dword [ebp - 0x70], 3
mov dword [ebp - 0x6c], 3
mov dword [ebp - 0x68], 3
mov dword [ebp - 0x64], 3
lea ecx, [ebp - 0xe]
call fcn.10008e13
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x44]
call fcn.10016441
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x5c]
call fcn.100163f0
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], 0
jmp 0x10029a89
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x10029a9f
push dword [ebp - 0x14]
lea ecx, [ebp - 0x50]
call fcn.10016432
or dword [eax], 0xffffffff
jmp 0x10029a82
push 2
lea ecx, [ebp - 0x50]
call fcn.10016432
cmp dword [eax], 0x8ef068cd
jne 0x10029ae2
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
push 2
lea ecx, [ebp - 0x50]
call fcn.10016432
sub esi, dword [eax]
push 2
lea ecx, [ebp - 0x50]
call fcn.10016432
add esi, dword [eax]
push 2
lea ecx, [ebp - 0x50]
call fcn.10016432
cmp esi, dword [eax]
jle 0x10029ae2
and dword [ebp - 0x1c], 0
jmp 0x10029ae9
mov dword [ebp - 0x1c], 1
push 2
lea ecx, [ebp - 0x50]
call fcn.10016432
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax]
jge 0x10029b03
mov dword [ebp - 0x20], 1
jmp 0x10029b07
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
sub ecx, 0x19897ba7
cmp dword [eax], ecx
jl 0x10029b20
mov dword [ebp - 0x24], 1
jmp 0x10029b24
and dword [ebp - 0x24], 0
imul eax, dword [ebp - 0x24], 0xffffffff
cmp eax, 0xffffffff
je 0x10029b36
mov dword [ebp - 0x28], 1
jmp 0x10029b3a
and dword [ebp - 0x28], 0
push 2
lea ecx, [ebp - 0x50]
call fcn.10016432
mov esi, dword [eax]
sub esi, dword [ebp - 0x28]
push 2
lea ecx, [ebp - 0x50]
call fcn.10016432
imul esi, dword [eax]
push 2
lea ecx, [ebp - 0x50]
call fcn.10016432
sub esi, dword [eax]
push 3
lea ecx, [ebp - 0x5c]
call fcn.10016432
mov dword [eax], esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.10016416
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.10016416
jmp 0x10029bb0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
movzx eax, word [eax]
sar eax, 0xc
mov ecx, dword [ebp - 0x3c]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret