Function at 0x4780d0
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x38
push ebx
mov ebx, ecx
test ebx, ebx
je 0x4782df
mov eax, dword [ebx + 0x87c]
test eax, eax
je 0x4782df
mov eax, dword [ebx + 0x758]
test eax, eax
je 0x4782df
mov eax, dword [ebx + 0x960]
test eax, eax
je 0x4782df
push ebp
push esi
push edi
lea ecx, [esp + 0x30]
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [ebx]
push 0
lea edx, [esp + 0x24]
call fcn.00562fa0
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x28]
cmp eax, esi
mov edi, dword [esp + 0x38]
mov ebp, dword [esp + 0x2c]
jne 0x478142
cmp edi, ebp
je 0x4782dc
mov ecx, dword [ebx + 0x96c]
mov edx, dword [ebx + 0x970]
inc ecx
inc edx
cmp ecx, eax
mov dword [ebx + 0x96c], ecx
mov dword [ebx + 0x970], edx
jle 0x478166
mov dword [ebx + 0x96c], eax
cmp edx, edi
jle 0x478170
mov dword [ebx + 0x970], edi
mov eax, dword [ebx + 0x96c]
cmp esi, eax
jge 0x47817e
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x970]
cmp ebp, eax
jge 0x47818c
mov dword [esp + 0x2c], eax
mov edx, dword [ebx + 0x87c]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x14], ebp
je 0x4782dc
mov esi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebp
call esi
mov edi, eax
test edi, edi
je 0x4781fc
push ebp
call esi
mov esi, eax
test esi, esi
je 0x4781f5
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [ebx + 0x960]
push ecx
push edx
push ebp
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
test eax, eax
mov dword [ebx + 0x960], eax
jne 0x478212
mov eax, dword [esp + 0x10]
push esi
mov dword [ebx + 0x960], eax
call dword [sym.imp.GDI32.dll_DeleteDC]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [ebx + 0x87c]
push ebp
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push edi
call ebp
mov ecx, dword [0x5c9d38]
mov dword [esp + 0x1c], eax
call fcn.00435dc0
mov edx, dword [eax*4 + 0x5c8f18]
push edx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x24]
push eax
push edi
call dword [sym.imp.USER32.dll_FillRect]
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esp + 0x10]
push edx
push esi
call ebp
mov ecx, dword [esp + 0x34]
push 0xcc0020
push 0
push 0
push esi
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x48]
push eax
push ecx
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
push 0xcc0020
push 0
push 0
push esi
push edx
push eax
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x18]
push edx
push esi
call ebp
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
mov eax, dword [esp + 0x1c]
push eax
push edi
call ebp
push edi
call esi
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx + 0x87c]
push ecx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret