Function at 0x405af0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x46fc68]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
cmp dword [ebp + 8], 0
jne 0x405b11
jmp 0x405cd6
mov eax, dword [ebp + 8]
cmp dword [eax + 0xc], 0
je 0x405b23
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
jne 0x405b28
jmp 0x405cd6
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x405b79
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
mov dword [edx + 4], 0
mov dword [ebp - 4], 0
jmp 0x405b57
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
cmp edx, dword [ecx + 0xc]
jae 0x405b74
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 4]
mov dword [ecx + edx*4], 0
jmp 0x405b4e
jmp 0x405cd6
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
sub ecx, dword [eax]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov dword [edx], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov eax, dword [ebp - 0xc]
mov dword [ecx + edx*4], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], 0
jmp 0x405bc7
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
cmp eax, dword [edx + 0xc]
jae 0x405bf9
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp - 0x14]
cmp dword [edx + eax*4], 0
jne 0x405be5
jmp 0x405bf9
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
add ecx, dword [edx + eax*4]
mov dword [ebp - 0x10], ecx
jmp 0x405bbe
cmp dword [ebp - 0x14], 0
jne 0x405c0f
push str.No_time_difference_r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x405cb3
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
push edx
push str.A_lu_r_n
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0xa0]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x18]
cmp eax, dword [edx + 0x10]
jb 0x405cb3
mov dword [ebp - 0x124], 0
jmp 0x405c66
mov ecx, dword [ebp - 0x124]
add ecx, 1
mov dword [ebp - 0x124], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x124]
cmp eax, dword [edx + 0xc]
jae 0x405ca8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp - 0x124]
mov ecx, dword [edx + eax*4]
push ecx
push str.D_lu_
lea edx, [ebp - 0x120]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x405c57
push 0x46888c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 8]
mov eax, dword [ecx + 4]
xor edx, edx
div dword [esi + 0xc]
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004148bc
mov esp, ebp
pop ebp
ret