Function at 0x40f530
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x562478
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5c9550]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x38]
call fcn.004146d0
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x40f575
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0xf4], 0
jne 0x40f57a
jmp 0x40f7bb
mov ecx, dword [ebp - 0x20]
call fcn.004778f0
test eax, eax
jge 0x40f58b
jmp 0x40f7bb
mov ecx, dword [ebp - 0x20]
call fcn.0040aca0
mov dword [ebp - 0x1c], eax
push 0x5a3707
lea ecx, [ebp - 0x14]
call fcn.00402590
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0x1ac]
push edx
mov eax, dword [ebp - 0x1c]
push eax
push str.OnRefreshTimer____iPos___d_m_iCurPos___d_r_n
lea ecx, [ebp - 0x14]
push ecx
call fcn.00403570
add esp, 0x10
lea ecx, [ebp - 0x14]
call fcn.004014e0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [edx + 0x1ac]
je 0x40f61b
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x1c]
mov dword [ecx + 0x1ac], edx
mov eax, dword [ebp - 0x38]
movzx ecx, byte [eax + 0x1a8]
test ecx, ecx
jne 0x40f61b
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0x1ac]
push eax
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx + 0xf4]
add ecx, 0x7c
call fcn.0040a440
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x30], 0
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x20]
call fcn.0040adb0
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x10]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x20]
call fcn.0040ad10
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
cmp edx, dword [ebp - 0x2c]
jbe 0x40f664
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x2c]
xor edx, edx
mov ecx, 0x3c
div ecx
push edx
mov eax, dword [ebp - 0x2c]
xor edx, edx
mov ecx, 0xe10
div ecx
mov eax, edx
xor edx, edx
mov ecx, 0x3c
div ecx
push eax
mov eax, dword [ebp - 0x2c]
xor edx, edx
mov ecx, 0xe10
div ecx
push eax
mov eax, dword [ebp - 0x28]
xor edx, edx
mov ecx, 0x3c
div ecx
push edx
mov eax, dword [ebp - 0x28]
xor edx, edx
mov ecx, 0xe10
div ecx
mov eax, edx
xor edx, edx
mov ecx, 0x3c
div ecx
push eax
mov eax, dword [ebp - 0x28]
xor edx, edx
mov ecx, 0xe10
div ecx
push eax
push str._02d:_02d:_02d__02d:_02d:_02d
lea edx, [ebp - 0x14]
push edx
call fcn.00403570
add esp, 0x20
lea ecx, [ebp - 0x14]
call fcn.004014e0
push eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0xf4]
add ecx, 0x3d00
call fcn.0043d854
mov ecx, dword [ebp - 0x20]
call fcn.0040ad50
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x20]
call fcn.0040ad80
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
ja 0x40f719
mov dword [ebp - 0x18], 1
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x18]
push edx
push str._d__d
lea eax, [ebp - 0x14]
push eax
call fcn.00403570
add esp, 0x10
lea ecx, [ebp - 0x14]
call fcn.004014e0
push eax
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx + 0xf4]
add ecx, 0x3cac
call fcn.0043d854
mov ecx, dword [ebp - 0x20]
call fcn.0040c130
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x38]
mov ecx, dword [edx + 0xf4]
add ecx, 0x60c
call fcn.00415620
test eax, eax
jne 0x40f7ac
cmp dword [ebp - 0x34], 4
jne 0x40f7ac
push 0
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0xf4]
add ecx, 0x124
call fcn.00403e60
push 1
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx + 0xf4]
add ecx, 0x60c
call fcn.00403e60
mov ecx, dword [ebp - 0x38]
call fcn.0040f0c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004030e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret