Function at 0x41ddc4
Capabilities:
Capture screenshot

Disassembly:
mov eax, 0x5385db
call fcn.004f8378
sub esp, 0x90
push ebx
push esi
lea eax, [ebp - 0x2c]
push edi
mov ebx, ecx
push eax
call fcn.0041b8ca
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
sub eax, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x2c]
xor esi, esi
push eax
push ecx
push esi
lea eax, [ebp - 0x5c]
push esi
push eax
call dword [sym.imp.USER32.dll_SetRect]
lea eax, [ebp - 0x3c]
mov ecx, ebx
push eax
push dword [ebp + 0xc]
call fcn.0041b40e
push ebx
lea ecx, [ebp - 0x9c]
call fcn.0051b689
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], esi
call fcn.0051ad38
lea eax, [ebp - 0x9c]
mov byte [ebp - 4], 1
neg eax
sbb eax, eax
and eax, dword [ebp - 0x98]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0051adef
lea ecx, [ebp - 0x64]
call fcn.00404c2a
mov edi, 0x54da50
mov dword [ebp - 0x64], edi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.00404c2a
mov dword [ebp - 0x44], edi
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x54]
sub eax, dword [ebp - 0x38]
sub ecx, dword [ebp - 0x5c]
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov byte [ebp - 4], 3
shl eax, 1
sub eax, dword [ebp - 0x58]
add eax, dword [ebp - 0x50]
push eax
push ecx
push dword [ebp - 0x98]
call edi
push eax
lea ecx, [ebp - 0x64]
call fcn.0051b931
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x54]
sub eax, dword [ebp - 0x38]
sub ecx, dword [ebp - 0x5c]
shl eax, 1
sub eax, dword [ebp - 0x58]
add eax, dword [ebp - 0x50]
push eax
push ecx
push dword [ebp - 0x98]
call edi
push eax
lea ecx, [ebp - 0x44]
call fcn.0051b931
push dword [ebp + 8]
mov ecx, ebx
call fcn.0041e531
push dword [ebp + 0xc]
mov ecx, ebx
mov edi, eax
call fcn.0041e531
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x64]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x60]
push eax
push dword [ebp - 0x18]
call fcn.0051af30
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 8]
cmp dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x30]
jle 0x41e094
sub eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x50]
push dword [ebx + 0x3c]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00527a55
cmp edi, esi
je 0x41df67
push 5
mov ecx, edi
call fcn.00517bf5
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x1c]
neg eax
sbb eax, eax
push esi
and eax, dword [ebp - 0x18]
push eax
push 0x14
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x1c]
push esi
neg eax
sbb eax, eax
and eax, dword [ebp - 0x18]
push eax
push 0xf
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp - 0x48], esi
jne 0x41df83
push esi
mov ecx, edi
call fcn.00517bf5
jmp 0x41df83
sub esp, 0x10
lea esi, [ebp - 0x5c]
mov edi, esp
lea eax, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
push dword [ebp + 8]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call fcn.0041cbd0
xor esi, esi
lea eax, [ebp - 0x44]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x40]
push eax
push dword [ebp - 0x18]
call fcn.0051af30
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
sub eax, dword [ebp - 0x38]
sub ecx, dword [ebp - 0x3c]
mov edi, dword [sym.imp.USER32.dll_SetRect]
push eax
push ecx
push esi
lea eax, [ebp - 0x3c]
push esi
push eax
call edi
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x38]
sub edx, dword [ebp - 0x2c]
lea eax, [ecx + ecx]
sub eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x20]
push eax
push edx
push ecx
lea eax, [ebp - 0x5c]
push esi
push eax
call edi
push dword [ebx + 0x3c]
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x1c]
push eax
call fcn.00527a55
mov edi, dword [ebp - 0x78]
cmp edi, esi
je 0x41e058
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x1c]
sub eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x7c]
push esi
push eax
mov eax, dword [ebp - 0x1c]
call dword [eax + 0x38]
push 5
mov ecx, edi
call fcn.00517bf5
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x1c]
neg eax
sbb eax, eax
push esi
and eax, dword [ebp - 0x18]
push eax
push 0x14
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x1c]
push esi
neg eax
sbb eax, eax
and eax, dword [ebp - 0x18]
push eax
push 0xf
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp - 0x48], esi
jne 0x41e043
push esi
mov ecx, edi
call fcn.00517bf5
push dword [ebp - 0x78]
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x1c]
call dword [eax + 0x38]
jmp 0x41e074
sub esp, 0x10
lea esi, [ebp - 0x5c]
mov edi, esp
lea eax, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
push dword [ebp + 0xc]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call fcn.0041cbd0
xor esi, esi
push esi
lea esi, [ebp - 0x3c]
sub esp, 0x10
lea eax, [ebp - 0x1c]
mov edi, esp
mov ecx, ebx
movsd dword es:[edi], dword [esi]
push dword [ebp + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call fcn.0041b56d
jmp 0x41e229
mov ecx, dword [ebp - 0x34]
sub eax, dword [ebp - 0x38]
sub ecx, dword [ebp - 0x3c]
push eax
lea eax, [ebp - 0x3c]
push ecx
push esi
push esi
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x50]
sub eax, dword [ebp - 0x38]
push dword [ebx + 0x3c]
add dword [ebp - 0x58], eax
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00527a55
cmp edi, esi
je 0x41e141
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x1c]
sub eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x6c]
push esi
push eax
mov eax, dword [ebp - 0x1c]
call dword [eax + 0x38]
push 5
mov ecx, edi
call fcn.00517bf5
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x1c]
neg eax
sbb eax, eax
push esi
and eax, dword [ebp - 0x18]
push eax
push 0x14
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x1c]
push esi
neg eax
sbb eax, eax
and eax, dword [ebp - 0x18]
push eax
push 0xf
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp - 0x48], esi
jne 0x41e12c
push esi
mov ecx, edi
call fcn.00517bf5
push dword [ebp - 0x68]
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0x1c]
call dword [eax + 0x38]
jmp 0x41e15d
sub esp, 0x10
lea esi, [ebp - 0x5c]
mov edi, esp
lea eax, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
push dword [ebp + 8]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call fcn.0041cbd0
xor esi, esi
push esi
lea esi, [ebp - 0x3c]
sub esp, 0x10
lea eax, [ebp - 0x1c]
mov edi, esp
mov ecx, ebx
movsd dword es:[edi], dword [esi]
push dword [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call fcn.0041b56d
lea eax, [ebp - 0x44]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x40]
push eax
push dword [ebp - 0x18]
call fcn.0051af30
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x24]
sub eax, dword [ebp - 0x38]
sub ecx, dword [ebp - 0x2c]
xor edi, edi
shl eax, 1
sub eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x20]
push eax
push ecx
push edi
lea eax, [ebp - 0x5c]
push edi
push eax
call dword [sym.imp.USER32.dll_SetRect]
push dword [ebx + 0x3c]
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x1c]
push eax
call fcn.00527a55
mov esi, dword [ebp - 0x78]
cmp esi, edi
je 0x41e20f
push 5
mov ecx, esi
call fcn.00517bf5
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x1c]
neg eax
sbb eax, eax
push edi
and eax, dword [ebp - 0x18]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 0x14
push dword [esi + 0x1c]
call edi
lea eax, [ebp - 0x1c]
push 0
neg eax
sbb eax, eax
and eax, dword [ebp - 0x18]
push eax
push 0xf
push dword [esi + 0x1c]
call edi
cmp dword [ebp - 0x48], 0
jne 0x41e229
push 0
mov ecx, esi
call fcn.00517bf5
jmp 0x41e229
sub esp, 0x10
lea esi, [ebp - 0x5c]
mov edi, esp
lea eax, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
push dword [ebp + 0xc]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call fcn.0041cbd0
mov eax, dword [ebp + 8]
cmp dword [ebp + 0xc], eax
jle 0x41e31b
lea ecx, [ebp - 0x74]
push ecx
push eax
mov ecx, ebx
call fcn.0041b40e
lea eax, [ebp - 0x84]
mov ecx, ebx
push eax
push dword [ebp + 0xc]
call fcn.0041b40e
mov eax, dword [ebp - 0x68]
mov edi, dword [ebp - 0x80]
sub eax, dword [ebp - 0x70]
sub edi, eax
mov dword [ebp + 0xc], eax
cmp edi, dword [ebp - 0x68]
jle 0x41e411
mov esi, 0xcc0020
lea eax, [ebp - 0x64]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x60]
push eax
push dword [ebp - 0x18]
call fcn.0051af30
mov edx, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x2c]
mov eax, edi
sub eax, edx
push esi
dec eax
push dword [ebp + 0xc]
mov dword [ebp + 8], eax
lea eax, [ebp - 0x1c]
inc edx
push 0
neg eax
sbb eax, eax
mov dword [ebp - 0x48], edx
and eax, dword [ebp - 0x18]
push eax
push dword [ebp + 8]
push ecx
push edx
push dword [ebp - 0x2c]
push dword [ebp - 0x98]
call dword [sym.imp.GDI32.dll_BitBlt]
lea eax, [ebp - 0x44]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x40]
push eax
push dword [ebp - 0x18]
call fcn.0051af30
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x2c]
sub ecx, edi
add ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
neg eax
sbb eax, eax
push esi
and eax, dword [ebp - 0x18]
push 0
push 0
push eax
push ecx
push edx
push edi
push dword [ebp - 0x2c]
push dword [ebp - 0x98]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebx + 0xa5]
call dword [sym.imp.KERNEL32.dll_Sleep]
sub edi, dword [ebp + 0xc]
cmp edi, dword [ebp - 0x68]
jg 0x41e26e
jmp 0x41e411
lea ecx, [ebp - 0x74]
push ecx
push eax
mov ecx, ebx
call fcn.0041b40e
mov esi, dword [ebp - 0x68]
mov eax, dword [ebp - 0x20]
sub esi, dword [ebp - 0x70]
sub eax, esi
mov dword [ebp - 0x48], esi
push eax
lea eax, [ebp - 0x84]
push dword [ebp - 0x24]
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x80]
inc eax
sub ecx, esi
cmp eax, ecx
mov dword [ebp + 0xc], eax
jge 0x41e411
lea eax, [esi + esi]
mov esi, 0xcc0020
mov dword [ebp + 8], eax
lea eax, [ebp - 0x44]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x40]
push eax
push dword [ebp - 0x18]
call fcn.0051af30
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x70]
sub ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x1c]
push esi
push dword [ebp + 8]
dec edx
neg eax
sbb eax, eax
push 0
and eax, dword [ebp - 0x18]
mov edi, dword [sym.imp.GDI32.dll_BitBlt]
push eax
push edx
push ecx
push dword [ebp - 0x70]
push dword [ebp - 0x2c]
push dword [ebp - 0x98]
call edi
lea eax, [ebp - 0x64]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x60]
push eax
push dword [ebp - 0x18]
call fcn.0051af30
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
sub ecx, dword [ebp + 0xc]
sub edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x1c]
push esi
neg eax
sbb eax, eax
push 0
and eax, dword [ebp - 0x18]
push 0
push eax
push ecx
push edx
push dword [ebp + 0xc]
push dword [ebp - 0x2c]
push dword [ebp - 0x98]
call edi
push dword [ebx + 0xa5]
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x80]
add dword [ebp + 0xc], eax
sub ecx, eax
cmp dword [ebp + 0xc], ecx
jl 0x41e36b
mov eax, dword [ebp - 0x88]
test eax, eax
je 0x41e41e
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x18]
call fcn.0051af30
mov esi, vtable.CGdiObject.0
mov dword [ebp - 0x44], esi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.0051b988
mov dword [ebp - 0x64], esi
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 5
call fcn.0051b988
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0051ae6d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.0051b6fb
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8