Function at 0x431c0c
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1018
call fcn.004a98b0
mov eax, dword [0x4dd52c]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
mov esi, dword [ebp + 8]
push edi
xor edx, edx
mov dword [ebp - 4], eax
xor eax, eax
cmp esi, edx
mov word [ebp - 0x1004], dx
mov ecx, 0x3ff
lea edi, [ebp - 0x1002]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x1008], edx
stosw word es:[edi], ax
je 0x431d17
cmp dword [esi + 0x1dfa8], 1
jne 0x431d17
cmp dword [esi + 0x1dfac], edx
je 0x431d17
call ebx
mov dword [ebp - 0x1008], eax
lea eax, [ebp - 0x1018]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor eax, eax
mov ecx, 0x400
lea edi, [ebp - 0x1004]
rep stosd dword es:[edi], eax
movzx eax, word [ebp - 0x100a]
push 0x406170
push eax
movzx eax, word [ebp - 0x100c]
push eax
movzx eax, word [ebp - 0x100e]
push eax
movzx eax, word [ebp - 0x1010]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x4060b0
lea eax, [ebp - 0x1004]
push 0x800
push eax
call fcn.00431bde
add esp, 0x28
cmp word [esi + 0x1dfa0], 1
lea eax, [ebp - 0x1004]
push eax
jne 0x431cf9
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x431d17
lea edi, [esi + 0x1dfa4]
push 0x4060a8
push dword [edi]
call dword [sym.imp.msvcrt.dll_fwprintf]
push dword [edi]
call dword [sym.imp.msvcrt.dll_fflush]
add esp, 0x10
push esi
call fcn.0042ee90
test eax, eax
jne 0x431dfe
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
je 0x431e88
cmp dword [esi + 0x1dfa8], 1
jne 0x431e88
cmp dword [esi + 0x1dfac], 0
je 0x431e88
call ebx
mov ebx, eax
lea eax, [ebp - 0x1018]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
sub ebx, dword [ebp - 0x1008]
xor eax, eax
test ebx, ebx
mov ecx, 0x400
lea edi, [ebp - 0x1004]
mov dword [ebp - 0x1008], ebx
fild dword [ebp - 0x1008]
rep stosd dword es:[edi], eax
jge 0x431d8b
fadd dword [0x4060a4]
fmul dword [0x4060a0]
push ecx
push ecx
fstp qword [esp]
push 0x406050
movzx eax, word [ebp - 0x100a]
push eax
movzx eax, word [ebp - 0x100c]
push eax
movzx eax, word [ebp - 0x100e]
push eax
movzx eax, word [ebp - 0x1010]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x405f70
lea eax, [ebp - 0x1004]
push 0x800
push eax
call fcn.00431bde
add esp, 0x30
cmp word [esi + 0x1dfa0], 1
lea eax, [ebp - 0x1004]
push eax
jne 0x431e6a
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x431e88
cmp dword [esi + 0x1dfa8], 1
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x5028], eax
jne 0x431e88
cmp dword [esi + 0x1dfac], 0
je 0x431e88
call ebx
mov ebx, eax
lea eax, [ebp - 0x1018]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
sub ebx, dword [ebp - 0x1008]
xor eax, eax
test ebx, ebx
mov ecx, 0x400
lea edi, [ebp - 0x1004]
mov dword [ebp - 0x1008], ebx
fild dword [ebp - 0x1008]
rep stosd dword es:[edi], eax
jge 0x431e55
fadd dword [0x4060a4]
fmul dword [0x4060a0]
push ecx
push ecx
fstp qword [esp]
push 0x406170
jmp 0x431d9b
add esi, 0x1dfa4
push 0x4060a8
push dword [esi]
call dword [sym.imp.msvcrt.dll_fwprintf]
push dword [esi]
call dword [sym.imp.msvcrt.dll_fflush]
add esp, 0x10
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.004a9585
leave
ret 8