Function at 0x483231
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
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], eax
xor eax, eax
mov ecx, 0x3ff
lea edi, [ebp - 0x1002]
rep stosd dword es:[edi], eax
push pe_nt_image_headers32
push esi
mov dword [ebp - 0x200c], ebx
mov byte [ebp - 0x2005], 0
stosw word es:[edi], ax
call fcn.004a53d4
cmp eax, 1
jne 0x4834d1
cmp dword [esi + 0x1e7a4], 0
jne 0x4834d1
cmp word [ebx + 0x8f54], 2
je 0x4834d1
cmp dword [ebp + 0x10], 0
jne 0x4834d1
cmp dword [esi + 0x1dfa8], eax
mov ebx, 0x800
jne 0x48337e
mov eax, dword [esi + 0x1dfac]
test eax, eax
je 0x48337e
cmp eax, 3
jb 0x48337e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [ebp - 0x201c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor eax, eax
push 0x412d50
mov ecx, 0x400
lea edi, [ebp - 0x1004]
rep stosd dword es:[edi], eax
movzx eax, word [ebp - 0x200e]
push 0x412d3c
push eax
movzx eax, word [ebp - 0x2010]
push eax
movzx eax, word [ebp - 0x2012]
push eax
movzx eax, word [ebp - 0x2014]
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 0x483360
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x48337e
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 - 0x200c]
cmp dword [eax + 0x816c], 1
jle 0x4834d1
push eax
call fcn.0048b57c
cmp eax, 1
jne 0x4834d1
cmp dword [esi + 0x1dfa8], eax
jne 0x4834bf
mov eax, dword [esi + 0x1dfac]
test eax, eax
je 0x4834bf
cmp eax, 3
jb 0x4834bf
and word [ebp - 0x2004], 0
xor eax, eax
mov ecx, 0x3ff
lea edi, [ebp - 0x2002]
rep stosd dword es:[edi], eax
push 1
push 0x412ce0
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 0x4834bf
mov eax, dword [esi + 0x1dfac]
test eax, eax
je 0x4834bf
cmp eax, 3
jb 0x4834bf
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [ebp - 0x201c]
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 - 0x200e]
push 0x412a74
push eax
movzx eax, word [ebp - 0x2010]
push eax
movzx eax, word [ebp - 0x2012]
push eax
movzx eax, word [ebp - 0x2014]
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 0x4834a1
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x4834bf
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 esi
push dword [ebp - 0x200c]
call fcn.00482b89
mov byte [ebp - 0x2005], al
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x2005]
pop edi
pop esi
pop ebx
call fcn.004a9585
leave
ret 0xc