Function at 0x4477b8
Capabilities:
Capture screenshot

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x8c
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 - 4], eax
xor eax, eax
xor ebx, ebx
mov dword [ebp + 0x10], ebx
lea edi, [ebp + 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp + 0x10]
mov esi, ecx
push eax
push dword [esi + 0x2c]
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp + 0x20]
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [ebp + 4], eax
mov eax, dword [esi + 0x30]
cmp dword [esi + 0x34], eax
jne 0x447818
cmp byte [esi + 0x40], bl
jne 0x447818
cmp byte [esi + 0x41], bl
je 0x447b45
cmp dword [esi + 0x3c], ebx
mov byte [esi + 0x40], bl
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esi + 0x34], eax
jne 0x4478ce
and dword [ebp + 0x60], 0
xor eax, eax
lea edi, [ebp + 0x64]
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 + 0x60]
push eax
push dword [esi + 0x2c]
call edi
lea eax, [ebp - 0x14]
push eax
push dword [esi + 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 [esi + 0x3c], eax
mov eax, dword [ebp + 0x1c]
sub eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x18]
sub eax, dword [ebp + 0x10]
push eax
push dword [ebp + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [esi + 0x3c]
mov dword [ebp], eax
call ebx
push dword [esi + 0x2c]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [ebp + 0x64]
sub ecx, dword [ebp - 0x10]
push 0xcc0020
push ecx
mov ecx, dword [ebp + 0x60]
sub ecx, dword [ebp - 0x14]
xor edi, edi
push ecx
push eax
mov eax, dword [ebp + 0x1c]
sub eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x18]
sub eax, dword [ebp + 0x10]
push eax
push edi
push edi
push dword [esi + 0x3c]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp]
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x4478d0
xor edi, edi
push dword [esi + 0x38]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esi + 0x38], eax
mov eax, dword [ebp + 0x1c]
sub eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x18]
sub eax, dword [ebp + 0x10]
push eax
push dword [ebp + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [esi + 0x38]
mov dword [ebp - 0x18], eax
call ebx
mov eax, dword [ebp + 0x1c]
sub eax, dword [ebp + 0x14]
push 0xcc0020
push edi
push edi
push dword [esi + 0x3c]
push eax
mov eax, dword [ebp + 0x18]
sub eax, dword [ebp + 0x10]
push eax
push edi
push edi
push dword [esi + 0x38]
call dword [sym.imp.GDI32.dll_BitBlt]
push 0xfffffffffffffff0
push dword [esi + 0x2c]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x8000000
jne 0x447b3a
push dword [esi + 0x48]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
cmp byte [esi + 0x41], 0
mov dword [ebp], eax
je 0x447a4b
push dword [ebp + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0x1c]
sub eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x18]
sub eax, dword [ebp + 0x10]
push eax
push dword [ebp + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], eax
call ebx
push 8
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [ebp + 8]
call ebx
push dword [ebp]
push dword [ebp + 8]
call ebx
xor ebx, ebx
mov byte [ebp + 0xf], bl
mov byte [ebp + 0xd], bl
mov byte [ebp + 0xc], bl
mov eax, dword [ebp + 0x1c]
sub eax, dword [ebp + 0x14]
push 0xcc0020
push edi
push edi
push dword [esi + 0x38]
push eax
mov eax, dword [ebp + 0x18]
sub eax, dword [ebp + 0x10]
push eax
push edi
push edi
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp + 0x18]
sub eax, dword [ebp + 0x10]
push 0x64
pop ecx
cdq
idiv ecx
mov ecx, dword [esi + 0x44]
push dword [ebp + 0x1c]
add ecx, ebx
imul eax, ecx
add eax, 0xa
lea ecx, [eax + 0xa]
push ecx
push dword [ebp + 0x14]
push eax
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_Rectangle]
mov al, bl
mov cl, 0x19
imul cl
cmp ebx, 5
jae 0x4479ff
mov byte [ebp + 0xe], al
jmp 0x447a07
or cl, 0xff
sub cl, al
mov byte [ebp + 0xe], cl
push dword [ebp + 0xc]
mov eax, dword [ebp + 0x1c]
sub eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
sub ecx, dword [ebp + 0x10]
push eax
push ecx
push edi
push edi
push dword [ebp + 8]
push eax
push ecx
push edi
push edi
push dword [esi + 0x38]
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
inc ebx
cmp ebx, 0xa
jb 0x4479a1
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x447b31
push 8
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [esi + 0x38]
call ebx
push dword [ebp]
mov dword [ebp - 8], eax
push dword [esi + 0x38]
call ebx
push dword [ebp + 0x1c]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x18]
sub eax, dword [ebp + 0x10]
push 0x64
pop ecx
cdq
idiv ecx
imul eax, dword [esi + 0x30]
push eax
push dword [ebp + 0x14]
push edi
push dword [esi + 0x38]
call dword [sym.imp.GDI32.dll_Rectangle]
push dword [ebp - 8]
push dword [esi + 0x38]
call ebx
push dword [ebp + 0xc]
push dword [esi + 0x38]
call ebx
cmp byte [esi + 0x42], 0
je 0x447b31
push 1
push dword [esi + 0x38]
call dword [sym.imp.GDI32.dll_SetBkMode]
push dword [esi + 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 [esi + 0x38]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
push dword [esi + 0x4c]
push dword [esi + 0x38]
call dword [sym.imp.GDI32.dll_SetTextColor]
lea eax, [ebp + 0x64]
push eax
call fcn.0050a0b0
pop ecx
push eax
lea eax, [ebp + 0x64]
push eax
mov eax, dword [ebp + 0x1c]
sub eax, dword [ebp - 8]
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [ebp + 0x18]
sub eax, dword [ebp - 0xc]
cdq
sub eax, edx
sar eax, 1
push eax
push dword [esi + 0x38]
call dword [sym.imp.GDI32.dll_TextOutA]
push dword [ebp]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 0x18]
call dword [sym.imp.GDI32.dll_DeleteObject]
xor ebx, ebx
mov eax, dword [ebp + 0x1c]
sub eax, dword [ebp + 0x14]
push 0xcc0020
push ebx
push ebx
push dword [esi + 0x38]
push eax
mov eax, dword [ebp + 0x18]
sub eax, dword [ebp + 0x10]
push eax
push ebx
push ebx
push dword [ebp + 4]
call dword [sym.imp.GDI32.dll_BitBlt]
lea eax, [ebp + 0x20]
push eax
push dword [ebp - 4]
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