Function at 0x4c03c0
Capabilities:
Capture screenshot
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x661204]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0
push 0
push 0
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x10]
push str.DISPLAY
mov dword [ebp - 0x44], eax
call dword [sym.imp.GDI32.dll_CreateDCW]
mov ebx, eax
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov edi, eax
push 8
push ebx
mov dword [ebp - 0x54], edi
call esi
push 0xa
push ebx
mov dword [ebp - 0x48], eax
call esi
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
test ecx, ecx
jne 0x4c0423
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x50], ecx
jmp 0x4c043e
mov esi, dword [ecx]
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 4]
sub eax, esi
mov dword [ebp - 0x48], eax
mov eax, dword [ecx + 0xc]
sub eax, edx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x4c], eax
push eax
push dword [ebp - 0x48]
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push edi
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
call edi
push 0xcc0020
push dword [ebp - 0x44]
mov esi, eax
push dword [ebp - 0x50]
push ebx
push dword [ebp - 0x4c]
push dword [ebp - 0x48]
push 0
push 0
push dword [ebp - 0x54]
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
push dword [ebp - 0x54]
call edi
cmp dword [ebp - 0x58], 0
mov edi, eax
mov dword [ebp - 0x44], edi
jne 0x4c04a6
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
push ebx
call esi
push dword [ebp - 0x54]
call esi
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054c3c9
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x48]
mov edi, dword [ebp - 0x4c]
shl esi, 5
add esi, 0x1f
sar esi, 3
and esi, 0xfffffffc
imul esi, edi
push esi
push 1
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push esi
push 0
push eax
mov dword [ebp - 0x50], eax
call fcn.005b9c20
push 0x2c
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.005b9c20
mov ecx, dword [ebp - 0x48]
mov eax, 1
mov word [ebp - 0x34], ax
add esp, 0x18
mov ax, word [ebp + 0xc]
xorps xmm0, xmm0
mov word [ebp - 0x32], ax
movzx eax, ax
imul eax, ecx
push 0
movq qword [ebp - 0x14], xmm0
mov dword [ebp - 0x3c], ecx
mov ecx, 0x4d42
mov dword [ebp - 0x38], edi
add eax, 0x1f
mov dword [ebp - 0xc], 0
sar eax, 3
and eax, 0xfffffffc
mov word [ebp - 8], 0
imul eax, edi
mov dword [ebp - 0x40], 0x28
mov dword [ebp - 0x30], 0
mov word [ebp - 0x14], cx
mov dword [ebp - 0xa], 0x36
mov dword [ebp - 0x48], eax
add eax, 0x36
mov dword [ebp - 0x12], eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x50]
push edi
mov edi, dword [ebp - 0x54]
push 0
push dword [ebp - 0x44]
push edi
call dword [sym.imp.GDI32.dll_GetDIBits]
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x4c], eax
cmp eax, 0xffffffff
jne 0x4c05ab
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
push ebx
call esi
push edi
call esi
mov eax, dword [ebp - 0x44]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054c3c9
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [ebp - 0x5c]
push 0
push ecx
push 0xe
lea ecx, [ebp - 0x14]
push ecx
push eax
call esi
push 0
lea eax, [ebp - 0x5c]
push eax
push 0x2c
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x4c]
call esi
push 0
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x48]
push dword [ebp - 0x50]
push dword [ebp - 0x4c]
call esi
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x50]
push 1
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push ebx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x44]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0054c3c9
mov esp, ebp
pop ebp
ret