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

Disassembly:
push 0xffffffffffffffff
push 0x58e240
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
push ebx
push ebp
push esi
push edi
xor edi, edi
lea ecx, [esp + 0x40]
mov dword [esp + 0x98], edi
call fcn.0056eed4
mov ebx, dword [esp + 0xa8]
mov ebp, dword [esp + 0xac]
cmp ebx, 0xffffffff
mov byte [esp + 0x98], 1
jne 0x4cb3ee
cmp ebp, 0xffffffff
jne 0x4cb3ee
mov eax, dword [esp + 0xa0]
cmp eax, edi
je 0x4cb6c2
mov eax, dword [eax + 8]
push 7
push eax
call dword [sym.imp.GDI32.dll_GetCurrentObject]
push eax
call fcn.0056fafe
mov ecx, dword [eax + 4]
mov dword [esp + 0x14], ecx
jmp 0x4cb4e8
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], 0x597d4c
mov esi, dword [esp + 0xa0]
mov byte [esp + 0x98], 2
cmp esi, edi
jne 0x4cb411
xor eax, eax
jmp 0x4cb414
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x44]
call fcn.0056ef8b
mov edx, dword [esi + 4]
push ebp
push ebx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x2c]
call fcn.0056fb13
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x28]
neg eax
sbb eax, eax
and eax, ecx
push eax
mov eax, dword [esp + 0x48]
push eax
call fcn.0056f0cc
cmp esi, edi
jne 0x4cb45c
xor eax, eax
jmp 0x4cb45f
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x44]
push 0xcc0020
push edi
push edi
push eax
push ebp
push ebx
push edi
push edi
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x44]
push 0xf00021
push ebp
push ebx
push edi
push edi
push edx
call dword [sym.imp.GDI32.dll_PatBlt]
lea ecx, [esp + 0x28]
call fcn.0056fb6a
cmp esi, edi
jne 0x4cb49b
xor esi, esi
jmp 0x4cb49e
mov esi, dword [esi + 4]
mov eax, dword [esp + 0x44]
push 0xcc0020
push edi
push edi
push esi
push ebp
push ebx
push edi
push edi
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x48]
push 7
push ecx
call dword [sym.imp.GDI32.dll_GetCurrentObject]
push eax
call fcn.0056fafe
mov edx, dword [eax + 4]
mov dword [esp + 0x28], vtable.CGdiObject.0
mov dword [esp + 0x14], edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x98], 3
call fcn.0056fb6a
cmp dword [esp + 0x14], edi
je 0x4cb6c2
push edi
push edi
push edi
push 0x5e7598
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call dword [sym.imp.GDI32.dll_CreateDCA]
mov ebp, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ebx, eax
push 0xe
push ebx
call ebp
push 0xc
push ebx
mov esi, eax
call ebp
imul esi, eax
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ebp, 1
cmp esi, ebp
jg 0x4cb61b
mov dword [esp + 0x10], ebp
mov cl, byte [esp + 0x10]
mov eax, ebp
shl eax, cl
shl eax, 2
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x50]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x54]
mov word [esp + 0x76], ax
and eax, 0xffff
imul eax, ecx
add eax, 0x1f
mov esi, dword [esp + 0x58]
cdq
and edx, 0x1f
mov word [esp + 0x74], bp
add eax, edx
mov edx, dword [esp + 0x18]
mov ebp, eax
mov dword [esp + 0x68], 0x28
sar ebp, 5
imul ebp, esi
shl ebp, 2
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], esi
lea eax, [edx + ebp + 0x28]
mov dword [esp + 0x78], edi
push eax
push 0x42
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], edi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, 0xa
lea esi, [esp + 0x68]
mov edi, eax
push 0xf
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x14], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov esi, eax
test esi, esi
je 0x4cb656
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
push 0
push esi
push ebx
call dword [sym.imp.GDI32.dll_SelectPalette]
push ebx
mov esi, eax
call dword [sym.imp.GDI32.dll_RealizePalette]
jmp 0x4cb65a
cmp esi, 4
jg 0x4cb62d
mov dword [esp + 0x10], 4
jmp 0x4cb537
cmp esi, 8
jg 0x4cb63f
mov dword [esp + 0x10], 8
jmp 0x4cb537
xor eax, eax
cmp esi, 0x10
setg al
dec eax
and al, 0xf8
add eax, 0x18
mov dword [esp + 0x10], eax
jmp 0x4cb546
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x58]
push 0
lea ecx, [eax + edi + 0x28]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push 0
push eax
push ebx
call dword [sym.imp.GDI32.dll_GetDIBits]
test esi, esi
je 0x4cb69b
push 1
push esi
push ebx
call dword [sym.imp.GDI32.dll_SelectPalette]
push ebx
call dword [sym.imp.GDI32.dll_RealizePalette]
push ebx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esp + 0xa4]
push 0
push 0x8000080
push 2
push 0
push 0
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4cb6f1
lea ecx, [esp + 0x40]
mov byte [esp + 0x98], 0
call fcn.0056f009
lea ecx, [esp + 0xa4]
mov dword [esp + 0x98], 0xffffffff
call fcn.0056870c
xor eax, eax
jmp 0x4cb77f
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
xor eax, eax
lea edx, [esp + 0x20]
mov word [esp + 0x36], ax
mov word [esp + 0x38], ax
push eax
push edx
lea eax, [esp + 0x38]
lea ebp, [edi + ebp + 0x36]
push 0xe
add edi, 0x36
push eax
push esi
mov word [esp + 0x44], 0x4d42
mov dword [esp + 0x46], ebp
mov dword [esp + 0x4e], edi
call ebx
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x20]
push 0
push ecx
push ebp
push edx
push esi
call ebx
mov ebx, dword [esp + 0x24]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x40]
mov byte [esp + 0x98], 0
call fcn.0056f009
lea ecx, [esp + 0xa4]
mov dword [esp + 0x98], 0xffffffff
call fcn.0056870c
mov eax, 1
mov ecx, dword [esp + 0x90]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x8c
ret 0x10