Function at 0x465eab
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x2648
call fcn.004a98b0
mov eax, dword [0x4dd52c]
push ebx
mov dword [ebp - 4], eax
push esi
push edi
xor ebx, ebx
xor eax, eax
mov esi, dword [ebp + 8]
mov word [ebp - 0x61c], bx
mov ecx, 0x103
lea edi, [ebp - 0x61a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [ebp - 0x20c], bx
mov ecx, 0x81
lea edi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [ebp - 0x161c], bx
mov ecx, 0x3ff
lea edi, [ebp - 0x161a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esi + 0x1a670]
push eax
lea eax, [ebp - 0x61c]
push 0x40dc20
push eax
mov dword [ebp - 0x2624], ebx
mov dword [ebp - 0x2648], ebx
mov dword [ebp - 0x2644], ebx
mov dword [ebp - 0x2640], 2
mov dword [ebp - 0x2620], ebx
call dword [sym.imp.msvcrt.dll_swprintf]
add esp, 0xc
lea eax, [ebp - 0x2648]
push eax
lea eax, [ebp - 0x2620]
push eax
lea eax, [ebp - 0x61c]
push eax
call sub.WINSPOOL.DRV_OpenPrinterW
test eax, eax
je 0x466005
lea eax, [ebp - 0x262c]
push eax
lea eax, [ebp - 0x2628]
push eax
push ebx
push ebx
push ebx
push ebx
mov edi, 0x40dc0c
push edi
push dword [ebp - 0x2620]
mov dword [ebp - 0x2628], ebx
mov dword [ebp - 0x262c], ebx
call sub.WINSPOOL.DRV_XcvDataW
test eax, eax
je 0x465ffa
lea eax, [ebp - 0x262c]
push eax
lea eax, [ebp - 0x2628]
push eax
push dword [ebp - 0x2628]
lea eax, [ebp - 0x20c]
push eax
push ebx
push ebx
push edi
push dword [ebp - 0x2620]
call sub.WINSPOOL.DRV_XcvDataW
test eax, eax
je 0x465ff4
lea eax, [ebp - 0x20c]
push 0x40dbf4
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x2624], 1
je 0x465ffa
mov dword [ebp - 0x2624], ebx
push dword [ebp - 0x2620]
call sub.WINSPOOL.DRV_ClosePrinter
cmp esi, ebx
je 0x46625b
cmp dword [esi + 0x1dfa8], 1
mov ebx, 0x800
jne 0x46625b
mov eax, dword [esi + 0x1dfac]
test eax, eax
je 0x466137
cmp eax, 3
jb 0x466137
and word [ebp - 0x261c], 0
xor eax, eax
mov ecx, 0x3ff
lea edi, [ebp - 0x261a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esi + 0x1a670]
push eax
push 0x40dbdc
lea eax, [ebp - 0x261c]
push ebx
push eax
call fcn.00431bde
add esp, 0x10
cmp dword [esi + 0x1dfa8], 1
jne 0x46625b
mov eax, dword [esi + 0x1dfac]
test eax, eax
je 0x466137
cmp eax, 3
jb 0x466137
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [ebp - 0x263c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor eax, eax
mov ecx, 0x400
lea edi, [ebp - 0x161c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x261c]
push eax
movzx eax, word [ebp - 0x262e]
push 0x40dba4
push eax
movzx eax, word [ebp - 0x2630]
push eax
movzx eax, word [ebp - 0x2632]
push eax
movzx eax, word [ebp - 0x2634]
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 - 0x161c]
push ebx
push eax
call fcn.00431bde
add esp, 0x2c
cmp word [esi + 0x1dfa0], 1
lea eax, [ebp - 0x161c]
push eax
jne 0x466119
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x466137
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 0x46625b
mov eax, dword [esi + 0x1dfac]
test eax, eax
je 0x46625b
cmp eax, 3
jb 0x46625b
and word [ebp - 0x261c], 0
push dword [ebp - 0x2624]
xor eax, eax
mov ecx, 0x3ff
lea edi, [ebp - 0x261a]
rep stosd dword es:[edi], eax
push 0x40db84
stosw word es:[edi], ax
lea eax, [ebp - 0x261c]
push ebx
push eax
call fcn.00431bde
add esp, 0x10
cmp dword [esi + 0x1dfa8], 1
jne 0x46625b
mov eax, dword [esi + 0x1dfac]
test eax, eax
je 0x46625b
cmp eax, 3
jb 0x46625b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [ebp - 0x263c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor eax, eax
mov ecx, 0x400
lea edi, [ebp - 0x161c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x261c]
push eax
movzx eax, word [ebp - 0x262e]
push 0x40dba4
push eax
movzx eax, word [ebp - 0x2630]
push eax
movzx eax, word [ebp - 0x2632]
push eax
movzx eax, word [ebp - 0x2634]
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 - 0x161c]
push ebx
push eax
call fcn.00431bde
add esp, 0x2c
cmp word [esi + 0x1dfa0], 1
lea eax, [ebp - 0x161c]
push eax
jne 0x46623d
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x46625b
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]
mov eax, dword [ebp - 0x2624]
pop edi
pop esi
pop ebx
call fcn.004a9585
leave
ret 4