Function at 0x481550
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x34
push ebx
mov ebx, dword [esp + 0x3c]
test ebx, ebx
je 0x48176a
mov eax, dword [ebx + 0x87c]
test eax, eax
je 0x48176a
mov eax, dword [ebx + 0x754]
test eax, eax
je 0x48176a
mov eax, dword [ebx + 0x95c]
test eax, eax
je 0x48176a
push ebp
push esi
push edi
lea ecx, [esp + 0x2c]
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [ebx]
push 0
lea edx, [esp + 0x20]
push edx
push eax
call fcn.00584d10
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x40]
mov ebp, dword [esp + 0x34]
add esp, 0xc
cmp eax, esi
jne 0x4815c9
cmp edi, ebp
je 0x481767
mov ecx, dword [ebx + 0x968]
mov edx, dword [ebx + 0x96c]
inc ecx
inc edx
cmp ecx, eax
mov dword [ebx + 0x968], ecx
mov dword [ebx + 0x96c], edx
jle 0x4815ed
mov dword [ebx + 0x968], eax
cmp edx, edi
jle 0x4815f7
mov dword [ebx + 0x96c], edi
mov eax, dword [ebx + 0x968]
cmp esi, eax
jge 0x481605
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x96c]
cmp ebp, eax
jge 0x481613
mov dword [esp + 0x28], eax
mov ecx, dword [ebx + 0x87c]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x10], ebp
je 0x481767
mov esi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebp
call esi
mov edi, eax
test edi, edi
je 0x481683
push ebp
call esi
mov esi, eax
test esi, esi
je 0x48167c
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [ebx + 0x95c]
push eax
push ecx
push ebp
mov dword [esp + 0x54], edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
test eax, eax
mov dword [ebx + 0x95c], eax
jne 0x481699
mov edx, dword [esp + 0x48]
push esi
mov dword [ebx + 0x95c], edx
call dword [sym.imp.GDI32.dll_DeleteDC]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0x87c]
push ebp
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push edi
call ebp
mov ecx, dword [0x613690]
push ecx
mov dword [esp + 0x1c], eax
call fcn.0043bf80
mov edx, dword [eax*4 + 0x612870]
add esp, 4
push edx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x20]
push eax
push edi
call dword [sym.imp.USER32.dll_FillRect]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esp + 0x48]
push edx
push esi
call ebp
mov ecx, dword [esp + 0x30]
push 0xcc0020
push 0
push 0
push esi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x44]
push eax
push ecx
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
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 + 0x14]
push edx
push esi
call ebp
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
mov eax, dword [esp + 0x18]
push eax
push edi
call ebp
push edi
call esi
mov ecx, dword [esp + 0x10]
mov edx, dword [ebx + 0x87c]
push ecx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0x48]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret