Function at 0x100a9e20
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 + 0xc], ecx
jne 0x100a9e3d
pop edi
xor eax, eax
pop esi
add esp, 0x20
ret 4
mov eax, dword [0x102acd68]
mov dword [esp + 0x2c], edi
cmp eax, edi
mov dword [esp + 8], edi
je 0x100a9e68
push esi
push str.CreateTmpTIMWnd_1___x_
push 0x101f8e98
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10140e70
add esp, 0x14
push ebp
push edi
call dword [sym.imp.USER32.dll_GetDC]
mov ebp, eax
mov eax, dword [0x102acd68]
cmp eax, edi
mov dword [esp + 0x18], ebp
je 0x100a9e99
push ebp
push str.CreateTmpTIMWnd_2___x_
push 0x101f8e98
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10140e70
add esp, 0x14
cmp ebp, edi
je 0x100aa0d9
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 0x100a9eee
push ebx
push str.CreateTmpTIMWnd_3___x_
push 0x101f8e98
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10140e70
add esp, 0x14
test ebx, ebx
je 0x100aa0b2
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 0x100a9f3f
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.CreateTmpTIMWnd_4___x____d__d__d__d_
push 0x101f8e98
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10140e70
mov eax, dword [esp + 0x3c]
add esp, 0x24
test eax, eax
je 0x100aa0ab
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push 0x40cc0020
push eax
push ecx
push ebp
mov ebp, dword [sym.imp.GDI32.dll_BitBlt]
push edi
push esi
push 0
push 0
push ebx
call ebp
mov edx, dword [esp + 0x14]
push 4
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [0x102a91ac]
test eax, eax
jne 0x100a9fec
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 [0x102a91ac], eax
test ecx, ecx
je 0x100a9fe4
push eax
push str.CreateTmpTIMWnd_5___x_
push 0x101f8e98
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10140e70
mov eax, dword [0x102a91ac]
add esp, 0x14
test eax, eax
je 0x100aa09c
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push 0x10
push edi
push esi
push ecx
push edx
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [0x102a91ac]
push 4
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x102a91ac]
push ecx
call dword [sym.imp.USER32.dll_GetWindowDC]
mov ecx, dword [0x102acd68]
mov dword [esp + 0x34], eax
test ecx, ecx
je 0x100aa04a
push eax
push str.CreateTmpTIMWnd_6___x_
push 0x101f8e98
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10140e70
mov eax, dword [esp + 0x48]
add esp, 0x14
test eax, eax
je 0x100aa09c
push 0xcc0020
push 0
push 0
push ebx
push edi
push esi
push 0
push 0
push eax
call ebp
mov ecx, dword [esp + 0x14]
push ebx
mov esi, eax
call fcn.100aa410
test eax, eax
je 0x100aa09c
mov eax, dword [0x102acd68]
mov dword [esp + 0x10], 1
test eax, eax
je 0x100aa09c
push esi
push str.CreateTmpTIMWnd_7___x_
push 0x101f8e98
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10140e70
add esp, 0x14
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebp, dword [esp + 0x1c]
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
push 0
call esi
mov eax, dword [esp + 0x34]
pop ebx
test eax, eax
je 0x100aa0cf
push eax
mov eax, dword [0x102a91ac]
push eax
call esi
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x100aa0ec
xor edi, edi
mov ecx, dword [0x102a91ac]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [0x102a91ac], edi
mov eax, dword [esp + 0xc]
pop ebp
pop edi
pop esi
add esp, 0x20
ret 4