Function at 0x4510ad
Capabilities:
Capture screenshot

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0xc0
mov eax, dword [0x58c584]
xor eax, ebp
mov dword [ebp + 0x70], eax
mov eax, dword [ebp + 0x7c]
push ebx
push esi
push edi
mov dword [ebp - 0x38], eax
xor eax, eax
xor esi, esi
mov dword [ebp + 0x14], esi
lea edi, [ebp + 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp + 0x14]
mov ebx, ecx
push eax
push dword [ebx + 0x2c]
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp + 0x24]
push eax
push dword [ebp - 0x38]
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [ebp + 4], eax
mov eax, dword [ebx + 0x30]
cmp dword [ebx + 0x34], eax
jne 0x45110f
cmp byte [ebx + 0x40], 0
jne 0x45110f
cmp byte [ebx + 0x41], 0
je 0x451702
mov byte [ebx + 0x40], 0
mov dword [ebx + 0x34], eax
cmp dword [ebx + 0x3c], esi
jne 0x4511c3
xor eax, eax
mov dword [ebp - 0x34], esi
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x34]
push eax
push dword [ebx + 0x2c]
call edi
lea eax, [ebp - 0x1c]
push eax
push dword [ebx + 0x2c]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call edi
push dword [ebp + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebx + 0x3c], eax
mov eax, dword [ebp + 0x20]
sub eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x1c]
sub eax, dword [ebp + 0x14]
push eax
push dword [ebp + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [ebx + 0x3c]
mov dword [ebp + 0xc], eax
call edi
push dword [ebx + 0x2c]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0x18]
push 0xcc0020
push ecx
mov ecx, dword [ebp - 0x34]
sub ecx, dword [ebp - 0x1c]
push ecx
push eax
mov eax, dword [ebp + 0x20]
sub eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x1c]
sub eax, dword [ebp + 0x14]
push eax
push esi
push esi
push dword [ebx + 0x3c]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x4511c9
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0x38]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebx + 0x38], eax
mov eax, dword [ebp + 0x20]
sub eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x1c]
sub eax, dword [ebp + 0x14]
push eax
push dword [ebp + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [ebx + 0x38]
mov dword [ebp - 0x3c], eax
call edi
mov eax, dword [ebp + 0x20]
sub eax, dword [ebp + 0x18]
push 0xcc0020
push esi
push esi
push dword [ebx + 0x3c]
push eax
mov eax, dword [ebp + 0x1c]
sub eax, dword [ebp + 0x14]
push eax
push esi
push esi
push dword [ebx + 0x38]
call dword [sym.imp.GDI32.dll_BitBlt]
cmp byte [ebx + 0x54], 0
jne 0x451267
push dword [ebx + 0x50]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 8
mov dword [ebp + 0xc], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [ebx + 0x38]
call edi
push dword [ebp + 0xc]
push dword [ebx + 0x38]
call edi
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebx + 0x38]
call dword [sym.imp.GDI32.dll_Ellipse]
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0xfffffffffffffff0
push dword [ebx + 0x2c]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x8000000
jne 0x4515bb
push dword [ebx + 0x48]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
cmp byte [ebx + 0x41], 0
mov dword [ebp + 0xc], eax
je 0x451415
push dword [ebp + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp], eax
mov eax, dword [ebp + 0x20]
sub eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x1c]
sub eax, dword [ebp + 0x14]
push eax
push dword [ebp + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [ebp]
mov dword [ebp - 8], eax
call edi
push 8
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [ebp]
call edi
push dword [ebp + 0xc]
push dword [ebp]
call edi
mov dword [ebp - 4], esi
mov byte [ebp + 0x13], 0
mov byte [ebp + 0x11], 0
mov byte [ebp + 0x10], 0
mov dword [ebp + 8], esi
jmp 0x4512eb
xor esi, esi
mov eax, dword [ebp + 0x20]
sub eax, dword [ebp + 0x18]
push 0xcc0020
push esi
push esi
push dword [ebx + 0x38]
push eax
mov eax, dword [ebp + 0x1c]
sub eax, dword [ebp + 0x14]
push eax
push esi
push esi
push dword [ebp]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp + 0x14]
add eax, 2
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x18]
add eax, 2
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x1c]
add eax, 0xfffffffe
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x20]
push esi
add eax, 0xfffffffe
mov dword [ebp - 0x40], eax
mov eax, dword [ebx + 0x44]
sub eax, dword [ebp + 8]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub eax, 5
push eax
movsd dword es:[edi], dword [esi]
lea eax, [ebp + 0x64]
push eax
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call fcn.00450a4f
mov eax, dword [ebp + 0x14]
add eax, 2
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x18]
add eax, 2
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x1c]
add eax, 0xfffffffe
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x20]
push 0
add eax, 0xfffffffe
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x44]
sub eax, dword [ebp + 8]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x2c]
push eax
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call fcn.00450a4f
push dword [ebp + 0x68]
push dword [ebp + 0x64]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp]
call dword [sym.imp.GDI32.dll_Pie]
mov al, byte [ebp - 4]
mov cl, 0xc
imul cl
or cl, 0xff
sub cl, al
mov eax, dword [ebp + 0x20]
sub eax, dword [ebp + 0x18]
mov byte [ebp + 0x12], cl
push dword [ebp + 0x10]
mov ecx, dword [ebp + 0x1c]
sub ecx, dword [ebp + 0x14]
push eax
push ecx
xor edx, edx
push edx
push edx
push dword [ebp]
push eax
push ecx
push edx
push edx
push dword [ebx + 0x38]
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
add dword [ebp + 8], 5
inc dword [ebp - 4]
cmp dword [ebp + 8], 0x64
jb 0x4512e9
push dword [ebp]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x4515ab
mov eax, dword [ebx + 0x30]
imul eax, eax, 0x168
push 0x64
cdq
pop ecx
idiv ecx
cmp eax, esi
mov dword [ebp - 4], eax
jle 0x4514ec
mov eax, dword [ebp + 0x14]
add eax, 2
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x18]
add eax, 2
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x1c]
push esi
add eax, 0xfffffffe
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x20]
sub esp, 0x10
add eax, 0xfffffffe
mov dword [ebp - 0x10], eax
mov edi, esp
lea esi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0
lea eax, [ebp - 0x2c]
push eax
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call fcn.00450a4f
mov eax, dword [ebp + 0x14]
add eax, 2
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x18]
add eax, 2
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x1c]
add eax, 0xfffffffe
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x20]
push 0
sub esp, 0x10
add eax, 0xfffffffe
mov dword [ebp - 0x10], eax
mov edi, esp
push dword [ebp - 4]
lea esi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp + 0x64]
push eax
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call fcn.00450a4f
push 8
call dword [sym.imp.GDI32.dll_GetStockObject]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [ebx + 0x38]
call esi
push dword [ebp + 0xc]
push dword [ebx + 0x38]
call esi
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp + 0x68]
push dword [ebp + 0x64]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebx + 0x38]
call dword [sym.imp.GDI32.dll_Pie]
xor esi, esi
push 1
push dword [ebx + 0x38]
call dword [sym.imp.GDI32.dll_SetBkMode]
cmp byte [ebx + 0x43], 0
je 0x4515ad
mov eax, dword [ebp - 4]
push 1
sub esp, 0x10
mov edi, esp
lea esi, [ebp + 0x14]
movsd dword es:[edi], dword [esi]
cdq
movsd dword es:[edi], dword [esi]
sub eax, edx
sar eax, 1
movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call fcn.00450a4f
push dword [ebx + 0x30]
xor eax, eax
mov byte [ebp + 0x64], 0
lea edi, [ebp + 0x65]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push str._d__
stosb byte es:[edi], al
lea eax, [ebp + 0x64]
push 0xa
push eax
call fcn.0050ba63
and dword [ebp - 0xc], 0
xor eax, eax
lea edi, [ebp - 8]
stosd dword es:[edi], eax
add esp, 0x10
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 0x64]
push eax
call fcn.0050a0b0
pop ecx
push eax
lea eax, [ebp + 0x64]
push eax
push dword [ebx + 0x38]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
push dword [ebx + 0x4c]
push dword [ebx + 0x38]
call dword [sym.imp.GDI32.dll_SetTextColor]
lea eax, [ebp + 0x64]
push eax
call fcn.0050a0b0
pop ecx
mov ecx, dword [ebp - 0x28]
push eax
lea eax, [ebp + 0x64]
push eax
mov eax, dword [ebp - 8]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
mov eax, dword [ebp - 0xc]
cdq
push ecx
mov ecx, dword [ebp - 0x2c]
sub eax, edx
sar eax, 1
sub ecx, eax
push ecx
push dword [ebx + 0x38]
call dword [sym.imp.GDI32.dll_TextOutA]
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x45168c
lea eax, [ebx + 0x80]
push eax
lea ecx, [ebx + 0x60]
call fcn.00450fba
mov eax, dword [eax]
mov dword [ebp - 8], eax
cmp eax, esi
je 0x45168c
push dword [ebp + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 0x2040
push esi
push esi
mov dword [ebp + 8], eax
movzx eax, word [ebp - 8]
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.USER32.dll_LoadImageA]
mov dword [ebp + 0xc], eax
cmp eax, esi
je 0x451683
push eax
push dword [ebp + 8]
call edi
xor eax, eax
mov dword [ebp - 0x24], esi
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
push 0x18
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_GetObjectA]
cmp word [ebp - 0x12], 0x20
jne 0x45165f
mov byte [ebp + 0x13], 1
mov byte [ebp + 0x11], 0
mov byte [ebp + 0x10], 0
mov byte [ebp + 0x12], 0xff
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push esi
push esi
push dword [ebx + 0x38]
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
jmp 0x45167a
push 0xcc0020
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push esi
push esi
push dword [ebx + 0x38]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp byte [ebx + 0x42], 0
jne 0x451702
push dword [ebp + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 0x6d
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
push edi
mov dword [ebp - 8], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp + 0x20]
sub eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x1c]
sub ecx, dword [ebp + 0x14]
mov byte [ebp + 0x13], 1
mov byte [ebp + 0x11], 0
mov byte [ebp + 0x10], 0
mov byte [ebp + 0x12], 0xff
push dword [ebp + 0x10]
push eax
push ecx
push esi
push esi
push edi
push eax
push ecx
push esi
push esi
push dword [ebx + 0x38]
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
push dword [ebp - 0x3c]
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp + 0x20]
sub eax, dword [ebp + 0x18]
push 0xcc0020
push esi
push esi
push dword [ebx + 0x38]
push eax
mov eax, dword [ebp + 0x1c]
sub eax, dword [ebp + 0x14]
push eax
push esi
push esi
push dword [ebp + 4]
call dword [sym.imp.GDI32.dll_BitBlt]
lea eax, [ebp + 0x24]
push eax
push dword [ebp - 0x38]
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [ebp + 0x70]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050a878
add ebp, 0x74
leave
ret 4