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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xbc
mov dword [esp + 0xc], 0
mov esi, dword [esp + 0xd4]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCA]
sub esp, 0x10
mov ebx, eax
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
test esi, esi
je 0x402128
lea eax, [esp + 0x60]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
sub esp, 8
mov eax, dword [esp + 0x68]
sub eax, dword [esp + 0x60]
mov dword [esp + 0x30], eax
mov ebp, dword [esp + 0x6c]
sub ebp, dword [esp + 0x64]
mov dword [esp], ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
sub esp, 4
mov esi, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 8], ebp
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
sub esp, 0xc
mov edi, eax
mov dword [esp + 4], eax
mov eax, dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp], esi
mov dword [esp + 0x3c], eax
call eax
sub esp, 8
mov dword [esp + 0x34], eax
lea eax, [esp + 0x70]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x18
mov dword [esp], edi
call dword [sym.imp.GDI32.dll_GetObjectA]
xor edx, edx
xor eax, eax
sub esp, 0xc
mov dword [esp + eax + 0x98], edx
add eax, 4
cmp eax, 0x18
jb 0x401f3c
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x88], 0x28
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x94], edx
mov dword [esp + 0x90], eax
imul eax, dword [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 0x9c], eax
call sym.operator_new___unsigned_int_
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x10], ebp
mov dword [esp], esi
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x18], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call dword [sym.imp.GDI32.dll_BitBlt]
sub esp, 0x24
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x88]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x14], edx
mov dword [esp + 4], edi
mov dword [esp], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
call dword [sym.imp.GDI32.dll_GetDIBits]
mov eax, 0x4d42
sub esp, 0x1c
mov ecx, dword [esp + 0x9c]
mov word [esp + 0x52], ax
mov dword [esp + 0x58], 0
lea eax, [ecx + 0x36]
mov dword [esp + 0x5c], 0x36
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x40000000
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
sub esp, 0x1c
mov ebx, eax
lea ebp, [esp + 0x4c]
lea eax, [esp + 0x52]
mov dword [esp], ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0xe
mov dword [esp + 4], eax
call edi
sub esp, 0x14
lea edx, [esp + 0x88]
mov dword [esp + 0xc], ebp
mov dword [esp + 4], edx
mov dword [esp], ebx
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x28
call edi
sub esp, 0x14
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xc], ebp
mov dword [esp], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], 0
mov dword [esp + 4], eax
call edi
sub esp, 0x14
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov eax, dword [esp + 0x34]
mov dword [esp], esi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
call eax
sub esp, 8
add esp, 0xbc
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [esp + 4], 8
mov dword [esp], eax
call esi
sub esp, 8
mov dword [esp + 0x30], eax
mov dword [esp + 4], 0xa
mov dword [esp], ebx
call esi
sub esp, 8
mov ebp, eax
jmp 0x401edb