Function at 0x45c880
Capabilities:
Hide graphical window

Disassembly:
push ecx
push ebx
mov ebx, ecx
push ebp
push esi
push edi
cmp dword [ebx + 4], 0
je 0x45c939
mov esi, dword [0x4d167c]
sub esi, 1
js 0x45c8ba
nop dword [eax]
mov eax, dword [0x4d1678]
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ebx + 4]
jne 0x45c8b5
call fcn.0045c880
sub esi, 1
jns 0x45c8a0
mov eax, dword [ebx + 8]
test eax, eax
je 0x45c8fd
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x406
push eax
call ebp
mov edi, eax
xor esi, esi
test edi, edi
jle 0x45c8fd
nop dword [eax + eax]
push 0
push esi
push 0x414
push dword [ebx + 8]
call ebp
test eax, eax
je 0x45c8f8
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
inc esi
cmp esi, edi
jl 0x45c8e0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45c939
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 0x45c939
push dword [ebx + 4]
mov byte [ebx + 0xbe], 1
call dword [sym.imp.USER32.dll_DestroyWindow]
mov edx, dword [0x4d167c]
mov ebp, dword [0x4d1678]
lea eax, [edx - 1]
mov dword [esp + 0x10], eax
test eax, eax
js 0x45c97e
cmp dword [ebp + eax*4], ebx
je 0x45c95d
sub eax, 1
jns 0x45c950
jmp 0x45c97e
inc eax
cmp eax, edx
jge 0x45c974
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 [0x4d167c], edx
mov eax, dword [ebx + 0x60]
mov ecx, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x45c9a0
push eax
call ecx
mov edx, dword [0x4d167c]
mov ebp, dword [0x4d1678]
mov ecx, dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x45c9b6
push eax
call ecx
mov edx, dword [0x4d167c]
mov ebp, dword [0x4d1678]
mov eax, dword [ebx + 0x68]
test eax, eax
je 0x45c9d0
push eax
call dword [sym.imp.SHELL32.dll_DragFinish]
mov edx, dword [0x4d167c]
mov ebp, dword [0x4d1678]
xor edi, edi
cmp dword [ebx + 0x10], edi
jbe 0x45ca42
xor ebp, ebp
nop dword [eax]
mov esi, dword [ebx + 0x18]
add esi, ebp
mov al, byte [esi + 4]
cmp al, 2
jne 0x45ca0a
mov eax, dword [esi + 0x10]
test eax, eax
je 0x45ca19
cmp byte [esi + 5], 0
push eax
jge 0x45ca02
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x45ca19
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x45ca19
cmp al, 0xa
jne 0x45ca19
push dword [esi + 0x10]
call fcn.004914e4
add esp, 4
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x45ca26
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 0x45c9e0
mov edx, dword [0x4d167c]
mov ebp, dword [0x4d1678]
mov esi, dword [ebx + 0x6c]
mov edi, dword [ebx + 0x70]
test esi, esi
je 0x45ca7a
cmp esi, dword [0x4d49ec]
je 0x45ca7a
xor ecx, ecx
test edx, edx
jle 0x45ca6e
nop word [eax + eax]
mov eax, dword [ebp + ecx*4]
cmp dword [eax + 0x6c], esi
je 0x45ca7a
inc ecx
cmp ecx, edx
jl 0x45ca60
mov ebp, dword [sym.imp.USER32.dll_DestroyIcon]
push esi
call ebp
push edi
call ebp
mov eax, dword [ebx + 0x74]
test eax, eax
je 0x45ca8f
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.004914e4
add esp, 4
add dword [ebx + 0x20], 0xffffffff
jne 0x45cac3
push dword [ebx]
call fcn.004914e4
push 0xc4
push ebx
call fcn.0048b181
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret