Function at 0x100aa290
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 0x100aa2ad
pop edi
xor eax, eax
pop esi
add esp, 0x20
ret 4
mov eax, dword [0x10274670]
mov dword [esp + 0x2c], edi
cmp eax, edi
mov dword [esp + 8], edi
je 0x100aa2d8
push esi
push str.CreateTmpTIMWnd_1___x_
push 0x101c2ea4
push 0xffffffffffffffff
push 0x10273ddc
call fcn.10119f10
add esp, 0x14
push ebp
push edi
call dword [sym.imp.USER32.dll_GetDC]
mov ebp, eax
mov eax, dword [0x10274670]
cmp eax, edi
mov dword [esp + 0x18], ebp
je 0x100aa309
push ebp
push str.CreateTmpTIMWnd_2___x_
push 0x101c2ea4
push 0xffffffffffffffff
push 0x10273ddc
call fcn.10119f10
add esp, 0x14
cmp ebp, edi
je 0x100aa549
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 [0x10274670]
test eax, eax
je 0x100aa35e
push ebx
push str.CreateTmpTIMWnd_3___x_
push 0x101c2ea4
push 0xffffffffffffffff
push 0x10273ddc
call fcn.10119f10
add esp, 0x14
test ebx, ebx
je 0x100aa522
push edi
push esi
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [0x10274670]
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x100aa3af
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 0x101c2ea4
push 0xffffffffffffffff
push 0x10273ddc
call fcn.10119f10
mov eax, dword [esp + 0x3c]
add esp, 0x24
test eax, eax
je 0x100aa51b
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 [0x10270da4]
test eax, eax
jne 0x100aa45c
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 [0x10274670]
mov dword [0x10270da4], eax
test ecx, ecx
je 0x100aa454
push eax
push str.CreateTmpTIMWnd_5___x_
push 0x101c2ea4
push 0xffffffffffffffff
push 0x10273ddc
call fcn.10119f10
mov eax, dword [0x10270da4]
add esp, 0x14
test eax, eax
je 0x100aa50c
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 [0x10270da4]
push 4
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x10270da4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowDC]
mov ecx, dword [0x10274670]
mov dword [esp + 0x34], eax
test ecx, ecx
je 0x100aa4ba
push eax
push str.CreateTmpTIMWnd_6___x_
push 0x101c2ea4
push 0xffffffffffffffff
push 0x10273ddc
call fcn.10119f10
mov eax, dword [esp + 0x48]
add esp, 0x14
test eax, eax
je 0x100aa50c
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.100aa890
test eax, eax
je 0x100aa50c
mov eax, dword [0x10274670]
mov dword [esp + 0x10], 1
test eax, eax
je 0x100aa50c
push esi
push str.CreateTmpTIMWnd_7___x_
push 0x101c2ea4
push 0xffffffffffffffff
push 0x10273ddc
call fcn.10119f10
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 0x100aa53f
push eax
mov eax, dword [0x10270da4]
push eax
call esi
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x100aa55c
xor edi, edi
mov ecx, dword [0x10270da4]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [0x10270da4], edi
mov eax, dword [esp + 0xc]
pop ebp
pop edi
pop esi
add esp, 0x20
ret 4