Function at 0x729b6e17
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x350
or dword [ebp - 4], 0xffffffff
or dword [ebp - 0xc], 0xffffffff
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
test byte [ebx + 0x5c], 1
mov dword [ebp - 8], edi
je 0x729b6e42
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
push dword [ebx + 8]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x44]
push dword [ebx + 4]
push 0x729b6958
push eax
call esi
add esp, 0x10
lea ecx, [ebp - 0x94]
lea eax, [ebx + 0x10]
push 0x27
push ecx
push eax
call fcn.729b158c
lea eax, [ebp - 0x6c]
push 0x27
push eax
lea eax, [ebx + 0x30]
push eax
call fcn.729b158c
movzx eax, word [ebx + 0x5a]
push eax
movzx eax, word [ebx + 0x58]
push eax
lea eax, [ebp - 0xb4]
push 0x72969e6c
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x350]
push 0x72969714
push eax
call esi
add esp, 0xc
cmp dword [ebx + 0x48], edi
mov dword [ebp - 0x10], 0x72974a10
jne 0x729b6ec3
mov dword [ebp - 0x10], 0x729749f0
cmp dword [ebx + 0x50], edi
mov esi, 0x80000000
je 0x729b6eda
lea eax, [ebp - 0x350]
push eax
push esi
call fcn.729b6324
mov edi, dword [ebp - 4]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x350]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x729b6ef6
mov dword [ebp - 4], edi
test eax, eax
mov dword [ebp + 8], eax
jne 0x729b752f
mov eax, dword [ebx + 0xc]
mov edx, eax
mov cl, byte [eax]
test cl, cl
jne 0x729b6f0f
lea edx, [ebp - 0x44]
test cl, cl
mov edi, eax
jne 0x729b6f18
lea edi, [ebp - 0x44]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edx
call esi
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueA]
push 1
push 0
push dword [ebp - 4]
call edi
test eax, eax
mov dword [ebp + 8], eax
jne 0x729b752f
test byte [ebx + 0x5d], 0xb2
je 0x729b6f65
lea eax, [ebp - 0x44]
push eax
call esi
push eax
lea eax, [ebp - 0x44]
push eax
push 1
push 0x72974a28
push dword [ebp - 4]
call edi
test eax, eax
mov dword [ebp + 8], eax
jne 0x729b752f
cmp dword [ebx + 0x44], 0
je 0x729b74c1
mov eax, dword [ebp - 0xc]
mov dword [ebp + 8], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x729b6f8f
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
test eax, eax
mov dword [ebp + 8], eax
jne 0x729b752f
push dword [ebx]
call esi
push eax
push dword [ebx]
push 1
push 0
push dword [ebp - 0xc]
call edi
test eax, eax
mov dword [ebp + 8], eax
jne 0x729b752f
cmp dword [ebx + 0x48], eax
je 0x729b74a5
cmp dword [ebx + 0x4c], eax
jne 0x729b74a5
push 0x72974a90
call esi
inc eax
push eax
push 0x72974a90
push 1
push 0
push 0x72974ab0
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
mov dword [ebp + 8], eax
jne 0x729b752f
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 0xc], 0xffffffff
mov dword [ebp + 8], eax
test eax, eax
jne 0x729b752f
mov ax, word [ebx + 0x5c]
test ah, 0x20
je 0x729b74d1
push 0x72950aa0
call esi
push eax
push 0x72950aa0
push 1
push 0x72974980
push dword [ebp - 4]
call edi
test eax, eax
mov dword [ebp + 8], eax
jne 0x729b752f
test byte [ebx + 0x5d], 0x20
je 0x729b7085
movzx eax, word [ebx + 0x5e]
push eax
lea eax, [ebp - 0x250]
push dword [ebx]
push 0x72969e50
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x250]
push eax
call esi
push eax
lea eax, [ebp - 0x250]
push eax
push 1
push 0x72974a78
push dword [ebp - 4]
call edi
test eax, eax
mov dword [ebp + 8], eax
jne 0x729b752f
test byte [ebx + 0x5d], 0x80
je 0x729b70cf
movzx eax, word [ebx + 0x60]
push eax
lea eax, [ebp - 0x250]
push dword [ebx]
push 0x72969e50
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x250]
push eax
call esi
push eax
lea eax, [ebp - 0x250]
push eax
push 1
push 0x72974988
push dword [ebp - 4]
call edi
test eax, eax
mov dword [ebp + 8], eax
jne 0x729b752f
cmp dword [ebx + 0x48], 0
jne 0x729b70ff
test byte [ebx + 0x5d], 0x80
je 0x729b70ff
push 0x72969e44
call esi
push eax
push 0x72969e44
push 1
push 0x72969e34
push dword [ebp - 4]
call edi
test eax, eax
mov dword [ebp + 8], eax
jne 0x729b752f
test byte [ebx + 0x5d], 0xa0
je 0x729b715c
push 0x72974a88
call esi
push eax
push 0x72974a88
push 1
push 0x72974a68
push dword [ebp - 4]
call edi
test eax, eax
mov dword [ebp + 8], eax
jne 0x729b752f
lea eax, [ebp - 0x1c]
push 0xa
push eax
push dword [ebx + 0x40]
call fcn.72a2c084
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
call esi
push eax
lea eax, [ebp - 0x1c]
push eax
push 1
push 0x72969e24
push dword [ebp - 4]
call edi
test eax, eax
mov dword [ebp + 8], eax
jne 0x729b752f
test byte [ebx + 0x5d], 0xb2
je 0x729b71ac
lea eax, [ebp - 0x6c]
push eax
call esi
push eax
lea eax, [ebp - 0x6c]
push eax
push 1
push 0x729749b0
push dword [ebp - 4]
call edi
test eax, eax
mov dword [ebp + 8], eax
jne 0x729b752f
lea eax, [ebp - 0xb4]
push eax
call esi
push eax
lea eax, [ebp - 0xb4]
push eax
push 1
push 0x729749b8
push dword [ebp - 4]
call edi
test eax, eax
mov dword [ebp + 8], eax
jne 0x729b752f
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
mov dword [ebp + 8], eax
test eax, eax
jne 0x729b752f
test byte [ebx + 0x5d], 0xb2
je 0x729b734f
lea eax, [ebp - 0x44]
push eax
push 0x80000000
call fcn.729b6324
mov eax, dword [ebp - 4]
mov dword [ebp + 8], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x44]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x729b71ff
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
test eax, eax
mov dword [ebp + 8], eax
jne 0x729b752f
mov eax, dword [ebx + 0xc]
mov edx, eax
mov cl, byte [eax]
test cl, cl
jne 0x729b7218
lea edx, [ebp - 0x44]
test cl, cl
jne 0x729b721f
lea eax, [ebp - 0x44]
push edx
mov dword [ebp + 8], eax
call esi
push eax
push dword [ebp + 8]
push 1
push 0
push dword [ebp - 4]
call edi
test eax, eax
mov dword [ebp + 8], eax
jne 0x729b752f
lea eax, [ebp - 0x94]
push eax
call esi
push eax
lea eax, [ebp - 0x94]
push eax
push 1
push 0x729749a8
push dword [ebp - 4]
call edi
test eax, eax
mov dword [ebp + 8], eax
jne 0x729b752f
test byte [ebx + 0x5d], 0x80
je 0x729b72b7
lea eax, [ebp + 8]
push 4
push eax
push 3
push 0
push 0x72969e18
push dword [ebp - 4]
mov dword [ebp + 8], 0x10000
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
mov dword [ebp + 8], eax
jne 0x729b752f
test byte [ebx + 0x5d], 0x80
je 0x729b72b7
push 0x72969e16
call esi
push eax
push 0x72969e16
push 1
push 0x72974998
push dword [ebp - 4]
call edi
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
jne 0x729b7535
test byte [ebx + 0x5d], 0x80
je 0x729b72f1
lea eax, [ebp + 8]
push 4
push eax
push 3
push 0
push 0x72969e08
push dword [ebp - 4]
mov dword [ebp + 8], 0x1000
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
mov dword [ebp + 8], eax
jne 0x729b752f
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
mov dword [ebp + 8], eax
test eax, eax
jne 0x729b752f
test byte [ebx + 0x5d], 0xb2
je 0x729b734f
lea eax, [ebp - 0x6c]
push 0x72969de0
push eax
push ebx
push dword [ebx + 0x24]
push dword [ebx + 0x20]
call fcn.729b6be4
test eax, eax
mov dword [ebp + 8], eax
jne 0x729b752f
lea eax, [ebp - 0x6c]
push 0x72969db8
push eax
push ebx
push dword [ebx + 0x2c]
push dword [ebx + 0x28]
call fcn.729b6be4
test eax, eax
mov dword [ebp + 8], eax
jne 0x729b752f
mov ax, word [ebx + 0x5c]
mov edx, eax
and edx, 0x8000
test dx, dx
je 0x729b7376
mov esi, 0x72969000
lea edi, [ebp - 0x144]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 8], 1
mov ecx, eax
and ecx, 0xa010
test cx, cx
je 0x729b73ba
mov esi, dword [ebp - 8]
shl esi, 4
inc dword [ebp - 8]
lea edi, [ebp + esi - 0x144]
mov esi, 0x72969010
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
test cx, cx
movsd dword es:[edi], dword [esi]
je 0x729b73ba
mov ecx, dword [ebp - 8]
mov esi, 0x72968ff0
shl ecx, 4
inc dword [ebp - 8]
lea edi, [ebp + ecx - 0x144]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
test ah, 0xa0
je 0x729b73d8
mov ecx, dword [ebp - 8]
mov esi, 0x72968fe0
shl ecx, 4
inc dword [ebp - 8]
lea edi, [ebp + ecx - 0x144]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
test ah, 0x20
je 0x729b74f3
mov ecx, dword [ebp - 8]
mov esi, 0x72968fb0
shl ecx, 4
lea edi, [ebp + ecx - 0x144]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
inc dword [ebp - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
test al, 2
je 0x729b7417
mov ecx, dword [ebp - 8]
mov esi, 0x72968d00
shl ecx, 4
inc dword [ebp - 8]
lea edi, [ebp + ecx - 0x144]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
test al, 4
je 0x729b7434
mov eax, dword [ebp - 8]
mov esi, 0x72968cf0
shl eax, 4
inc dword [ebp - 8]
lea edi, [ebp + eax - 0x144]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp dword [ebp - 8], 0
je 0x729b7480
lea eax, [ebp - 0x10]
push eax
push 0x72968f80
call fcn.729b6247
test eax, eax
jl 0x729b7480
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x144]
push edx
lea esi, [ebx + 0x10]
push dword [ebp - 8]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x14]
test byte [ebx + 0x5d], 0x20
je 0x729b7480
test byte [ebx + 0x42], 1
je 0x729b7480
mov eax, dword [ebp - 0x10]
push 0x72969020
push 1
push esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp dword [ebp + 8], 0
jne 0x729b7535
test byte [ebx + 0x62], 1
je 0x729b752f
lea eax, [ebp - 0x44]
push 1
push eax
push ebx
call fcn.729b7560
jmp 0x729b6e3b
cmp dword [ebx + 0x50], eax
jne 0x729b6ff2
push 0x72969e5c
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x729b6ff2
push dword [ebp - 0x10]
push dword [ebp - 4]
call fcn.729b6324
jmp 0x729b700a
test ah, 0x80
je 0x729b703b
push 0x72969e58
call esi
push eax
push 0x72969e58
push 1
push 0x72974998
jmp 0x729b702b
test ah, 0x12
je 0x729b750f
mov ecx, dword [ebp - 8]
mov esi, 0x72968fc0
shl ecx, 4
lea edi, [ebp + ecx - 0x144]
jmp 0x729b73f3
test dx, dx
je 0x729b73fa
mov ecx, dword [ebp - 8]
mov esi, 0x72968fd0
shl ecx, 4
lea edi, [ebp + ecx - 0x144]
jmp 0x729b73f3
cmp dword [ebp + 8], 0
je 0x729b7553
cmp dword [ebp - 4], 0xffffffff
je 0x729b7544
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xc], 0xffffffff
je 0x729b7553
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 8]
call fcn.72991738
jmp 0x729b6e3b