Function at 0x716f44
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff80
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x7178a5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x7b0a14]
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x717853
inc eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x30], 0
mov eax, dword [0x7b0a14]
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp - 0x30]
call fcn.0045d504
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x14]
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x18]
push eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0xc]
mov edx, dword [0x7b0974]
mov edx, dword [edx]
mov eax, dword [0x7b11d8]
mov eax, dword [eax]
call fcn.00731c40
test al, al
je 0x717847
mov edx, dword [ebp - 0x30]
mov al, 0xb
call fcn.007379a0
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x20]
call fcn.0073181c
mov eax, 0x7178c0
call fcn.006ed290
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jne 0x71701c
mov eax, dword [0x7b1208]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
call fcn.00735670
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x18]
call fcn.006e446c
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0x11
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0x11
lea edx, [ebp - 0x54]
mov ecx, 1
mov eax, 0x7178f8
call fcn.006ed514
lea edx, [ebp - 4]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 4]
call fcn.00735670
cmp dword [ebp - 4], 0
je 0x717089
mov eax, dword [ebp - 4]
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x5c], 0x11
lea edx, [ebp - 0x60]
xor ecx, ecx
mov eax, 0x71791c
call fcn.006ed514
mov eax, dword [0x7b10ac]
movzx eax, byte [eax]
mov byte [ebp - 0x29], al
mov eax, dword [ebp - 0x44]
test byte [eax + 0x40], 4
je 0x7170b1
cmp byte [ebp - 0x29], 1
je 0x7170b1
mov eax, 0x717948
call fcn.006ed290
mov byte [ebp - 0x29], 1
mov eax, dword [ebp - 0x44]
test byte [eax + 0x40], 8
je 0x7170e2
mov eax, dword [0x7b09f4]
cmp byte [eax], 0
jne 0x7170ce
mov eax, 0x71798c
call fcn.006e420c
cmp byte [ebp - 0x29], 2
je 0x7170e2
mov eax, 0x717a14
call fcn.006ed290
mov byte [ebp - 0x29], 2
mov byte [ebp - 0x31], 0
xor edx, edx
push ebp
push 0x717708
push dword fs:[edx]
mov dword fs:[edx], esp
xor ebx, ebx
mov eax, dword [ebp - 0x44]
test byte [eax + 0x3f], 0x40
je 0x717139
mov eax, dword [ebp - 0x10]
call fcn.00716cd8
test al, al
je 0x71712f
mov eax, 0x717a58
call fcn.006ed290
mov eax, dword [ebp - 0x10]
call fcn.00409868
mov ecx, eax
movzx eax, byte [ebp - 0x29]
mov edx, dword [ebp - 0x18]
call fcn.00605418
mov bl, 1
jmp 0x717139
mov eax, 0x717a88
call fcn.006ed290
mov eax, dword [ebp - 0x44]
test byte [eax + 0x3f], 0x40
je 0x717162
mov eax, dword [ebp - 0x44]
cmp byte [eax + 0x3e], 0
jne 0x717162
test bl, bl
je 0x7176fe
mov eax, 0x717ad4
call fcn.006ed290
jmp 0x7176fe
mov eax, dword [ebp - 0x44]
test byte [eax + 0x3f], 0x80
je 0x7171d9
mov eax, dword [ebp - 0x44]
cmp byte [eax + 0x3e], 0
jne 0x7171d9
push 0
push 2
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00409868
mov ecx, eax
movzx eax, byte [ebp - 0x29]
mov edx, dword [ebp - 0x18]
call fcn.00605358
test eax, eax
jne 0x7171ca
mov eax, 0x717b1c
call fcn.006ed290
mov eax, dword [ebp - 4]
call fcn.00409868
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegDeleteValueW
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey
mov eax, 0x717b50
call fcn.006ed290
jmp 0x7176fe
mov eax, 0x717b9c
call fcn.006ed290
jmp 0x7176fe
mov eax, dword [ebp - 0x44]
movzx eax, word [eax + 0x3c]
cmp ax, 0xffff
je 0x7171f9
movsx eax, ax
push eax
movzx eax, byte [ebp - 0x29]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
call fcn.00716d04
mov eax, dword [ebp - 0x44]
test byte [eax + 0x40], 2
jne 0x717292
mov eax, 0x717bf8
call fcn.006ed290
push 0
push 0
push 0
push 3
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00409868
mov ecx, eax
movzx eax, byte [ebp - 0x29]
mov edx, dword [ebp - 0x18]
call fcn.00605320
mov ebx, eax
test ebx, ebx
jne 0x717279
cmp dword [ebp - 0x20], 1
jne 0x7172f6
mov eax, dword [ebp - 0x44]
cmp word [eax + 0x3c], 0xffff
je 0x7172f6
mov eax, 0x717c40
call fcn.006ed290
mov eax, dword [ebp - 0x44]
movsx eax, word [eax + 0x3c]
push eax
movzx eax, byte [ebp - 0x29]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
call fcn.00716d04
jmp 0x7172f6
mov eax, dword [ebp - 0x44]
test byte [eax + 0x40], 1
jne 0x7172f6
push ebx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov al, 1
call fcn.00710850
jmp 0x7172f6
mov eax, dword [ebp - 0x44]
cmp byte [eax + 0x3e], 0
je 0x7172e7
mov eax, 0x717cac
call fcn.006ed290
push 0
push 3
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00409868
mov ecx, eax
movzx eax, byte [ebp - 0x29]
mov edx, dword [ebp - 0x18]
call fcn.00605358
mov ebx, eax
test ebx, ebx
je 0x7172f6
cmp ebx, 2
je 0x7172f6
mov eax, dword [ebp - 0x44]
test byte [eax + 0x40], 1
jne 0x7172f6
push ebx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov al, 2
call fcn.00710850
jmp 0x7172f6
mov eax, 0x717cdc
call fcn.006ed290
mov ebx, 2
test ebx, ebx
jne 0x7176fe
xor edx, edx
push ebp
push 0x7176f7
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x44]
test byte [eax + 0x3f], 0x80
je 0x717331
mov eax, 0x717b1c
call fcn.006ed290
mov eax, dword [ebp - 4]
call fcn.00409868
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegDeleteValueW
mov eax, dword [ebp - 0x44]
cmp byte [eax + 0x3e], 0
je 0x7176c1
mov eax, dword [ebp - 0x44]
test byte [eax + 0x3f], 1
je 0x717361
mov eax, dword [ebp - 4]
call fcn.00409868
mov edx, eax
mov eax, dword [ebp - 0x1c]
call fcn.00605298
test al, al
jne 0x7176c1
mov eax, 0x717d90
call fcn.006ed290
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax + 0x3e]
movzx edx, al
cmp edx, 6
ja case.0x71737e.0
jmp dword [edx*4 + 0x717385]
mov ebx, 1
mov edx, eax
sub dl, 2
je 0x7173b4
sub dl, 3
je 0x7173bb
jmp 0x7173c0
mov ebx, 2
jmp 0x7173c0
mov ebx, 7
cmp al, 5
je 0x717464
mov eax, dword [ebp - 0x44]
mov edx, dword [eax + 8]
mov ecx, 1
mov eax, 0x717ddc
call fcn.00409eb4
test eax, eax
je 0x7173fa
mov eax, dword [ebp - 4]
call fcn.00409868
mov edx, eax
lea ecx, [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
call fcn.00605280
test al, al
jne 0x717402
lea eax, [ebp - 0xc]
call fcn.004087b4
mov eax, dword [ebp - 0x44]
test byte [eax + 0x3f], 0x20
je 0x71743a
push 0
push 0
lea eax, [ebp - 0x24]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00409868
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x71743a
cmp dword [ebp - 0x24], 1
je 0x717437
cmp dword [ebp - 0x24], 2
jne 0x71743a
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 8]
push eax
mov eax, 0x717dfc
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x5c], eax
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 8]
mov ecx, 1
call fcn.00735694
jmp 0x7174fd
mov eax, dword [ebp - 0x44]
mov edx, dword [eax + 8]
mov ecx, 1
mov eax, 0x717ddc
call fcn.00409eb4
test eax, eax
je 0x717496
mov eax, dword [ebp - 4]
call fcn.00409868
mov edx, eax
lea ecx, [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
call fcn.0060528c
test al, al
jne 0x71749e
lea eax, [ebp - 0xc]
call fcn.004087b4
lea eax, [ebp - 8]
push eax
mov eax, 0x717dfc
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x50], eax
mov eax, 0x717e18
mov dword [ebp - 0x4c], eax
mov eax, 0x717e30
mov dword [ebp - 0x48], eax
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 8]
mov ecx, 3
call fcn.00735694
cmp dword [ebp - 8], 0
je 0x7174fd
mov eax, dword [ebp - 8]
test eax, eax
je 0x7174e5
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 8]
cmp word [edx + eax*2 - 2], 0
je 0x7174fd
lea eax, [ebp - 8]
mov edx, 0x717e30
call fcn.00409a7c
mov esi, dword [ebp - 8]
test esi, esi
je 0x717509
sub esi, 4
mov esi, dword [esi]
inc esi
mov eax, esi
add eax, eax
push eax
mov eax, dword [ebp - 8]
call fcn.00409868
push eax
push ebx
push 0
mov eax, dword [ebp - 4]
call fcn.00409868
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegSetValueExW
mov ebx, eax
test ebx, ebx
je case.0x71737e.0
mov eax, dword [ebp - 0x44]
test byte [eax + 0x40], 1
jne case.0x71737e.0
push ebx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
xor eax, eax
call fcn.00710850
jmp case.0x71737e.0
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 8]
call fcn.00735670
mov eax, dword [ebp - 0x64]
call fcn.00421f10
mov dword [ebp - 0x28], eax
push 4
lea eax, [ebp - 0x28]
push eax
push 4
push 0
mov eax, dword [ebp - 4]
call fcn.00409868
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegSetValueExW
mov ebx, eax
test ebx, ebx
je case.0x71737e.0
mov eax, dword [ebp - 0x44]
test byte [eax + 0x40], 1
jne case.0x71737e.0
push ebx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
xor eax, eax
call fcn.00710850
jmp case.0x71737e.0
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 8]
call fcn.00735670
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x3c]
call fcn.0060719c
test al, al
jne 0x7175dd
mov eax, 0x717e40
call fcn.006e420c
push 8
lea eax, [ebp - 0x3c]
push eax
push 0xb
push 0
mov eax, dword [ebp - 4]
call fcn.00409868
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegSetValueExW
mov ebx, eax
test ebx, ebx
je case.0x71737e.0
mov eax, dword [ebp - 0x44]
test byte [eax + 0x40], 1
jne case.0x71737e.0
push ebx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
xor eax, eax
call fcn.00710850
jmp case.0x71737e.0
lea eax, [ebp - 0x14]
call fcn.004087d8
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 8]
test eax, eax
je 0x71763a
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
test ebx, ebx
jle 0x71766c
mov esi, 1
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 0x44]
mov edx, dword [edx + 8]
movzx edx, word [edx + esi*2 - 2]
mov ecx, 0
call fcn.00408edc
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 0x14]
call fcn.00408fe0
inc esi
dec ebx
jne 0x717645
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x717678
sub ebx, 4
mov ebx, dword [ebx]
push ebx
mov eax, dword [ebp - 0x14]
call fcn.0040925c
push eax
push 3
push 0
mov eax, dword [ebp - 4]
call fcn.00409868
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegSetValueExW
mov ebx, eax
test ebx, ebx
je case.0x71737e.0
mov eax, dword [ebp - 0x44]
test byte [eax + 0x40], 1
jne case.0x71737e.0
push ebx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
xor eax, eax
call fcn.00710850
mov eax, 0x717e88
call fcn.006ed290
jmp 0x7176e0
mov eax, dword [ebp - 0x44]
test byte [eax + 0x3f], 0x80
je 0x7176d6
mov eax, 0x717b50
call fcn.006ed290
jmp 0x7176e0
mov eax, 0x717ee4
call fcn.006ed290
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7176fe
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x71775e
cmp byte [ebp - 0x31], 0
jne 0x7170e2
mov eax, dword [ebp - 0x44]
test byte [eax + 0x3f], 8
je 0x7177a0
mov eax, dword [ebp - 0x10]
call fcn.00716cd8
test al, al
je 0x7177a0
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x80]
push eax
push 0
movzx ecx, byte [ebp - 0x29]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov dx, 0x86
call fcn.0070c4a0
mov eax, dword [ebp - 0x44]
test byte [eax + 0x3f], 0x10
je 0x7177d8
mov eax, dword [ebp - 0x10]
call fcn.00716cd8
test al, al
je 0x7177d8
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x80]
push eax
push 0
movzx ecx, byte [ebp - 0x29]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov dx, 0x88
call fcn.0070c4a0
mov eax, dword [ebp - 0x44]
test byte [eax + 0x3f], 2
je 0x71780a
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x60]
push eax
push 1
movzx ecx, byte [ebp - 0x29]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov dx, 0x89
call fcn.0070c4a0
mov eax, dword [ebp - 0x44]
test byte [eax + 0x3f], 4
je 0x71783c
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x60]
push eax
push 1
movzx ecx, byte [ebp - 0x29]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov dx, 0x87
call fcn.0070c4a0
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x1c]
call fcn.00731860
inc dword [ebp - 0x30]
dec dword [ebp - 0x40]
jne 0x716f9a
mov eax, 0x3e8
call fcn.0070fdc8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7178ac
lea eax, [ebp - 0x7c]
call fcn.004087b4
lea eax, [ebp - 0x6c]
call fcn.004087d8
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.00408814
lea eax, [ebp - 0x58]
call fcn.004087b4
lea eax, [ebp - 0x14]
call fcn.004087d8
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00408814
ret