Function at 0x45a960
Capabilities:
Hide graphical window

Disassembly:
push ecx
push ebx
mov ebx, ecx
push ebp
push esi
push edi
cmp dword [ebx + 4], 0
je 0x45aa19
mov esi, dword [0x4ad0d8]
dec esi
js 0x45a998
lea ebx, [ebx]
mov eax, dword [0x4ad0d4]
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ebx + 4]
jne 0x45a995
call fcn.0045a960
dec esi
jns 0x45a980
mov eax, dword [ebx + 8]
test eax, eax
je 0x45a9dd
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x406
push eax
call ebp
mov edi, eax
xor esi, esi
test edi, edi
jle 0x45a9dd
lea esp, [esp]
push 0
push esi
push 0x414
push dword [ebx + 8]
call ebp
test eax, eax
je 0x45a9d8
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
inc esi
cmp esi, edi
jl 0x45a9c0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45aa19
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetMenu]
cmp byte [ebx + 0xbe], 0
jne 0x45aa19
push dword [ebx + 4]
mov byte [ebx + 0xbe], 1
call dword [sym.imp.USER32.dll_DestroyWindow]
mov edx, dword [0x4ad0d8]
mov ebp, dword [0x4ad0d4]
lea eax, [edx - 1]
mov dword [esp + 0x10], eax
test eax, eax
js 0x45aa5c
cmp dword [ebp + eax*4], ebx
je 0x45aa3b
dec eax
jns 0x45aa30
jmp 0x45aa5c
inc eax
cmp eax, edx
jge 0x45aa52
lea esi, [eax*4]
add esi, ebp
sub edx, eax
mov ecx, edx
lea edi, [esi - 4]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x10]
mov dword [0x4ad0d8], edx
mov eax, dword [ebx + 0x60]
mov ecx, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x45aa7e
push eax
call ecx
mov edx, dword [0x4ad0d8]
mov ebp, dword [0x4ad0d4]
mov ecx, dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x45aa94
push eax
call ecx
mov edx, dword [0x4ad0d8]
mov ebp, dword [0x4ad0d4]
mov eax, dword [ebx + 0x68]
test eax, eax
je 0x45aaae
push eax
call dword [sym.imp.SHELL32.dll_DragFinish]
mov edx, dword [0x4ad0d8]
mov ebp, dword [0x4ad0d4]
xor edi, edi
cmp dword [ebx + 0x10], edi
jbe 0x45ab1b
xor ebp, ebp
mov esi, dword [ebx + 0x18]
add esi, ebp
mov cl, byte [esi + 4]
cmp cl, 2
jne 0x45aae2
mov eax, dword [esi + 0x10]
test eax, eax
je 0x45aae2
test byte [esi + 5], 0x80
push eax
je 0x45aada
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x45aaf2
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x45aaf2
cmp cl, 0xa
jne 0x45aaf2
push dword [esi + 0x10]
call fcn.004843d4
add esp, 4
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x45aaff
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
inc edi
mov dword [esi + 0xc], 0
add ebp, 0x14
cmp edi, dword [ebx + 0x10]
jb 0x45aab7
mov edx, dword [0x4ad0d8]
mov ebp, dword [0x4ad0d4]
mov esi, dword [ebx + 0x6c]
mov edi, dword [ebx + 0x70]
test esi, esi
je 0x45ab51
cmp esi, dword [0x4af004]
je 0x45ab51
xor ecx, ecx
test edx, edx
jle 0x45ab41
mov eax, dword [ebp + ecx*4]
cmp dword [eax + 0x6c], esi
je 0x45ab51
inc ecx
cmp ecx, edx
jl 0x45ab33
mov ebp, dword [sym.imp.USER32.dll_DestroyIcon]
push esi
call ebp
cmp edi, esi
je 0x45ab51
push edi
call ebp
mov eax, dword [ebx + 0x74]
test eax, eax
je 0x45ab66
push eax
call dword [sym.imp.USER32.dll_DestroyAcceleratorTable]
mov dword [ebx + 0x74], 0
push dword [ebx + 0x18]
mov dword [ebx + 4], 0
mov dword [ebx + 0x10], 0
call fcn.004843d4
add esp, 4
dec dword [ebx + 0x20]
jne 0x45ab94
push dword [ebx]
call fcn.004843d4
push ebx
call fcn.00477a10
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret