Function at 0x4c1950
Capabilities:
Capture screenshot

Disassembly:
push 0xffffffffffffffff
push 0x58d586
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x1c]
call fcn.00405dd0
mov edi, 0x597d4c
mov dword [esp + 0x1c], edi
push fcn.00404210
push 0x4c1de0
push 3
lea eax, [esp + 0x58]
xor ebx, ebx
push 8
push eax
mov dword [esp + 0x80], ebx
call fcn.0055139f
push fcn.00404210
push 0x4c1de0
push 3
lea ecx, [esp + 0x40]
push 8
push ecx
mov byte [esp + 0x80], 1
call fcn.0055139f
lea ecx, [esp + 0x14]
call fcn.00405dd0
mov dword [esp + 0x14], edi
mov edx, dword [esi + 0x1c]
mov byte [esp + 0x6c], 3
push edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.0056ef76
mov ebp, eax
cmp ebp, ebx
jne 0x4c19ed
xor eax, eax
jmp 0x4c19f0
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0xfc]
call fcn.0056ef8b
mov eax, dword [esi + 0x180]
mov ecx, dword [esi + 0x17c]
push eax
mov eax, dword [ebp + 4]
push ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x20]
call fcn.0056fb13
mov edx, dword [esp + 0x20]
mov ecx, dword [esi + 0x100]
lea eax, [esp + 0x1c]
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call fcn.0056f0cc
mov eax, dword [esi + 0x180]
mov ecx, dword [esi + 0x17c]
cmp ebp, ebx
jne 0x4c1a54
xor edx, edx
jmp 0x4c1a57
mov edx, dword [ebp + 4]
push 0xcc0020
push ebx
push ebx
push edx
mov edx, dword [esi + 0x100]
push eax
push ecx
push ebx
push ebx
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x180]
mov ecx, dword [esi + 0x17c]
push 0xf00021
push eax
mov eax, dword [esi + 0x100]
push ecx
push ebx
push ebx
push eax
call dword [sym.imp.GDI32.dll_PatBlt]
lea ecx, [esp + 0x1c]
call fcn.0056fb6a
lea edi, [esi + 0x110]
mov dword [esp + 0x10], ebx
test ebp, ebp
jne 0x4c1aad
xor eax, eax
jmp 0x4c1ab0
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [edi - 4]
call fcn.0056ef8b
mov eax, dword [esi + 0x180]
mov ecx, dword [esi + 0x17c]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [ebp + 4]
push ecx
push eax
lea ebx, [esp + edx + 0x58]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebx
call fcn.0056fb13
test ebx, ebx
jne 0x4c1af0
xor eax, eax
jmp 0x4c1af8
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + ecx + 0x50]
mov edx, dword [edi]
push eax
push edx
call fcn.0056f0cc
mov eax, dword [esi + 0x180]
mov ecx, dword [esi + 0x17c]
test ebp, ebp
jne 0x4c1b15
xor edx, edx
jmp 0x4c1b18
mov edx, dword [ebp + 4]
push 0xcc0020
push 0
push 0
push edx
push eax
mov eax, dword [edi]
push ecx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x180]
mov ecx, dword [esi + 0x17c]
push 0xf00021
push eax
push ecx
mov ecx, dword [edi]
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov ecx, ebx
call fcn.0056fb6a
test ebp, ebp
jne 0x4c1b60
xor eax, eax
jmp 0x4c1b63
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [edi + 0x2c]
call fcn.0056ef8b
mov eax, dword [esi + 0x180]
mov ecx, dword [esi + 0x17c]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [ebp + 4]
push ecx
push eax
lea ebx, [esp + edx + 0x40]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebx
call fcn.0056fb13
test ebx, ebx
jne 0x4c1ba3
xor eax, eax
jmp 0x4c1bab
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + ecx + 0x38]
mov edx, dword [edi + 0x30]
push eax
push edx
call fcn.0056f0cc
mov eax, dword [esi + 0x180]
mov ecx, dword [esi + 0x17c]
test ebp, ebp
jne 0x4c1bc9
xor edx, edx
jmp 0x4c1bcc
mov edx, dword [ebp + 4]
push 0xcc0020
push 0
push 0
push edx
push eax
mov eax, dword [edi + 0x30]
push ecx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x180]
mov ecx, dword [esi + 0x17c]
push 0xf00021
push eax
push ecx
mov ecx, dword [edi + 0x30]
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov ecx, ebx
call fcn.0056fb6a
mov eax, dword [esp + 0x10]
add edi, 0x10
add eax, 8
cmp eax, 0x18
mov dword [esp + 0x10], eax
jl 0x4c1aa5
xor edi, edi
cmp ebp, edi
jne 0x4c1c2f
xor eax, eax
jmp 0x4c1c32
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0x16c]
call fcn.0056ef8b
mov eax, dword [esi + 0x180]
mov ecx, dword [esi + 0x17c]
mov edx, dword [ebp + 4]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x18]
call fcn.0056fb13
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x14]
neg eax
sbb eax, eax
and eax, edx
push eax
mov eax, dword [esi + 0x170]
push eax
call fcn.0056f0cc
mov eax, dword [esi + 0x180]
mov ecx, dword [esi + 0x17c]
cmp ebp, edi
jne 0x4c1c96
xor edx, edx
jmp 0x4c1c99
mov edx, dword [ebp + 4]
push 0xcc0020
push edi
push edi
push edx
push eax
push ecx
mov ecx, dword [esi + 0x170]
push edi
push edi
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x180]
mov ecx, dword [esi + 0x17c]
mov edx, dword [esi + 0x170]
push 0xf00021
push eax
push ecx
push edi
push edi
push edx
call dword [sym.imp.GDI32.dll_PatBlt]
lea ecx, [esp + 0x14]
call fcn.0056fb6a
mov eax, dword [ebp + 4]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
push edi
push 0x8000
lea edx, [esp + 0x2c]
push esi
push edx
push 0x50011104
push 0x5fe7d8
push 0x5f08bc
push 0x40000
lea ecx, [esi + 0x3c]
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
call fcn.005696fd
lea eax, [esi + 0x234]
cmp eax, edi
jne 0x4c1d31
xor eax, eax
jmp 0x4c1d34
mov eax, dword [eax + 4]
push 1
push eax
mov eax, dword [esi + 0x58]
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0xffffffffffffffff
mov dword [esi + 0x88], 0x12
push 0xffffffffffffffff
push 0xffffffffffffffff
add esi, 0x8c
push 0xffffffffffffffff
push esi
call dword [sym.imp.USER32.dll_SetRect]
mov esi, vtable.CGdiObject.0
mov dword [esp + 0x14], esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 4
call fcn.0056fb6a
push fcn.00404210
push 3
lea ecx, [esp + 0x3c]
push 8
push ecx
mov byte [esp + 0x7c], 1
call fcn.0054fe4b
push fcn.00404210
push 3
lea edx, [esp + 0x54]
push 8
push edx
mov byte [esp + 0x7c], 0
call fcn.0054fe4b
mov dword [esp + 0x1c], esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x6c], 5
call fcn.0056fb6a
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret