Function at 0x576e00
Capabilities:
Capture screenshot
Check for peb ntglobalflag flag
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d5e11
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x64e0a0]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x64e0a0]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [0x650c80]
push dword [edi + 0x20]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov eax, dword [edx + 0x7df0]
mov dword [esp + 0x5c], eax
mov eax, dword [edx + 0x7df4]
mov dword [esp + 0x60], eax
mov eax, dword [edx + 0x7df8]
mov dword [esp + 0x64], eax
mov eax, dword [edx + 0x7dfc]
mov dword [esp + 0x68], eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.00429fbe
lea ecx, [esp + 0x38]
mov ebx, eax
call fcn.00429528
lea ecx, [esp + 0x14]
mov dword [esp + 0x88], 0
call fcn.00429528
xor esi, esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], vtable.CBitmap.0
mov byte [esp + 0x88], 2
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov eax, dword [esp + 0x58]
sub dword [esp + 0x60], eax
mov eax, dword [esp + 0x5c]
sub dword [esp + 0x64], eax
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], esi
push dword [ebx + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x18]
call fcn.00429d3f
mov ecx, dword [esp + 0x64]
sub ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x58]
push ecx
push eax
push dword [ebx + 4]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x28]
call fcn.00429d75
push dword [esp + 0x28]
push dword [esp + 0x1c]
call fcn.0042a442
push dword [ebx + 8]
call dword [sym.imp.GDI32.dll_GetMapMode]
push eax
lea ecx, [esp + 0x18]
call fcn.0042a5d1
lea eax, [esp + 0x2c]
push eax
push dword [ebx + 8]
call dword [sym.imp.GDI32.dll_GetWindowExtEx]
push dword [esp + 0x30]
lea eax, [esp + 0x54]
push dword [esp + 0x30]
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x20]
call dword [eax + 0x48]
lea eax, [esp + 0x2c]
push eax
push dword [ebx + 8]
call dword [sym.imp.GDI32.dll_GetViewportExtEx]
push dword [esp + 0x30]
lea eax, [esp + 0x54]
push dword [esp + 0x30]
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x20]
call dword [eax + 0x40]
push esi
push esi
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x20]
call fcn.0042a7aa
mov eax, dword [esp + 0x58]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x74], eax
lea eax, [edi + 0x78]
mov dword [esp + 0x64], 0x17
test eax, eax
je 0x576fdf
mov eax, dword [eax + 4]
push eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_FillRect]
lea eax, [edi + 0x80]
mov dword [esp + 0x6c], 0x18
test eax, eax
je 0x577004
mov eax, dword [eax + 4]
push eax
lea eax, [esp + 0x6c]
push eax
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_FillRect]
push dword [ebx + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x3c]
call fcn.00429d3f
push 0xf1eae4
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x74], 0x17
mov dword [esp + 0x7c], 0x18
call fcn.0042d9f1
cmp byte [0x65145e], 0
je 0x577065
cmp byte [0x650a78], 0
jne 0x577065
mov esi, 1
mov dword [esp + 0x34], esi
mov eax, dword [esp + 0x58]
mov ecx, esi
neg ecx
sbb ecx, ecx
dec dword [esp + 0x64]
and ecx, 0x10
add eax, 0xe
add eax, ecx
push 1
lea ecx, [esp + 0x18]
mov dword [esp + 0x5c], eax
call fcn.0042a58d
mov eax, dword [edi + 0x94]
test eax, eax
je 0x5771a0
cmp dword [eax + 0x40], 0xffffffff
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
je 0x5770e0
mov eax, dword [0x650cc4]
test eax, eax
je 0x5770b4
push eax
push dword [esp + 0x40]
call esi
mov eax, dword [edi + 0x94]
push 0xcc0020
mov eax, dword [eax + 0x40]
shl eax, 4
push eax
push 0
push dword [esp + 0x48]
push 0x10
push 0x10
push 3
push dword [esp + 0x74]
push dword [esp + 0x38]
call dword [sym.imp.GDI32.dll_BitBlt]
cmp dword [esp + 0x34], 0
je 0x57713e
mov ecx, dword [0x650c80]
mov eax, dword [ecx + 0x83a4]
test eax, eax
je 0x577104
push eax
push dword [esp + 0x40]
call esi
mov ecx, dword [0x650c80]
mov eax, dword [edi + 0x94]
sub dword [esp + 0x58], 0x1a
inc dword [esp + 0x5c]
movzx eax, word [eax + 0x9c]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x20]
push eax
add ecx, 0x1950
call fcn.0057a510
dec dword [esp + 0x5c]
add dword [esp + 0x58], 0x1a
mov eax, dword [edi + 0x88]
test eax, eax
je 0x577156
mov eax, dword [eax + 4]
test eax, eax
je 0x577156
push eax
push dword [esp + 0x1c]
call esi
add dword [esp + 0x58], 0x16
mov eax, dword [edi + 0x94]
movzx eax, byte [eax + 0x91]
lea ecx, [eax - 0xff]
neg ecx
sbb ecx, ecx
and ecx, eax
mov eax, dword [0x650c80]
push dword [eax + ecx*4 + 0x1b6c]
lea ecx, [esp + 0x18]
call fcn.0042a6a9
mov eax, dword [edi + 0x94]
push 0x8124
lea ecx, [esp + 0x5c]
push ecx
push 0xffffffffffffffff
push dword [eax + 4]
jmp 0x5771ec
mov eax, dword [0x650c80]
cmp dword [eax + 0x1bfc], 0
je 0x5771f6
mov eax, dword [eax + 0x20b4]
test eax, eax
je 0x5771ca
mov eax, dword [eax + 4]
test eax, eax
je 0x5771ca
push eax
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_SelectObject]
add dword [esp + 0x58], 4
push 0
lea ecx, [esp + 0x18]
call fcn.0042a6a9
push 0x8124
lea eax, [esp + 0x5c]
push eax
push 0xffffffffffffffff
push dword [0x65bd5c]
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_DrawTextW]
push 0xcc0020
push 0
push 0
push dword [esp + 0x24]
push dword [esp + 0x5c]
push dword [esp + 0x5c]
push 0
push 0
push dword [ebx + 4]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [esp + 0x28]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [esp + 0x18]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
push dword [esp + 0x3c]
call esi
mov eax, dword [ebx]
push 0xffffffffffffffff
mov ecx, ebx
call dword [eax + 0x20]
push dword [ebx + 4]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov byte [esp + 0x88], 1
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], vtable.CBitmap.0
call fcn.00402560
lea ecx, [esp + 0x14]
mov byte [esp + 0x88], 0
call fcn.00429668
lea ecx, [esp + 0x38]
mov dword [esp + 0x88], 0xffffffff
call fcn.00429668
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00541b41
mov esp, ebp
pop ebp
ret 4