Function at 0x10009f90
Capabilities:
Set registry value

Disassembly:
mov eax, 0x211c
call fcn.1003baf0
mov eax, dword [0x100530a0]
xor eax, esp
mov dword [esp + 0x2118], eax
mov eax, dword [esp + 0x2128]
push ebx
mov ebx, dword [esp + 0x2128]
push ebp
mov ebp, dword [esp + 0x2128]
push edi
mov dword [esp + 0x1c], eax
mov edi, ecx
lea eax, [esp + 0x124]
mov dword [esp + 0x18], edi
push eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebx
call fcn.1000a830
test eax, eax
js 0x1000a384
push esi
mov esi, dword [sym.imp.kernel32.dll_lstrcmpiW]
lea eax, [esp + 0x128]
push str.SMDB
push eax
call esi
test eax, eax
jne 0x1000a006
lea esi, [eax + 8]
jmp 0x1000a052
push 0x1003e6bc
lea eax, [esp + 0x12c]
push eax
call esi
test eax, eax
jne 0x1000a020
mov esi, 0x4008
jmp 0x1000a052
push 0x1003e6c0
lea eax, [esp + 0x12c]
push eax
call esi
test eax, eax
jne 0x1000a038
lea esi, [eax + 0x13]
jmp 0x1000a052
push 0x1003e6c4
lea eax, [esp + 0x12c]
push eax
call esi
test eax, eax
jne 0x1000a37e
lea esi, [eax + 0x11]
mov ecx, edi
call fcn.1000b740
lea eax, [esp + 0x128]
mov ecx, edi
push eax
call fcn.1000a830
test eax, eax
js 0x1000a383
cmp esi, 0x13
ja 0x1000a236
je 0x1000a1d4
cmp esi, 8
je 0x1000a196
cmp esi, 0x11
jne 0x1000a368
lea ebx, [esp + 0x128]
lea ecx, [ebx + 2]
nop dword [eax + eax]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x1000a0a0
sub ebx, ecx
sar ebx, 1
test bl, 1
jne 0x1000a0e8
mov eax, ebx
mov dword [esp + 0x24], 0
cdq
sub eax, edx
mov ebp, eax
sar ebp, 1
cmp ebp, 0x100
jbe 0x1000a0f2
push ebp
lea ecx, [esp + 0x28]
call fcn.1000a440
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x1000a0fa
lea ecx, [esp + 0x24]
call fcn.1000a760
mov eax, 0x80004005
jmp 0x1000a383
lea eax, [esp + 0x28]
mov dword [esp + 0x24], eax
push ebp
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor edi, edi
test ebx, ebx
jle 0x1000a15f
nop dword [eax]
movzx edx, word [esp + edi*2 + 0x128]
mov esi, edi
shr esi, 1
add esi, dword [esp + 0x24]
lea eax, [edx - 0x30]
cmp eax, 0x36
ja case.0x1000a12f.58
movzx eax, byte [eax + 0x1000a3b8]
jmp dword [eax*4 + 0x1000a3a8]
sub dl, 0x30
jmp 0x1000a147
sub dl, 0x37
jmp 0x1000a147
sub dl, 0x57
jmp 0x1000a147
xor dl, dl
mov eax, edi
mov ecx, 4
and eax, 1
inc edi
shl eax, 2
sub ecx, eax
shl dl, cl
or byte [esi], dl
cmp edi, ebx
jl 0x1000a110
mov eax, dword [esp + 0x14]
push ebp
push dword [esp + 0x28]
push 3
push 0
push dword [esp + 0x20]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
lea eax, [esp + 0x28]
cmp dword [esp + 0x24], eax
je 0x1000a355
lea ecx, [esp + 0x24]
call fcn.1000a760
jmp 0x1000a355
lea ecx, [esp + 0x128]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000a1a0
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [esp + 0x12c]
push eax
push 1
push 0
push ebx
push dword [ebp]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
jmp 0x1000a355
lea eax, [esp + 0x14]
mov dword [esp + 0x10], 0
push eax
push 0
push 0
lea eax, [esp + 0x134]
push eax
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov esi, eax
test esi, esi
jns 0x1000a209
lea ecx, [esp + 0x10]
call fcn.10009c60
mov eax, esi
jmp 0x1000a383
mov eax, dword [esp + 0x14]
push 4
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
push 4
push 0
push ebx
push dword [ebp]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [esp + 0x10]
mov edi, eax
call fcn.10009c60
jmp 0x1000a355
cmp esi, 0x4008
jne 0x1000a368
lea ecx, [esp + 0x128]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000a250
sub ecx, edx
mov dword [esp + 0x24], 0
sar ecx, 1
lea eax, [ecx + 2]
mov ecx, 2
mul ecx
test edx, edx
ja 0x1000a39e
jb 0x1000a284
cmp eax, 0xffffffff
ja 0x1000a39e
cmp eax, 0x100
jbe 0x1000a2a5
push eax
lea ecx, [esp + 0x28]
call fcn.1000a440
mov esi, dword [esp + 0x24]
test esi, esi
jne 0x1000a2ad
lea edi, [esi + 0xe]
jmp 0x1000a344
lea esi, [esp + 0x28]
mov dword [esp + 0x24], esi
cmp word [esp + 0x128], 0
lea edi, [esp + 0x128]
je 0x1000a2f1
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
push edi
call ebx
movzx ecx, word [edi]
cmp ecx, 0x5c
jne 0x1000a2e2
cmp word [eax], 0x30
jne 0x1000a2e2
xor ecx, ecx
push eax
mov word [esi], cx
call ebx
mov edi, eax
jmp 0x1000a2e8
mov word [esi], cx
add edi, 2
add esi, 2
cmp word [edi], 0
jne 0x1000a2c5
xor eax, eax
mov dword [esi], eax
mov esi, dword [esp + 0x24]
test esi, esi
jne 0x1000a302
lea edi, [eax + 0xd]
jmp 0x1000a344
xor ebx, ebx
mov edx, esi
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000a310
sub ecx, edi
sar ecx, 1
inc ecx
lea edx, [edx + ecx*2]
lea ebx, [ebx + ecx*2]
cmp ecx, 1
jne 0x1000a306
push ebx
push esi
push 7
push 0
push dword [esp + 0x20]
push dword [ebp]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, dword [esp + 0x24]
mov edi, eax
lea eax, [esp + 0x28]
cmp esi, eax
je 0x1000a355
lea ecx, [esp + 0x24]
call fcn.1000a760
test edi, edi
je 0x1000a364
push edi
call fcn.1000a5e0
add esp, 4
jmp 0x1000a383
mov edi, dword [esp + 0x1c]
push dword [esp + 0x20]
mov ecx, edi
call fcn.1000a830
xor ecx, ecx
test eax, eax
cmovs ecx, eax
mov eax, ecx
jmp 0x1000a383
mov eax, 0x80020009
pop esi
mov ecx, dword [esp + 0x2124]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003b4ee
add esp, 0x211c
ret 0xc
push 0x80070216
call fcn.10006240
mov eax, dword ss:[0xa13b1000]
add byte [eax], dl
inc eax
mov eax, dword [-1589309440]
add byte [eax], dl
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ecx]
add dword [ecx], eax
add dword [ecx], eax
add dword [ebx], eax
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add al, byte [edx]
add al, byte [edx]
add cl, ah