Function at 0x43ddd0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x2114
call fcn.00641d10
mov esi, ecx
mov eax, dword [0x7024bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0x2010]
push 0x2000
push 0xff
push edi
call fcn.00645dd0
add esp, 0xc
mov dword [ebp - 0x2120], esi
mov ecx, esi
push edi
call fcn.0043cd0e
test eax, eax
js 0x43e1ab
push str.SMDB
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x43de6f
push 0x675f94
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x43de7a
push 0x675f98
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x43de85
push 0x675f9c
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, 0x80020009
test eax, eax
jne 0x43e1ad
mov word [ebp - 0x211c], 0x11
jmp 0x43de8e
mov word [ebp - 0x211c], 8
jmp 0x43de8e
mov word [ebp - 0x211c], 0x4008
jmp 0x43de8e
mov word [ebp - 0x211c], 0x13
mov eax, dword [ebp - 0x2120]
mov eax, dword [eax]
mov ebx, 0x800013
mov esi, dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
add ecx, 0xfffffff7
cmp cx, 0x17
ja 0x43dec2
movzx ecx, cx
bt ebx, ecx
jae 0x43dec2
push eax
call esi
mov ecx, dword [ebp - 0x2120]
mov dword [ecx], eax
jmp 0x43dea1
mov ecx, dword [ebp - 0x2120]
push edi
call fcn.0043cd0e
test eax, eax
js 0x43e1ab
movzx eax, word [ebp - 0x211c]
cmp ax, 0x12
jg 0x43df82
cmp ax, 8
je 0x43e07f
cmp ax, 0x11
jne 0x43e1c6
lea eax, [ebp - 0x2010]
push eax
call fcn.0065e7c2
add esp, 4
mov ebx, 0x80004005
test al, 1
jne 0x43e1ad
mov edi, eax
shr edi, 0x1f
mov esi, eax
add edi, eax
sar edi, 1
lea ecx, [ebp - 0x2110]
mov eax, 0x100
push eax
push 0xff
push ecx
call fcn.00645dd0
lea ecx, [ebp - 0x2110]
add esp, 0xc
mov dword [ecx - 4], 0
mov edx, 0x100
cmp edi, edx
jbe 0x43e0f6
lea ecx, [ebp - 0x2114]
push edi
call fcn.0043c93e
lea ecx, [ebp - 0x2114]
mov ecx, dword [ecx]
test ecx, ecx
jne 0x43e0fc
lea ecx, [ebp - 0x2114]
call fcn.0043e2ce
jmp 0x43e1ad
cmp ax, 0x13
je 0x43e099
movzx eax, ax
cmp eax, 0x4008
jne 0x43e1c6
push edi
call fcn.0065e7c2
add esp, 4
mov ebx, eax
add ebx, 2
lea eax, [ebp - 0x2110]
push 0x100
push 0xff
push eax
call fcn.00645dd0
add esp, 0xc
lea eax, [ebp - 0x2110]
mov dword [eax - 4], 0
lea ecx, [ebp - 0x2114]
push ebx
call fcn.0043e29a
lea eax, [ebp - 0x2114]
mov ebx, dword [eax]
test ebx, ebx
je 0x43e0ec
cmp word [ebp - 0x2010], 0
je 0x43e021
push edi
call esi
movzx ecx, word [edi]
cmp cx, 0x5c
jne 0x43e012
cmp word [eax], 0x30
jne 0x43e012
mov word [ebx], 0
push eax
call esi
mov edi, eax
jmp 0x43e018
mov word [ebx], cx
add edi, 2
add ebx, 2
cmp word [edi], 0
jne 0x43dff4
mov dword [ebx], 0
mov esi, dword [ebp - 0x2114]
test esi, esi
je 0x43e18e
xor edi, edi
mov ebx, esi
push ebx
call fcn.0065e7c2
add esp, 4
lea ebx, [ebx + eax*2]
add ebx, 2
lea edi, [edi + eax*2]
add edi, 2
test eax, eax
jne 0x43e039
push edi
push esi
push 7
push 0
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
lea eax, [ebp - 0x2110]
cmp dword [ebp - 0x2114], eax
jne 0x43e193
jmp 0x43e19e
lea esi, [ebp - 0x2010]
push esi
call fcn.0065e7c2
add esp, 4
add eax, eax
add eax, 2
push eax
push esi
push 1
jmp 0x43e0d5
lea eax, [ebp - 0x2118]
mov dword [eax], 0xffffffff
xor ecx, ecx
lea edx, [ebp - 0x2010]
push eax
push ecx
push ecx
push edx
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
test eax, eax
js 0x43e1ab
mov eax, dword [ebp - 0x2118]
lea ecx, [ebp - 0x2114]
mov dword [ecx], eax
mov eax, 4
push eax
push ecx
push eax
push 0
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
jmp 0x43e19e
mov edi, 0xe
jmp 0x43e193
mov dword [ebp - 0x2114], ecx
mov dword [ebp - 0x211c], edi
push edi
push 0
push ecx
call fcn.00645dd0
add esp, 0xc
mov eax, esi
test esi, esi
jle 0x43e159
xor eax, eax
xor edx, edx
movzx ecx, word [ebp + edx*2 - 0x2010]
add ecx, 0xffffffd0
mov ebx, 0
cmp cx, 0x36
ja 0x43e139
movsx ecx, cx
movzx ebx, byte [ecx*4 + 0x6798d8]
mov ecx, eax
not cl
and cl, 4
shl ebx, cl
mov ecx, dword [ebp - 0x2114]
mov edi, edx
shr edi, 1
or byte [ecx + edi], bl
inc edx
add eax, 4
mov ecx, esi
cmp esi, edx
jne 0x43e118
lea ebx, [ebp - 0x2110]
push dword [ebp - 0x211c]
push dword [ebx - 4]
push 3
push 0
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
cmp dword [ebx - 4], ebx
je 0x43e19e
lea ecx, [ebp - 0x2114]
call fcn.0043e2ce
jmp 0x43e19e
mov edi, 0xd
lea ecx, [ebp - 0x2114]
call fcn.0043e2ce
test edi, edi
je 0x43e1c6
push edi
call fcn.0043e1dd
add esp, 4
mov ebx, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0064180a
mov eax, ebx
add esp, 0x2114
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
mov ecx, dword [ebp - 0x2120]
push dword [ebp + 0x10]
call fcn.0043cd0e
mov ebx, eax
sar ebx, 0x1f
and ebx, eax
jmp 0x43e1ad