Function at 0x1000dd90
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x1001d9b0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebp
push esi
push edi
mov eax, dword [0x10025814]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x30], edi
xor ebp, ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], edi
mov eax, dword [esp + 0x3c]
mov eax, dword [eax - 0xc]
mov byte [esp + 0x30], 3
cmp eax, edi
je 0x1000de21
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x14]
push 0x1001e44c
push edx
call fcn.1000c950
add esp, 0xc
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], 4
call fcn.100028b0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x30], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000de21
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
push ecx
call fcn.1000d950
lea edx, [esp + 0x40]
push edx
push eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x40], 5
call fcn.1000c880
mov eax, dword [eax]
add esp, 0x10
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x14]
push edx
push edi
push 0x2001f
push edi
push edi
push edi
push eax
push SysReAllocString
mov dword [esp + 0x34], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
cmp esi, edi
jne 0x1000de7c
mov ebp, dword [esp + 0x10]
xor esi, esi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], edi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000de9c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x30], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000dec1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, edi
jne 0x1000def7
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x38]
xor ecx, ecx
test eax, eax
setne cl
mov esi, eax
test ecx, ecx
je 0x1000def3
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
push ecx
push esi
push 1
push 0
push edi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test ebp, ebp
jmp 0x1000def9
cmp ebp, edi
je 0x1000df02
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x30], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1000df27
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x30], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000df4c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000df74
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x24
ret