Function at 0x4533f0
Capabilities:
Print debug messages
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x10
push 0
push 0
dec ecx
jne 0x4533f8
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d6c
mov eax, dword [ebp - 8]
call fcn.00404d6c
xor eax, eax
push ebp
push 0x45392f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x453940
call fcn.00452e20
mov eax, 0x453954
call fcn.00452e20
lea eax, [ebp - 0x1c]
mov ecx, 0x453970
mov edx, dword [ebp - 4]
call fcn.00404bc8
lea eax, [ebp - 0x20]
mov ecx, 0x453998
mov edx, dword [ebp - 4]
call fcn.00404bc8
lea eax, [ebp - 0x10]
mov edx, 0x4539c4
call fcn.00404954
lea eax, [ebp - 0x18]
mov edx, 0x4539d8
call fcn.00404954
mov esi, 0x80000002
mov eax, dword [ebp - 0x1c]
call fcn.00404d7c
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404d7c
mov edi, eax
push edi
push esi
call sub.advapi32.dll_RegLoadKeyA
mov ebx, eax
test ebx, ebx
je 0x453584
cmp ebx, 5
jne 0x453546
push edi
push esi
call sub.advapi32.dll_RegUnLoadKeyA
mov ebx, eax
test ebx, ebx
je 0x4534f2
mov byte [ebp - 9], 0
push 0x10
push 0x4539e8
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x40]
call fcn.004089d0
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
mov edx, 0x4539fc
call fcn.00404bc8
mov eax, dword [ebp - 0x3c]
call fcn.00404d7c
push eax
push 0
call sub.user32.dll_MessageBoxA_1
jmp 0x4538ef
mov eax, dword [ebp - 0x1c]
call fcn.00404d7c
push eax
push edi
push esi
call sub.advapi32.dll_RegLoadKeyA
mov ebx, eax
test ebx, ebx
je 0x453584
mov byte [ebp - 9], 0
push 0x10
push 0x453a08
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x48]
call fcn.004089d0
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x44]
mov edx, 0x4539fc
call fcn.00404bc8
mov eax, dword [ebp - 0x44]
call fcn.00404d7c
push eax
push 0
call sub.user32.dll_MessageBoxA_1
jmp 0x4538ef
mov byte [ebp - 9], 0
push 0x10
push 0x453a08
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x50]
call fcn.004089d0
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x4c]
mov edx, 0x4539fc
call fcn.00404bc8
mov eax, dword [ebp - 0x4c]
call fcn.00404d7c
push eax
push 0
call sub.user32.dll_MessageBoxA_1
jmp 0x4538ef
push dword [ebp - 0x10]
push 0x453a1c
push dword [ebp - 8]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404c3c
lea eax, [ebp - 0x28]
call fcn.004048bc
lea eax, [ebp - 0x24]
push eax
push 0xf013f
push 0
mov eax, dword [ebp - 0x14]
call fcn.00404d7c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45361d
lea ecx, [ebp - 0x28]
mov edx, 0x453a38
mov eax, dword [ebp - 0x24]
call fcn.00452d24
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x28]
mov eax, 0x453a4c
call fcn.00404ec0
add eax, 2
push eax
mov eax, dword [ebp - 0x28]
call fcn.00404b7c
mov ecx, eax
mov eax, dword [ebp - 0x28]
pop edx
call fcn.00404ddc
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0x28]
call fcn.004087e4
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x28]
call fcn.00404954
mov eax, dword [ebp - 0x24]
push eax
call sub.advapi32.dll_RegCloseKey_1
push 0x453a50
call sub.kernel32.dll_OutputDebugStringA
mov eax, dword [ebp - 0x14]
call fcn.00404d7c
mov edx, eax
mov eax, esi
call fcn.0045321c
push 0x453a60
call sub.kernel32.dll_OutputDebugStringA
push edi
push esi
call sub.advapi32.dll_RegUnLoadKeyA
mov ebx, eax
test ebx, ebx
je 0x45368d
mov byte [ebp - 9], 0
push 0x10
push 0x4539e8
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x5c]
call fcn.004089d0
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x58]
mov edx, 0x4539fc
call fcn.00404bc8
mov eax, dword [ebp - 0x58]
call fcn.00404d7c
push eax
push 0
call sub.user32.dll_MessageBoxA_1
jmp 0x4538ef
mov eax, dword [ebp - 0x20]
call fcn.00404d7c
push eax
mov eax, dword [ebp - 0x18]
call fcn.00404d7c
push eax
push 0x80000002
call sub.advapi32.dll_RegLoadKeyA
mov ebx, eax
test ebx, ebx
je 0x4536de
mov byte [ebp - 9], 0
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x64]
call fcn.004089d0
mov ecx, dword [ebp - 0x64]
lea eax, [ebp - 0x60]
mov edx, 0x453a78
call fcn.00404bc8
mov eax, dword [ebp - 0x60]
call fcn.00452ab0
jmp 0x4538ef
lea eax, [ebp - 0x14]
mov ecx, 0x453a84
mov edx, dword [ebp - 0x18]
call fcn.00404bc8
lea eax, [ebp - 0x24]
push eax
push 0xf013f
push 0
mov eax, dword [ebp - 0x14]
call fcn.00404d7c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
mov ebx, eax
test ebx, ebx
je 0x453741
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x6c]
call fcn.004089d0
mov ecx, dword [ebp - 0x6c]
lea eax, [ebp - 0x68]
mov edx, 0x453abc
call fcn.00404bc8
mov eax, dword [ebp - 0x68]
call fcn.00452ab0
mov byte [ebp - 9], 0
jmp 0x4538ef
mov dl, 1
mov eax, dword [0x412954]
call fcn.00403b00
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
call fcn.00404d7c
mov edx, eax
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x24]
call fcn.00453154
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x54]
cmp eax, 0xffffffff
je 0x45377f
mov edx, eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x48]
xor eax, eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x4537b3
inc ebx
xor esi, esi
lea ecx, [ebp - 0x70]
mov edx, esi
mov eax, dword [ebp - 0x2c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x70]
call fcn.00404b7c
inc eax
add dword [ebp - 0x38], eax
inc esi
dec ebx
jne 0x453796
inc dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
call fcn.00402a68
mov dword [ebp - 0x34], eax
xor eax, eax
push ebp
push 0x453888
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x453817
inc ebx
xor esi, esi
lea ecx, [ebp - 0x74]
mov edx, esi
mov eax, dword [ebp - 0x2c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x74]
call fcn.00404d7c
push eax
mov eax, dword [ebp - 0x30]
push eax
call sub.kernel32.dll_lstrcpyA
mov eax, dword [ebp - 0x30]
push eax
call sub.kernel32.dll_lstrlenA_1
inc eax
add dword [ebp - 0x30], eax
inc esi
dec ebx
jne 0x4537e7
mov eax, dword [ebp - 0x30]
mov byte [eax], 0
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x34]
push eax
push 7
push 0
mov eax, dword [ebp - 0x28]
call fcn.00404d7c
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.advapi32.dll_RegSetValueExA
mov ebx, eax
test ebx, ebx
je 0x453872
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x7c]
call fcn.004089d0
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
mov edx, 0x453adc
call fcn.00404bc8
mov eax, dword [ebp - 0x78]
call fcn.00452ab0
mov byte [ebp - 9], 0
call fcn.0040437c
jmp 0x4538ef
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45388f
mov eax, dword [ebp - 0x34]
call fcn.00402a98
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453936
lea eax, [ebp - 0x84]
mov edx, 0x13
call fcn.004048e0
lea eax, [ebp - 0x28]
call fcn.004048bc
lea eax, [ebp - 0x20]
mov edx, 5
call fcn.004048e0
lea eax, [ebp - 8]
mov edx, 2
call fcn.004048e0
ret