Function at 0x4324fb
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x2108]
mov eax, 0x2108
call fcn.0043d430
push 0xffffffffffffffff
push 0x45a350
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x47806c]
xor eax, ebp
mov dword [ebp + 0x2104], 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 - 0x1c], ecx
mov eax, dword [ebp + 0x2118]
mov edi, dword [ebp + 0x2110]
mov ebx, dword [ebp + 0x2114]
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 0x104]
push eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], ebx
call fcn.00432b94
test eax, eax
js 0x4328d1
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea eax, [ebp + 0x104]
push str.SMDB
push eax
call esi
test eax, eax
jne 0x43258c
push 8
jmp 0x4325d3
push 0x46c2ac
lea eax, [ebp + 0x104]
push eax
call esi
test eax, eax
jne 0x4325a5
mov esi, 0x4008
jmp 0x4325d4
push 0x46c2b0
lea eax, [ebp + 0x104]
push eax
call esi
test eax, eax
jne 0x4325bb
push 0x13
jmp 0x4325d3
push 0x46c2b4
lea eax, [ebp + 0x104]
push eax
call esi
test eax, eax
jne 0x4328cc
push 0x11
pop esi
mov ecx, dword [ebp - 0x1c]
call fcn.0043322b
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp + 0x104]
push eax
call fcn.00432b94
test eax, eax
js 0x4328d1
sub esi, 8
je 0x43287e
sub esi, 9
je 0x43275a
push 2
pop edi
sub esi, edi
je 0x432721
sub esi, 0x3ff5
jne 0x4328b6
lea eax, [ebp + 0x104]
push eax
call fcn.00441e1e
xor ebx, ebx
add eax, edi
pop ecx
mov dword [ebp], ebx
mul edi
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
cmp edx, ebx
ja 0x43265c
cmp eax, 0xffffffff
ja 0x43265c
cmp eax, 0x100
jbe 0x432654
push eax
lea ecx, [ebp]
call fcn.00403250
jmp 0x432674
lea esi, [ebp + 4]
mov dword [ebp], esi
jmp 0x432677
push 0x80070216
call fcn.00401a9f
mov eax, 0x43266c
ret
mov esi, dword [ebp]
test esi, esi
je 0x432706
cmp word [ebp + 0x104], 0
lea edi, [ebp + 0x104]
je 0x4326c4
push edi
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [edi]
cmp ecx, 0x5c
jne 0x4326b6
push 0x30
pop edx
cmp word [eax], dx
jne 0x4326b6
xor ecx, ecx
push eax
mov word [esi], cx
call dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
jmp 0x4326bc
mov word [esi], cx
add edi, 2
add esi, 2
cmp word [edi], bx
jne 0x43268f
xor eax, eax
mov dword [esi], eax
mov esi, dword [ebp]
test esi, esi
jne 0x4326d3
push 0xd
jmp 0x432708
mov edi, ebx
mov ebx, esi
push ebx
call fcn.00441e1e
inc eax
pop ecx
lea ebx, [ebx + eax*2]
lea edi, [edi + eax*2]
cmp eax, 1
jne 0x4326d7
mov eax, dword [ebp - 0x18]
xor ebx, ebx
push edi
push esi
push 7
push ebx
push dword [ebp - 0x14]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, dword [ebp]
mov edi, eax
jmp 0x432709
push 0xe
pop edi
lea eax, [ebp + 4]
cmp esi, eax
je 0x4328a9
lea ecx, [ebp]
call fcn.00403247
jmp 0x4328a9
lea eax, [ebp - 0x24]
xor ebx, ebx
push eax
push ebx
push ebx
lea eax, [ebp + 0x104]
push eax
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
test eax, eax
js 0x4328d1
mov eax, dword [ebp - 0x24]
push 4
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x18]
push 4
push ebx
push dword [ebp - 0x14]
push dword [eax]
jmp 0x4328a1
lea eax, [ebp + 0x104]
push eax
call fcn.00441e1e
mov dword [ebp - 0x28], eax
pop ecx
test al, 1
je 0x432778
mov eax, 0x80004005
jmp 0x4328d1
cdq
xor ebx, ebx
sub eax, edx
mov dword [ebp], ebx
mov esi, eax
sar esi, 1
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 3
mov byte [ebp - 4], 4
cmp esi, 0xffffffff
ja 0x43265c
cmp esi, 0x100
jbe 0x4327ae
push esi
lea ecx, [ebp]
call fcn.00403250
jmp 0x4327c7
lea eax, [ebp + 4]
mov dword [ebp], eax
jmp 0x4327ca
mov eax, dword [ebp]
test eax, eax
jne 0x4327dc
xor al, al
jne 0x43276e
lea ecx, [ebp]
call fcn.00403247
jmp 0x43276e
push esi
push ebx
push eax
call fcn.0043dd90
mov edi, dword [ebp - 0x28]
add esp, 0xc
test edi, edi
jle 0x432855
push 0x30
pop ecx
mov esi, ebx
mov eax, esi
cdq
sub eax, edx
movzx edx, word [ebp + esi*2 + 0x104]
sar eax, 1
add eax, dword [ebp]
mov dword [ebp - 0x28], eax
mov eax, edx
cmp eax, ecx
jb 0x432834
cmp eax, 0x39
jbe 0x43282f
cmp eax, 0x40
jbe 0x432834
cmp eax, 0x46
jbe 0x43282a
add eax, 0xffffff9f
cmp eax, 5
ja 0x432834
sub dl, 0x57
jmp 0x432836
sub dl, 0x37
jmp 0x432836
sub dl, 0x30
jmp 0x432836
mov dl, bl
mov eax, esi
and eax, 1
push 4
shl eax, 2
pop ecx
sub ecx, eax
mov eax, dword [ebp - 0x28]
shl dl, cl
push 0x30
pop ecx
or byte [eax], dl
inc esi
cmp esi, edi
jl 0x4327f3
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
push esi
push dword [ebp]
push 3
push ebx
push dword [ebp - 0x14]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x4328a9
lea ecx, [ebp]
call fcn.00403247
jmp 0x4328a9
lea eax, [ebp + 0x104]
push eax
call fcn.00441e1e
pop ecx
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp + 0x104]
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 0x4328b6
mov ecx, edi
call fcn.00432b86
jmp 0x4328d1
push dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
call fcn.00432b94
xor ecx, ecx
test eax, eax
cmovs ecx, eax
mov eax, ecx
jmp 0x4328d1
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 + 0x2104]
xor ecx, ebp
call fcn.0043c1a9
lea esp, [ebp + 0x2108]
pop ebp
ret 0xc