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

Disassembly:
mov eax, dword [0x643aa4]
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push edi
xor edi, edi
cmp eax, edi
je 0x558c76
push eax
call esi
mov eax, dword [0x643aa0]
cmp eax, edi
mov dword [0x643aa4], edi
je 0x558c88
push eax
call esi
mov eax, dword [0x643a9c]
cmp eax, edi
mov dword [0x643aa0], edi
je 0x558c9a
push eax
call esi
mov eax, dword [0x643a98]
cmp eax, edi
mov dword [0x643a9c], edi
je 0x558cac
push eax
call esi
mov eax, dword [0x643aa8]
cmp eax, edi
mov dword [0x643a98], edi
je 0x558cbe
push eax
call esi
mov dword [0x643aa8], edi
pop edi
pop esi
ret
sub esp, 0x48
push ebx
push ebp
push esi
mov esi, dword [esp + 0x58]
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x65
push esi
call edi
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x5599d5
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x5599d5
push esi
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
test ebx, ebx
je 0x5599d5
push ebx
call fcn.00558bc0
add esp, 4
lea ecx, [esp + 0x38]
push ecx
push 0x66
push esi
call edi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea edx, [esp + 0x3c]
push edx
push esi
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x28]
push ecx
push esi
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esp + 0x24]
add edx, 5
push ebx
mov dword [esp + 0x38], edx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x30]
mov edi, eax
mov eax, dword [esp + 0x34]
push eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push edi
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [0x613704]
push edx
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ebp, eax
push ebp
lea eax, [esp + 0x2c]
push eax
push edi
call dword [sym.imp.USER32.dll_FillRect]
push ebp
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x60]
lea ecx, [eax + 0x34]
xor ebp, ebp
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ecx
lea esp, [esp]
mov edx, dword [esp + 0x64]
cmp ebp, edx
je 0x559851
cmp dword [ecx], 0
je 0x559866
push 0
push 0
push ebp
push eax
push edi
push esi
call fcn.00559190
mov eax, dword [esp + 0x78]
add esp, 0x18
mov ecx, dword [esp + 0x10]
inc ebp
add ecx, 0x5c
cmp ebp, 0x32
mov dword [esp + 0x10], ecx
jl 0x559830
mov edx, dword [esp + 0x64]
mov ecx, edx
imul ecx, ecx, 0x5c
mov ecx, dword [ecx + eax + 0x44]
push ecx
push 1
push edx
push eax
push edi
push esi
call fcn.00559190
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
add esp, 0x18
lea edx, [esp + 0x28]
push edx
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x20]
push eax
add edx, 0xfffffffb
push esi
mov dword [esp + 0x2c], edx
call dword [sym.imp.USER32.dll_ScreenToClient]
push 0x67
push esi
mov dword [esp + 0x18], 0
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, eax
test ebp, ebp
je 0x55991b
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push eax
push ebx
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_SelectClipRgn]
lea edx, [esp + 0x48]
push edx
push ebp
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [esp + 0x4c]
push eax
push esi
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
push eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_ExcludeClipRect]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x44]
sub edx, dword [esp + 0x3c]
push 0xcc0020
push ecx
push eax
push edi
push edx
mov edx, dword [esp + 0x54]
sub edx, eax
push edx
push ecx
push eax
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
test ebp, ebp
je 0x55995c
push 0
push ebx
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x18]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
push ebx
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x20]
push ecx
push esi
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x24]
push 1
xor ecx, ecx
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x40]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [edx + 8], ecx
push 0
push esi
mov dword [esp + 0x50], eax
mov dword [edx + 0xc], eax
call fcn.00558cd0
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
jmp 0x558c60
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret