Function at 0x10069c20
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 0x10069c3d
pop edi
xor eax, eax
pop esi
add esp, 0x20
ret 4
mov eax, dword [0x102acd68]
mov dword [esp + 8], edi
cmp eax, edi
mov dword [esp + 0xc], edi
je 0x10069c68
push esi
push str.CreateTmpLineWnd_1___x_
push str.line
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10140e70
add esp, 0x14
push ebp
push esi
call dword [sym.imp.USER32.dll_GetWindowDC]
mov ebp, eax
mov eax, dword [0x102acd68]
cmp eax, edi
je 0x10069c95
push ebp
push str.CreateTmpLineWnd_2___x_
push str.line
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10140e70
add esp, 0x14
cmp ebp, edi
je 0x10069ec1
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 [0x102acd68]
test eax, eax
je 0x10069cea
push ebx
push str.CreateTmpLineWnd_3___x_
push str.line
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10140e70
add esp, 0x14
test ebx, ebx
je 0x10069e97
push edi
push esi
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [0x102acd68]
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x10069d3b
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 0x102ac4d4
call fcn.10140e70
mov eax, dword [esp + 0x3c]
add esp, 0x24
test eax, eax
je 0x10069e90
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 [0x102a8e4c]
test eax, eax
jne 0x10069de0
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 [0x102acd68]
mov dword [0x102a8e4c], eax
test ecx, ecx
je 0x10069dd8
push eax
push str.CreateTmpLineWnd_5___x_
push str.line
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10140e70
mov eax, dword [0x102a8e4c]
add esp, 0x14
test eax, eax
je 0x10069e85
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 [0x102a8e4c]
push 4
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x102a8e4c]
push eax
call dword [sym.imp.USER32.dll_GetWindowDC]
mov ecx, dword [0x102acd68]
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x10069e3e
push eax
push str.CreateTmpLineWnd_6___x_
push str.line
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10140e70
mov eax, dword [esp + 0x24]
add esp, 0x14
test eax, eax
je 0x10069e85
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 [0x102acd68]
mov dword [esp + 0x14], 1
test ecx, ecx
je 0x10069e85
push eax
push str.CreateTmpLineWnd_7___x_
push str.line
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10140e70
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 0x10069eb7
push eax
mov eax, dword [0x102a8e4c]
push eax
call esi
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x10069ed4
xor edi, edi
mov ecx, dword [0x102a8e4c]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [0x102a8e4c], edi
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
add esp, 0x20
ret 4