Function at 0x42ddbb
Capabilities:
Set registry value

Disassembly:
push 0x200
mov eax, 0x5ab8be
call fcn.0042d04a
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x114]
mov esi, dword [ebp + 0xc]
mov edi, 0x104
push edi
push 0
push eax
call fcn.0044b370
add esp, 0xc
mov dword [ebp - 0x1e8], edi
lea ecx, [ebp - 0x1a4]
push str.MySoft
call fcn.00402f70
and dword [ebp - 4], 0
lea ecx, [ebp - 0x18c]
push str.KXBGSoft
call fcn.00402f70
push str.HappyPicture
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 1
call fcn.00402f70
push edi
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.0044b370
cmp dword [ebp - 0x190], 0x10
lea ecx, [ebp - 0x1e8]
push ecx
lea ecx, [ebp - 0x114]
push ecx
push dword [ebp - 0x194]
lea eax, [ebp - 0x1a4]
cmovae eax, dword [ebp - 0x1a4]
push eax
call fcn.0043acc1
add esp, 0x1c
lea eax, [ebp - 0x114]
lea ecx, [ebp - 0x1bc]
push eax
call fcn.00402f70
lea eax, [ebp - 0x1bc]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.00440690
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x1bc]
mov byte [ebp - 4], 5
call fcn.00403190
push edi
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.0044b370
cmp dword [ebp - 0x178], 0x10
lea ecx, [ebp - 0x1e8]
push ecx
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x1e8], edi
push ecx
push dword [ebp - 0x17c]
lea eax, [ebp - 0x18c]
cmovae eax, dword [ebp - 0x18c]
push eax
call fcn.0043acc1
add esp, 0x1c
lea eax, [ebp - 0x114]
lea ecx, [ebp - 0x1d4]
push eax
call fcn.00402f70
lea eax, [ebp - 0x1d4]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x144]
push eax
call fcn.00440690
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x1d4]
mov byte [ebp - 4], 8
call fcn.00403190
push edi
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.0044b370
cmp dword [ebp - 0x160], 0x10
lea ecx, [ebp - 0x1e8]
push ecx
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x1e8], edi
push ecx
push dword [ebp - 0x164]
lea eax, [ebp - 0x174]
cmovae eax, dword [ebp - 0x174]
push eax
call fcn.0043acc1
add esp, 0x1c
lea eax, [ebp - 0x114]
lea ecx, [ebp - 0x1bc]
push eax
call fcn.00402f70
lea eax, [ebp - 0x1bc]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x12c]
push eax
call fcn.00440690
pop ecx
pop ecx
xor edi, edi
mov byte [ebp - 4], 0xb
push edi
push 1
lea ecx, [ebp - 0x1bc]
call fcn.00403190
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x1d8], edi
mov dword [ebp - 0x1dc], edi
mov dword [ebp - 0x1e0], edi
mov dword [ebp - 0x1e4], edi
call fcn.0043b039
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 0xc
call fcn.0043b06d
test eax, eax
lea eax, [ebp - 0x1d8]
push eax
je 0x42e0b3
push 0xf013f
push edi
push 0x5b04a4
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42e1f0
cmp dword [ebp - 0x148], 8
lea ecx, [ebp - 0x1dc]
push edi
push ecx
push edi
push 0xf013f
push edi
push edi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x15c]
cmovae eax, dword [ebp - 0x15c]
push eax
push dword [ebp - 0x1d8]
call edi
test eax, eax
jne 0x42e109
cmp dword [ebp - 0x130], 8
lea eax, [ebp - 0x144]
lea ecx, [ebp - 0x1e0]
cmovae eax, dword [ebp - 0x144]
xor edx, edx
push edx
push ecx
push edx
push 0xf013f
push edx
push edx
push edx
push eax
push dword [ebp - 0x1dc]
call edi
test eax, eax
je 0x42e08a
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42e194
cmp dword [ebp - 0x118], 8
lea eax, [ebp - 0x12c]
lea ecx, [ebp - 0x1e4]
cmovae eax, dword [ebp - 0x12c]
xor edx, edx
push edx
push ecx
push edx
push 0xf013f
jmp 0x42e176
push 0xf003f
push edi
push 0x5b04a4
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42e1f0
cmp dword [ebp - 0x148], 8
lea ecx, [ebp - 0x1dc]
push edi
push ecx
push edi
push 0xf003f
push edi
push edi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x15c]
cmovae eax, dword [ebp - 0x15c]
push eax
push dword [ebp - 0x1d8]
call edi
test eax, eax
je 0x42e11a
push dword [ebp - 0x1d8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42e1a4
cmp dword [ebp - 0x130], 8
lea eax, [ebp - 0x144]
lea ecx, [ebp - 0x1e0]
cmovae eax, dword [ebp - 0x144]
xor edx, edx
push edx
push ecx
push edx
push 0xf003f
push edx
push edx
push edx
push eax
push dword [ebp - 0x1dc]
call edi
test eax, eax
jne 0x42e07f
cmp dword [ebp - 0x118], 8
lea eax, [ebp - 0x12c]
lea ecx, [ebp - 0x1e4]
cmovae eax, dword [ebp - 0x12c]
xor edx, edx
push edx
push ecx
push edx
push 0xf003f
push edx
push edx
push edx
push eax
push dword [ebp - 0x1e0]
call edi
test eax, eax
je 0x42e1a8
push dword [ebp - 0x1e0]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x1dc]
call esi
push dword [ebp - 0x1d8]
call esi
xor edi, edi
jmp 0x42e1f0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor edi, edi
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push edi
push ebx
push dword [ebp - 0x1e4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x1e4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x1e0]
call esi
push dword [ebp - 0x1dc]
call esi
push dword [ebp - 0x1d8]
call esi
lea ecx, [ebp - 0x20c]
call fcn.0043b04c
xor ebx, ebx
lea ecx, [ebp - 0x12c]
push edi
inc ebx
push ebx
call fcn.00402fd0
push edi
push ebx
lea ecx, [ebp - 0x144]
call fcn.00402fd0
push edi
push ebx
lea ecx, [ebp - 0x15c]
call fcn.00402fd0
push edi
push ebx
lea ecx, [ebp - 0x174]
call fcn.00403190
push edi
push ebx
lea ecx, [ebp - 0x18c]
call fcn.00403190
push edi
push ebx
lea ecx, [ebp - 0x1a4]
call fcn.00403190
call fcn.0042cff4
ret 8