Function at 0x4b2ce0
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x44
push edi
mov edi, ecx
mov eax, dword [edi + 8]
test eax, eax
je 0x4b2f70
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x4b2f70
mov eax, dword [esp + 0x4c]
cmp eax, 0xffffffff
jne 0x4b2d13
mov ecx, dword [edi + 0x338]
test ecx, ecx
je 0x4b2f70
cmp eax, dword [edi + 0xf0]
jge 0x4b2f70
cmp eax, 0xffffffff
jne 0x4b2d2c
lea eax, [edi + 0x19c]
jmp 0x4b2d3c
mov edx, dword [edi + 0xe8]
mov ecx, eax
shl ecx, 7
add ecx, eax
lea eax, [edx + ecx*4]
mov ecx, eax
push ebx
push ebp
push esi
lea ebp, [ecx + 0x1b8]
lea edx, [esp + 0x24]
push ebp
push edx
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
neg eax
neg ecx
push eax
lea edx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [edi + 8]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov esi, eax
mov eax, dword [esp + 0x28]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x28]
sub edx, ecx
push edx
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push esi
mov dword [esp + 0x28], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0
mov ecx, edi
mov dword [esp + 0x20], eax
call fcn.004a6f60
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 1
push esi
mov dword [esp + 0x20], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
cmp dword [edi + 0xb8], 1
jne 0x4b2de3
lea eax, [esp + 0x24]
push eax
jmp 0x4b2ede
mov eax, dword [edi + 0xe4]
mov dword [esp + 0x14], 0
test eax, eax
je 0x4b2e59
mov edx, dword [edi + 8]
lea ecx, [esp + 0x34]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [edi + 0xe4]
lea eax, [esp + 0x44]
push eax
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x34]
sub eax, edx
mov edx, dword [esp + 0x48]
add eax, ecx
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x1bc]
sub ecx, edx
mov edx, dword [esp + 0x38]
add ecx, edx
lea edx, [esp + 0x24]
push ecx
mov ecx, dword [edi + 0xe4]
push eax
push edx
push esi
call fcn.004a1840
mov dword [esp + 0x14], 1
lea ecx, [edi + 0x67c]
call fcn.00464e40
test eax, eax
je 0x4b2ed1
mov ecx, dword [edi + 8]
lea eax, [esp + 0x34]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x34]
mov ecx, dword [ebp]
mov edx, eax
push 0
sub edx, ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x14]
push 0
push 0
sub ecx, dword [edx + 0x1bc]
mov edx, dword [esp + 0x4c]
push 0
push 0
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x50]
sub ecx, eax
mov eax, dword [esp + 0x4c]
sub edx, eax
push 0
lea eax, [esp + 0x5c]
push 2
mov dword [esp + 0x68], ecx
push eax
push esi
lea ecx, [edi + 0x67c]
mov dword [esp + 0x74], edx
call fcn.00464460
jmp 0x4b2ee6
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4b2ee6
lea ecx, [esp + 0x24]
push ecx
push esi
mov ecx, edi
call fcn.004b2be0
mov eax, dword [esp + 0x58]
lea edx, [esp + 0x24]
push edx
push eax
push esi
mov ecx, edi
call fcn.004b1ac0
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
push 0xcc0020
push 0
push 0
sub ecx, eax
mov eax, dword [esp + 0x1c]
push esi
push ecx
mov ecx, dword [esp + 0x38]
sub edx, ecx
mov ecx, dword [eax + 0x1bc]
push edx
mov edx, dword [ebp]
push ecx
push edx
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x18]
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push esi
call ebp
mov ecx, dword [esp + 0x1c]
push ecx
push esi
call ebp
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push ebx
call ebp
mov eax, dword [edi + 8]
push ebx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x44
ret 4