Function at 0x457fc0
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x64
push ebp
mov ebp, dword [0x59427c]
test ebp, ebp
push edi
mov edi, ecx
mov dword [esp + 0xc], edi
mov dword [esp + 8], ebp
je 0x45828c
jmp 0x457fe3
mov ebp, dword [esp + 8]
cmp dword [ebp + 0xc8], edi
je 0x457fff
mov ebp, dword [ebp + 0x1018]
test ebp, ebp
mov dword [esp + 8], ebp
jne 0x457fdf
pop edi
pop ebp
add esp, 0x64
ret
mov eax, dword [ebp + 0x1000]
test eax, eax
je 0x45828c
push ebx
push esi
push edi
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
test esi, esi
mov dword [esp + 0x18], esi
je 0x45828a
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
test ebx, ebx
je 0x45804c
mov eax, dword [0x5940f4]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x45805c
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
push esi
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x64
ret
mov eax, dword [ebp + 0xff0]
test eax, eax
je 0x458077
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebp + 0xff0], 0
mov esi, dword [ebp + 0x1000]
test esi, esi
je 0x458251
mov ecx, dword [esi + 8]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
je 0x45823f
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x45823f
mov edx, edi
mov ecx, ebp
call fcn.00456ff0
test eax, eax
je 0x45823f
call fcn.00457df0
mov eax, dword [esi + 4]
test eax, eax
je 0x4580ea
mov edx, dword [esi + 0x11c]
mov ecx, dword [esi + 0x114]
push edx
mov edx, dword [esi + 8]
push ecx
mov ecx, dword [ebp + 0xc8]
push 0
push eax
call fcn.00420720
jmp 0x45823f
cmp dword [esi], 0
je 0x45823f
lea edx, [esp + 0x28]
push edx
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
sub ecx, eax
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x20], eax
sub ebp, ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x3c], ebp
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x3c], eax
mov eax, dword [esi]
test eax, eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], ebp
je 0x4581b5
lea ecx, [esp + 0x48]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x4581b5
mov eax, dword [esp + 0x58]
lea edx, [esp + 0x5c]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
je 0x458197
mov eax, dword [esp + 0x60]
cmp eax, edi
jge 0x45818b
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x64]
cmp eax, ebp
jge 0x458197
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4581a6
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4581b5
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edi, eax
test edi, edi
je 0x45823b
push edi
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x2c]
mov ebp, eax
xor eax, eax
push edx
push ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], eax
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [esi]
push eax
push 0
push 0
push ebx
call dword [sym.imp.USER32.dll_DrawIcon]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x24]
push 0xcc0020
push 0
push 0
push ebx
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x30]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
push ebp
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebp, dword [esp + 0x10]
mov esi, dword [esi + 0x120]
test esi, esi
mov edi, dword [esp + 0x14]
jne 0x458085
mov eax, dword [ebp + 0xff0]
test eax, eax
je 0x45826c
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebp + 0xff0], 0
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x18]
push ecx
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x64
ret