Function at 0x416c80
Capabilities:
Capture screenshot
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
push esi
mov esi, dword [ebp + 8]
push 0xfffffffffffffff0
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x800000
mov dword [ebp - 0xc], eax
je 0x417072
push ebx
push edi
lea eax, [ebp - 0x28]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x24]
neg eax
push eax
mov eax, dword [ebp - 0x28]
neg eax
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebp - 0x20]
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
call fcn.0044d2ff
push dword [0x4abad0]
call fcn.0044d325
test byte [ebp - 9], 0x40
pop ecx
pop ecx
je 0x416dce
call fcn.0042f2c8
test eax, eax
jne 0x416d06
push dword [0x4ac344]
call fcn.0042f2ec
pop ecx
push 5
call fcn.0042f2d4
pop ecx
push eax
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_SetBkColor]
mov esi, dword [sym.imp.USER32.dll_SetRect]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x24]
lea ecx, [eax + 1]
push ecx
push dword [ebp - 0x20]
push eax
push dword [ebp - 0x28]
lea eax, [ebp - 0x38]
push eax
call esi
mov edi, dword [sym.imp.GDI32.dll_ExtTextOutA]
xor ebx, ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x38]
push eax
push 2
push ebx
push ebx
push dword [ebp + 0xc]
call edi
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
dec eax
push eax
mov eax, dword [ebp - 0x20]
push eax
inc ecx
push ecx
dec eax
push eax
lea eax, [ebp - 0x38]
push eax
call esi
push ebx
push ebx
push ebx
lea eax, [ebp - 0x38]
push eax
push 2
push ebx
push ebx
push dword [ebp + 0xc]
call edi
mov eax, dword [ebp - 0x1c]
push eax
push dword [ebp - 0x20]
dec eax
push eax
push dword [ebp - 0x28]
lea eax, [ebp - 0x38]
push eax
call esi
push ebx
push ebx
push ebx
lea eax, [ebp - 0x38]
push eax
push 2
push ebx
push ebx
push dword [ebp + 0xc]
call edi
mov eax, dword [ebp - 0x1c]
dec eax
push eax
mov eax, dword [ebp - 0x28]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp - 0x24]
inc ecx
push ecx
push eax
lea eax, [ebp - 0x38]
push eax
call esi
push ebx
push ebx
push ebx
lea eax, [ebp - 0x38]
push eax
push 2
push ebx
push ebx
push dword [ebp + 0xc]
call edi
push dword [ebp - 0x18]
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_SetBkColor]
jmp 0x417070
xor ebx, ebx
test byte [ebp - 0xa], 0xc0
je 0x416e7d
push 0x80
lea eax, [ebp - 0xb8]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x14]
cmp eax, 1
mov dword [ebp - 0xc], eax
jne 0x416e26
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x416e23
movzx ecx, word [eax + 4]
movzx eax, word [eax]
shl ecx, 0x10
or ecx, eax
push ecx
push ebx
push 0x84
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0x14
je 0x416e26
mov dword [ebp - 0xc], ebx
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi]
jne 0x416e35
xor esi, esi
inc esi
jmp 0x416e42
xor eax, eax
cmp byte [0x49bcb2], bl
sete al
mov esi, eax
push dword [ebp - 0x14]
lea eax, [ebp - 0xb8]
push esi
push dword [ebp - 0x18]
push eax
push dword [0x4ab9cc]
push dword [ebp + 0xc]
call fcn.004168d2
mov ecx, dword [ebp - 0xc]
add esp, 0x18
cmp ecx, ebx
je 0x416e7d
push esi
push dword [0x4ab9cc]
lea eax, [ebp - 0x28]
push dword [ebp + 0xc]
call fcn.0041687e
add esp, 0xc
lea eax, [edi - 0x3a]
push 0x1d
cdq
pop ecx
idiv ecx
mov esi, dword [sym.imp.GDI32.dll_BitBlt]
mov dword [ebp - 4], 0x14
mov edi, 0xcc0020
cmp eax, ebx
mov dword [ebp - 8], edx
jle 0x416ee4
mov dword [ebp - 0xc], eax
push edi
push 0x2a
push 0x7f
push dword [0x4ab9cc]
push 0x1d
push 0xb
push dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
call esi
mov eax, dword [ebp - 0x14]
push edi
push 0x2a
push 0x8b
push dword [0x4ab9cc]
add eax, 0xfffffff8
push 0x1d
push 8
push dword [ebp - 4]
push eax
push dword [ebp + 0xc]
call esi
add dword [ebp - 4], 0x1d
dec dword [ebp - 0xc]
jne 0x416ea2
cmp dword [ebp - 8], ebx
je 0x416f2a
push edi
push 0x2a
push 0x7f
push dword [0x4ab9cc]
push dword [ebp - 8]
push 0xb
push dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
call esi
mov eax, dword [ebp - 0x14]
push edi
push 0x2a
push 0x8b
push dword [0x4ab9cc]
add eax, 0xfffffff8
push dword [ebp - 8]
push 8
push dword [ebp - 4]
push eax
push dword [ebp + 0xc]
call esi
mov eax, dword [ebp - 8]
add dword [ebp - 4], eax
push edi
push 0x2a
push 0x9e
push dword [0x4ab9cc]
push 0x18
push 0xb
push dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
call esi
mov eax, dword [ebp - 0x14]
push edi
push 0x2a
push 0xaa
push dword [0x4ab9cc]
add eax, 0xfffffff8
push 0x18
push 8
push dword [ebp - 4]
push eax
push dword [ebp + 0xc]
call esi
mov eax, dword [ebp - 0x14]
add dword [ebp - 4], 0x18
cmp eax, 0xfa
jge 0x416f7e
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x10], eax
jmp 0x416f88
mov dword [ebp - 0x10], 0x7d
mov eax, dword [ebp - 0x10]
push edi
push 0x2a
push ebx
push dword [0x4ab9cc]
push 0xe
push eax
push dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
call esi
mov eax, dword [ebp - 0x14]
add eax, 0xffffff06
push 0x19
cdq
pop ecx
idiv ecx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 8], ecx
cmp eax, ebx
mov dword [ebp - 0xc], edx
jle 0x416fdf
mov dword [ebp - 0x18], eax
push edi
push 0x48
push 0x7f
push dword [0x4ab9cc]
push 0xe
push 0x19
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp + 0xc]
call esi
add dword [ebp - 8], 0x19
dec dword [ebp - 0x18]
jne 0x416fbc
cmp dword [ebp - 0xc], ebx
jle 0x417005
push edi
push 0x48
push 0x7f
push dword [0x4ab9cc]
push 0xe
push dword [ebp - 0xc]
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp + 0xc]
call esi
mov eax, dword [ebp - 0xc]
add dword [ebp - 8], eax
cmp dword [ebp - 0x10], 0x7d
jge 0x41701b
mov eax, dword [ebp - 0x14]
push 2
cdq
pop ecx
idiv ecx
test edx, edx
je 0x41701b
inc dword [ebp - 0x10]
push edi
push 0x39
push 0x7d
pop eax
sub eax, dword [ebp - 0x10]
push eax
push dword [0x4ab9cc]
push 0xe
push dword [ebp - 0x10]
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp + 0xc]
call esi
mov eax, dword [ebp + 8]
test dword [eax + 0x1c], 1
je 0x417069
mov eax, dword [ebp - 4]
push edi
push 0x48
push 0x76
push dword [0x4ab9cc]
add eax, 2
push 7
push 7
push eax
mov eax, dword [ebp - 8]
add eax, 0x70
push eax
push dword [ebp + 0xc]
call esi
push ebx
call fcn.0044d325
pop ecx
pop edi
pop ebx
pop esi
leave
ret