Function at 0x729b6be4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov eax, dword [ebp + 0x10]
push ebx
or dword [ebp - 4], 0xffffffff
or dword [ebp - 8], 0xffffffff
movzx ecx, word [eax + 0x5a]
movzx eax, word [eax + 0x58]
push esi
push edi
push ecx
push eax
lea eax, [ebp - 0x30]
push 0x72969db0
push eax
xor edi, edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x158]
push 0x729749d0
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp dword [ebp + 8], edi
mov dword [ebp - 0xc], edi
jle 0x729b6db8
mov eax, dword [ebp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov dword [ebp - 0x10], eax
mov edi, 0x729749d0
push edi
call esi
mov ecx, 0x100
sub ecx, eax
push ecx
push edi
call esi
lea eax, [ebp + eax - 0x158]
push eax
push dword [ebp - 0x10]
call fcn.729b158c
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x50], 0
je 0x729b6c86
lea eax, [ebp - 0x158]
push eax
push 0x80000000
call fcn.729b6324
mov edi, dword [ebp - 4]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x158]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x729b6ca6
mov dword [ebp - 4], edi
test eax, eax
mov edi, eax
jne 0x729b6db8
mov edi, dword [ebp + 0x10]
push dword [edi + 8]
call esi
push eax
push dword [edi + 8]
push 1
push 0
push dword [ebp - 4]
call ebx
mov edi, eax
test edi, edi
jne 0x729b6dbc
push dword [ebp + 0x18]
call esi
push eax
push dword [ebp + 0x18]
push 1
push 0x729b6930
push dword [ebp - 4]
call ebx
mov edi, eax
test edi, edi
jne 0x729b6dbc
push dword [ebp + 0x18]
call esi
push eax
push dword [ebp + 0x18]
push 1
push 0x729b6940
push dword [ebp - 4]
call ebx
mov edi, eax
test edi, edi
jne 0x729b6dbc
mov eax, dword [ebp + 8]
lea ecx, [eax - 1]
cmp dword [ebp - 0xc], ecx
jne 0x729b6de3
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x54], edi
je 0x729b6d92
mov edi, dword [ebp - 8]
lea eax, [ebp - 8]
push eax
push 0x729749b0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x729b6d40
mov dword [ebp - 8], edi
test eax, eax
mov edi, eax
jne 0x729b6db8
push dword [ebp + 0x14]
call esi
push eax
push dword [ebp + 0x14]
push 1
push edi
push dword [ebp - 8]
call ebx
mov edi, eax
test edi, edi
jne 0x729b6dbc
lea eax, [ebp - 0x30]
push eax
call esi
push eax
lea eax, [ebp - 0x30]
push eax
push 1
push edi
push 0x72969da8
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, eax
test edi, edi
jne 0x729b6dbc
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 8], 0xffffffff
mov edi, eax
test edi, edi
jne 0x729b6dbc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
mov edi, eax
test edi, edi
jne 0x729b6dbc
inc dword [ebp - 0xc]
add dword [ebp - 0x10], 0x10
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 8]
jl 0x729b6c49
test edi, edi
je 0x729b6dda
cmp dword [ebp - 4], 0xffffffff
je 0x729b6dcb
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], 0xffffffff
je 0x729b6dda
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x14
lea ecx, [ebp - 0x58]
push 0x27
push ecx
mov ecx, dword [ebp + 0xc]
shl eax, 4
lea eax, [eax + ecx - 0x10]
push eax
call fcn.729b158c
lea eax, [ebp - 0x58]
push eax
call esi
push eax
lea eax, [ebp - 0x58]
push eax
push 1
push 0x729b6960
push dword [ebp - 4]
call ebx
mov edi, eax
jmp 0x729b6d8e