Function at 0x466f50
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x60
push ebp
mov ebp, dword [0x613894]
test ebp, ebp
mov dword [esp + 4], ebp
je 0x46723c
push ebx
push esi
push edi
jmp 0x466f70
mov ebp, dword [esp + 0x10]
nop
mov edi, dword [esp + 0x74]
cmp dword [ebp + 0xc8], edi
je 0x466f92
mov ebp, dword [ebp + 0x13ac]
test ebp, ebp
mov dword [esp + 0x10], ebp
jne 0x466f6b
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x60
ret
mov eax, dword [ebp + 0x1394]
test eax, eax
je 0x467239
push edi
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x14], ebx
je 0x467239
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
test esi, esi
je 0x466fdd
mov eax, dword [0x613704]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
test eax, eax
mov dword [esp + 0x18], eax
jne 0x466fed
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
push ebx
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x60
ret
mov eax, dword [ebp + 0x1384]
test eax, eax
je 0x467008
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebp + 0x1384], 0
mov ebx, dword [ebp + 0x1394]
test ebx, ebx
je 0x467200
mov ecx, dword [ebx + 8]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
je 0x4671ee
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4671ee
push edi
push ebp
call fcn.00465f10
add esp, 8
test eax, eax
je 0x4671ee
push edi
push ebp
call fcn.00466d80
mov eax, dword [ebx + 4]
add esp, 8
test eax, eax
je 0x46708f
mov edx, dword [0x613704]
mov ecx, dword [ebx + 0x11c]
push 0
push edx
mov edx, dword [ebx + 0x114]
push ecx
mov ecx, dword [ebp + 0xc8]
push edx
push 0
push eax
mov eax, dword [ebx + 8]
push eax
push ecx
call fcn.00428a90
add esp, 0x20
jmp 0x4671ee
cmp dword [ebx], 0
je 0x4671ee
lea edx, [esp + 0x24]
push edx
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
sub ecx, eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
sub ebp, ecx
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x74]
push eax
push ecx
mov dword [esp + 0x38], ebp
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x38], eax
mov eax, dword [ebx]
test eax, eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], ebp
je 0x46715a
lea ecx, [esp + 0x44]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x46715a
mov eax, dword [esp + 0x54]
lea edx, [esp + 0x58]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
je 0x46713c
mov eax, dword [esp + 0x5c]
cmp eax, edi
jge 0x467130
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x60]
cmp eax, ebp
jge 0x46713c
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x50]
test eax, eax
je 0x46714b
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x54]
test eax, eax
je 0x46715a
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edi, eax
test edi, edi
je 0x4671ea
push edi
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x28]
mov ebp, eax
xor eax, eax
push edx
push esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], eax
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [ebx]
push 3
push 0
push 0
push 0
push 0
push eax
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_DrawIconEx]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x20]
push 0xcc0020
push 0
push 0
push esi
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x2c]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
push ebp
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebp, dword [esp + 0x10]
mov ebx, dword [ebx + 0x124]
test ebx, ebx
mov edi, dword [esp + 0x74]
jne 0x467016
mov eax, dword [ebp + 0x1384]
test eax, eax
je 0x46721b
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebp + 0x1384], 0
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x14]
push ecx
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x60
ret