Function at 0x410d4d
Capabilities:
Capture screenshot

Disassembly:
push 0x50
mov eax, 0x57e2be
call fcn.00552ddc
mov edi, ecx
mov dword [ebp - 0x38], edi
mov eax, dword [ebp + 8]
lea esi, [edi + 0xf8]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esi
test esi, esi
je 0x410d7e
cmp dword [esi + 4], 0
je 0x410d7e
mov ecx, esi
call fcn.0042c4d5
mov ecx, edi
call fcn.00410bda
mov ecx, eax
xor ebx, ebx
mov dword [ebp - 0x3c], ecx
test ecx, ecx
je 0x410f52
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x410f48
cmp eax, edi
je 0x410f48
lea ecx, [ebp - 0x24]
xorps xmm0, xmm0
push ecx
push dword [eax + 0x20]
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, ebx
test edi, edi
je 0x410dc4
mov eax, dword [edi + 0x20]
push 2
lea ecx, [ebp - 0x24]
push ecx
push eax
mov eax, dword [ebp - 0x30]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_MapWindowPoints]
lea ecx, [ebp - 0x5c]
call fcn.0042ba64
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], ebx
call fcn.0042ba64
mov byte [ebp - 4], 1
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.0042c651
test eax, eax
jne 0x410e05
mov eax, ebx
jmp 0x410e08
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0042c385
test eax, eax
je 0x410f36
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.0042c651
test eax, eax
jne 0x410e37
mov eax, ebx
jmp 0x410e3a
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [ebp - 0x4c]
call fcn.0042c385
test eax, eax
je 0x410f36
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], vtable.CBitmap.0
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 2
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
push dword [eax + 0x20]
sub edi, dword [ebp - 0x20]
sub esi, dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.0042c651
push edi
push esi
push dword [eax + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0042c3c6
test eax, eax
je 0x410f14
mov eax, dword [ebp - 0x3c]
push dword [eax + 4]
push dword [ebp - 0x58]
call fcn.0042ca6c
push dword [ebp - 0x28]
mov edi, eax
push dword [ebp - 0x48]
call fcn.0042ca6c
mov edx, dword [ebp - 0x18]
mov esi, eax
sub edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x24]
push 0xcc0020
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x58]
push edx
push ecx
push ebx
push ebx
push dword [ebp - 0x48]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, ebx
test edi, edi
je 0x410ee3
mov eax, dword [edi + 4]
push eax
push dword [ebp - 0x58]
call fcn.0042ca6c
mov eax, ebx
test esi, esi
je 0x410ef5
mov eax, dword [esi + 4]
push eax
push dword [ebp - 0x48]
call fcn.0042ca6c
push dword [ebp - 0x28]
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
mov esi, dword [ebp - 0x34]
mov ecx, esi
push eax
call fcn.0042c3c6
jmp 0x410f17
mov esi, dword [ebp - 0x34]
lea ecx, [ebp - 0x5c]
call fcn.0042c4bf
lea ecx, [ebp - 0x4c]
call fcn.0042c4bf
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], vtable.CBitmap.0
call fcn.0041082d
lea ecx, [ebp - 0x4c]
call fcn.0042bbba
lea ecx, [ebp - 0x5c]
call fcn.0042bbba
jmp 0x410f66
push ecx
mov ecx, esi
call fcn.00411069
jmp 0x410f66
push dword [edi + 0xe8]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, esi
call fcn.0042c3c6
test esi, esi
je 0x410f6d
mov ebx, dword [esi + 4]
mov eax, ebx
call fcn.00552d86
ret 4