Function at 0x4faef0
Capabilities:
Capture screenshot
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5803b0
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5eabd8]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
mov dword [esp + 0x3c], eax
call fcn.0047f8e9
mov esi, eax
mov eax, dword [esp + 0x78]
push eax
lea ecx, [esp + 0x58]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
lea ecx, [esp + 0x44]
call fcn.0047f24e
xor ebx, ebx
mov dword [esp + 0x6c], ebx
cmp esi, ebx
jne 0x4faf5b
xor eax, eax
jmp 0x4faf5e
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x48]
call fcn.0047f8fd
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], vtable.CBitmap.0
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x54]
mov edx, dword [esi + 4]
push eax
push ecx
push edx
mov byte [esp + 0x78], 1
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x40]
call fcn.0047fbcf
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
push eax
push ecx
call fcn.0047fcae
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x54]
mov esi, dword [esi + 4]
mov ecx, dword [esp + 0x5c]
push 0xcc0020
push edx
push edi
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x6c]
push esi
sub eax, edx
mov edx, dword [esp + 0x58]
push eax
sub ecx, edi
push ecx
push ebx
push ebx
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov esi, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
sub esi, dword [esp + 0x54]
sub eax, dword [esp + 0x58]
cmp dword [esp + 0x7c], 2
mov edi, dword [esp + 0x74]
mov ebp, dword [sym.imp.GDI32.dll_GetPixel]
mov ebx, dword [sym.imp.GDI32.dll_SetPixel]
mov dword [esp + 0x30], esi
mov dword [esp + 0x18], eax
je 0x4fb1a7
mov dword [esp + 0x1c], 3
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x28], 0xfffffffd
mov dword [esp + 0x24], 0xc
dec esi
mov eax, 4
cmp dword [esp + 0x7c], eax
je 0x4fb2a4
mov dword [esp + 0x78], 0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x48]
push eax
push esi
push ecx
call ebp
mov edx, dword [esp + 0x78]
push eax
push edx
push esi
push edi
call ebx
mov eax, 1
add dword [esp + 0x78], eax
sub dword [esp + 0x20], eax
jne 0x4fb056
mov eax, dword [esp + 0x24]
mov dword [esp + 0x78], 7
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], 4
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x48]
push ecx
push esi
push edx
call ebp
mov ecx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x24]
push eax
call fcn.004f1800
mov ecx, dword [esp + 0x78]
push eax
push ecx
push esi
push edi
call ebx
mov edx, dword [esp + 0x28]
add dword [esp + 0x20], edx
mov eax, 1
sub dword [esp + 0x78], eax
sub dword [esp + 0x2c], eax
jne 0x4fb094
mov eax, dword [esp + 0x18]
add eax, 0xfffffffb
cmp eax, 8
mov dword [esp + 0x78], 8
jl 0x4fb11f
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x48]
push eax
push esi
push ecx
call ebp
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x14]
push eax
push edx
call fcn.004f1800
push eax
mov eax, dword [esp + 0x7c]
push eax
push esi
push edi
call ebx
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x18]
inc eax
add ecx, 0xfffffffb
cmp eax, ecx
mov dword [esp + 0x78], eax
jle 0x4fb0e5
cmp dword [esp + 0x7c], 1
je 0x4fb17c
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x78], eax
mov dword [esp + 0x2c], 4
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x48]
push ecx
push esi
push edx
call ebp
mov ecx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x24]
push eax
call fcn.004f1800
mov ecx, dword [esp + 0x78]
push eax
push ecx
push esi
push edi
call ebx
mov edx, dword [esp + 0x1c]
add dword [esp + 0x20], edx
mov eax, 1
sub dword [esp + 0x78], eax
sub dword [esp + 0x2c], eax
jne 0x4fb13f
mov eax, dword [esp + 0x24]
add dword [esp + 0x74], 0xf
mov ecx, 3
sub dword [esp + 0x28], ecx
add dword [esp + 0x1c], ecx
add eax, 0xc
dec esi
cmp eax, 0x30
mov dword [esp + 0x24], eax
jle 0x4fb03b
mov esi, dword [esp + 0x30]
mov ecx, 1
cmp dword [esp + 0x7c], ecx
je 0x4fb35f
add esi, 0xfffffffb
mov dword [esp + 0x74], esi
mov esi, dword [esp + 0x18]
mov dword [esp + 0x1c], 0xf
mov dword [esp + 0x20], 0xc
mov dword [esp + 0x24], 0xfffffffd
dec esi
mov eax, 3
cmp dword [esp + 0x7c], eax
je 0x4fb2fb
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x48]
push esi
push eax
push ecx
call ebp
mov edx, dword [esp + 0x78]
push eax
push esi
push edx
push edi
call ebx
sub dword [esp + 0x78], 1
jns 0x4fb1ed
mov eax, dword [esp + 0x20]
mov dword [esp + 0x78], 7
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x48]
push esi
push ecx
push edx
call ebp
mov ecx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x2c]
push eax
call fcn.004f1800
mov ecx, dword [esp + 0x78]
push eax
push esi
push ecx
push edi
call ebx
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x24]
add dword [esp + 0x28], edx
dec eax
cmp eax, 4
mov dword [esp + 0x78], eax
jge 0x4fb21b
mov eax, 8
cmp dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
jl 0x4fb33a
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x48]
push esi
push eax
push ecx
call ebp
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push eax
push edx
call fcn.004f1800
push eax
mov eax, dword [esp + 0x7c]
push esi
push eax
push edi
call ebx
mov eax, dword [esp + 0x78]
inc eax
cmp eax, dword [esp + 0x74]
mov dword [esp + 0x78], eax
jle 0x4fb26a
jmp 0x4fb33a
mov eax, dword [esp + 0x18]
add eax, 0xfffffffb
cmp eax, 1
mov dword [esp + 0x78], 1
jl 0x4fb126
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x48]
push ecx
push esi
push edx
call ebp
mov ecx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x78]
push eax
call fcn.004f1800
mov ecx, dword [esp + 0x78]
push eax
push ecx
push esi
push edi
call ebx
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x18]
inc eax
add ecx, 0xfffffffb
cmp eax, ecx
mov dword [esp + 0x78], eax
jle 0x4fb2bc
jmp 0x4fb126
cmp dword [esp + 0x74], ecx
mov dword [esp + 0x78], ecx
jl 0x4fb33a
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x48]
push esi
push ecx
push edx
call ebp
mov ecx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x20]
push eax
call fcn.004f1800
mov ecx, dword [esp + 0x78]
push eax
push esi
push ecx
push edi
call ebx
mov eax, dword [esp + 0x78]
inc eax
cmp eax, dword [esp + 0x74]
mov dword [esp + 0x78], eax
jle 0x4fb305
mov eax, dword [esp + 0x24]
add dword [esp + 0x20], 0xc
add dword [esp + 0x1c], 0xf
sub eax, 3
mov ecx, 1
sub esi, ecx
cmp eax, 0xfffffff4
mov dword [esp + 0x24], eax
jge 0x4fb1da
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4fb36a
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x48]
push eax
push edx
call fcn.0047fcae
mov eax, dword [esp + 0x38]
push eax
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 0
mov dword [esp + 0x3c], vtable.CBitmap.0
call fcn.0041e040
lea ecx, [esp + 0x44]
mov dword [esp + 0x6c], 0xffffffff
call fcn.0047f97c
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0xc