Function at 0x457fd4
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x2060
push 0
push 0
dec ecx
jne 0x457fdc
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405f68
xor eax, eax
push ebp
push 0x4584ec
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffffffffffffffff
call sub.user32.dll_ShowCursor
test eax, eax
jl 0x457ffc
mov eax, dword [0x4e2e58]
mov dword [eax], 2
lea ecx, [ebp - 0x102d8]
mov edx, 3
mov eax, dword [0x508d28]
call fcn.00403f8c
lea edx, [ebp - 0x102d8]
lea eax, [ebp - 8]
call fcn.00405d18
mov eax, dword [0x4e2acc]
cmp byte [eax], 0
je 0x4580db
lea ecx, [ebp - 0x102d8]
mov eax, dword [0x4e2c68]
mov eax, dword [eax]
mov edx, 6
call fcn.00403f8c
lea edx, [ebp - 0x102d8]
lea eax, [ebp - 0xc]
call fcn.00405d18
push 0x458500
lea edx, [ebp - 0x102dc]
mov eax, dword [ebp - 0xc]
call fcn.00409b68
push dword [ebp - 0x102dc]
push 0x458510
lea edx, [ebp - 0x102e0]
mov eax, dword [ebp - 8]
call fcn.00409b68
push dword [ebp - 0x102e0]
push 0x45851c
push dword [ebp - 4]
mov eax, dword [0x4e308c]
mov edx, 6
call fcn.00405e38
mov eax, dword [0x4e308c]
mov eax, dword [eax]
call fcn.00405f78
mov edx, eax
lea eax, [ebp - 0x1000c]
call fcn.0040a7b4
lea eax, [ebp - 0x1000c]
push eax
call sub.kernel32.dll_OutputDebugStringA
jmp 0x458187
mov eax, dword [0x4e2c68]
imul eax, dword [eax], 0xd
mov edx, dword [0x4e2cc8]
mov edx, dword [edx]
mov eax, dword [edx + eax + 4]
lea ecx, [ebp - 0x102d8]
mov edx, 6
call fcn.00403f8c
lea edx, [ebp - 0x102d8]
lea eax, [ebp - 0xc]
call fcn.00405d18
push 0x458500
mov eax, dword [0x4e2e4c]
push dword [eax]
push 0x458528
lea edx, [ebp - 0x102e4]
mov eax, dword [ebp - 0xc]
call fcn.00409b68
push dword [ebp - 0x102e4]
push 0x458534
lea edx, [ebp - 0x102e8]
mov eax, dword [ebp - 8]
call fcn.00409b68
push dword [ebp - 0x102e8]
push 0x45851c
push dword [ebp - 4]
mov eax, dword [0x4e308c]
mov edx, 8
call fcn.00405e38
mov eax, dword [0x4e308c]
mov eax, dword [eax]
call fcn.00405f78
mov edx, eax
lea eax, [ebp - 0x1000c]
call fcn.0040a7b4
lea eax, [ebp - 0x1000c]
push eax
call sub.kernel32.dll_OutputDebugStringA
mov eax, dword [0x4e2944]
cmp dword [eax], 0
jbe 0x458217
mov edx, dword [0x4e2944]
mov edx, dword [edx]
lea eax, [ebp - 0x101d8]
call fcn.004036dc
lea eax, [ebp - 0x101d8]
call fcn.00403478
lea eax, [ebp - 0x102f0]
call fcn.00426aec
push dword [ebp - 0x102f0]
push 0x458540
lea eax, [ebp - 0x102f4]
call fcn.004268a8
push dword [ebp - 0x102f4]
push 0x458540
mov eax, dword [0x4e308c]
push dword [eax]
lea eax, [ebp - 0x102ec]
mov edx, 5
call fcn.00405e38
mov edx, dword [ebp - 0x102ec]
lea eax, [ebp - 0x101d8]
call fcn.00406290
call fcn.004042e8
lea eax, [ebp - 0x101d8]
call fcn.00403884
mov eax, dword [0x4e2958]
cmp dword [eax], 0xffffffff
je 0x4584c1
lea ecx, [ebp - 0x102d8]
mov edx, 3
mov eax, dword [0x508d28]
call fcn.00403f8c
lea edx, [ebp - 0x102d8]
lea eax, [ebp - 8]
call fcn.00405d18
mov eax, dword [0x4e2acc]
cmp byte [eax], 0
je 0x4582a7
lea ecx, [ebp - 0x102d8]
mov eax, dword [0x4e2c68]
mov eax, dword [eax]
mov edx, 6
call fcn.00403f8c
lea edx, [ebp - 0x102d8]
lea eax, [ebp - 0xc]
call fcn.00405d18
lea edx, [ebp - 0x102f8]
mov eax, 0x321
call fcn.00452f3c
push dword [ebp - 0x102f8]
push dword [ebp - 0xc]
push 0x45854c
lea eax, [ebp - 8]
mov edx, 3
call fcn.00405e38
jmp 0x4583c5
mov eax, dword [0x4e2c68]
imul eax, dword [eax], 0xd
mov edx, dword [0x4e2cc8]
mov edx, dword [edx]
mov eax, dword [edx + eax + 4]
lea ecx, [ebp - 0x102d8]
mov edx, 6
call fcn.00403f8c
lea edx, [ebp - 0x102d8]
lea eax, [ebp - 0xc]
call fcn.00405d18
push 0x458550
push 0x45855c
push 0x458564
push 0x45856c
call sub.kernel32.dll_WritePrivateProfileStringA
push 0x458550
lea edx, [ebp - 0x102fc]
mov eax, dword [ebp - 0xc]
call fcn.00409b68
mov eax, dword [ebp - 0x102fc]
call fcn.00405f78
push eax
push 0x458574
push 0x45856c
call sub.kernel32.dll_WritePrivateProfileStringA
push 0x458550
mov eax, dword [0x4e2e4c]
mov eax, dword [eax]
call fcn.00405f78
push eax
push 0x45857c
push 0x45856c
call sub.kernel32.dll_WritePrivateProfileStringA
lea ecx, [ebp - 0x102d8]
mov edx, 6
mov eax, dword [0x508d28]
call fcn.00403f8c
lea edx, [ebp - 0x102d8]
mov eax, dword [0x4e2c6c]
call fcn.00405d18
push 0x458550
lea edx, [ebp - 0x10300]
mov eax, dword [0x4e2c6c]
mov eax, dword [eax]
call fcn.00409b68
mov eax, dword [ebp - 0x10300]
call fcn.00405f78
push eax
push 0x458584
push 0x45856c
call sub.kernel32.dll_WritePrivateProfileStringA
push 0x458550
mov eax, dword [ebp - 4]
call fcn.00405f78
push eax
push 0x45858c
push 0x45856c
call sub.kernel32.dll_WritePrivateProfileStringA
lea eax, [ebp - 8]
mov edx, dword [0x4e2b3c]
mov edx, dword [edx]
call fcn.00405b4c
mov eax, dword [ebp - 4]
call fcn.00405f78
mov edx, eax
lea eax, [ebp - 0x800c]
call fcn.0040a7b4
mov eax, dword [ebp - 8]
call fcn.00405f78
mov edx, eax
lea eax, [ebp - 0x1000c]
call fcn.0040a7b4
push 0x10
lea eax, [ebp - 0x800c]
push eax
lea eax, [ebp - 0x1000c]
push eax
mov eax, dword [0x4e2900]
mov eax, dword [eax]
push eax
call sub.user32.dll_MessageBoxA_1
mov eax, dword [0x4e2cbc]
cmp byte [eax], 0
je 0x45847d
mov eax, dword [0x4e2e20]
mov eax, dword [eax]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [0x4e2974]
mov eax, dword [eax]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [0x4e28fc]
mov eax, dword [eax]
push eax
call sub.gdi32.dll_EndPage
mov eax, dword [0x4e28fc]
mov eax, dword [eax]
push eax
call sub.gdi32.dll_EndDoc
mov eax, dword [0x4e28fc]
mov eax, dword [eax]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [0x4e2cf4]
mov eax, dword [eax]
mov edx, dword [0x4e2e20]
mov dword [edx], eax
mov eax, dword [0x4e2b2c]
mov eax, dword [eax]
mov edx, dword [0x4e2c80]
mov dword [edx], eax
mov eax, dword [0x4e2cbc]
mov byte [eax], 0
mov eax, dword [0x4e2e20]
mov eax, dword [eax]
push eax
mov eax, dword [0x4e2900]
mov eax, dword [eax]
push eax
call sub.user32.dll_ReleaseDC
call fcn.00457e90
call fcn.00457f94
mov eax, dword [0x4e2d74]
mov dword [eax], 2
call fcn.00422540
mov eax, 2
call fcn.00405a9c
push 0xffffffffffffffff
call sub.user32.dll_ShowCursor
test eax, eax
jl 0x4584b6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4584f3
lea eax, [ebp - 0x10300]
mov edx, 0xa
call fcn.00405ad8
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405ad8
ret