Function at 0x79a8f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xe
push 0
push 0
dec ecx
jne 0x79a8f9
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 0x21], cl
mov dword [ebp - 4], edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
call fcn.0040a874
xor eax, eax
push ebp
push 0x79b02b
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 4]
call fcn.004233bc
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x40]
call fcn.00423774
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 4]
call fcn.0040abb8
xor eax, eax
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0xc]
call fcn.0040a790
mov dl, 1
mov eax, dword [0x60799c]
call fcn.00608b7c
mov dword [ebp - 0x34], eax
xor edx, edx
push ebp
push 0x79affc
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x11]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x79aac7
inc esi
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x11]
mov edx, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 4]
call fcn.0040bbfc
jne 0x79aabd
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x11]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, dword [0x797d60]
call fcn.00408d40
cmp word [eax + 4], 0x64
jne 0x79aabd
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x11]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, dword [0x797d60]
call fcn.00408d40
mov ebx, eax
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebx + 6]
mov ecx, 5
mov edx, 1
call fcn.0040bc34
mov eax, dword [ebp - 0x4c]
mov edx, 0x79b048
call fcn.0040bbfc
jne 0x79aa26
lea eax, [ebx + 6]
mov ecx, 5
mov edx, 1
call fcn.0040bc7c
lea edx, [ebp - 0x50]
mov eax, dword [ebx + 6]
call fcn.00423774
cmp dword [ebp - 0x50], 0
je 0x79aa6e
mov eax, dword [ebp - 0x20]
cmp word [eax + 0xb], 0
je 0x79aa6e
mov edx, dword [ebx + 6]
lea eax, [ebp - 0x54]
mov ecx, 0x79b060
call fcn.0040ba64
mov edx, dword [ebp - 0x54]
mov edi, dword [ebp - 0x20]
mov eax, dword [edi + 0xd]
call dword [edi + 9]
test eax, eax
jbe 0x79aa6e
mov dword [ebp - 0x28], eax
call fcn.00409f88
jmp 0x79b003
lea edx, [ebp - 0x58]
mov eax, dword [ebx + 0xa]
call fcn.00423774
cmp dword [ebp - 0x58], 0
je 0x79aab2
mov eax, dword [ebp - 0x20]
cmp word [eax + 0xb], 0
je 0x79aab2
mov edx, dword [ebx + 0xa]
lea eax, [ebp - 0x5c]
mov ecx, 0x79b0bc
call fcn.0040ba64
mov edx, dword [ebp - 0x5c]
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx + 0xd]
call dword [ebx + 9]
mov dword [ebp - 0x28], eax
call fcn.00409f88
jmp 0x79b003
lea eax, [ebp - 0xc]
mov edx, dword [ebx + 0xe]
call fcn.0040abb8
inc dword [ebp - 0x2c]
dec esi
jne 0x79a98e
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x11]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
mov dword [ebp - 0x2c], eax
jmp 0x79af47
lea ecx, [ebp - 0x60]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x11]
mov edx, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp - 4]
call fcn.0040bbfc
jne case.0x79ab9e.0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x11]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, dword [0x797d60]
call fcn.00408d40
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [ebx + 6]
call fcn.0040abb8
lea eax, [ebp - 0x14]
mov edx, dword [ebx + 0xa]
call fcn.0040abb8
lea eax, [ebp - 0x18]
mov edx, dword [ebx + 0xe]
call fcn.0040abb8
lea eax, [ebp - 0x1c]
mov edx, dword [ebx + 0x12]
call fcn.0040abb8
lea eax, [ebp - 0x64]
push eax
mov ecx, 5
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.0040bc34
mov eax, dword [ebp - 0x64]
mov edx, 0x79b048
call fcn.0040bbfc
jne 0x79ab87
lea eax, [ebp - 0x10]
mov ecx, 5
mov edx, 1
call fcn.0040bc7c
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x1b], pe_nt_image_headers32
jmp 0x79ab91
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x1b], 0x200
movzx eax, word [ebx + 4]
cmp eax, 0xa
ja case.0x79ab9e.0
jmp dword [eax*4 + 0x79aba5]
xor eax, eax
push ebp
push 0x79ac0e
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x20]
call fcn.0079a888
test al, al
je 0x79abfe
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x34]
call fcn.00609124
jmp 0x79ac01
inc dword [ebp - 0x30]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp case.0x79ab9e.0
xor eax, eax
push ebp
push 0x79ac5d
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x20]
call fcn.0079a888
test al, al
je 0x79ac4d
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x34]
call fcn.00608cd0
jmp 0x79ac50
inc dword [ebp - 0x30]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp case.0x79ab9e.0
xor eax, eax
push ebp
push 0x79accf
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x20]
call fcn.0079a888
test al, al
je 0x79acc2
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x34]
call fcn.00608dd8
test al, al
je 0x79acc2
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x34]
call fcn.00609c48
test al, al
je 0x79acba
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x34]
call fcn.006092f8
mov eax, dword [ebp - 0x34]
call fcn.00608c10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp case.0x79ab9e.0
xor eax, eax
push ebp
push 0x79ad87
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x20]
call fcn.0079a888
test al, al
je 0x79ad7a
mov cl, 1
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x34]
call fcn.00608dd8
test al, al
je 0x79ad7a
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x34]
call fcn.00609c48
test al, al
je 0x79ad2c
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x34]
call fcn.006092f8
cmp word [ebx + 4], 3
jne 0x79ad48
mov eax, dword [ebp - 0x1c]
call fcn.004243b0
mov ecx, eax
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x34]
call fcn.00609aa4
cmp word [ebx + 4], 4
jne 0x79ad5d
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x34]
call fcn.006098b0
cmp word [ebx + 4], 5
jne 0x79ad72
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x34]
call fcn.006098ec
mov eax, dword [ebp - 0x34]
call fcn.00608c10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp case.0x79ab9e.0
xor eax, eax
push ebp
push 0x79af37
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x20]
call fcn.0079a888
test al, al
je 0x79af2d
mov cl, 1
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x34]
call fcn.00608dd8
test al, al
je 0x79af2d
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x34]
call fcn.00609c48
test al, al
je 0x79adec
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x34]
call fcn.006092f8
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x1c]
call fcn.0040abb8
mov esi, dword [ebp - 8]
test esi, esi
je 0x79ae03
sub esi, 4
mov esi, dword [esi]
test esi, esi
jle 0x79aedd
cmp word [ebx + 4], 7
jne 0x79ae71
mov eax, dword [ebp - 8]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x79ae29
mov eax, dword [ebp - 0x38]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
test eax, eax
jns 0x79ae35
call fcn.004089ac
push eax
lea eax, [ebp - 8]
call fcn.0040ad48
mov edx, 1
dec edx
test eax, eax
je 0x79ae4d
cmp edx, dword [eax - 4]
jb 0x79ae52
call fcn.004089ac
inc edx
lea eax, [eax + edx*2 - 2]
push eax
push 3
push 0
mov eax, dword [ebp - 0x18]
call fcn.0040b7f8
push eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
cmp word [ebx + 4], 6
jne 0x79af25
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x79ae93
mov eax, dword [ebp - 0x3c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
test eax, eax
jns 0x79ae9f
call fcn.004089ac
push eax
lea eax, [ebp - 8]
call fcn.0040ad48
mov edx, 1
dec edx
test eax, eax
je 0x79aeb7
cmp edx, dword [eax - 4]
jb 0x79aebc
call fcn.004089ac
inc edx
lea eax, [eax + edx*2 - 2]
push eax
push 7
push 0
mov eax, dword [ebp - 0x18]
call fcn.0040b7f8
push eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
jmp 0x79af25
cmp word [ebx + 4], 7
jne 0x79af01
push 0
push 0
push 3
push 0
mov eax, dword [ebp - 0x18]
call fcn.0040b7f8
push eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
cmp word [ebx + 4], 6
jne 0x79af25
push 0
push 0
push 7
push 0
mov eax, dword [ebp - 0x18]
call fcn.0040b7f8
push eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov eax, dword [ebp - 0x34]
call fcn.00608c10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp case.0x79ab9e.0
dec dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], 0
jl 0x79af61
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x11]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, dword [ebp - 0x2c]
jg 0x79aadb
xor eax, eax
mov dword [ebp - 0x28], eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 0xc]
call fcn.00423774
cmp dword [ebp - 0x68], 0
je 0x79afa0
mov eax, dword [ebp - 0x20]
cmp word [eax + 0xb], 0
je 0x79afa0
lea eax, [ebp - 0x6c]
mov ecx, 0x79b0bc
mov edx, dword [ebp - 0xc]
call fcn.0040ba64
mov edx, dword [ebp - 0x6c]
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx + 0xd]
call dword [ebx + 9]
mov dword [ebp - 0x28], eax
cmp byte [ebp - 0x21], 0
je 0x79afb1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x20]
call fcn.0079a32c
push 0x79b118
push dword [ebp - 4]
push 0x79b144
lea edx, [ebp - 0x74]
mov eax, dword [ebp - 0x30]
call fcn.00424120
push dword [ebp - 0x74]
lea eax, [ebp - 0x70]
mov edx, 4
call fcn.0040baec
mov eax, dword [ebp - 0x70]
call fcn.0066312c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x79b003
mov eax, dword [ebp - 0x34]
xor edx, edx
mov dword [ebp - 0x34], edx
call fcn.00408ac4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x79b032
lea eax, [ebp - 0x74]
mov edx, 0xe
call fcn.0040a7f0
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.0040a7f0
ret