Function at 0x556e80
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
lea eax, [esp + 0x30]
push edi
mov ecx, dword [esi + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esi + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x10], ebx
je 0x5570a4
mov ebp, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebx
call ebp
push ebx
mov edi, eax
call ebp
test edi, edi
mov ebp, eax
je 0x557081
test ebp, ebp
je 0x557081
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
sub eax, edx
push eax
mov eax, dword [esp + 0x38]
sub ecx, eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push edi
mov dword [esp + 0x1c], eax
call ebx
mov edx, dword [esi + 0x44]
mov dword [esp + 0x1c], eax
push edx
push ebp
call ebx
push 1
push ebp
mov dword [esp + 0x2c], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 0x58]
mov edx, dword [esp + 0x40]
push 0xff00ff
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
sub edx, ecx
mov ecx, dword [esp + 0x40]
push 0
push 0
push ebp
sub eax, ecx
push edx
push eax
push 0
push 0
push edi
call dword [sym.imp.MSIMG32.dll_TransparentBlt]
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0xffffff
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [esi + 0x50]
push ecx
push edi
call ebx
lea edx, [esp + 0x44]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x48]
push 0x400
push edx
push 0xffffffffffffffff
push eax
push edi
call dword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x34]
sub eax, edx
mov edx, dword [esp + 0x44]
sub eax, ecx
add eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x48]
mov ecx, eax
mov eax, dword [esp + 0x38]
sub edx, eax
mov eax, dword [esp + 0x50]
sar ecx, 1
sub edx, eax
mov eax, dword [esp + 0x40]
lea eax, [edx + eax - 4]
cdq
sub eax, edx
sar eax, 1
neg eax
neg ecx
push eax
push ecx
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [esi + 0x48]
lea edx, [esp + 0x34]
push 0x20
push edx
push 0xffffffffffffffff
push eax
push edi
call dword [sym.imp.USER32.dll_DrawTextA]
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
mov eax, dword [esp + 0x10]
push 0xcc0020
push 0
push 0
push edi
push ecx
push edx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
push 0xffff
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ecx, dword [esi + 0x44]
mov dword [esp + 0x18], eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.0042d290
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
push eax
mov dword [esi + 0x54], edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esp + 0x1c]
push edx
push edi
call ebx
mov eax, dword [esp + 0x20]
push eax
push edi
call ebx
mov ecx, dword [esp + 0x24]
push ecx
push ebp
call ebx
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push edi
mov edi, dword [sym.imp.GDI32.dll_DeleteDC]
call edi
push ebp
call edi
mov esi, dword [esi + 0x44]
lea ecx, [esp + 0x28]
call fcn.0042d2e0
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 4
test esi, esi
jne 0x557099
push ebx
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 4
mov esi, dword [esi + 0x20]
push ebx
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 4