Function at 0x46686e
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x3230
call fcn.004a98b0
mov eax, dword [0x4dd52c]
push esi
mov esi, dword [ebp + 8]
cmp word [esi + 0xd8e], 0
mov dword [ebp - 4], eax
jne 0x466d91
cmp word [esi + 0x18934], 2
je 0x466d91
push 0xe4
push esi
call fcn.004a53d4
cmp eax, 1
jne 0x466d91
and word [ebp - 0x320c], 0
push ebx
push edi
mov ebx, 0x3ff
xor eax, eax
mov ecx, ebx
lea edi, [ebp - 0x320a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esi + 0x1e37c]
test eax, eax
je 0x466d8f
push 0x40df74
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x466d8f
and dword [ebp - 0x3210], 0
lea ecx, [ebp - 0x3210]
push ecx
lea ecx, [esi + 0x1a260]
push ecx
lea ecx, [esi + 0x1e384]
push ecx
lea ecx, [esi + 0x1a670]
push ecx
call eax
cmp eax, 1
jne 0x466cc1
and word [ebp - 0x20c], 0
and word [ebp - 0x120c], 0
xor eax, eax
mov ecx, 0x81
lea edi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, ebx
xor eax, eax
cmp dword [esi + 0x1dfa8], 1
lea edi, [ebp - 0x120a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ebx, 0x800
jne 0x466a24
mov eax, dword [esi + 0x1dfac]
test eax, eax
je 0x466a24
cmp eax, 3
jb 0x466a24
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [ebp - 0x3220]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor eax, eax
push 0x40def8
mov ecx, 0x400
lea edi, [ebp - 0x120c]
rep stosd dword es:[edi], eax
movzx eax, word [ebp - 0x3212]
push 0x40dee0
push eax
movzx eax, word [ebp - 0x3214]
push eax
movzx eax, word [ebp - 0x3216]
push eax
movzx eax, word [ebp - 0x3218]
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 - 0x120c]
push ebx
push eax
call fcn.00431bde
add esp, 0x2c
cmp word [esi + 0x1dfa0], 1
lea eax, [ebp - 0x120c]
push eax
jne 0x466a06
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x466a24
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 eax, [esi + 0x1a468]
push eax
lea eax, [ebp - 0x20c]
push 0x407380
push eax
call dword [sym.imp.msvcrt.dll_swprintf]
add esp, 0xc
push dword [ebp - 0x3210]
lea eax, [ebp - 0x20c]
push 0x407378
push eax
push esi
call fcn.0043187d
cmp eax, 1
jne 0x466b66
cmp dword [esi + 0x1dfa8], eax
jne 0x466d8f
mov eax, dword [esi + 0x1dfac]
test eax, eax
je 0x466bcc
cmp eax, 3
jb 0x466bcc
and word [ebp - 0x220c], 0
push dword [ebp - 0x3210]
xor eax, eax
mov ecx, 0x3ff
lea edi, [ebp - 0x220a]
rep stosd dword es:[edi], eax
push 0x40de70
stosw word es:[edi], ax
lea eax, [ebp - 0x220c]
push ebx
push eax
call fcn.00431bde
add esp, 0x10
cmp dword [esi + 0x1dfa8], 1
jne 0x466d8f
mov eax, dword [esi + 0x1dfac]
test eax, eax
je 0x466bcc
cmp eax, 3
jb 0x466bcc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [ebp - 0x3220]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor eax, eax
mov ecx, 0x400
lea edi, [ebp - 0x120c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x220c]
push eax
movzx eax, word [ebp - 0x3212]
push 0x40dee0
push eax
movzx eax, word [ebp - 0x3214]
push eax
movzx eax, word [ebp - 0x3216]
push eax
movzx eax, word [ebp - 0x3218]
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 - 0x120c]
push ebx
push eax
call fcn.00431bde
add esp, 0x2c
cmp word [esi + 0x1dfa0], 1
lea eax, [ebp - 0x120c]
push eax
jne 0x466bae
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x466bcc
cmp dword [esi + 0x1dfa8], 1
jne 0x466d8f
mov eax, dword [esi + 0x1dfac]
test eax, eax
je 0x466bcc
cmp eax, 3
jb 0x466bcc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [ebp - 0x3220]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov ecx, 0x400
xor eax, eax
lea edi, [ebp - 0x120c]
rep stosd dword es:[edi], eax
push 0x40de08
jmp 0x466b05
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 0x466d8f
mov eax, dword [esi + 0x1dfac]
test eax, eax
je 0x466d8f
cmp eax, 3
jb 0x466d8f
and word [ebp - 0x220c], 0
push dword [ebp - 0x3210]
xor eax, eax
mov ecx, 0x3ff
lea edi, [ebp - 0x220a]
rep stosd dword es:[edi], eax
push 0x40ddc4
stosw word es:[edi], ax
lea eax, [ebp - 0x220c]
push ebx
push eax
call fcn.00431bde
add esp, 0x10
cmp dword [esi + 0x1dfa8], 1
jne 0x466d8f
mov eax, dword [esi + 0x1dfac]
test eax, eax
je 0x466d8f
cmp eax, 3
jb 0x466d8f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [ebp - 0x3220]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor eax, eax
mov ecx, 0x400
lea edi, [ebp - 0x120c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x220c]
push eax
movzx eax, word [ebp - 0x3212]
push 0x40dee0
push eax
movzx eax, word [ebp - 0x3214]
push eax
movzx eax, word [ebp - 0x3216]
push eax
movzx eax, word [ebp - 0x3218]
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 - 0x120c]
push ebx
push eax
call fcn.00431bde
lea eax, [ebp - 0x120c]
jmp 0x466d5b
cmp dword [esi + 0x1dfa8], 1
jne 0x466d8f
mov eax, dword [esi + 0x1dfac]
test eax, eax
je 0x466d8f
cmp eax, 3
jb 0x466d8f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [ebp - 0x3230]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor eax, eax
push 0x40dd48
mov ecx, 0x400
lea edi, [ebp - 0x320c]
rep stosd dword es:[edi], eax
movzx eax, word [ebp - 0x3222]
push 0x40dee0
push eax
movzx eax, word [ebp - 0x3224]
push eax
movzx eax, word [ebp - 0x3226]
push eax
movzx eax, word [ebp - 0x3228]
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 - 0x320c]
push 0x800
push eax
call fcn.00431bde
lea eax, [ebp - 0x320c]
add esp, 0x2c
cmp word [esi + 0x1dfa0], 1
push eax
jne 0x466d71
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x466d8f
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
pop edi
pop ebx
mov ecx, dword [ebp - 4]
pop esi
call fcn.004a9585
leave
ret 4