Function at 0x4029ae
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ab02c
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2124
call fcn.006aa850
mov eax, dword [0x6c300c]
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 dword [ebp - 0x2124], ecx
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x2134], eax
lea eax, [ebp - 0x2014]
push eax
mov dword [ebp - 0x2128], ecx
mov dword [ebp - 0x2120], edi
mov dword [ebp - 0x211c], ebx
call fcn.00402864
test eax, eax
js 0x402e05
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea eax, [ebp - 0x2014]
push str.SMDB
push eax
call esi
test eax, eax
jne 0x402a3b
push 8
jmp 0x402a82
push 0x6bb748
lea eax, [ebp - 0x2014]
push eax
call esi
test eax, eax
jne 0x402a54
mov esi, 0x4008
jmp 0x402a83
push 0x6bb74c
lea eax, [ebp - 0x2014]
push eax
call esi
test eax, eax
jne 0x402a6a
push 0x13
jmp 0x402a82
push 0x6bb750
lea eax, [ebp - 0x2014]
push eax
call esi
test eax, eax
jne 0x402e00
push 0x11
pop esi
mov ecx, dword [ebp - 0x2124]
call fcn.00402844
mov ecx, dword [ebp - 0x2124]
lea eax, [ebp - 0x2014]
push eax
call fcn.00402864
test eax, eax
js 0x402e05
sub esi, 8
je 0x402dac
sub esi, 9
je 0x402c48
push 2
pop edi
sub esi, edi
je 0x402bfd
sub esi, 0x3ff5
jne 0x402de4
lea eax, [ebp - 0x2014]
push eax
call fcn.0068be26
xor ebx, ebx
add eax, edi
pop ecx
mov dword [ebp - 0x2118], ebx
mul edi
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
cmp edx, ebx
ja 0x402e21
jb 0x402b04
cmp eax, 0xffffffff
ja 0x402e21
cmp eax, 0x100
jbe 0x402b19
push eax
lea ecx, [ebp - 0x2118]
call fcn.004052d9
jmp 0x402b3b
lea esi, [ebp - 0x2114]
mov dword [ebp - 0x2118], esi
jmp 0x402b41
mov esi, dword [ebp - 0x2118]
test esi, esi
je 0x402bdc
cmp word [ebp - 0x2014], 0
lea edi, [ebp - 0x2014]
je 0x402b8e
push edi
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [edi]
cmp ecx, 0x5c
jne 0x402b80
push 0x30
pop edx
cmp word [eax], dx
jne 0x402b80
xor ecx, ecx
push eax
mov word [esi], cx
call dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
jmp 0x402b86
mov word [esi], cx
add edi, 2
add esi, 2
cmp word [edi], bx
jne 0x402b59
xor eax, eax
mov dword [esi], eax
mov esi, dword [ebp - 0x2118]
test esi, esi
jne 0x402ba0
push 0xd
jmp 0x402bde
mov edi, ebx
mov ebx, esi
push ebx
call fcn.0068be26
inc eax
pop ecx
lea ebx, [ebx + eax*2]
lea edi, [edi + eax*2]
cmp eax, 1
jne 0x402ba4
mov eax, dword [ebp - 0x2120]
xor ebx, ebx
push edi
push esi
push 7
push ebx
push dword [ebp - 0x211c]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, dword [ebp - 0x2118]
mov edi, eax
jmp 0x402bdf
push 0xe
pop edi
lea eax, [ebp - 0x2114]
cmp esi, eax
je 0x402dd7
lea ecx, [ebp - 0x2118]
call fcn.0040527b
jmp 0x402dd7
lea eax, [ebp - 0x212c]
xor ebx, ebx
push eax
push ebx
push ebx
lea eax, [ebp - 0x2014]
push eax
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
test eax, eax
js 0x402e05
mov eax, dword [ebp - 0x212c]
push 4
mov dword [ebp - 0x2128], eax
lea eax, [ebp - 0x2128]
push eax
mov eax, dword [ebp - 0x2120]
push 4
push ebx
push dword [ebp - 0x211c]
push dword [eax]
jmp 0x402dcf
lea eax, [ebp - 0x2014]
push eax
call fcn.0068be26
mov dword [ebp - 0x2130], eax
pop ecx
test al, 1
je 0x402c69
mov eax, 0x80004005
jmp 0x402e05
cdq
xor ebx, ebx
sub eax, edx
mov dword [ebp - 0x2118], ebx
mov esi, eax
sar esi, 1
mov dword [ebp - 0x212c], esi
mov dword [ebp - 4], 3
mov byte [ebp - 4], 4
cmp esi, 0x100
jbe 0x402cc7
push esi
lea ecx, [ebp - 0x2118]
call fcn.004052d9
mov eax, dword [ebp - 0x2118]
jmp 0x402cd3
lea eax, [ebp - 0x2114]
mov dword [ebp - 0x2118], eax
test eax, eax
jne 0x402ce7
lea ecx, [ebp - 0x2118]
call fcn.0040527b
jmp 0x402c5f
push esi
push ebx
push eax
call fcn.00687970
mov edi, dword [ebp - 0x2130]
add esp, 0xc
test edi, edi
jle 0x402d71
mov esi, ebx
movzx ecx, word [ebp + esi*2 - 0x2014]
mov eax, esi
cdq
sub eax, edx
mov edx, ecx
sar eax, 1
add eax, dword [ebp - 0x2118]
mov dword [ebp - 0x2130], eax
mov eax, ecx
push 0x30
pop ecx
cmp ax, cx
jb 0x402d4d
cmp eax, 0x39
jbe 0x402d48
cmp eax, 0x40
jbe 0x402d4d
cmp eax, 0x46
jbe 0x402d43
cmp eax, 0x60
jbe 0x402d4d
cmp edx, 0x66
ja 0x402d4d
sub dl, 0x57
jmp 0x402d4f
sub dl, 0x37
jmp 0x402d4f
sub dl, 0x30
jmp 0x402d4f
mov dl, bl
mov eax, esi
and eax, 1
shl eax, 2
push 4
pop ecx
sub ecx, eax
mov eax, dword [ebp - 0x2130]
shl dl, cl
or byte [eax], dl
inc esi
cmp esi, edi
jl 0x402cfe
mov esi, dword [ebp - 0x212c]
mov eax, dword [ebp - 0x2120]
push esi
push dword [ebp - 0x2118]
push 3
push ebx
push dword [ebp - 0x211c]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
lea eax, [ebp - 0x2114]
cmp dword [ebp - 0x2118], eax
je 0x402dd7
lea ecx, [ebp - 0x2118]
call fcn.0040527b
jmp 0x402dd7
lea eax, [ebp - 0x2014]
push eax
call fcn.0068be26
pop ecx
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x2014]
push eax
push 1
push 0
push ebx
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test edi, edi
je 0x402de4
mov ecx, edi
call fcn.00401da8
jmp 0x402e05
push dword [ebp - 0x2134]
mov ecx, dword [ebp - 0x2124]
call fcn.00402864
xor ecx, ecx
test eax, eax
cmovs ecx, eax
mov eax, ecx
jmp 0x402e05
mov eax, 0x80020009
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.0066f8d2
leave
ret 0xc
push 0x80070216
call fcn.00401cb5
int3