Function at 0x42c95f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1f0
mov eax, dword [ebp + 0x10]
push ebx
push esi
dec eax
push edi
je 0x42ccd3
dec eax
je 0x42ccc5
sub eax, 0xd
je 0x42cacd
dec eax
je 0x42cab7
sub eax, 0x101
je 0x42ca8b
dec eax
dec eax
je 0x42cac5
sub eax, 0x12d
jne 0x42ccf1
movzx esi, word [ebp + 0x14]
lea eax, [esi + esi*4]
shl eax, 3
push eax
call fcn.00441dd1
mov ebx, dword [ebp + 8]
mov edi, eax
pop ecx
mov dword [ebp + 0x10], edi
inc dword [ebx + 0xa8]
test edi, edi
je 0x42ca7c
push 0x28
push edi
push esi
push dword [ebp + 0x18]
call fcn.0042c920
add esp, 0x10
test eax, eax
je 0x42ca6a
test esi, esi
jle 0x42ca6a
mov dword [ebp + 0x14], edi
mov dword [ebp + 8], esi
mov esi, dword [ebp + 0x14]
push 0xa
pop ecx
lea edi, [ebp - 0x48]
rep movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0x3c], 0
je 0x42ca58
mov eax, dword [ebp - 0x48]
push 0x64
cdq
pop ecx
idiv ecx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x44]
cdq
idiv ecx
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_ScreenToClient]
test byte [ebp - 0x38], 4
push dword [ebp - 0x3c]
mov ecx, ebx
je 0x42ca3d
call fcn.0042c860
inc dword [ebx + 0xa4]
jmp 0x42ca58
call fcn.0042c818
mov edx, dword [ebp - 8]
mov ecx, eax
shl ecx, 4
inc eax
mov dword [ecx + ebx + 0xc], edx
mov ecx, dword [ebp - 4]
shl eax, 4
mov dword [eax + ebx], ecx
push dword [ebp + 0x18]
call fcn.0042c8ed
add dword [ebp + 0x14], 0x28
dec dword [ebp + 8]
pop ecx
jne 0x42c9f2
push dword [ebp + 0x18]
call fcn.0042c8ed
push dword [ebp + 0x10]
call fcn.00441dc6
pop ecx
pop ecx
push 0
push 0
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x42cac5
cmp word [ebp + 0x14], 0x8029
je 0x42caac
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push 0x111
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_DefWindowProcW]
jmp 0x42ccf3
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x42cac5
push 0
push dword [0x4ce0ec]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
pop eax
jmp 0x42ccf3
lea eax, [ebp - 0x88]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [ebp + 0x18], eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetClientRect]
xor esi, esi
cmp dword [0x4ce100], esi
jne 0x42cb05
push dword [ebp + 0x18]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [0x4ce100], eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov dword [0x4ce104], eax
push dword [0x4ce100]
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [0x4ce100], esi
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebp - 0x1c], eax
je 0x42cc97
push esi
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0x18]
push eax
push dword [0x4ce100]
call dword [sym.imp.USER32.dll_FillRect]
mov dword [ebp + 0x14], esi
mov esi, dword [ebp + 8]
push 0xa
pop ecx
lea eax, [esi + 8]
mov edx, ecx
cmp dword [eax], 0xffffffff
je 0x42cb70
mov dword [ebp + 0x14], 1
add eax, 0x10
dec edx
jne 0x42cb64
lea edi, [esi + 0xc]
mov dword [ebp + 8], ecx
push dword [esi + 0x98]
lea eax, [ebp - 0x1f0]
push dword [esi + 0x88]
push dword [esi + 0x78]
push dword [esi + 0x68]
push dword [esi + 0x58]
push dword [esi + 0x48]
push dword [esi + 0x38]
push dword [esi + 0x28]
push dword [esi + 0x18]
push dword [esi + 8]
push dword [esi + 0xa4]
push dword [esi + 0xa8]
push str.Touch_commands__d_tc__d_ID:__d__d__d__d__d__d__d__d__d__d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x38
push 0
push dword [0x4ce100]
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0xffffff
push dword [0x4ce100]
call dword [sym.imp.GDI32.dll_SetTextColor]
cmp dword [ebp + 0x14], 0
lea eax, [ebp - 0x18]
push 0x28
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x1f0]
jne 0x42cbfa
lea eax, [esi + 0xac]
push eax
push dword [0x4ce100]
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [edi - 8]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov dword [ebp + 0x10], eax
push dword [0x4ce100]
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [edi]
mov edx, dword [edi + 4]
test ecx, ecx
jle 0x42cc52
test edx, edx
jle 0x42cc52
mov eax, dword [0x49c494]
lea ebx, [edx + eax]
sub edx, eax
push ebx
lea ebx, [ecx + eax]
push ebx
sub ecx, eax
push edx
push ecx
push dword [0x4ce100]
call dword [sym.imp.GDI32.dll_Ellipse]
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
push dword [0x4ce100]
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [ebp + 0x10]
call ebx
add edi, 0x10
dec dword [ebp + 8]
jne 0x42cb7c
xor eax, eax
push 0xcc0020
push eax
push eax
push dword [0x4ce100]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push eax
push eax
push dword [ebp + 0x18]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x20]
call ebx
lea eax, [ebp - 0x88]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_EndPaint]
push dword [ebp + 0x18]
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [0x4ce104]
call ebx
push dword [ebp - 0x1c]
call ebx
jmp 0x42cac5
push dword [0x4ce100]
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x42ccf1
mov eax, dword [ebp + 8]
push 0xa
add eax, 4
pop ecx
or dword [eax + 4], 0xffffffff
and dword [eax], 0
or dword [eax + 8], 0xffffffff
or dword [eax + 0xc], 0xffffffff
add eax, 0x10
dec ecx
jne 0x42ccdc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x14