Function at 0x585590
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d60d2
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x64e0a0]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x64e0a0]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x10], ebx
push dword [ebx + 0x20]
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.00429fbe
mov esi, eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x34], esi
call fcn.00429528
lea ecx, [esp + 0x14]
mov dword [esp + 0x70], 0
call fcn.00429528
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], vtable.CBitmap.0
mov byte [esp + 0x70], 2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
lea eax, [esp + 0x50]
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x50]
push eax
mov ecx, ebx
call fcn.0042a377
push dword [esi + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x18]
call fcn.00429d3f
mov edi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x58]
sub edi, dword [esp + 0x54]
sub ebx, dword [esp + 0x50]
push edi
push ebx
push dword [esi + 4]
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 [esi + 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 [esi + 8]
call dword [sym.imp.GDI32.dll_GetWindowExtEx]
push dword [esp + 0x30]
lea eax, [esp + 0x3c]
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 [esi + 8]
call dword [sym.imp.GDI32.dll_GetViewportExtEx]
push dword [esp + 0x30]
lea eax, [esp + 0x3c]
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 + 0x40]
push eax
lea ecx, [esp + 0x20]
call fcn.0042a7aa
push 0xfaf4f0
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x1c]
call fcn.0042d9f1
push 1
lea ecx, [esp + 0x18]
call fcn.0042a58d
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push dword [esi + 0x27c]
call fcn.0042a6a9
push dword [esi + 0x74]
lea ecx, [esp + 0x18]
call fcn.0042a4a1
push 0
lea eax, [esp + 0x54]
push eax
push 0xffffffffffffffff
lea eax, [esi + 0x7c]
mov esi, dword [sym.imp.USER32.dll_DrawTextW]
push eax
push dword [esp + 0x28]
call esi
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x5c]
sub eax, ecx
sar eax, 1
add ecx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x54], ecx
push dword [eax + 0x78]
lea ecx, [esp + 0x18]
call fcn.0042a4a1
push 0
lea eax, [esp + 0x54]
push eax
mov eax, dword [esp + 0x18]
push 0xffffffffffffffff
add eax, 0x17c
push eax
push dword [esp + 0x28]
call esi
mov esi, dword [esp + 0x34]
push 0xcc0020
push 0
push 0
push dword [esp + 0x24]
push edi
push ebx
push 0
push 0
push dword [esi + 4]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [esp + 0x28]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esi]
push 0xffffffffffffffff
mov ecx, esi
call dword [eax + 0x20]
push dword [esi + 4]
mov eax, dword [esp + 0x14]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov byte [esp + 0x70], 1
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], vtable.CBitmap.0
call fcn.00402560
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], 0
call fcn.00429668
lea ecx, [esp + 0x40]
mov dword [esp + 0x70], 0xffffffff
call fcn.00429668
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.00541b41
mov esp, ebp
pop ebp
ret 4