Function at 0x673eceb0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdac
xor eax, eax
mov ecx, 0x30c
push ebx
push esi
push edi
xor ebx, ebx
lea edi, [ebp - 0xd48]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xc11]
mov esi, dword [ebp + 0x14]
push eax
push esi
push str.38810806
call fcn.673ed8f6
cmp byte [ebp - 0xc11], bl
jne 0x673ecef4
mov eax, 0xc
jmp 0x673ed3fd
lea eax, [ebp - 0x98c]
push eax
push esi
push str.SAA_482
call fcn.673ed8f6
cmp byte [ebp - 0x98c], 0
jne 0x673ecf19
mov eax, 0xc
jmp 0x673ed3fd
lea eax, [ebp - 0x92a]
push eax
push esi
push str.YAP00667
call fcn.673ed8f6
cmp byte [ebp - 0x92a], 0
jne 0x673ecf3e
mov eax, 0xc
jmp 0x673ed3fd
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0xd43]
push eax
xor edi, edi
mov byte [ebp - 0xd44], 1
push esi
push ecx
call fcn.673ed8f6
push edi
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0xd43]
push ecx
call fcn.673ebabe
add esp, 0xc
lea ecx, [ebp - 0x38]
lea eax, [ebp - 0xd10]
push ecx
push esi
push eax
call fcn.673ed8f6
push edi
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0xd10]
push ecx
call fcn.673ebabe
add esp, 0xc
lea ecx, [ebp - 0x38]
lea eax, [ebp - 0xcdd]
push ecx
push esi
push eax
call fcn.673ed8f6
push edi
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0xcdd]
push ecx
call fcn.673ebabe
add esp, 0xc
lea ecx, [ebp - 0x38]
lea eax, [ebp - 0xcaa]
push ecx
push esi
push eax
call fcn.673ed8f6
push edi
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0xcaa]
push ecx
call fcn.673ebabe
add esp, 0xc
lea ecx, [ebp - 0x38]
lea eax, [ebp - 0xc77]
push ecx
push esi
push eax
call fcn.673ed8f6
push edi
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0xc77]
push eax
push ecx
call fcn.673ebabe
add esp, 0xc
lea ecx, [ebp - 0x38]
lea eax, [ebp - 0xc44]
push ecx
push esi
push eax
call fcn.673ed8f6
push edi
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0xc44]
push ecx
call fcn.673ebabe
add esp, 0xc
lea ecx, [ebp - 0x38]
lea eax, [ebp - 0xc07]
push ecx
push esi
push eax
call fcn.673ed8f6
push edi
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0xc07]
push ecx
call fcn.673ebabe
add esp, 0xc
lea ecx, [ebp - 0x38]
lea eax, [ebp - 0xbd4]
push ecx
push esi
push eax
call fcn.673ed8f6
push edi
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0xbd4]
push ecx
call fcn.673ebabe
add esp, 0xc
lea ecx, [ebp - 0x38]
lea eax, [ebp - 0xba1]
push ecx
push esi
push eax
call fcn.673ed8f6
push edi
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0xba1]
push ecx
call fcn.673ebabe
add esp, 0xc
lea ecx, [ebp - 0x38]
push ecx
push esi
lea eax, [ebp - 0xb6e]
push eax
call fcn.673ed8f6
push edi
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0xb6e]
push ecx
call fcn.673ebabe
add esp, 0xc
lea ecx, [ebp - 0x38]
lea eax, [ebp - 0xb3b]
push ecx
push esi
push eax
call fcn.673ed8f6
push edi
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0xb3b]
push ecx
call fcn.673ebabe
add esp, 0xc
lea ecx, [ebp - 0x38]
lea eax, [ebp - 0xb08]
push ecx
push esi
push eax
call fcn.673ed8f6
push edi
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0xb08]
push ecx
call fcn.673ebabe
add esp, 0xc
lea ecx, [ebp - 0x38]
lea eax, [ebp - 0xad5]
push ecx
push esi
push eax
call fcn.673ed8f6
push edi
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0xad5]
push ecx
call fcn.673ebabe
add esp, 0xc
lea ecx, [ebp - 0x38]
lea eax, [ebp - 0xaa2]
push ecx
push esi
push eax
call fcn.673ed8f6
push edi
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0xaa2]
push ecx
call fcn.673ebabe
add esp, 0xc
lea ecx, [ebp - 0x38]
lea eax, [ebp - 0xa6f]
push ecx
push esi
push eax
call fcn.673ed8f6
push edi
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0xa6f]
push ecx
call fcn.673ebabe
add esp, 0xc
lea ecx, [ebp - 0x38]
lea eax, [ebp - 0xa3c]
push ecx
push esi
push eax
call fcn.673ed8f6
push edi
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0xa3c]
push ecx
call fcn.673ebabe
add esp, 0xc
lea ecx, [ebp - 0x38]
lea eax, [ebp - 0xa09]
push ecx
push esi
push eax
call fcn.673ed8f6
push edi
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0xa09]
push ecx
call fcn.673ebabe
add esp, 0xc
lea ecx, [ebp - 0x38]
lea eax, [ebp - 0x9d6]
push ecx
push esi
push eax
call fcn.673ed8f6
push edi
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x9d6]
push ecx
call fcn.673ebabe
add esp, 0xc
lea ecx, [ebp - 0x38]
lea eax, [ebp - 0x9a3]
push ecx
push esi
push eax
call fcn.673ed8f6
push edi
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x9a3]
push ecx
call fcn.673ebabe
movsx eax, byte [esi + 2]
movsx ecx, byte [esi]
imul eax, ecx
add esp, 0xc
add dword [ebp - 0x9a0], eax
add dword [ebp - 0x99c], eax
add dword [ebp - 0x998], eax
add dword [ebp - 0x994], eax
add dword [ebp - 0x990], eax
add dword [ebp - 0x982], eax
add dword [ebp - 0x97e], eax
add dword [ebp - 0x97a], eax
add dword [ebp - 0x976], eax
add dword [ebp - 0x972], eax
add dword [ebp - 0x96e], eax
add dword [ebp - 0x96a], eax
sub dword [ebp - 0x966], eax
sub dword [ebp - 0x962], eax
sub dword [ebp - 0x95e], eax
sub dword [ebp - 0x95a], eax
sub dword [ebp - 0x956], eax
sub dword [ebp - 0x952], eax
sub dword [ebp - 0x94e], eax
sub dword [ebp - 0x94a], eax
sub dword [ebp - 0x946], eax
add dword [ebp - 0x942], eax
add dword [ebp - 0x93e], eax
add dword [ebp - 0x93a], eax
sub dword [ebp - 0x936], eax
sub dword [ebp - 0x932], eax
sub dword [ebp - 0x92e], eax
sub dword [ebp - 0x920], eax
sub dword [ebp - 0x91c], eax
sub dword [ebp - 0x918], eax
sub dword [ebp - 0x914], eax
sub dword [ebp - 0x910], eax
sub dword [ebp - 0x90c], eax
sub dword [ebp - 0x908], eax
sub dword [ebp - 0x904], eax
sub dword [ebp - 0x900], eax
sub dword [ebp - 0x8fc], eax
sub dword [ebp - 0x8f8], eax
sub dword [ebp - 0x8f4], eax
mov eax, 4
movsx ecx, byte [ebp + eax - 0xd48]
add ebx, ecx
inc eax
cmp eax, 0xc30
jb 0x673ed2ff
xor edi, edi
mov dword [ebp - 0xd48], ebx
lea ebx, [ebp + edi - 0xd48]
lea eax, [ebp - 0x119]
sub eax, edi
mov cl, byte [ebx]
add edi, 2
mov dl, byte [eax]
mov byte [ebx], dl
cmp edi, 0x616
mov byte [eax], cl
jb 0x673ed319
mov eax, dword [ebp + 0x10]
cmp eax, 1
je 0x673ed368
cmp eax, 2
je 0x673ed406
cmp eax, 3
je 0x673ed4f3
cmp eax, 4
je 0x673ed5d6
mov eax, 0xe
jmp 0x673ed3fd
test byte [ebp + 0xc], 1
jne 0x673ed388
push 0
mov edi, dword [ebp + 8]
push edi
call sub.MSVCR80.dll__access
add esp, 8
cmp eax, 0xffffffff
je 0x673ed38b
mov eax, 0x29
jmp 0x673ed3fd
mov edi, dword [ebp + 8]
cmp dword [ebp + 0x18], 8
jl 0x673ed398
mov eax, 2
jmp 0x673ed3fd
push 0
push edi
call fcn.673ed7c6
add esp, 8
push dword [ebp + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll__lcreat]
cmp eax, 0xffffffff
mov esi, eax
jne 0x673ed3bb
mov eax, 9
jmp 0x673ed3fd
mov ebx, 0xc30
lea eax, [ebp - 0xd48]
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll__lwrite]
cmp eax, ebx
je 0x673ed3da
mov eax, 5
jmp 0x673ed3fd
push esi
call dword [sym.imp.KERNEL32.dll__lclose]
test eax, eax
je 0x673ed3ec
mov eax, 6
jmp 0x673ed3fd
push dword [ebp + 0x18]
push edi
call fcn.673ed7c6
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
xor esi, esi
mov edi, dword [ebp + 8]
mov al, byte [esi + edi]
test al, al
je 0x673ed42d
movsx eax, al
push eax
inc esi
call sub.MSVCR80.dll_toupper
add esp, 4
add al, 7
mov byte [ebp + esi - 0x119], al
cmp esi, 0x32
jl 0x673ed40b
push str.softwareclasses_vdsp
lea eax, [ebp - 0xdac]
mov byte [ebp + esi - 0x118], 0
push eax
call sub.MSVCR80.dll_strcpy
add esp, 8
cmp byte [edi], 0x3a
jne 0x673ed486
xor eax, eax
cmp byte [edi + 4], 0x3a
je 0x673ed469
mov cl, byte [eax + edi + 4]
inc eax
cmp byte [eax + edi + 4], 0x3a
mov byte [ebp + eax - 0xdad], cl
jne 0x673ed456
mov byte [ebp + eax - 0xdac], 0
add eax, edi
lea ecx, [ebp - 0x118]
add eax, 5
push eax
push ecx
call sub.MSVCR80.dll_strcpy
add esp, 8
lea eax, [ebp - 4]
lea ecx, [ebp - 0xdac]
push eax
push ecx
push reloc.ImNtUtilU.dll_Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x673ed4aa
mov eax, 0x2a
jmp 0x673ed3fd
push 0xc30
lea eax, [ebp - 0xd48]
push eax
lea ecx, [ebp - 0x118]
push 3
push 0
push ecx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x673ed4d8
mov eax, 0x2e
jmp 0x673ed3fd
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x673ed3f8
mov eax, 0x2c
jmp 0x673ed3fd
lea eax, [ebp - 0x40]
mov edi, dword [ebp + 8]
movsx cx, byte [edi]
push eax
push ecx
call fcn.673ebb50
movsx eax, ax
test eax, eax
je 0x673ed515
mov eax, 0x2f
jmp 0x673ed3fd
mov al, byte [ebp - 0x9a3]
mov cl, byte [ebp - 0x9a2]
mov edx, dword [ebp - 0x95a]
mov byte [ebp - 0xe4], al
mov eax, dword [ebp - 0x956]
mov byte [ebp - 0xe3], cl
mov ecx, dword [ebp - 0x952]
mov dword [ebp - 0xe2], edx
mov edx, dword [ebp - 0x99c]
mov dword [ebp - 0xde], eax
mov eax, dword [ebp - 0x998]
mov dword [ebp - 0xda], ecx
mov ecx, dword [ebp - 0x982]
mov dword [ebp - 0xd6], edx
mov edx, dword [ebp - 0x97e]
mov dword [ebp - 0xd2], eax
mov eax, dword [ebp - 0x97a]
mov dword [ebp - 0xce], ecx
mov ecx, dword [ebp - 0x976]
mov dword [ebp - 0xca], edx
mov edx, dword [ebp - 0x972]
mov dword [ebp - 0xc6], eax
lea eax, [ebp - 0xe4]
mov dword [ebp - 0xc2], ecx
push eax
lea ecx, [esi + 0xd]
push 0x2a
mov dword [ebp - 0xbe], edx
movsx ax, byte [edi]
push 0
push ecx
push esi
push 1
push eax
call fcn.673ec240
movsx eax, ax
test eax, eax
je 0x673ed3f8
mov eax, 0x33
jmp 0x673ed3fd
lea eax, [ebp - 0x40]
mov edi, dword [ebp + 8]
movsx cx, byte [edi]
push eax
push ecx
call fcn.673ebb50
movsx eax, ax
test eax, eax
je 0x673ed5f8
mov eax, 0x2f
jmp 0x673ed3fd
cmp byte [ebp - 0x40], 0xc9
je 0x673ed608
mov eax, 0x30
jmp 0x673ed3fd
mov al, byte [ebp - 0x9a3]
mov cl, byte [ebp - 0x9a2]
mov edx, dword [ebp - 0x966]
mov byte [ebp - 0xe4], al
mov eax, dword [ebp - 0x962]
mov byte [ebp - 0xe3], cl
mov ecx, dword [ebp - 0x95e]
mov dword [ebp - 0x87], edx
mov edx, dword [ebp - 0x95a]
mov dword [ebp - 0x83], eax
mov eax, dword [ebp - 0x956]
push 0x33
mov dword [ebp - 0x7f], ecx
mov dword [ebp - 0xe2], edx
mov ecx, dword [ebp - 0x952]
lea edx, [ebp - 0xbd4]
push edx
mov dword [ebp - 0xde], eax
lea eax, [ebp - 0xba]
mov dword [ebp - 0xda], ecx
push eax
call fcn.673ebabe
add esp, 0xc
mov ecx, dword [ebp - 0x9a0]
mov edx, dword [ebp - 0x94e]
mov eax, dword [ebp - 0x94a]
mov dword [ebp - 0x57], ecx
mov dword [ebp - 0x7b], edx
mov ecx, dword [ebp - 0x946]
mov edx, dword [ebp - 0x936]
mov dword [ebp - 0x77], eax
mov dword [ebp - 0x73], ecx
mov eax, dword [ebp - 0x932]
mov ecx, dword [ebp - 0x92e]
mov dword [ebp - 0x63], edx
mov dword [ebp - 0x5f], eax
mov edx, dword [ebp - 0x942]
mov eax, dword [ebp - 0x93e]
mov dword [ebp - 0x5b], ecx
mov dword [ebp - 0x6f], edx
mov ecx, dword [ebp - 0x93a]
mov edx, dword [ebp - 0x99c]
mov dword [ebp - 0x6b], eax
mov dword [ebp - 0x67], ecx
mov eax, dword [ebp - 0x998]
mov ecx, dword [ebp - 0x994]
mov dword [ebp - 0xd6], edx
mov dword [ebp - 0xd2], eax
mov edx, dword [ebp - 0x990]
mov eax, dword [ebp - 0x982]
mov dword [ebp - 0x53], ecx
mov dword [ebp - 0x4f], edx
mov ecx, dword [ebp - 0x97e]
mov edx, dword [ebp - 0x97a]
mov dword [ebp - 0xce], eax
mov dword [ebp - 0xca], ecx
mov eax, dword [ebp - 0x976]
mov ecx, dword [ebp - 0x972]
mov dword [ebp - 0xc6], edx
mov dword [ebp - 0xc2], eax
mov dword [ebp - 0xbe], ecx
mov edx, dword [ebp - 0x96e]
mov eax, dword [ebp - 0x96a]
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0x4b], edx
push ecx
lea edx, [esi + 0x16]
push 0xa1
mov dword [ebp - 0x47], eax
movsx ax, byte [edi]
push 0
push edx
push esi
push 1
push eax
call fcn.673ec2d0
movsx eax, ax
test eax, eax
je 0x673ed3f8
mov eax, 0x34
jmp 0x673ed3fd