Function at 0x1000d734
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10022e85
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1224
call fcn.10021680
mov eax, dword [0x10033f20]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x1234], eax
lea eax, [ebp - 0x1014]
xor ebx, ebx
push eax
mov dword [ebp - 0x122c], ecx
mov dword [ebp - 0x1228], edi
mov dword [ebp - 0x1230], esi
mov dword [ebp - 0x1220], ebx
call fcn.1000db51
cmp eax, ebx
jl 0x1000db2f
lea eax, [ebp - 0x1220]
push eax
lea eax, [ebp - 0x1014]
push eax
call fcn.1000db51
pop ecx
pop ecx
test eax, eax
jne 0x1000d7ca
mov eax, 0x80020009
jmp 0x1000db2f
mov ecx, dword [ebp - 0x122c]
call fcn.1000cb8f
mov ecx, dword [ebp - 0x122c]
lea eax, [ebp - 0x1014]
push eax
call fcn.1000db51
cmp eax, ebx
jl 0x1000db2f
movzx eax, word [ebp - 0x1220]
sub eax, 8
je 0x1000daf8
sub eax, 9
je 0x1000d9dc
dec eax
dec eax
je 0x1000d8f7
sub eax, 0x3ff5
jne 0x1000db18
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.kernel32.dll_lstrlenA]
add eax, 2
mov dword [ebp - 0x121c], ebx
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x121c]
mov byte [ebp - 4], 1
call fcn.1000db51
mov dword [ebp - 4], ebx
jmp 0x1000d855
mov esi, dword [ebp - 0x121c]
cmp esi, ebx
je 0x1000d8ce
lea edi, [ebp - 0x1014]
cmp byte [ebp - 0x1014], bl
je 0x1000d8ae
push edi
call dword [sym.imp.USER32.dll_CharNextA]
mov cl, byte [edi]
cmp cl, 0x5c
jne 0x1000d88e
cmp byte [eax], 0x30
jne 0x1000d88e
mov byte [esi], bl
push eax
inc esi
call dword [sym.imp.USER32.dll_CharNextA]
mov edi, eax
jmp 0x1000d8aa
mov byte [esi], cl
movzx eax, byte [edi]
push eax
call dword [sym.imp.kernel32.dll_IsDBCSLeadByte]
test eax, eax
je 0x1000d8a8
inc esi
inc edi
mov al, byte [edi]
cmp al, bl
je 0x1000d8ae
mov byte [esi], al
inc esi
inc edi
cmp byte [edi], bl
jne 0x1000d86d
mov ecx, dword [ebp - 0x1228]
mov word [esi], 0
push dword [ebp - 0x121c]
push dword [ebp - 0x1230]
call fcn.1000db51
mov esi, eax
jmp 0x1000d8d1
push 0xe
pop esi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x1218]
cmp dword [ebp - 0x121c], eax
je 0x1000db0b
lea ecx, [ebp - 0x121c]
call fcn.1000cdea
jmp 0x1000db0b
mov dword [ebp - 0x1220], ebx
lea eax, [ebp - 0x1014]
push eax
mov dword [ebp - 4], 3
call dword [sym.imp.kernel32.dll_lstrlenA]
inc eax
push 2
push eax
mov dword [ebp - 0x1224], eax
lea eax, [ebp - 0x1224]
push eax
call fcn.1000db51
add esp, 0xc
test eax, eax
js 0x1000d977
mov esi, dword [ebp - 0x1224]
cmp esi, 0x400
jg 0x1000d955
push esi
call fcn.100033e4
pop ecx
test al, al
je 0x1000d955
mov eax, esi
call fcn.100216b0
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x1000d961
push esi
lea ecx, [ebp - 0x1220]
call fcn.1000db51
push 3
shr esi, 1
push esi
lea ecx, [ebp - 0x1014]
push ecx
push eax
call fcn.1000db51
cmp eax, ebx
jne 0x1000d990
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1220]
call fcn.10002dcb
mov eax, 0x8007000e
jmp 0x1000db2f
lea ecx, [ebp - 0x1228]
push ecx
push ebx
push ebx
push eax
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov eax, dword [ebp - 0x1228]
push 4
mov dword [ebp - 0x1224], eax
lea eax, [ebp - 0x1224]
push eax
push 4
push ebx
push dword [ebp - 0x1230]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1220]
mov esi, eax
call fcn.10002dcb
jmp 0x1000db0b
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.kernel32.dll_lstrlenA]
mov dword [ebp - 0x1224], eax
test al, 1
je 0x1000d9fd
mov eax, 0x80004005
jmp 0x1000db2f
cdq
sub eax, edx
mov esi, eax
sar esi, 1
mov dword [ebp - 0x1220], esi
mov dword [ebp - 0x1118], ebx
push 4
pop edi
mov dword [ebp - 4], edi
push esi
lea ecx, [ebp - 0x1118]
mov byte [ebp - 4], 5
call fcn.1000db51
mov dword [ebp - 4], edi
jmp 0x1000da40
cmp dword [ebp - 0x1118], ebx
jne 0x1000da5f
lea eax, [ebp - 0x1114]
test eax, eax
je 0x1000d9f3
lea ecx, [ebp - 0x1118]
call fcn.1000cdea
jmp 0x1000d9f3
push esi
push ebx
push dword [ebp - 0x1118]
call sub.MSVCR100.dll_memset
add esp, 0xc
xor edi, edi
cmp dword [ebp - 0x1224], ebx
jle 0x1000dab8
mov ecx, dword [ebp - 0x1118]
mov eax, edi
cdq
sub eax, edx
sar eax, 1
lea esi, [eax + ecx]
movzx eax, byte [ebp + edi - 0x1014]
push eax
call fcn.1000db51
pop ecx
mov edx, edi
and edx, 1
shl edx, 2
push 4
pop ecx
sub ecx, edx
shl al, cl
or byte [esi], al
inc edi
cmp edi, dword [ebp - 0x1224]
jl 0x1000da79
mov esi, dword [ebp - 0x1220]
mov eax, dword [ebp - 0x1228]
mov eax, dword [eax]
push esi
push dword [ebp - 0x1118]
push 3
push ebx
push dword [ebp - 0x1230]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
or dword [ebp - 4], 0xffffffff
mov esi, eax
lea eax, [ebp - 0x1114]
cmp dword [ebp - 0x1118], eax
je 0x1000db0b
lea ecx, [ebp - 0x1118]
call fcn.1000cdea
jmp 0x1000db0b
push 1
lea eax, [ebp - 0x1014]
push eax
push esi
mov ecx, edi
call fcn.1000db51
mov esi, eax
cmp esi, ebx
je 0x1000db18
push esi
call fcn.1000db51
pop ecx
jmp 0x1000db2f
push dword [ebp - 0x1234]
mov ecx, dword [ebp - 0x122c]
call fcn.1000db51
cmp eax, ebx
jl 0x1000db2f
xor eax, eax
lea esp, [ebp - 0x1244]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1002140c
leave
ret 0xc