Function at 0x587360
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d61ad
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x64e0a0]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x64e0a0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x8c]
push dword [edi + 0x20]
mov dword [esp + 0x38], eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.00429fbe
lea ecx, [esp + 0x40]
mov ebx, eax
call fcn.00429528
lea ecx, [esp + 0x14]
mov dword [esp + 0x78], 0
call fcn.00429528
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], vtable.CBitmap.0
mov byte [esp + 0x78], 2
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
push dword [ebx + 4]
mov esi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
call esi
push eax
lea ecx, [esp + 0x44]
call fcn.00429d3f
lea eax, [esp + 0x58]
push eax
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [ebx + 4]
call esi
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 + 0x48], eax
mov dword [esp + 0x44], 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 0
push 0
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x20]
call fcn.0042a7aa
push 0xf7f7f7
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x1c]
call fcn.0042d9f1
push 1
lea ecx, [esp + 0x18]
call fcn.0042a58d
cmp word [edi + 0x90], 0
je 0x587513
xor eax, eax
jmp 0x587561
cmp byte [0x650ce4], 0
mov al, byte [0x650cd9]
je 0x587539
test al, al
jne 0x587539
cmp byte [0x65145e], al
jne 0x587546
cmp byte [0x650cd8], al
jne 0x58755c
xor eax, eax
jmp 0x587561
cmp byte [0x65145e], 0
je 0x58755c
test al, al
jne 0x58755c
cmp byte [0x650cda], 0
jne 0x58755c
cmp byte [0x650cd8], 0
jne 0x58755c
xor eax, eax
jmp 0x587561
mov eax, 1
push eax
xor eax, eax
cmp byte [0x650a79], al
mov ecx, edi
sete al
push eax
push dword [0x65c01c]
lea eax, [esp + 0x20]
push 0
push eax
lea eax, [esp + 0x54]
push eax
call fcn.005883d0
mov esi, dword [esp + 0x34]
add esi, 4
push esi
lea eax, [esp + 0x18]
push eax
push ecx
mov ecx, edi
call fcn.00587a00
cmp byte [0x65145e], 0
je 0x5875ed
mov ecx, edi
call fcn.005881d0
add esi, eax
xor eax, eax
cmp byte [0x650a7a], al
push 1
sete al
mov ecx, edi
push eax
push dword [0x65bf4c]
lea eax, [esp + 0x20]
push esi
push eax
lea eax, [esp + 0x54]
push eax
call fcn.005883d0
mov eax, dword [esp + 0x34]
dec eax
add eax, esi
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x48]
push eax
mov ecx, edi
call fcn.005876a0
push 0xcc0020
push 0
push 0
push dword [esp + 0x24]
push dword [esp + 0x48]
push dword [esp + 0x50]
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 + 0x44]
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 + 0x78], 1
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], vtable.CBitmap.0
call fcn.00402560
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 0
call fcn.00429668
lea ecx, [esp + 0x40]
mov dword [esp + 0x78], 0xffffffff
call fcn.00429668
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00541b41
mov esp, ebp
pop ebp
ret 4