Function at 0x460829
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x201c
call fcn.004a98b0
mov eax, dword [0x4dd52c]
and word [ebp - 0x1004], 0
and dword [ebp - 0x201c], 0
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x1dfe0]
push edi
mov dword [ebp - 0x2008], eax
mov edx, 0x3ff
xor eax, eax
cmp dword [esi + 0x1dfa8], 1
mov ecx, edx
lea edi, [ebp - 0x1002]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ebx, 0x800
jne 0x46099a
mov eax, dword [esi + 0x1dfac]
test eax, eax
je 0x46099a
cmp eax, 3
jb 0x46099a
and word [ebp - 0x2004], 0
push dword [ebp - 0x2008]
xor eax, eax
mov ecx, edx
lea edi, [ebp - 0x2002]
rep stosd dword es:[edi], eax
push 0x40cbe4
stosw word es:[edi], ax
lea eax, [ebp - 0x2004]
push ebx
push eax
call fcn.00431bde
add esp, 0x10
cmp dword [esi + 0x1dfa8], 1
jne 0x46099a
mov eax, dword [esi + 0x1dfac]
test eax, eax
je 0x46099a
cmp eax, 3
jb 0x46099a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [ebp - 0x2018]
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 - 0x200a]
push 0x40cbcc
push eax
movzx eax, word [ebp - 0x200c]
push eax
movzx eax, word [ebp - 0x200e]
push eax
movzx eax, word [ebp - 0x2010]
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 0x46097c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x46099a
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 [ebp - 0x2008], 0x12c
jl 0x460a8c
cmp dword [ebp - 0x2008], 0x18f
jg 0x460a8c
cmp dword [esi + 0x1dfa8], 1
jne 0x460b60
mov eax, dword [esi + 0x1dfac]
test eax, eax
je 0x460b60
cmp eax, 3
jb 0x460b60
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [ebp - 0x2018]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor eax, eax
push 0x40cbb4
mov ecx, 0x400
lea edi, [ebp - 0x1004]
rep stosd dword es:[edi], eax
movzx eax, word [ebp - 0x200a]
push 0x40cbcc
push eax
movzx eax, word [ebp - 0x200c]
push eax
movzx eax, word [ebp - 0x200e]
push eax
movzx eax, word [ebp - 0x2010]
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 0x460a69
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x460b60
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
jmp 0x460b60
cmp dword [esi + 0x1dfa8], 1
jne 0x460b56
mov eax, dword [esi + 0x1dfac]
test eax, eax
je 0x460b56
cmp eax, 3
jb 0x460b56
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [ebp - 0x2018]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor eax, eax
push 0x40cb9c
mov ecx, 0x400
lea edi, [ebp - 0x1004]
rep stosd dword es:[edi], eax
movzx eax, word [ebp - 0x200a]
push 0x40cbcc
push eax
movzx eax, word [ebp - 0x200c]
push eax
movzx eax, word [ebp - 0x200e]
push eax
movzx eax, word [ebp - 0x2010]
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 0x460b38
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x460b56
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 dword [ebp - 0x201c], 1
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x201c]
pop edi
pop esi
pop ebx
call fcn.004a9585
leave
ret 4