Function at 0x42f100
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b0
mov eax, dword [0x4a4cf0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x1fe
push eax
lea ecx, [ebp - 0x202]
push ecx
mov word [ebp - 0x204], ax
call fcn.0045c080
add esp, 0xc
cmp byte [0x4a6781], 0
jne 0x42f71c
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SetRect]
push edi
push 0x65
push 0x2f3
push 0x48
push 0x2d5
lea edx, [ebp - 0x274]
push edx
call esi
mov eax, dword [ebp + 0xc]
push 0x18
push 0x2eb
movzx edi, ax
shr eax, 0x10
push 8
mov ebx, eax
push 0x2d3
lea eax, [ebp - 0x224]
push eax
call esi
push 0x4be
push 0x2ef
push 0x4af
push 0x2d3
lea ecx, [ebp - 0x294]
push ecx
call esi
push 0x2c6
push 0x135
push 0x2a5
push 0xe0
lea edx, [ebp - 0x264]
push edx
call esi
push 0x2c7
push 0x1f7
push 0x2a5
push 0x1b8
lea eax, [ebp - 0x2a4]
push eax
call esi
push 0x318
push 0x82
push 0x2fa
push 0x49
lea ecx, [ebp - 0x284]
push ecx
call esi
push 0x4c6
push 0x125
push 0x4b7
push 0x103
lea edx, [ebp - 0x254]
push edx
call esi
push 0x314
push 0x2c9
push 0x2f5
push 0x287
lea eax, [ebp - 0x234]
push eax
call esi
push 0x4a6
push 0x2a5
push 0x48f
push 0x283
lea ecx, [ebp - 0x244]
push ecx
call esi
mov esi, dword [sym.imp.USER32.dll_PtInRect]
push ebx
push edi
lea edx, [ebp - 0x284]
push edx
call esi
test eax, eax
je 0x42f27e
mov eax, dword [0x4b8088]
push 0x2710
mov dword [eax + 0xa4], 1
call fcn.0042c0e0
add esp, 4
jmp 0x42f6d1
push ebx
push edi
lea ecx, [ebp - 0x254]
push ecx
call esi
test eax, eax
je 0x42f321
mov edx, dword [0x4a9a2c]
cmp dword [edx + 0xa4], 0
je 0x42f719
cmp byte [0x4a9322], 0
jne 0x42f719
mov eax, dword [0x4a9bdc]
cmp byte [eax + 0xf4], 0
jne 0x42f2cb
mov byte [eax + 0xf4], 1
mov eax, dword [0x4a9bdc]
mov esi, eax
call fcn.0045c5cc
mov dword [ebp - 0x2a8], eax
fild dword [ebp - 0x2a8]
fnstcw word [ebp - 0x2a6]
movzx eax, word [ebp - 0x2a6]
fadd st(0), st(0)
or eax, 0xc00
mov dword [ebp - 0x2ac], eax
fmul qword [0x48bd20]
fldcw word [ebp - 0x2ac]
fistp qword [ebp - 0x2b0]
mov eax, dword [ebp - 0x2b0]
mov dword [esi + 0xa4], eax
fldcw word [ebp - 0x2a6]
jmp 0x42f6d1
push ebx
push edi
lea ecx, [ebp - 0x274]
push ecx
call esi
test eax, eax
je 0x42f375
mov edx, dword [0x4b8084]
cmp byte [edx + 0xf4], 0
jne 0x42f719
mov eax, dword [0x4a6948]
inc dword [0x4a9428]
push 0x473
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [0x4a6948]
push 0
push 0x1e
push 0x473
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x42f6d1
push ebx
push edi
lea edx, [ebp - 0x224]
push edx
call esi
test eax, eax
je 0x42f3cd
mov eax, dword [0x4b8084]
cmp byte [eax + 0xf4], 0
jne 0x42f719
mov ecx, dword [0x4a6948]
push 0x4b5
push ecx
mov dword [0x4a9424], 0
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [0x4a6948]
push 0
push 0x1e
push 0x4b5
push edx
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x42f6d1
push ebx
push edi
lea eax, [ebp - 0x234]
push eax
call esi
test eax, eax
je 0x42f491
cmp byte [0x4a6781], 0
jne 0x42f40f
mov ecx, dword [0x4a3b20]
cmp ecx, dword [0x4a674c]
jle 0x42f41c
mov edx, dword [0x4a9a2c]
cmp dword [edx + 0xa4], 1
jne 0x42f40f
cmp dword [0x4a675c], 0
jg 0x42f41c
cmp dword [0x4a930c], 0
jle 0x42f6d1
cmp byte [0x4a673c], 0
mov ecx, dword [0x4a6948]
push 0x480
sete al
push ecx
mov byte [0x4a673c], al
call dword [sym.imp.USER32.dll_KillTimer]
cmp byte [0x4a673c], 0
je 0x42f47c
mov edx, dword [0x4a6948]
push 0
push 0x258
push 0x480
push edx
call dword [sym.imp.USER32.dll_SetTimer]
cmp byte [0x4a673c], 0
je 0x42f47c
mov eax, dword [0x4a9700]
mov dword [eax + 0xa4], 1
jmp 0x42f6d1
mov ecx, dword [0x4a9700]
mov dword [ecx + 0xa4], 0
jmp 0x42f6d1
push ebx
push edi
lea edx, [ebp - 0x244]
push edx
call esi
test eax, eax
je 0x42f5a7
cmp byte [0x4a3c2a], 0
je 0x42f719
mov eax, dword [0x4a3b24]
cmp eax, dword [0x4a675c]
jg 0x42f6d1
mov eax, dword [0x4a9a2c]
xor ecx, ecx
cmp dword [eax + 0xa4], ecx
sete cl
mov dword [eax + 0xa4], ecx
call fcn.0040fcb0
mov edx, dword [0x4a9a2c]
cmp dword [edx + 0xa4], 1
jne 0x42f4f3
call fcn.00409270
jmp 0x42f4fd
call fcn.004094c0
call fcn.004233d0
mov eax, dword [0x4a674c]
mov dword [0x4a929c], 0
cmp eax, dword [0x4a3b20]
jge 0x42f569
cmp dword [0x4a930c], 0
jg 0x42f569
mov ecx, dword [0x4a9a2c]
cmp dword [ecx + 0xa4], 0
jne 0x42f569
mov edx, dword [0x4a6948]
push 0x48d
push edx
mov byte [0x4a6780], 1
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [0x4a6948]
push 0
push 0x320
push 0x48d
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov byte [0x4a673f], 0
jmp 0x42f6d1
mov ecx, dword [0x4a6948]
push 0x476
push ecx
mov byte [0x4a673f], 1
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [0x4a6948]
push 0
push 0x320
push 0x476
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov byte [0x4a6780], 0
jmp 0x42f6d1
push ebx
push edi
lea eax, [ebp - 0x264]
push eax
call esi
test eax, eax
je 0x42f642
cmp byte [0x49c38e], 0
jne 0x42f5d0
cmp byte [0x4a673c], 0
jne 0x42f719
mov ecx, dword [0x4b81b0]
cmp byte [ecx + 0xf4], 0
je 0x42f6d1
mov edx, dword [0x4a9a30]
mov byte [edx + 0xf4], 1
mov eax, dword [0x4a9a30]
mov dword [eax + 0xa4], 1
mov eax, dword [0x4a675c]
add dword [0x4a6768], eax
add dword [0x4a676c], eax
xor esi, esi
push esi
mov dword [0x4a66d0], esi
mov dword [0x4a675c], esi
call fcn.0040ba80
push esi
call fcn.0042be90
mov ecx, dword [0x4a6948]
add esp, 8
push 0x4b1
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
push esi
jmp 0x42f690
push ebx
push edi
lea eax, [ebp - 0x2a4]
push eax
call esi
test eax, eax
je 0x42f6a9
mov ecx, dword [0x4b81b0]
cmp byte [ecx + 0xf4], 0
je 0x42f6d1
mov edx, dword [0x4a9a30]
mov byte [edx + 0xf4], 1
mov eax, dword [0x4a9a30]
mov dword [eax + 0xa4], 0
mov ecx, dword [0x4a6948]
push 0x4b1
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
push 0
mov edx, dword [0x4a6948]
push 0x3e8
push 0x4b1
push edx
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x42f6d1
push ebx
push edi
lea eax, [ebp - 0x294]
push eax
call esi
test eax, eax
je 0x42f6d1
cmp byte [0x49c38e], 0
je 0x42f719
mov ecx, dword [0x4b836c]
mov dword [ecx + 0xa4], 1
lea edx, [ebp - 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x208]
movzx ecx, word [ebp - 0x20a]
movzx edx, word [ebp - 0x20c]
push ebx
push edi
push eax
push ecx
push edx
lea eax, [ebp - 0x204]
push 0x48ee08
push eax
call fcn.00409630
add esp, 0x1c
lea ecx, [ebp - 0x204]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045bfe1
mov esp, ebp
pop ebp
ret