Function at 0x1000f1c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003304b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x2214
call fcn.100150c0
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.10010310
test eax, eax
js 0x1000f606
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea eax, [ebp - 0x2224]
push str.SMDB
push eax
call esi
test eax, eax
jne 0x1000f21f
lea esi, [eax + 8]
jmp 0x1000f268
push 0x10034720
lea eax, [ebp - 0x2224]
push eax
call esi
test eax, eax
jne 0x1000f238
mov esi, 0x4008
jmp 0x1000f268
push 0x10034724
lea eax, [ebp - 0x2224]
push eax
call esi
test eax, eax
jne 0x1000f24f
lea esi, [eax + 0x13]
jmp 0x1000f268
push 0x10034728
lea eax, [ebp - 0x2224]
push eax
call esi
test eax, eax
jne 0x1000f601
lea esi, [eax + 0x11]
mov ecx, ebx
call fcn.10011600
lea eax, [ebp - 0x2224]
mov ecx, ebx
push eax
call fcn.10010310
test eax, eax
js 0x1000f606
cmp esi, 0x13
ja 0x1000f474
je 0x1000f447
cmp esi, 8
je 0x1000f3ff
cmp esi, 0x11
jne 0x1000f5db
lea ebx, [ebp - 0x2224]
lea ecx, [ebx + 2]
nop
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x1000f2b0
sub ebx, ecx
sar ebx, 1
mov dword [ebp - 0x14], ebx
test bl, 1
jne 0x1000f333
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 0x1000f318
push edi
lea ecx, [ebp - 0x120]
call fcn.1000f670
mov eax, dword [ebp - 0x120]
jmp 0x1000f324
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x120], eax
test eax, eax
jne 0x1000f34b
lea ecx, [ebp - 0x120]
call fcn.10010300
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.10016930
add esp, 0xc
xor esi, esi
test ebx, ebx
jle 0x1000f3c2
nop dword [eax]
movzx ecx, word [ebp + esi*2 - 0x2224]
movzx eax, cx
add eax, 0xffffffd0
cmp eax, 0x36
ja case.0x1000f37a.58
movzx eax, byte [eax + 0x1000f634]
jmp dword [eax*4 + 0x1000f624]
sub cl, 0x30
mov dword [ebp - 0x14], ecx
jmp 0x1000f39d
sub cl, 0x37
mov dword [ebp - 0x14], ecx
jmp 0x1000f39d
sub cl, 0x57
mov dword [ebp - 0x14], ecx
jmp 0x1000f39d
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 0x1000f360
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 0x1000f5b8
lea ecx, [ebp - 0x120]
call fcn.10010300
jmp 0x1000f5b8
lea ecx, [ebp - 0x2224]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000f410
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 0x1000f5bb
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 0x1000f606
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push 4
push eax
push 4
jmp 0x1000f430
cmp esi, 0x4008
jne 0x1000f5db
lea ecx, [ebp - 0x2224]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000f490
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 0x1000f619
cmp eax, 0xffffffff
ja 0x1000f619
cmp eax, 0x100
jbe 0x1000f523
push eax
lea ecx, [ebp - 0x224]
call fcn.1000f670
mov esi, dword [ebp - 0x224]
test esi, esi
je 0x1000f59e
cmp word [ebp - 0x2224], 0
lea edi, [ebp - 0x2224]
je 0x1000f546
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
push edi
call ebx
movzx ecx, word [edi]
cmp ecx, 0x5c
jne 0x1000f537
cmp word [eax], 0x30
jne 0x1000f537
xor ecx, ecx
push eax
mov word [esi], cx
call ebx
mov edi, eax
jmp 0x1000f53d
lea esi, [ebp - 0x220]
mov dword [ebp - 0x224], esi
jmp 0x1000f4e8
mov word [esi], cx
add edi, 2
add esi, 2
cmp word [edi], 0
jne 0x1000f506
xor eax, eax
mov dword [esi], eax
mov esi, dword [ebp - 0x224]
test esi, esi
jne 0x1000f559
lea edi, [eax + 0xd]
jmp 0x1000f5a3
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 0x1000f565
sub ecx, ebx
sar ecx, 1
inc ecx
lea edx, [edx + ecx*2]
lea edi, [edi + ecx*2]
cmp ecx, 1
jne 0x1000f560
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 0x1000f5a3
mov edi, 0xe
lea eax, [ebp - 0x220]
cmp esi, eax
je 0x1000f5b8
lea ecx, [ebp - 0x224]
call fcn.10010300
mov ebx, dword [ebp - 0x18]
test edi, edi
je 0x1000f5db
push edi
call fcn.1000fbc0
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.10010310
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 ebx, 0xf3891000
add byte [eax], dl
xchg ecx, eax
add byte [eax], dl
cdq
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
int3