Function at 0x45ef25
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.0045e050
mov edi, eax
test edi, edi
je 0x45f18d
cmp dword [edi + 0x1004], 0
je 0x45f18d
push dword [ebp + 8]
call sub.USER32.dll_GetDC
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x45f18d
push dword [ebp - 8]
call sub.GDI32.dll_CreateCompatibleDC
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x45ef83
push dword [ebp - 8]
push dword [ebp + 8]
call sub.USER32.dll_ReleaseDC
jmp 0x45f18d
push dword [0x55f8d8]
call sub.GDI32.dll_CreateSolidBrush
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x45efaf
push dword [ebp - 0xc]
call sub.GDI32.dll_DeleteDC
push dword [ebp - 8]
push dword [ebp + 8]
call sub.USER32.dll_ReleaseDC
jmp 0x45f18d
mov eax, dword [edi + 0xff4]
test eax, eax
je 0x45efc7
push eax
call sub.GDI32.dll_DeleteObject
xor edx, edx
mov dword [edi + 0xff4], edx
mov ebx, dword [edi + 0x1004]
test ebx, ebx
je 0x45f15a
push dword [ebx + 0xc]
push dword [ebp + 8]
call sub.USER32.dll_GetDlgItem
mov esi, eax
test esi, esi
je 0x45f14c
push esi
call sub.USER32.dll_IsWindowEnabled
test eax, eax
je 0x45f14c
push esi
push edi
call fcn.0045e0b5
test eax, eax
je 0x45f14c
push esi
push edi
call fcn.0045edbf
mov eax, dword [ebx + 4]
test eax, eax
je 0x45f03a
push dword [ebx + 0x120]
push dword [ebx + 0x118]
push 0
push dword [ebx + 8]
push eax
push dword [ebx + 0xc]
push dword [edi + 0xc8]
call fcn.0042f9c1
jmp 0x45f14c
cmp dword [ebx], 0
je 0x45f14c
lea edx, [ebp - 0x28]
push edx
push esi
call sub.USER32.dll_GetWindowRect
mov ecx, dword [ebp - 0x28]
sub dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x24]
sub dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x18], edx
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x14], ecx
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call sub.USER32.dll_ScreenToClient
push edi
lea esi, [ebp - 0x28]
lea edi, [ebp - 0x38]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop edi
mov eax, dword [ebx]
test eax, eax
je 0x45f0d6
lea edx, [ebp - 0x4c]
push edx
push eax
call sub.USER32.dll_GetIconInfo
test eax, eax
je 0x45f0d6
lea ecx, [ebp - 0x64]
push ecx
push 0x18
push dword [ebp - 0x3c]
call sub.GDI32.dll_GetObjectA
test eax, eax
je 0x45f0bc
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x30]
jge 0x45f0b1
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x2c]
jge 0x45f0bc
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x45f0c9
push eax
call sub.GDI32.dll_DeleteObject
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x45f0d6
push eax
call sub.GDI32.dll_DeleteObject
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 8]
call sub.GDI32.dll_CreateCompatibleBitmap
mov esi, eax
test esi, esi
je 0x45f14c
push esi
push dword [ebp - 0xc]
call sub.GDI32.dll_SelectObject
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
push dword [ebp - 0x10]
lea edx, [ebp - 0x28]
push edx
push dword [ebp - 0xc]
call sub.USER32.dll_FillRect
push dword [ebx]
push 0
push 0
push dword [ebp - 0xc]
call sub.USER32.dll_DrawIcon
push 0xcc0020
push 0
push 0
push dword [ebp - 0xc]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 8]
call sub.GDI32.dll_BitBlt
push dword [ebp - 4]
push dword [ebp - 0xc]
call sub.GDI32.dll_SelectObject
push esi
call sub.GDI32.dll_DeleteObject
mov ebx, dword [ebx + 0x124]
test ebx, ebx
jne 0x45efd5
mov eax, dword [edi + 0xff4]
test eax, eax
je 0x45f172
push eax
call sub.GDI32.dll_DeleteObject
xor edx, edx
mov dword [edi + 0xff4], edx
push dword [ebp - 0x10]
call sub.GDI32.dll_DeleteObject
push dword [ebp - 0xc]
call sub.GDI32.dll_DeleteDC
push dword [ebp - 8]
push dword [ebp + 8]
call sub.USER32.dll_ReleaseDC
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4