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

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0xe4
call sym._GetDesktopWindow_0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x50]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._GetClientRect_8
sub esp, 8
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._GetDC_4
sub esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sym._CreateCompatibleDC_4
sub esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sym._CreateCompatibleBitmap_12
sub esp, 0xc
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym._SelectObject_8
sub esp, 8
mov dword [ebp - 0x24], eax
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [ebp - 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym._BitBlt_36
sub esp, 0x24
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x64], 0x14
lea eax, [ebp - 0x64]
mov dword [esp], eax
call sym._GetCursorInfo_4
sub esp, 4
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x401788
mov eax, dword [ebp - 0x60]
cmp eax, 1
jne 0x401788
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x78]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._GetIconInfo_8
sub esp, 8
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x74]
add eax, eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x70]
add eax, eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x70]
sub ecx, edx
mov edx, ecx
mov ebx, edx
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x74]
sub ecx, edx
mov edx, ecx
mov ecx, edx
mov dword [esp + 0x20], 3
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov edx, dword [ebp - 0x38]
mov dword [esp + 0x14], edx
mov edx, dword [ebp - 0x34]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], ecx
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym._DrawIconEx_36
sub esp, 0x24
mov dword [ebp - 0xa0], 0x28
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x98], eax
mov word [ebp - 0x94], 1
mov word [ebp - 0x92], 0x18
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [esp + 4], 0x40c0d3
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._fopen
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x40192f
mov word [ebp - 0xae], 0x4d42
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x14]
mov edx, eax
mov eax, edx
add eax, eax
add eax, edx
add eax, 0x36
mov dword [ebp - 0xac], eax
mov word [ebp - 0xa8], 0
mov word [ebp - 0xa6], 0
mov dword [ebp - 0xa4], 0x36
mov eax, dword [ebp - 0x3c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0xe
lea eax, [ebp - 0xae]
mov dword [esp], eax
call sym._fwrite
mov eax, dword [ebp - 0x3c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0x28
lea eax, [ebp - 0xa0]
mov dword [esp], eax
call sym._fwrite
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x14]
mov edx, eax
mov eax, edx
add eax, eax
add eax, edx
mov dword [esp], eax
call sym._malloc
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x18], 0
lea edx, [ebp - 0xa0]
mov dword [esp + 0x14], edx
mov edx, dword [ebp - 0x40]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym._GetDIBits_28
sub esp, 0x1c
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x14]
mov edx, eax
mov eax, edx
add eax, eax
add eax, edx
mov edx, eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call sym._fwrite
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call sym._fclose
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call sym._free
mov eax, dword [ebp - 0x24]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym._SelectObject_8
sub esp, 8
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sym._DeleteObject_4
sub esp, 4
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym._DeleteDC_4
sub esp, 4
mov eax, dword [ebp - 0x18]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._ReleaseDC_8
sub esp, 8
mov eax, 1
mov ebx, dword [ebp - 4]
leave
ret