Function at 0x653a03dd
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x3c
lea eax, [esp + 0x10]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x4c]
push edi
push eax
push esi
xor edi, edi
xor ebp, ebp
xor ebx, ebx
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x653a0463
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
cmp ecx, edi
je 0x653a0424
cmp eax, edi
je 0x653a0424
mov edx, dword [esp + 0x54]
mov dword [edx], ecx
mov ecx, dword [esp + 0x58]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp ecx, edi
je 0x653a0458
lea edx, [esp + 0x34]
push edx
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
je 0x653a0449
mov eax, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x30]
cmp eax, edi
je 0x653a0463
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp ebp, edi
je 0x653a046b
cmp ebx, edi
jne 0x653a047d
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0xb
call ebx
push 0xc
mov ebp, eax
call ebx
mov ebx, eax
cmp esi, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
jne 0x653a0496
mov eax, 0x80004005
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
push edi
call dword [sym.imp.USER32.dll_GetDC]
cmp eax, edi
mov dword [esp + 0x10], eax
je 0x653a0619
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
test esi, esi
je 0x653a059b
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
test edi, edi
je 0x653a059b
mov edx, dword [esp + 0x10]
push ebx
push ebp
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
test eax, eax
mov dword [esp + 0x14], eax
je 0x653a059b
mov eax, dword [esp + 0x10]
push eax
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0
push 1
push 1
push ebx
push ebp
call dword [sym.imp.GDI32.dll_CreateBitmap]
test eax, eax
mov dword [esp + 0x18], eax
je 0x653a059b
mov ecx, dword [esp + 0x14]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x42
push ebx
push ebp
push 0
push 0
push esi
mov dword [esp + 0x34], eax
call dword [sym.imp.GDI32.dll_PatBlt]
test eax, eax
je 0x653a059b
mov edx, dword [esp + 0x50]
push edx
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_DrawIcon]
test eax, eax
je 0x653a059b
mov eax, dword [esp + 0x18]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
test eax, eax
je 0x653a059b
push 0xff0062
push ebx
push ebp
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_PatBlt]
test eax, eax
je 0x653a059b
mov ecx, dword [esp + 0x50]
push ecx
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_DrawIcon]
test eax, eax
je 0x653a059b
push 0x660046
push 0
push 0
push esi
push ebx
push ebp
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x653a05e7
mov edx, dword [esp + 0x10]
push edx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ebx, dword [sym.imp.GDI32.dll_DeleteDC]
test esi, esi
je 0x653a05b5
push esi
call ebx
test edi, edi
je 0x653a05bc
push edi
call ebx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x653a05cb
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x653a05da
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, 0x80004005
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov ebp, dword [esp + 0x1c]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push ebp
push esi
call ebx
push ebp
push edi
call ebx
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
push edi
call esi
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x54]
mov dword [eax], ecx
mov eax, dword [esp + 0x18]
mov dword [edx], eax
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3c
ret