Function at 0x79a3f8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xe
push 0
push 0
dec ecx
jne 0x79a401
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 0x79ab33
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 0x79ab04
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 0x79a5cf
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 0x79a5c5
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 [0x797868]
call fcn.00408d40
cmp word [eax + 4], 0x64
jne 0x79a5c5
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 [0x797868]
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, 0x79ab50
call fcn.0040bbfc
jne 0x79a52e
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 0x79a576
mov eax, dword [ebp - 0x20]
cmp word [eax + 0xb], 0
je 0x79a576
mov edx, dword [ebx + 6]
lea eax, [ebp - 0x54]
mov ecx, 0x79ab68
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 0x79a576
mov dword [ebp - 0x28], eax
call fcn.00409f88
jmp 0x79ab0b
lea edx, [ebp - 0x58]
mov eax, dword [ebx + 0xa]
call fcn.00423774
cmp dword [ebp - 0x58], 0
je 0x79a5ba
mov eax, dword [ebp - 0x20]
cmp word [eax + 0xb], 0
je 0x79a5ba
mov edx, dword [ebx + 0xa]
lea eax, [ebp - 0x5c]
mov ecx, 0x79abc4
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 0x79ab0b
lea eax, [ebp - 0xc]
mov edx, dword [ebx + 0xe]
call fcn.0040abb8
inc dword [ebp - 0x2c]
dec esi
jne 0x79a496
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 0x79aa4f
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.0x79a6a6.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 [0x797868]
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, 0x79ab50
call fcn.0040bbfc
jne 0x79a68f
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 0x79a699
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x1b], 0x200
movzx eax, word [ebx + 4]
cmp eax, 0xa
ja case.0x79a6a6.0
jmp dword [eax*4 + 0x79a6ad]
xor eax, eax
push ebp
push 0x79a716
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.0079a390
test al, al
je 0x79a706
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x34]
call fcn.00609124
jmp 0x79a709
inc dword [ebp - 0x30]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp case.0x79a6a6.0
xor eax, eax
push ebp
push 0x79a765
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.0079a390
test al, al
je 0x79a755
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x34]
call fcn.00608cd0
jmp 0x79a758
inc dword [ebp - 0x30]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp case.0x79a6a6.0
xor eax, eax
push ebp
push 0x79a7d7
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.0079a390
test al, al
je 0x79a7ca
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x34]
call fcn.00608dd8
test al, al
je 0x79a7ca
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x34]
call fcn.00609c48
test al, al
je 0x79a7c2
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.0x79a6a6.0
xor eax, eax
push ebp
push 0x79a88f
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.0079a390
test al, al
je 0x79a882
mov cl, 1
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x34]
call fcn.00608dd8
test al, al
je 0x79a882
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x34]
call fcn.00609c48
test al, al
je 0x79a834
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x34]
call fcn.006092f8
cmp word [ebx + 4], 3
jne 0x79a850
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 0x79a865
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x34]
call fcn.006098b0
cmp word [ebx + 4], 5
jne 0x79a87a
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.0x79a6a6.0
xor eax, eax
push ebp
push 0x79aa3f
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.0079a390
test al, al
je 0x79aa35
mov cl, 1
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x34]
call fcn.00608dd8
test al, al
je 0x79aa35
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x34]
call fcn.00609c48
test al, al
je 0x79a8f4
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 0x79a90b
sub esi, 4
mov esi, dword [esi]
test esi, esi
jle 0x79a9e5
cmp word [ebx + 4], 7
jne 0x79a979
mov eax, dword [ebp - 8]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x79a931
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 0x79a93d
call fcn.004089ac
push eax
lea eax, [ebp - 8]
call fcn.0040ad48
mov edx, 1
dec edx
test eax, eax
je 0x79a955
cmp edx, dword [eax - 4]
jb 0x79a95a
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 0x79aa2d
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x79a99b
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 0x79a9a7
call fcn.004089ac
push eax
lea eax, [ebp - 8]
call fcn.0040ad48
mov edx, 1
dec edx
test eax, eax
je 0x79a9bf
cmp edx, dword [eax - 4]
jb 0x79a9c4
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 0x79aa2d
cmp word [ebx + 4], 7
jne 0x79aa09
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 0x79aa2d
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.0x79a6a6.0
dec dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], 0
jl 0x79aa69
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x11]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, dword [ebp - 0x2c]
jg 0x79a5e3
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 0x79aaa8
mov eax, dword [ebp - 0x20]
cmp word [eax + 0xb], 0
je 0x79aaa8
lea eax, [ebp - 0x6c]
mov ecx, 0x79abc4
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 0x79aab9
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x20]
call fcn.00799e34
push 0x79ac20
push dword [ebp - 4]
push 0x79ac4c
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.00662c34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x79ab0b
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 0x79ab3a
lea eax, [ebp - 0x74]
mov edx, 0xe
call fcn.0040a7f0
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.0040a7f0
ret