Function at 0x41d4cd
Capabilities:
Capture screenshot

Disassembly:
mov eax, 0x52aa17
call fcn.004ea774
sub esp, 0x90
push ebx
push esi
lea eax, [ebp - 0x2c]
push edi
mov ebx, ecx
push eax
call fcn.0041afd0
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.0041ab14
push ebx
lea ecx, [ebp - 0x9c]
call fcn.0050da31
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], esi
call fcn.0050d0e0
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.0050d197
lea ecx, [ebp - 0x64]
call fcn.00404c2e
mov edi, 0x53ea30
mov dword [ebp - 0x64], edi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.00404c2e
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.0050dcd9
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.0050dcd9
push dword [ebp + 8]
mov ecx, ebx
call fcn.0041dc2d
push dword [ebp + 0xc]
mov ecx, ebx
mov edi, eax
call fcn.0041dc2d
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.0050d2d8
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 8]
cmp dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x30]
jle 0x41d79d
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.00519ee2
cmp edi, esi
je 0x41d670
push 5
mov ecx, edi
call fcn.00509fa2
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 0x41d68c
push esi
mov ecx, edi
call fcn.00509fa2
jmp 0x41d68c
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.0041c2d6
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.0050d2d8
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.00519ee2
mov edi, dword [ebp - 0x78]
cmp edi, esi
je 0x41d761
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.00509fa2
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 0x41d74c
push esi
mov ecx, edi
call fcn.00509fa2
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 0x41d77d
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.0041c2d6
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.0041ac73
jmp 0x41d932
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.00519ee2
cmp edi, esi
je 0x41d84a
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.00509fa2
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 0x41d835
push esi
mov ecx, edi
call fcn.00509fa2
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 0x41d866
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.0041c2d6
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.0041ac73
lea eax, [ebp - 0x44]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x40]
push eax
push dword [ebp - 0x18]
call fcn.0050d2d8
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.00519ee2
mov esi, dword [ebp - 0x78]
cmp esi, edi
je 0x41d918
push 5
mov ecx, esi
call fcn.00509fa2
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 0x41d932
push 0
mov ecx, esi
call fcn.00509fa2
jmp 0x41d932
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.0041c2d6
mov eax, dword [ebp + 8]
cmp dword [ebp + 0xc], eax
jle 0x41da24
lea ecx, [ebp - 0x74]
push ecx
push eax
mov ecx, ebx
call fcn.0041ab14
lea eax, [ebp - 0x84]
mov ecx, ebx
push eax
push dword [ebp + 0xc]
call fcn.0041ab14
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 0x41db1a
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.0050d2d8
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.0050d2d8
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 0x41d977
jmp 0x41db1a
lea ecx, [ebp - 0x74]
push ecx
push eax
mov ecx, ebx
call fcn.0041ab14
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 0x41db1a
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.0050d2d8
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.0050d2d8
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 0x41da74
mov eax, dword [ebp - 0x88]
test eax, eax
je 0x41db27
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x18]
call fcn.0050d2d8
mov esi, vtable.CGdiObject.0
mov dword [ebp - 0x44], esi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.0050dd30
mov dword [ebp - 0x64], esi
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 5
call fcn.0050dd30
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0050d215
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.0050daa3
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8