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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d6112
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x64e0a0]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x64e0a0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x3c], ebx
push dword [ebx + 0x20]
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.00429fbe
mov edi, eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x44], edi
call fcn.00429528
lea ecx, [esp + 0x10]
mov dword [esp + 0x80], 0
call fcn.00429528
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], vtable.CBitmap.0
mov byte [esp + 0x80], 2
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1c]
lea eax, [esp + 0x60]
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x60]
push eax
mov ecx, ebx
call fcn.0042a377
push dword [edi + 4]
mov esi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
call esi
push eax
lea ecx, [esp + 0x14]
call fcn.00429d3f
mov ecx, dword [esp + 0x6c]
sub ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
sub eax, dword [esp + 0x60]
push ecx
push eax
push dword [edi + 4]
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x2c]
call fcn.00429d75
push dword [esp + 0x2c]
push dword [esp + 0x18]
call fcn.0042a442
push dword [edi + 8]
call dword [sym.imp.GDI32.dll_GetMapMode]
push eax
lea ecx, [esp + 0x14]
call fcn.0042a5d1
lea eax, [esp + 0x20]
push eax
push dword [edi + 8]
call dword [sym.imp.GDI32.dll_GetWindowExtEx]
push dword [esp + 0x24]
lea eax, [esp + 0x5c]
push dword [esp + 0x24]
lea ecx, [esp + 0x18]
push eax
mov eax, dword [esp + 0x1c]
call dword [eax + 0x48]
lea eax, [esp + 0x20]
push eax
push dword [edi + 8]
call dword [sym.imp.GDI32.dll_GetViewportExtEx]
push dword [esp + 0x24]
lea eax, [esp + 0x5c]
push dword [esp + 0x24]
lea ecx, [esp + 0x18]
push eax
mov eax, dword [esp + 0x1c]
call dword [eax + 0x40]
push 0
push 0
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x1c]
call fcn.0042a7aa
push 0xfaf4f0
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x18]
call fcn.0042d9f1
sub dword [esp + 0x68], 6
push 0xcfb6a2
push 0xcfb6a2
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x1c]
call fcn.0042d6a5
push dword [0x652de0]
inc dword [esp + 0x64]
inc dword [esp + 0x68]
dec dword [esp + 0x6c]
dec dword [esp + 0x70]
lea eax, [esp + 0x64]
push eax
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_FillRect]
inc dword [esp + 0x60]
inc dword [esp + 0x64]
dec dword [esp + 0x68]
dec dword [esp + 0x6c]
push dword [edi + 4]
call esi
push eax
lea ecx, [esp + 0x4c]
call fcn.00429d3f
lea eax, [ebx + 0x8c]
test eax, eax
je 0x585f58
mov eax, dword [eax + 4]
test eax, eax
je 0x585f58
push eax
push dword [esp + 0x50]
call dword [sym.imp.GDI32.dll_SelectObject]
push 1
lea ecx, [esp + 0x14]
call fcn.0042a58d
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x6c]
push dword [ebx + 0x84]
sub eax, ecx
lea edi, [ecx + 1]
sub eax, 7
inc ecx
sar eax, 1
add edi, eax
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], edi
call fcn.0042a4a1
push 0
lea ecx, [esp + 0x14]
call fcn.0042a6a9
add dword [esp + 0x60], 4
sub dword [esp + 0x68], 4
cmp dword [ebx + 0x94], 0
mov esi, dword [sym.imp.GDI32.dll_BitBlt]
jne 0x5860b0
cmp dword [ebx + 0x198], 0
jne 0x585fff
cmp byte [0x650ce4], 0
push 0x8124
lea eax, [esp + 0x64]
push eax
push 0xffffffffffffffff
je 0x585fea
push dword [0x65beec]
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_DrawTextW]
jmp 0x5861da
push dword [0x65bef0]
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_DrawTextW]
jmp 0x5861da
mov eax, dword [ebx + 0x19c]
test eax, eax
je 0x5861da
push 0x8124
lea ecx, [esp + 0x64]
push ecx
push 0xffffffffffffffff
push eax
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_DrawTextW]
cmp dword [ebx + 0x1a0], 0
je 0x5861da
mov edx, dword [ebx + 0x19c]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [esp + 0x20], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x586040
sub ecx, dword [esp + 0x20]
lea eax, [esp + 0x30]
push eax
sar ecx, 1
push ecx
push edx
push dword [esp + 0x20]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [esp + 0x60]
add eax, dword [esp + 0x30]
push 0x8800c6
push 0
push 0
push dword [esp + 0x58]
mov dword [esp + 0x70], eax
push 7
push 4
push edi
add eax, 4
push eax
push dword [esp + 0x34]
call esi
add dword [esp + 0x60], 0xc
push 0x8124
lea eax, [esp + 0x64]
push eax
push 0xffffffffffffffff
push dword [ebx + 0x1a0]
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_DrawTextW]
jmp 0x5861da
push 0x100
push dword [0x65bcd4]
call fcn.0054332a
add esp, 8
lea ecx, [esp + 0x30]
push ecx
push eax
push dword [0x65bcd4]
push dword [esp + 0x20]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
push 0x8124
lea eax, [esp + 0x64]
push eax
push 0xffffffffffffffff
push dword [0x65bcd4]
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [esp + 0x30]
push dword [ebx + 0x88]
add dword [esp + 0x64], eax
lea ecx, [esp + 0x14]
call fcn.0042a4a1
mov edi, dword [ebx + 0x94]
dec edi
js 0x5861da
mov eax, edi
lea esi, [ebx + 0x9c]
mov ebx, dword [esp + 0x20]
shl eax, 5
add esi, eax
lea ebx, [ebx]
push dword [esi + 4]
lea ecx, [esp + 0x14]
call fcn.0042a6a9
push 0x8124
lea eax, [esp + 0x64]
push eax
push dword [esi]
push dword [esi - 4]
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_DrawTextW]
lea eax, [esp + 0x30]
push eax
push dword [esi]
push dword [esi - 4]
push dword [esp + 0x20]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
mov dword [esi + 8], edx
add edx, dword [esp + 0x30]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x68]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x6c]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 8]
add eax, dword [esp + 0x30]
mov dword [esp + 0x60], edx
mov dword [esi + 0x10], eax
test edi, edi
je 0x5861bf
push 0x8800c6
push 0
push 0
push dword [esp + 0x58]
lea eax, [edx + 4]
push 7
push 4
push ebx
push eax
push dword [esp + 0x34]
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x60]
add edx, 0xc
sub esi, 0x20
dec edi
mov dword [esp + 0x60], edx
jns 0x586130
mov ebx, dword [esp + 0x3c]
mov esi, dword [sym.imp.GDI32.dll_BitBlt]
mov edi, dword [esp + 0x44]
push 0xcc0020
push 0
push 0
push dword [esp + 0x20]
push dword [esp + 0x50]
push dword [esp + 0x4c]
push 0
push 0
push dword [edi + 4]
call esi
push dword [esp + 0x2c]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [esp + 0x14]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
push dword [esp + 0x4c]
call esi
mov eax, dword [edi]
push 0xffffffffffffffff
mov ecx, edi
call dword [eax + 0x20]
push dword [edi + 4]
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov byte [esp + 0x80], 1
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], vtable.CBitmap.0
call fcn.00402560
lea ecx, [esp + 0x10]
mov byte [esp + 0x80], 0
call fcn.00429668
lea ecx, [esp + 0x48]
mov dword [esp + 0x80], 0xffffffff
call fcn.00429668
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00541b41
mov esp, ebp
pop ebp
ret 4