Function at 0x452e8e
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x2018
call fcn.004a98b0
mov eax, dword [0x4dd52c]
and word [ebp - 0x1004], 0
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x2018], eax
xor eax, eax
test esi, esi
mov ecx, 0x3ff
lea edi, [ebp - 0x1002]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ebx, 0x800
je 0x452fa4
cmp dword [esi + 0x1dfa8], 1
jne 0x452fa4
mov eax, dword [esi + 0x1dfac]
test eax, eax
je 0x452fa4
cmp eax, 1
jb 0x452fa4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [ebp - 0x2014]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor eax, eax
push 0x409ec4
mov ecx, 0x400
lea edi, [ebp - 0x1004]
rep stosd dword es:[edi], eax
movzx eax, word [ebp - 0x2006]
push 0x409b70
push eax
movzx eax, word [ebp - 0x2008]
push eax
movzx eax, word [ebp - 0x200a]
push eax
movzx eax, word [ebp - 0x200c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x4065a0
lea eax, [ebp - 0x1004]
push ebx
push eax
call fcn.00431bde
add esp, 0x2c
cmp word [esi + 0x1dfa0], 1
lea eax, [ebp - 0x1004]
push eax
jne 0x452f86
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x452fa4
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
xor edi, edi
inc edi
cmp word [esi + 0xd8e], di
jne 0x453192
push 0xea
push esi
call fcn.004a53d4
cmp eax, edi
je 0x452fd7
cmp dword [esi + 0x1dfb0], edi
je 0x452fe3
cmp dword [esi + 0x1dfb4], edi
jne 0x453192
cmp dword [esi + 0x1dfb0], edi
jne 0x453192
cmp dword [esi + 0x1dfa8], edi
jne 0x4530ac
mov eax, dword [esi + 0x1dfac]
test eax, eax
je 0x4530ac
cmp eax, 2
jb 0x4530ac
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [ebp - 0x2014]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor eax, eax
push 0x409e48
mov ecx, 0x400
lea edi, [ebp - 0x1004]
rep stosd dword es:[edi], eax
movzx eax, word [ebp - 0x2006]
push 0x409b70
push eax
movzx eax, word [ebp - 0x2008]
push eax
movzx eax, word [ebp - 0x200a]
push eax
movzx eax, word [ebp - 0x200c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x4065a0
lea eax, [ebp - 0x1004]
push ebx
push eax
call fcn.00431bde
add esp, 0x2c
cmp word [esi + 0x1dfa0], 1
lea eax, [ebp - 0x1004]
push eax
jne 0x45308e
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x4530ac
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
lea edi, [esi + 0x1dfb8]
cmp dword [edi], 0
jne 0x453192
push dword [ebp + 0xc]
push esi
call fcn.00451e71
xor eax, eax
inc eax
cmp dword [esi + 0x1dfa8], eax
mov dword [edi], eax
jne 0x453192
mov eax, dword [esi + 0x1dfac]
test eax, eax
je 0x453192
cmp eax, 2
jb 0x453192
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [ebp - 0x2014]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor eax, eax
push 0x409dc8
mov ecx, 0x400
lea edi, [ebp - 0x1004]
rep stosd dword es:[edi], eax
movzx eax, word [ebp - 0x2006]
push 0x409b70
push eax
movzx eax, word [ebp - 0x2008]
push eax
movzx eax, word [ebp - 0x200a]
push eax
movzx eax, word [ebp - 0x200c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x4065a0
lea eax, [ebp - 0x1004]
push ebx
push eax
call fcn.00431bde
add esp, 0x2c
cmp word [esi + 0x1dfa0], 1
lea eax, [ebp - 0x1004]
push eax
jne 0x453174
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x453192
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
xor ecx, ecx
cmp dword [ebp - 0x2018], ecx
je 0x453406
cmp dword [ebp + 0x10], ecx
je 0x453406
cmp dword [esi + 0x1dfa8], 1
jne 0x4533f6
mov eax, dword [esi + 0x1dfac]
cmp eax, ecx
je 0x4532ce
cmp eax, 2
jb 0x4532ce
mov word [ebp - 0x2004], cx
xor eax, eax
mov ecx, 0x3ff
lea edi, [ebp - 0x2002]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
movsx eax, word [esi + 0x682]
push eax
push 0x409d80
lea eax, [ebp - 0x2004]
push ebx
push eax
call fcn.00431bde
add esp, 0x10
cmp dword [esi + 0x1dfa8], 1
jne 0x4533f6
mov eax, dword [esi + 0x1dfac]
test eax, eax
je 0x4532ce
cmp eax, 2
jb 0x4532ce
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [ebp - 0x2014]
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
lea eax, [ebp - 0x2004]
push eax
movzx eax, word [ebp - 0x2006]
push 0x409b70
push eax
movzx eax, word [ebp - 0x2008]
push eax
movzx eax, word [ebp - 0x200a]
push eax
movzx eax, word [ebp - 0x200c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x4065a0
lea eax, [ebp - 0x1004]
push ebx
push eax
call fcn.00431bde
add esp, 0x2c
cmp word [esi + 0x1dfa0], 1
lea eax, [ebp - 0x1004]
push eax
jne 0x4532b0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x4532ce
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
cmp dword [esi + 0x1dfa8], 1
jne 0x4533f6
mov eax, dword [esi + 0x1dfac]
test eax, eax
je 0x4533f6
cmp eax, 2
jb 0x4533f6
and word [ebp - 0x2004], 0
xor eax, eax
mov ecx, 0x3ff
lea edi, [ebp - 0x2002]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp - 0x2018]
movsx eax, word [eax]
push eax
push 0x409d54
lea eax, [ebp - 0x2004]
push ebx
push eax
call fcn.00431bde
add esp, 0x10
cmp dword [esi + 0x1dfa8], 1
jne 0x4533f6
mov eax, dword [esi + 0x1dfac]
test eax, eax
je 0x4533f6
cmp eax, 2
jb 0x4533f6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [ebp - 0x2014]
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
lea eax, [ebp - 0x2004]
push eax
movzx eax, word [ebp - 0x2006]
push 0x409b70
push eax
movzx eax, word [ebp - 0x2008]
push eax
movzx eax, word [ebp - 0x200a]
push eax
movzx eax, word [ebp - 0x200c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x4065a0
lea eax, [ebp - 0x1004]
push ebx
push eax
call fcn.00431bde
add esp, 0x2c
cmp word [esi + 0x1dfa0], 1
lea eax, [ebp - 0x1004]
push eax
jne 0x4533d8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x4533f6
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
mov eax, dword [ebp - 0x2018]
mov ax, word [eax]
mov word [esi + 0x682], ax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.004a9585
leave
ret 0x18