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

Disassembly:
push 0xffffffffffffffff
push 0x4731a8
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x48dd78]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48dd78]
xor eax, esp
push eax
lea eax, [esp + 0x268]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 4]
push eax
mov dword [esp + 0x274], 0
call dword [sym.imp.USER32.dll_GetParent]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetWindowDC]
mov edx, dword [esi + 4]
mov ebp, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x18]
push ecx
push edx
mov ebx, eax
call ebp
lea eax, [esp + 0x3c]
push eax
push edi
call ebp
mov ecx, dword [esp + 0x18]
sub ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x1c]
sub edx, dword [esp + 0x40]
lea eax, [esp + 0x18]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + 4]
push eax
push ecx
mov dword [esp + 0x48], edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov al, byte [esi + 0x24]
mov edx, dword [esi + 0x4c]
and al, 1
lea edi, [esi + 0x4c]
mov byte [esp + 0x17], al
mov eax, dword [edx - 8]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], eax
test eax, eax
jne 0x41ca77
push 0x206
push eax
lea ecx, [esp + 0x66]
push ecx
mov word [esp + 0x68], ax
call fcn.0043e9f0
mov eax, dword [esi + 4]
add esp, 0xc
push 0x104
lea edx, [esp + 0x60]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [esp + 0x5c]
push ecx
mov ecx, edi
mov dword [esp + 0x34], eax
call fcn.00405030
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
sub edi, dword [esp + 0x18]
sub ebp, dword [esp + 0x1c]
cmp dword [esi + 0x58], 0
jne 0x41cb1a
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebx
mov dword [esi + 0x58], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebp
push edi
push ebx
mov dword [esi + 0x5c], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push ebp
push edi
push ebx
mov dword [esp + 0x44], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x58]
push edx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x28]
mov edx, dword [esi + 0x5c]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esi + 0x58]
push 0xcc0020
push eax
push ecx
push ebx
push ebp
push edi
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x5c]
push 0xcc0020
push 0
push 0
push eax
push ebp
push edi
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esi + 4]
push ebx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x41cc5f
mov eax, dword [ecx]
mov eax, dword [eax + 4]
lea edx, [esp + 0x28]
push edx
call eax
mov eax, dword [esp + 0x28]
cdq
idiv dword [esi + 0x60]
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x2c]
push edx
xor ebx, ebx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x41cb93
cmp dword [esi + 0x60], 4
jne 0x41cb7a
mov eax, dword [esp + 0x28]
cdq
and edx, 3
add eax, edx
sar eax, 2
lea ebx, [eax + eax*2]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x5c]
push 0xcc0020
push 0
push 0
push eax
push ebp
push edi
push 0
push 0
push ecx
jmp 0x41cbde
mov eax, dword [esi + 0x44]
test al, 4
je 0x41cbb5
mov eax, dword [esp + 0x28]
cdq
idiv dword [esi + 0x60]
lea ebx, [eax + eax]
mov dword [esp + 0x54], eax
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
jmp 0x41cbe4
cmp byte [esp + 0x17], bl
jne 0x41cc94
test al, 2
jne 0x41cc9c
mov edx, dword [esi + 0x58]
mov eax, dword [esi + 0x5c]
push 0xcc0020
push 0
push 0
push edx
push ebp
push edi
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esi + 0x48]
mov edi, dword [ecx]
push 0
xor edx, edx
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x68]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x6c]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x2c]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x40]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x44]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x48]
mov dword [eax + 0xc], edx
mov eax, dword [esi + 0x5c]
mov edx, dword [edi + 0x18]
push eax
call edx
mov eax, dword [esi + 0x5c]
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
sub edx, dword [esp + 0x18]
push 0xcc0020
push 0
push 0
push eax
mov eax, dword [esp + 0x288]
push ecx
push edx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ebx, dword [esp + 0x30]
test ebx, ebx
je 0x41cd19
mov eax, dword [esi + 0x50]
test eax, eax
jne 0x41ccaf
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push 0
push 0
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esp + 0x278]
push eax
push edx
jmp 0x41ccb8
test al, 1
je 0x41cbc7
mov eax, dword [esp + 0x28]
cdq
idiv dword [esi + 0x60]
mov ebx, eax
mov dword [esp + 0x54], ebx
jmp 0x41cbe4
push eax
mov eax, dword [esp + 0x27c]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x278]
push 1
push ecx
mov edi, eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov esi, dword [esi + 0x54]
test esi, esi
je 0x41cce6
mov edx, dword [esp + 0x278]
push esi
push edx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx]
push 0xa5
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x280]
push ebx
push edx
push eax
call dword [sym.imp.USER32.dll_DrawTextW]
test edi, edi
je 0x41cd19
mov ecx, dword [esp + 0x278]
push edi
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x268]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.0043e9e1
add esp, 0x260
ret 4