Function at 0x482950
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x34
push ebx
mov ebx, dword [esp + 0x3c]
test ebx, ebx
je 0x482b6a
mov eax, dword [ebx + 0x1478]
test eax, eax
je 0x482b6a
mov eax, dword [ebx + 0x134c]
test eax, eax
je 0x482b6a
mov eax, dword [ebx + 0x1728]
test eax, eax
je 0x482b6a
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.00591060
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 0x4829c9
cmp edi, ebp
je 0x482b67
mov ecx, dword [ebx + 0x1734]
mov edx, dword [ebx + 0x1738]
inc ecx
inc edx
cmp ecx, eax
mov dword [ebx + 0x1734], ecx
mov dword [ebx + 0x1738], edx
jle 0x4829ed
mov dword [ebx + 0x1734], eax
cmp edx, edi
jle 0x4829f7
mov dword [ebx + 0x1738], edi
mov eax, dword [ebx + 0x1734]
cmp esi, eax
jge 0x482a05
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x1738]
cmp ebp, eax
jge 0x482a13
mov dword [esp + 0x28], eax
mov ecx, dword [ebx + 0x1478]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x10], ebp
je 0x482b67
mov esi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebp
call esi
mov edi, eax
test edi, edi
je 0x482a83
push ebp
call esi
mov esi, eax
test esi, esi
je 0x482a7c
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [ebx + 0x1728]
push eax
push ecx
push ebp
mov dword [esp + 0x54], edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
test eax, eax
mov dword [ebx + 0x1728], eax
jne 0x482a99
mov edx, dword [esp + 0x48]
push esi
mov dword [ebx + 0x1728], edx
call dword [sym.imp.GDI32.dll_DeleteDC]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0x1478]
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 [0x63ca90]
push ecx
mov dword [esp + 0x1c], eax
call fcn.0043c610
mov edx, dword [eax*4 + 0x638070]
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 + 0x1478]
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