Function at 0x1006a960
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x20
push esi
mov esi, dword [esp + 0x28]
push edi
xor edi, edi
cmp esi, edi
mov dword [esp + 0x14], ecx
jne 0x1006a97d
pop edi
xor eax, eax
pop esi
add esp, 0x20
ret 4
mov eax, dword [0x102cb7c8]
mov dword [esp + 8], edi
cmp eax, edi
mov dword [esp + 0xc], edi
je 0x1006a9a8
push esi
push str.CreateTmpLineWnd_1___x_
push str.line
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
add esp, 0x14
push ebp
push esi
call dword [sym.imp.USER32.dll_GetWindowDC]
mov ebp, eax
mov eax, dword [0x102cb7c8]
cmp eax, edi
je 0x1006a9d5
push ebp
push str.CreateTmpLineWnd_2___x_
push str.line
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
add esp, 0x14
cmp ebp, edi
je 0x1006ac01
lea eax, [esp + 0x1c]
push ebx
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub esi, edi
mov edi, dword [esp + 0x2c]
push ebp
sub edi, edx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
mov eax, dword [0x102cb7c8]
test eax, eax
je 0x1006aa2a
push ebx
push str.CreateTmpLineWnd_3___x_
push str.line
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
add esp, 0x14
test ebx, ebx
je 0x1006abd7
push edi
push esi
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [0x102cb7c8]
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x1006aa7b
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x28]
push ecx
push edx
push eax
push str.CreateTmpLineWnd_4___x____d__d__d__d_
push str.line
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
mov eax, dword [esp + 0x3c]
add esp, 0x24
test eax, eax
je 0x1006abd0
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push 0
push 0
push ebp
push edi
push esi
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x1c]
push 4
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [0x102c787c]
test eax, eax
jne 0x1006ab20
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push SysReAllocString
push str.Tec_TmpIMWnd
push str.32770
push 0x8000008
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [0x102cb7c8]
mov dword [0x102c787c], eax
test ecx, ecx
je 0x1006ab18
push eax
push str.CreateTmpLineWnd_5___x_
push str.line
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
mov eax, dword [0x102c787c]
add esp, 0x14
test eax, eax
je 0x1006abc5
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push 0x10
push edi
push esi
push edx
push ecx
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [0x102c787c]
push 4
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x102c787c]
push eax
call dword [sym.imp.USER32.dll_GetWindowDC]
mov ecx, dword [0x102cb7c8]
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x1006ab7e
push eax
push str.CreateTmpLineWnd_6___x_
push str.line
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
mov eax, dword [esp + 0x24]
add esp, 0x14
test eax, eax
je 0x1006abc5
push 0xcc0020
push 0
push 0
push ebx
push edi
push esi
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [0x102cb7c8]
mov dword [esp + 0x14], 1
test ecx, ecx
je 0x1006abc5
push eax
push str.CreateTmpLineWnd_7___x_
push str.line
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
add esp, 0x14
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esp + 0x34]
mov esi, dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
push edx
call esi
mov eax, dword [esp + 0x10]
pop ebx
test eax, eax
je 0x1006abf7
push eax
mov eax, dword [0x102c787c]
push eax
call esi
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x1006ac14
xor edi, edi
mov ecx, dword [0x102c787c]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [0x102c787c], edi
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
add esp, 0x20
ret 4