Function at 0x469660
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d44f1
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1124
call fcn.004ed940
mov eax, dword [0x643004]
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 - 0x1128], ecx
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x1134], eax
lea eax, [ebp - 0x1014]
push eax
mov dword [ebp - 0x101c], ecx
mov dword [ebp - 0x1130], ebx
mov dword [ebp - 0x1018], edi
call fcn.004694f0
test eax, eax
js 0x469ba6
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea eax, [ebp - 0x1014]
push str.SMDB
push eax
call esi
test eax, eax
jne 0x4696ee
lea esi, [eax + 8]
jmp 0x469737
push 0x62ece4
lea eax, [ebp - 0x1014]
push eax
call esi
test eax, eax
jne 0x469707
mov esi, 0x4008
jmp 0x469737
push 0x62ece8
lea eax, [ebp - 0x1014]
push eax
call esi
test eax, eax
jne 0x46971e
lea esi, [eax + 0x13]
jmp 0x469737
push 0x62ecec
lea eax, [ebp - 0x1014]
push eax
call esi
test eax, eax
jne 0x469ba1
lea esi, [eax + 0x11]
mov ecx, dword [ebp - 0x1128]
call fcn.004694a0
mov ecx, dword [ebp - 0x1128]
lea eax, [ebp - 0x1014]
push eax
call fcn.004694f0
test eax, eax
js 0x469ba6
cmp esi, 0x13
ja 0x469a1b
je 0x46991e
cmp esi, 8
je 0x4698ed
cmp esi, 0x11
jne 0x469b85
lea ebx, [ebp - 0x1014]
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x469786
sub ebx, ecx
mov dword [ebp - 0x1020], ebx
test bl, 1
jne 0x469835
mov eax, ebx
cdq
sub eax, edx
mov esi, eax
lea eax, [ebp - 0x1124]
push 0x104
push 0
sar esi, 1
push eax
mov dword [ebp - 0x112c], esi
call fcn.00484a00
add esp, 0xc
mov dword [ebp - 0x1124], 0
mov dword [ebp - 4], 4
mov byte [ebp - 4], 5
cmp esi, 0x100
jbe 0x46981a
push esi
lea ecx, [ebp - 0x1124]
call fcn.004779c0
mov eax, dword [ebp - 0x1124]
jmp 0x469826
lea eax, [ebp - 0x1120]
mov dword [ebp - 0x1124], eax
test eax, eax
jne 0x46983f
lea ecx, [ebp - 0x1124]
call fcn.004774b0
mov eax, 0x80004005
jmp 0x469ba6
push esi
push 0
push eax
call fcn.00484a00
add esp, 0xc
xor edi, edi
test ebx, ebx
jle 0x4698aa
mov dl, byte [ebp + edi - 0x1014]
mov esi, edi
shr esi, 1
add esi, dword [ebp - 0x1124]
movsx eax, dl
add eax, 0xffffffd0
cmp eax, 0x36
ja case.0x469874.58
movzx eax, byte [eax + 0x469bdc]
jmp dword [eax*4 + 0x469bcc]
sub dl, 0x30
jmp 0x46988c
sub dl, 0x37
jmp 0x46988c
sub dl, 0x57
jmp 0x46988c
xor dl, dl
mov eax, edi
mov ecx, 4
and eax, 1
inc edi
shl eax, 2
sub ecx, eax
shl dl, cl
or byte [esi], dl
cmp edi, ebx
jl 0x469851
mov esi, dword [ebp - 0x112c]
mov eax, dword [ebp - 0x1130]
push esi
push dword [ebp - 0x1124]
push 3
push 0
push dword [ebp - 0x1018]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
lea eax, [ebp - 0x1120]
cmp dword [ebp - 0x1124], eax
je 0x469b78
lea ecx, [ebp - 0x1124]
call fcn.004774b0
jmp 0x469b78
lea ecx, [ebp - 0x1014]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4698f6
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x1014]
push eax
push 1
push 0
push edi
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
jmp 0x469b78
mov dword [ebp - 0x1018], 0
lea edx, [ebp - 0x1014]
mov dword [ebp - 4], 3
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x469938
sub edx, ecx
inc edx
push ecx
lea ecx, [ebp - 0x112c]
mov dword [ebp - 0x112c], edx
call fcn.004669a0
add esp, 4
test eax, eax
js 0x469a06
mov esi, dword [ebp - 0x112c]
cmp esi, 0x400
jg 0x469986
mov ecx, esi
call fcn.00466a50
test al, al
je 0x469986
mov eax, esi
call fcn.004ed970
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x469992
push esi
lea ecx, [ebp - 0x1018]
call fcn.00476830
push 3
shr esi, 1
lea edx, [ebp - 0x1014]
push esi
mov ecx, eax
call fcn.00466b10
test eax, eax
je 0x469a06
lea ecx, [ebp - 0x1020]
push ecx
push 0
push 0
push eax
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov esi, eax
test esi, esi
jns 0x4699d2
lea ecx, [ebp - 0x1018]
call fcn.00476810
mov eax, esi
jmp 0x469ba6
mov eax, dword [ebp - 0x1020]
push 4
mov dword [ebp - 0x101c], eax
lea eax, [ebp - 0x101c]
push eax
push 4
push 0
push edi
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp - 0x1018]
mov esi, eax
call fcn.00476810
jmp 0x469b78
lea ecx, [ebp - 0x1018]
call fcn.00476810
mov eax, 0x8007000e
jmp 0x469ba6
cmp esi, 0x4008
jne 0x469b85
lea ecx, [ebp - 0x1014]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x469a30
sub ecx, edx
lea eax, [ebp - 0x1124]
push 0x104
push 0
push eax
lea esi, [ecx + 2]
call fcn.00484a00
add esp, 0xc
mov dword [ebp - 0x1124], 0
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
cmp esi, 0x100
jbe 0x469a9d
push esi
lea ecx, [ebp - 0x1124]
call fcn.004779f0
mov edi, dword [ebp - 0x1124]
jmp 0x469aa9
lea edi, [ebp - 0x1120]
mov dword [ebp - 0x1124], edi
test edi, edi
je 0x469b5e
cmp byte [ebp - 0x1014], 0
lea esi, [ebp - 0x1014]
je 0x469b01
mov ebx, dword [sym.imp.USER32.dll_CharNextA]
push esi
call ebx
mov cl, byte [esi]
cmp cl, 0x5c
jne 0x469adf
cmp byte [eax], 0x30
jne 0x469adf
push eax
mov byte [edi], 0
call ebx
mov esi, eax
jmp 0x469afb
mov byte [edi], cl
movzx eax, byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
test eax, eax
je 0x469afa
mov al, byte [esi + 1]
inc esi
inc edi
test al, al
je 0x469b01
mov byte [edi], al
inc esi
inc edi
cmp byte [esi], 0
jne 0x469ac6
mov word [edi], 0
mov edi, dword [ebp - 0x1124]
test edi, edi
jne 0x469b15
lea esi, [edi + 0xd]
jmp 0x469b63
xor esi, esi
mov edx, edi
nop dword [eax]
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x469b25
sub ecx, ebx
lea eax, [ecx + 1]
add edx, eax
add esi, eax
cmp eax, 1
jne 0x469b20
mov eax, dword [ebp - 0x1130]
push esi
push edi
push 7
push 0
push dword [ebp - 0x1018]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, dword [ebp - 0x1124]
mov esi, eax
jmp 0x469b63
mov esi, 0xe
lea eax, [ebp - 0x1120]
cmp edi, eax
je 0x469b78
lea ecx, [ebp - 0x1124]
call fcn.004774f0
test esi, esi
je 0x469b85
mov ecx, esi
call fcn.00466e20
jmp 0x469ba6
push dword [ebp - 0x1134]
mov ecx, dword [ebp - 0x1128]
call fcn.004694f0
xor ecx, ecx
test eax, eax
cmovs ecx, eax
mov eax, ecx
jmp 0x469ba6
mov eax, 0x80020009
lea esp, [ebp - 0x1144]
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.00482be9
mov esp, ebp
pop ebp
ret 0xc