Function at 0x4529a3
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 0x452ab9
cmp dword [esi + 0x1dfa8], 1
jne 0x452ab9
mov eax, dword [esi + 0x1dfac]
test eax, eax
je 0x452ab9
cmp eax, 1
jb 0x452ab9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [ebp - 0x2014]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor eax, eax
push 0x409d24
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 0x452a9b
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x452ab9
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 0x452e7a
cmp dword [ebp + 0x10], ecx
je 0x452e7a
cmp esi, ecx
je 0x452d25
cmp dword [esi + 0x1dfa8], 1
jne 0x452d25
mov eax, dword [esi + 0x1dfac]
cmp eax, ecx
je 0x452bfd
cmp eax, 2
jb 0x452bfd
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
movzx eax, byte [esi + 0x184c]
push eax
push 0x409cd8
lea eax, [ebp - 0x2004]
push ebx
push eax
call fcn.00431bde
add esp, 0x10
cmp dword [esi + 0x1dfa8], 1
jne 0x452d25
mov eax, dword [esi + 0x1dfac]
test eax, eax
je 0x452bfd
cmp eax, 2
jb 0x452bfd
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 0x452bdf
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x452bfd
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 0x452d25
mov eax, dword [esi + 0x1dfac]
test eax, eax
je 0x452d25
cmp eax, 2
jb 0x452d25
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]
movzx eax, byte [eax]
push eax
push 0x409cb0
lea eax, [ebp - 0x2004]
push ebx
push eax
call fcn.00431bde
add esp, 0x10
cmp dword [esi + 0x1dfa8], 1
jne 0x452d25
mov eax, dword [esi + 0x1dfac]
test eax, eax
je 0x452d25
cmp eax, 2
jb 0x452d25
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 0x452d07
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x452d25
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 al, byte [eax]
xor edi, edi
inc edi
cmp word [esi + 0xd8e], di
mov byte [esi + 0x184c], al
jne 0x452e7a
push 0xea
push esi
call fcn.004a53d4
cmp eax, edi
je 0x452d66
cmp dword [esi + 0x1dfb0], edi
je 0x452d66
cmp dword [esi + 0x1dfb4], edi
jne 0x452e7a
cmp byte [esi + 0x184c], 5
jne 0x452e7a
cmp dword [esi + 0x1dfb0], edi
jne 0x452e71
cmp dword [esi + 0x1dfb8], edi
jne 0x452e71
lea edi, [esi + 0x1dfbc]
cmp dword [edi], 0
jne 0x452e71
push dword [ebp + 0xc]
push esi
call fcn.00451ff7
xor eax, eax
inc eax
cmp dword [esi + 0x1dfa8], eax
mov dword [edi], eax
jne 0x452e71
mov eax, dword [esi + 0x1dfac]
test eax, eax
je 0x452e71
cmp eax, 2
jb 0x452e71
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [ebp - 0x2014]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor eax, eax
push 0x409c00
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 0x452e53
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x452e71
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 dword [ebp + 0xc]
push esi
call fcn.00451dde
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.004a9585
leave
ret 0x18