Function at 0x41d6ad
Capabilities:
Capture screenshot

Disassembly:
mov eax, 0x52eee3
call fcn.004eec88
sub esp, 0x90
push ebx
push esi
lea eax, [ebp - 0x2c]
push edi
mov ebx, ecx
push eax
call fcn.0041b1b0
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.0041acf4
push ebx
lea ecx, [ebp - 0x9c]
call fcn.00511ee9
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], esi
call fcn.00511598
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.0051164f
lea ecx, [ebp - 0x64]
call fcn.00404c4f
mov edi, 0x543a30
mov dword [ebp - 0x64], edi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.00404c4f
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.00512191
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.00512191
push dword [ebp + 8]
mov ecx, ebx
call fcn.0041de0d
push dword [ebp + 0xc]
mov ecx, ebx
mov edi, eax
call fcn.0041de0d
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.00511790
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 8]
cmp dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x30]
jle 0x41d97d
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.0051e39a
cmp edi, esi
je 0x41d850
push 5
mov ecx, edi
call fcn.0050e450
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 0x41d86c
push esi
mov ecx, edi
call fcn.0050e450
jmp 0x41d86c
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.0041c4b6
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.00511790
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.0051e39a
mov edi, dword [ebp - 0x78]
cmp edi, esi
je 0x41d941
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.0050e450
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 0x41d92c
push esi
mov ecx, edi
call fcn.0050e450
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 0x41d95d
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.0041c4b6
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.0041ae53
jmp 0x41db12
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.0051e39a
cmp edi, esi
je 0x41da2a
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.0050e450
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 0x41da15
push esi
mov ecx, edi
call fcn.0050e450
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 0x41da46
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.0041c4b6
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.0041ae53
lea eax, [ebp - 0x44]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x40]
push eax
push dword [ebp - 0x18]
call fcn.00511790
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.0051e39a
mov esi, dword [ebp - 0x78]
cmp esi, edi
je 0x41daf8
push 5
mov ecx, esi
call fcn.0050e450
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 0x41db12
push 0
mov ecx, esi
call fcn.0050e450
jmp 0x41db12
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.0041c4b6
mov eax, dword [ebp + 8]
cmp dword [ebp + 0xc], eax
jle 0x41dc04
lea ecx, [ebp - 0x74]
push ecx
push eax
mov ecx, ebx
call fcn.0041acf4
lea eax, [ebp - 0x84]
mov ecx, ebx
push eax
push dword [ebp + 0xc]
call fcn.0041acf4
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 0x41dcfa
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.00511790
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.00511790
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 0x41db57
jmp 0x41dcfa
lea ecx, [ebp - 0x74]
push ecx
push eax
mov ecx, ebx
call fcn.0041acf4
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 0x41dcfa
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.00511790
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.00511790
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 0x41dc54
mov eax, dword [ebp - 0x88]
test eax, eax
je 0x41dd07
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x18]
call fcn.00511790
mov esi, vtable.CGdiObject.0
mov dword [ebp - 0x44], esi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.005121e8
mov dword [ebp - 0x64], esi
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 5
call fcn.005121e8
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.005116cd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.00511f5b
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8