Function at 0x100fb4d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1014f440
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x101bb518]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov eax, dword [esi]
mov eax, dword [eax + 0x38]
call eax
test al, al
je 0x100fb527
mov eax, 0xc0000022
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor edi, edi
mov dword [esp + 0x24], 0
xor bl, bl
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], edi
mov dword [esp + 0x48], edi
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x3c]
mov esi, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
cmp eax, 4
jne 0x100fb5c3
mov eax, dword [ecx + 0x10]
mov ebx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov eax, dword [eax + 0x40]
mov dword [esp + 0x18], eax
test ebx, ebx
je 0x100fb5c1
cmp edx, 2
jb 0x100fb5c1
mov eax, dword [esi + 0xc]
movzx eax, ax
test eax, eax
je 0x100fb5c1
cmp eax, 2
jbe 0x100fb596
cmp eax, 7
jne 0x100fb5c1
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x24]
push eax
push edx
mov edx, ebx
call fcn.100c21c0
jmp 0x100fb5a7
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x24]
push eax
push edx
mov edx, ebx
call fcn.100c21c0
mov edi, dword [esp + 0x34]
mov bl, al
mov ecx, dword [esp + 0x1c]
add esp, 8
test bl, bl
je 0x100fb5c3
or dword [esi + 0xc], 0x400000
jmp 0x100fb5c3
xor bl, bl
mov eax, dword [esi + 4]
cmp dword [eax + 4], 0
je 0x100fb5d2
cmp word [eax], 0
jne 0x100fb64b
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov byte [esp + 0x48], 1
lea eax, [esp + 0x30]
push eax
push 0
push dword [esi + 4]
call fcn.100c21c0
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x18], eax
test eax, eax
jns 0x100fb62e
cmp eax, 0xc0000034
je 0x100fb639
mov byte [esp + 0x48], 0
mov eax, ecx
test eax, eax
je 0x100fb625
push eax
call fcn.101166d1
add esp, 4
mov esi, dword [esp + 0x18]
jmp 0x100fb6b1
mov eax, dword [ecx + 4]
and eax, 0x50000
or dword [esi + 0xc], eax
mov byte [esp + 0x48], 0
test ecx, ecx
je 0x100fb64b
push ecx
call fcn.101166d1
add esp, 4
test bl, bl
je 0x100fb657
mov ecx, dword [esp + 0x24]
mov edx, edi
jmp 0x100fb65d
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 8]
mov ebx, dword [esi + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
push ecx
push edx
push ebx
mov eax, dword [eax + 4]
mov dword [esp + 0x24], eax
mov eax, dword [0x101cabc4]
mov dword [esp + 0x20], eax
test eax, eax
je 0x100fb69b
mov eax, dword [esi + 8]
push eax
mov eax, dword [esi + 4]
push eax
push dword [esp + 0x2c]
call dword [esp + 0x2c]
jmp 0x100fb6af
mov eax, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x30]
push eax
push dword [esp + 0x2c]
call dword [sym.imp.ntdll.dll_NtSetValueKey]
mov esi, eax
mov dword [esp + 0x48], 0xffffffff
test edi, edi
je 0x100fb6c6
push edi
call fcn.101166d1
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4