Function at 0x1000f570
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100335fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x2214
call fcn.10015470
push ebx
push esi
push edi
lea eax, [ebp - 0x2224]
mov dword [ebp - 0x10], esp
mov ebx, ecx
push eax
mov dword [ebp - 0x18], ebx
call fcn.100106c0
test eax, eax
js 0x1000f9b6
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea eax, [ebp - 0x2224]
push str.SMDB
push eax
call esi
test eax, eax
jne 0x1000f5cf
lea esi, [eax + 8]
jmp 0x1000f618
push 0x100346a8
lea eax, [ebp - 0x2224]
push eax
call esi
test eax, eax
jne 0x1000f5e8
mov esi, 0x4008
jmp 0x1000f618
push 0x100346ac
lea eax, [ebp - 0x2224]
push eax
call esi
test eax, eax
jne 0x1000f5ff
lea esi, [eax + 0x13]
jmp 0x1000f618
push 0x100346b0
lea eax, [ebp - 0x2224]
push eax
call esi
test eax, eax
jne 0x1000f9b1
lea esi, [eax + 0x11]
mov ecx, ebx
call fcn.100119c0
lea eax, [ebp - 0x2224]
mov ecx, ebx
push eax
call fcn.100106c0
test eax, eax
js 0x1000f9b6
cmp esi, 0x13
ja 0x1000f824
je 0x1000f7f7
cmp esi, 8
je 0x1000f7af
cmp esi, 0x11
jne 0x1000f98b
lea ebx, [ebp - 0x2224]
lea ecx, [ebx + 2]
nop
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x1000f660
sub ebx, ecx
sar ebx, 1
mov dword [ebp - 0x14], ebx
test bl, 1
jne 0x1000f6e3
mov eax, ebx
mov dword [ebp - 0x120], 0
cdq
sub eax, edx
mov edi, eax
sar edi, 1
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], 3
mov byte [ebp - 4], 4
cmp edi, 0x100
jbe 0x1000f6c8
push edi
lea ecx, [ebp - 0x120]
call fcn.1000fa20
mov eax, dword [ebp - 0x120]
jmp 0x1000f6d4
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x120], eax
test eax, eax
jne 0x1000f6fb
lea ecx, [ebp - 0x120]
call fcn.100106b0
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push edi
push 0
push eax
call fcn.10016ce0
add esp, 0xc
xor esi, esi
test ebx, ebx
jle 0x1000f772
nop dword [eax]
movzx ecx, word [ebp + esi*2 - 0x2224]
movzx eax, cx
add eax, 0xffffffd0
cmp eax, 0x36
ja case.0x1000f72a.58
movzx eax, byte [eax + 0x1000f9e4]
jmp dword [eax*4 + 0x1000f9d4]
sub cl, 0x30
mov dword [ebp - 0x14], ecx
jmp 0x1000f74d
sub cl, 0x37
mov dword [ebp - 0x14], ecx
jmp 0x1000f74d
sub cl, 0x57
mov dword [ebp - 0x14], ecx
jmp 0x1000f74d
mov byte [ebp - 0x14], 0
mov eax, esi
mov edx, esi
and eax, 1
shr edx, 1
add edx, dword [ebp - 0x120]
mov ecx, 4
shl eax, 2
inc esi
sub ecx, eax
mov eax, dword [ebp - 0x14]
shl al, cl
or byte [edx], al
cmp esi, ebx
jl 0x1000f710
mov eax, dword [ebp + 8]
push edi
push dword [ebp - 0x120]
push 3
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
lea eax, [ebp - 0x11c]
cmp dword [ebp - 0x120], eax
je 0x1000f968
lea ecx, [ebp - 0x120]
call fcn.100106b0
jmp 0x1000f968
lea ecx, [ebp - 0x2224]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000f7c0
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x2224]
push eax
push 1
mov eax, dword [ebp + 8]
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
jmp 0x1000f96b
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
lea eax, [ebp - 0x2224]
push eax
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
test eax, eax
js 0x1000f9b6
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push 4
push eax
push 4
jmp 0x1000f7e0
cmp esi, 0x4008
jne 0x1000f98b
lea ecx, [ebp - 0x2224]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000f840
sub ecx, edx
mov dword [ebp - 0x224], 0
sar ecx, 1
lea eax, [ecx + 2]
mov ecx, 2
mov dword [ebp - 4], 0
mul ecx
mov byte [ebp - 4], 1
test edx, edx
jne 0x1000f9c9
cmp eax, 0xffffffff
ja 0x1000f9c9
cmp eax, 0x100
jbe 0x1000f8d3
push eax
lea ecx, [ebp - 0x224]
call fcn.1000fa20
mov esi, dword [ebp - 0x224]
test esi, esi
je 0x1000f94e
cmp word [ebp - 0x2224], 0
lea edi, [ebp - 0x2224]
je 0x1000f8f6
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
push edi
call ebx
movzx ecx, word [edi]
cmp ecx, 0x5c
jne 0x1000f8e7
cmp word [eax], 0x30
jne 0x1000f8e7
xor ecx, ecx
push eax
mov word [esi], cx
call ebx
mov edi, eax
jmp 0x1000f8ed
lea esi, [ebp - 0x220]
mov dword [ebp - 0x224], esi
jmp 0x1000f898
mov word [esi], cx
add edi, 2
add esi, 2
cmp word [edi], 0
jne 0x1000f8b6
xor eax, eax
mov dword [esi], eax
mov esi, dword [ebp - 0x224]
test esi, esi
jne 0x1000f909
lea edi, [eax + 0xd]
jmp 0x1000f953
xor edi, edi
mov edx, esi
nop dword [eax]
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000f915
sub ecx, ebx
sar ecx, 1
inc ecx
lea edx, [edx + ecx*2]
lea edi, [edi + ecx*2]
cmp ecx, 1
jne 0x1000f910
mov eax, dword [ebp + 8]
push edi
push esi
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, dword [ebp - 0x224]
mov edi, eax
jmp 0x1000f953
mov edi, 0xe
lea eax, [ebp - 0x220]
cmp esi, eax
je 0x1000f968
lea ecx, [ebp - 0x224]
call fcn.100106b0
mov ebx, dword [ebp - 0x18]
test edi, edi
je 0x1000f98b
push edi
call fcn.1000ff70
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push dword [ebp + 0x10]
mov ecx, ebx
call fcn.100106c0
xor ecx, ecx
test eax, eax
cmovs ecx, eax
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, 0x80020009
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80070216
call fcn.100031d0
nop
xor edi, esi
add byte [eax], dl
cmp edi, esi
add byte [eax], dl
inc ecx
test dword [eax], 16206096
adc byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [ebx], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], 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 [ebx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
int3