Function at 0x432450
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1018
call fcn.004a98b0
mov eax, dword [0x4dd52c]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
mov esi, dword [ebp + 8]
push edi
xor edx, edx
mov dword [ebp - 4], eax
xor eax, eax
cmp esi, edx
mov word [ebp - 0x1004], dx
mov ecx, 0x3ff
lea edi, [ebp - 0x1002]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x1008], edx
stosw word es:[edi], ax
je 0x43255b
cmp dword [esi + 0x1dfa8], 1
jne 0x43255b
cmp dword [esi + 0x1dfac], edx
je 0x43255b
call ebx
mov dword [ebp - 0x1008], eax
lea eax, [ebp - 0x1018]
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
movzx eax, word [ebp - 0x100a]
push 0x40636c
push eax
movzx eax, word [ebp - 0x100c]
push eax
movzx eax, word [ebp - 0x100e]
push eax
movzx eax, word [ebp - 0x1010]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x4060b0
lea eax, [ebp - 0x1004]
push 0x800
push eax
call fcn.00431bde
add esp, 0x28
cmp word [esi + 0x1dfa0], 1
lea eax, [ebp - 0x1004]
push eax
jne 0x43253d
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x43255b
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
call fcn.0042ee90
test eax, eax
jne 0x43263d
test esi, esi
je 0x4326fc
cmp dword [esi + 0x1dfa8], 1
jne 0x4326fc
cmp dword [esi + 0x1dfac], eax
je 0x4326fc
call ebx
mov ebx, eax
lea eax, [ebp - 0x1018]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
sub ebx, dword [ebp - 0x1008]
xor eax, eax
test ebx, ebx
mov ecx, 0x400
lea edi, [ebp - 0x1004]
mov dword [ebp - 0x1008], ebx
fild dword [ebp - 0x1008]
rep stosd dword es:[edi], eax
jge 0x4325c6
fadd dword [0x4060a4]
fmul dword [0x4060a0]
push ecx
push ecx
fstp qword [esp]
push 0x406318
movzx eax, word [ebp - 0x100a]
push eax
movzx eax, word [ebp - 0x100c]
push eax
movzx eax, word [ebp - 0x100e]
push eax
movzx eax, word [ebp - 0x1010]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x405f70
lea eax, [ebp - 0x1004]
push 0x800
push eax
call fcn.00431bde
add esp, 0x30
cmp word [esi + 0x1dfa0], 1
lea eax, [ebp - 0x1004]
push eax
jne 0x4326de
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x4326fc
mov edi, dword [esi + 0x521c]
mov eax, dword [edi + 8]
test eax, eax
je 0x43265d
push eax
push 0
push dword [esi + 0x500c]
call dword [sym.imp.KERNEL32.dll_HeapFree]
and dword [edi + 8], 0
lea edi, [esi + 0x502c]
mov eax, dword [edi]
test eax, eax
je 0x43267b
test byte [esi + 0x51df], 2
jne 0x43267b
push eax
call sub.GDI32.dll_EngDeleteSurface
and dword [edi], 0
cmp dword [esi + 0x1dfa8], 1
jne 0x4326fc
cmp dword [esi + 0x1dfac], 0
je 0x4326fc
call ebx
mov ebx, eax
lea eax, [ebp - 0x1018]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
sub ebx, dword [ebp - 0x1008]
xor eax, eax
test ebx, ebx
mov ecx, 0x400
lea edi, [ebp - 0x1004]
mov dword [ebp - 0x1008], ebx
fild dword [ebp - 0x1008]
rep stosd dword es:[edi], eax
jge 0x4326c9
fadd dword [0x4060a4]
fmul dword [0x4060a0]
push ecx
push ecx
fstp qword [esp]
push 0x40636c
jmp 0x4325d6
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]
pop edi
pop esi
pop ebx
call fcn.004a9585
leave
ret 4