Function at 0x454944
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x45494c
push ecx
push ebx
push esi
mov esi, 0x458ba4
xor eax, eax
push ebp
push 0x454e47
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00402e2c
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.004547f4
mov edx, dword [ebp - 0x14]
mov eax, 0x458ba8
call fcn.00404910
cmp byte [0x458b9c], 0
je 0x454a2b
mov eax, 0x458ba0
mov ecx, 0x454e5c
mov edx, dword [0x458b98]
call fcn.00404bc8
lea ecx, [ebp - 0x1c]
mov edx, dword [0x458ba8]
mov eax, dword [0x458ba0]
call fcn.00453ee8
mov edx, dword [ebp - 0x1c]
mov eax, esi
call fcn.00404910
mov al, byte [0x454e7c]
push eax
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [0x458b98]
mov edx, 0x454e88
mov eax, dword [esi]
call fcn.0040d4d4
mov edx, dword [ebp - 0x20]
mov eax, esi
call fcn.00404910
mov al, byte [0x454e7c]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
mov ecx, 0x454e94
mov edx, dword [0x458b98]
call fcn.00404bc8
mov ecx, dword [ebp - 0x28]
mov edx, 0x454ea8
mov eax, dword [esi]
call fcn.0040d4d4
mov edx, dword [ebp - 0x24]
mov eax, esi
call fcn.00404910
jmp 0x454b94
push 0x454ec0
push dword [0x458ba8]
push 0x454ee8
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404c3c
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 8]
call fcn.00404d7c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x454ab7
lea ecx, [ebp - 0x2c]
mov edx, 0x454ef4
mov eax, dword [ebp - 4]
call fcn.00452d24
mov edx, dword [ebp - 0x2c]
mov eax, esi
call fcn.00404910
mov al, byte [0x454e7c]
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, 0x454f08
mov edx, 0x454ea8
mov eax, dword [esi]
call fcn.0040d4d4
mov edx, dword [ebp - 0x30]
mov eax, esi
call fcn.00404910
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
jmp 0x454b94
lea eax, [ebp - 8]
mov ecx, dword [0x458ba8]
mov edx, 0x454ec0
call fcn.00404bc8
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 8]
call fcn.00404d7c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x454b94
lea ecx, [ebp - 0x34]
mov edx, 0x454f14
mov eax, dword [ebp - 4]
call fcn.00452d24
mov edx, dword [ebp - 0x34]
mov eax, esi
call fcn.00404910
mov edx, dword [esi]
mov eax, 0x454f28
call fcn.00404ec0
mov ebx, eax
test ebx, ebx
jle 0x454b2c
push esi
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [esi]
call fcn.00404ddc
lea edx, [ebp - 0x38]
mov eax, dword [esi]
call fcn.004087e4
mov edx, dword [ebp - 0x38]
mov eax, esi
call fcn.00404910
push dword [esi]
push 0x454f34
lea ecx, [ebp - 0x3c]
mov edx, 0x454f38
mov eax, dword [ebp - 4]
call fcn.00452d24
push dword [ebp - 0x3c]
mov eax, esi
mov edx, 3
call fcn.00404c3c
mov al, byte [0x454e7c]
push eax
lea eax, [ebp - 0x40]
push eax
mov ecx, 0x454f08
mov edx, 0x454ea8
mov eax, dword [esi]
call fcn.0040d4d4
mov edx, dword [ebp - 0x40]
mov eax, esi
call fcn.00404910
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
cmp byte [0x458b9c], 0
mov eax, dword [esi]
call fcn.00404d7c
push eax
call sub.kernel32.dll_OutputDebugStringA
mov edx, dword [esi]
mov eax, 0x454f34
call fcn.00404ec0
mov ebx, eax
test ebx, ebx
jle 0x454c38
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [esi]
call fcn.00404ddc
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esi]
call fcn.00404b7c
mov ecx, eax
mov edx, ebx
mov eax, dword [esi]
call fcn.00404ddc
mov edx, dword [ebp - 0xc]
mov eax, 0x454f48
call fcn.00404ec0
mov ebx, eax
test ebx, ebx
jle 0x454c4a
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404b7c
mov ecx, eax
lea edx, [ebx + 5]
mov eax, dword [ebp - 0xc]
call fcn.00404ddc
mov edx, dword [ebp - 0xc]
mov eax, 0x454f34
call fcn.00404ec0
mov ebx, eax
test ebx, ebx
jle 0x454c4a
lea eax, [ebp - 0xc]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.00404ddc
jmp 0x454c4a
lea eax, [ebp - 0x10]
mov edx, dword [esi]
call fcn.00404954
lea eax, [ebp - 0xc]
call fcn.004048bc
mov edx, dword [ebp - 0x10]
mov eax, 0x454f58
call fcn.00404ec0
mov ebx, eax
test ebx, ebx
jne 0x454c93
cmp byte [0x458b9c], 0
je 0x454c83
push dword [0x458b98]
push 0x454e94
push dword [ebp - 0x10]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404c3c
jmp 0x454c93
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov edx, 0x454f08
call fcn.00404bc8
mov eax, dword [ebp - 0x10]
call fcn.00408dcc
test al, al
jne 0x454cb2
mov eax, dword [0x458ba8]
call fcn.00404b7c
cmp eax, 3
jle 0x454e02
push 0x44
push 0x454f5c
push 0x454f70
push dword [ebp - 0x10]
push 0x454f94
push dword [ebp - 0xc]
push 0x454f94
push 0x454fa0
push dword [0x458ba8]
lea eax, [ebp - 0x44]
mov edx, 7
call fcn.00404c3c
mov eax, dword [ebp - 0x44]
call fcn.00404d7c
push eax
push 0
call sub.user32.dll_MessageBoxA_1
cmp eax, 6
jne 0x454e2c
lea eax, [ebp - 0x48]
mov ecx, dword [0x458ba8]
mov edx, 0x454fb4
call fcn.00404bc8
mov eax, dword [ebp - 0x48]
call fcn.00404d7c
push eax
call sub.kernel32.dll_OutputDebugStringA
mov eax, 0x458ba0
mov ecx, 0x454e5c
mov edx, dword [0x458b98]
call fcn.00404bc8
cmp byte [0x458b9c], 0
je 0x454d50
mov edx, dword [0x458ba8]
mov eax, dword [0x458b98]
call fcn.004533f0
jmp 0x454d5a
mov eax, dword [0x458ba8]
call fcn.00453b0c
lea eax, [ebp - 0x4c]
mov ecx, dword [ebp - 0x10]
mov edx, 0x454fd0
call fcn.00404bc8
mov eax, dword [ebp - 0x4c]
call fcn.00404d7c
push eax
call sub.kernel32.dll_OutputDebugStringA
mov eax, dword [ebp - 0x10]
call fcn.00408dcc
test al, al
je 0x454d8c
mov eax, dword [ebp - 0x10]
call fcn.00408ddc
lea eax, [ebp - 0x50]
mov ecx, dword [ebp - 0xc]
mov edx, 0x454fd0
call fcn.00404bc8
mov eax, dword [ebp - 0x50]
call fcn.00404d7c
push eax
call sub.kernel32.dll_OutputDebugStringA
mov eax, dword [ebp - 0xc]
call fcn.00408dcc
test al, al
je 0x454dbe
mov eax, dword [ebp - 0xc]
call fcn.00408ddc
push 0x454fe0
call sub.kernel32.dll_OutputDebugStringA
xor eax, eax
call fcn.004542e8
cmp byte [0x458b9c], 0
je 0x454ded
push 0x40
push 0x454fec
push 0x454ff8
push 0
call sub.user32.dll_MessageBoxA_1
jmp 0x454e2c
push 0x40
push 0x454fec
push 0x45500c
push 0
call sub.user32.dll_MessageBoxA_1
jmp 0x454e2c
push 0x10
push 0x454f5c
lea eax, [ebp - 0x54]
mov ecx, 0x455028
mov edx, dword [0x456d40]
call fcn.00404bc8
mov eax, dword [ebp - 0x54]
call fcn.00404d7c
push eax
push 0
call sub.user32.dll_MessageBoxA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x454e4e
lea eax, [ebp - 0x54]
mov edx, 0x14
call fcn.004048e0
ret