Function at 0x573060
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x44
push ebp
push esi
xor esi, esi
push esi
mov dword [esp + 0x20], esi
call dword [sym.imp.USER32.dll_GetDC]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x18], ebp
je 0x5732e4
push ebx
mov ebx, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push edi
push ebp
call ebx
mov edi, eax
test edi, edi
je 0x5732cf
push 0x10
push 0x10
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov esi, eax
test esi, esi
mov dword [esp + 0x14], esi
je 0x5732bd
push ebp
call ebx
mov ebx, eax
test ebx, ebx
je 0x5732bd
push 0
push 1
push 1
push 0x10
push 0x10
call dword [sym.imp.GDI32.dll_CreateBitmap]
mov esi, eax
test esi, esi
mov dword [esp + 0x18], esi
je 0x5732a7
mov ecx, dword [esp + 0x58]
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
push 4
mov dword [esp + 0x3c], eax
push ecx
push eax
xor ebp, ebp
mov dword [esp + 0x48], eax
call fcn.004238a0
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
add esp, 0xc
test eax, eax
mov dword [esp + 0x28], eax
je 0x5731c1
lea edx, [esp + 0x2c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x5731b6
mov eax, dword [esp + 0x14]
push eax
push edi
call esi
mov ecx, dword [esp + 0x3c]
push ecx
push ebx
mov dword [esp + 0x18], eax
call esi
mov ebp, dword [esp + 0x5c]
push 0xcc0020
push 0
shl ebp, 4
add ebp, 0xfffffff0
push ebp
push ebx
push 0x10
push 0x10
push 0
push 0
push edi
mov dword [esp + 0x40], eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x1c]
push edx
push ebx
call esi
mov eax, dword [esp + 0x10]
push eax
push edi
call esi
mov ecx, dword [esp + 0x18]
push ecx
push edi
call esi
mov edx, dword [esp + 0x38]
push edx
push ebx
mov dword [esp + 0x18], eax
call esi
push 0xcc0020
push 0
push ebp
push ebx
push 0x10
push 0x10
push 0
push 0
push edi
mov dword [esp + 0x40], eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x1c]
push eax
push ebx
call esi
mov ecx, dword [esp + 0x10]
push ecx
push edi
call esi
mov ebp, 1
mov edx, dword [esp + 0x28]
push edx
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x5731d0
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x38]
test eax, eax
je 0x5731df
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
test ebp, ebp
je 0x57329f
mov eax, dword [0x6a0f48]
test eax, eax
je 0x57326e
mov eax, dword [0x61ade8]
test eax, eax
je 0x57326e
xor ebp, ebp
push ebp
push 0x5f48c0
push ebp
push ebp
call dword [sym.imp.USER32.dll_FindWindowExA]
test eax, eax
je 0x57326e
lea ecx, [ecx]
push 0
push 0x5f48c0
push eax
push 0
inc ebp
call dword [sym.imp.USER32.dll_FindWindowExA]
test eax, eax
jne 0x573210
cmp ebp, 1
jle 0x57326e
push 1
push 0x21
push eax
call fcn.004238a0
mov ebp, eax
add esp, 0xc
test ebp, ebp
je 0x57326e
mov eax, dword [esp + 0x14]
push eax
push edi
call esi
push 3
push 0
push 0
push 0x10
push 0x10
push ebp
push 0
push 0
push edi
mov dword [esp + 0x34], eax
call dword [sym.imp.USER32.dll_DrawIconEx]
mov ecx, dword [esp + 0x10]
push ecx
push edi
call esi
push ebp
call dword [sym.imp.USER32.dll_DestroyIcon]
mov edx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x40]
push ecx
mov dword [esp + 0x44], 1
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], eax
call dword [sym.imp.USER32.dll_CreateIconIndirect]
mov dword [esp + 0x24], eax
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
test esi, esi
je 0x5732b9
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [esp + 0x14]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
test esi, esi
je 0x5732cf
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebp
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0x24]
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x44
ret
mov eax, esi
pop esi
pop ebp
add esp, 0x44
ret