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

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, dword [esp + 0x38]
push edi
push esi
call dword [sym.imp.USER32.dll_GetWindowDC]
mov edi, dword [esp + 0x40]
mov ebp, eax
neg edi
sbb edi, edi
push ebp
and edi, 0xffffffeb
add edi, 0x15
call fcn.0040ec40
mov eax, dword [0x451144]
push eax
call fcn.0040cb70
add esp, 8
lea ecx, [esp + 0x18]
push 0x1f
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 0x18]
mov byte [esp + 0x37], 0
push edx
call fcn.00411a30
lea ecx, [eax + 0x18]
mov dword [esp + 0x18], eax
mov eax, ecx
mov esi, 0x19
cdq
idiv esi
mov eax, dword [esp + 0x48]
add esp, 4
add eax, 0xffffff9c
sub ecx, edx
cmp ecx, eax
mov dword [esp + 0x40], ecx
jle 0x41182c
mov dword [esp + 0x40], eax
mov ecx, dword [0x4512ac]
push 0xcc0020
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
push edi
push 0
push ecx
push 0x14
push 0x19
push 0
push 0
push ebp
call ebx
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
sub eax, edx
mov esi, 0x19
sub eax, 0x64
mov ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, edx
test eax, eax
mov dword [esp + 0x44], eax
je 0x4118d5
test al, 1
je 0x4118a1
mov ecx, dword [0x4512ac]
push 0xcc0020
push edi
push 0x68
push ecx
push 0x14
push 0xc
push 0
push esi
push ebp
call ebx
mov eax, dword [esp + 0x44]
mov esi, 0x25
cdq
sub eax, edx
sar eax, 1
test eax, eax
jle 0x4118d5
mov dword [esp + 0x10], eax
mov edx, dword [0x4512ac]
push 0xcc0020
push edi
push 0x68
push edx
push 0x14
push 0x19
push 0
push esi
push ebp
call ebx
mov eax, dword [esp + 0x10]
add esi, 0x19
dec eax
mov dword [esp + 0x10], eax
jne 0x4118ae
mov eax, dword [0x4512ac]
push 0xcc0020
push edi
push 0x1a
push eax
push 0x14
push 0x19
push 0
push esi
push ebp
call ebx
mov eax, 0x51eb851f
add esi, 0x19
imul dword [esp + 0x40]
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, edx
je 0x411974
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x14]
sub eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x14]
sar eax, 1
add eax, esi
cmp dword [esp + 0x40], edx
mov dword [esp + 0x10], eax
je 0x41192b
inc eax
mov dword [esp + 0x10], eax
test ecx, ecx
jle 0x41195d
mov dword [esp + 0x14], ecx
mov eax, dword [0x4512ac]
push 0xcc0020
push edi
push 0x34
push eax
push 0x14
push 0x19
push 0
push esi
push ebp
call ebx
mov eax, dword [esp + 0x14]
add esi, 0x19
dec eax
mov dword [esp + 0x14], eax
jne 0x411933
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x40]
push edi
lea edx, [esp + 0x1c]
push ecx
push edx
push 4
push eax
push ebp
call fcn.00411a80
add esp, 0x18
mov eax, dword [0x4512ac]
push 0xcc0020
push edi
push 0x4e
push eax
push 0x14
push 0x19
push 0
push esi
push ebp
call ebx
mov eax, dword [esp + 0x44]
add esi, 0x19
test eax, eax
je 0x4119ef
test al, 1
je 0x4119bb
mov ecx, dword [0x4512ac]
push 0xcc0020
push edi
push 0x68
push ecx
push 0x14
push 0xd
push 0
push esi
push ebp
call ebx
mov eax, dword [esp + 0x44]
add esi, 0xd
cdq
sub eax, edx
sar eax, 1
test eax, eax
jle 0x4119ef
mov dword [esp + 0x44], eax
mov edx, dword [0x4512ac]
push 0xcc0020
push edi
push 0x68
push edx
push 0x14
push 0x19
push 0
push esi
push ebp
call ebx
mov eax, dword [esp + 0x44]
add esi, 0x19
dec eax
mov dword [esp + 0x44], eax
jne 0x4119c8
mov eax, dword [0x4512ac]
push 0xcc0020
push edi
push 0x82
push eax
push 0x14
push 0x19
push 0
push esi
push ebp
call ebx
push 0
call fcn.0040cb70
mov ecx, dword [esp + 0x40]
add esp, 4
push ebp
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret