Function at 0x47ae60
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
push edi
cmp dword [ebx + 4], 0
je 0x47af19
mov esi, dword [0x4e4b90]
sub esi, 1
js 0x47ae9a
nop dword [eax + eax]
mov eax, dword [0x4e4b8c]
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ebx + 4]
jne 0x47ae95
call fcn.0047ae60
sub esi, 1
jns 0x47ae80
mov eax, dword [ebx + 8]
test eax, eax
je 0x47aedd
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 0x47aedd
nop dword [eax + eax]
push 0
push esi
push 0x414
push dword [ebx + 8]
call ebp
test eax, eax
je 0x47aed8
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
inc esi
cmp esi, edi
jl 0x47aec0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47af19
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 + 0xc6], 0
jne 0x47af19
push dword [ebx + 4]
mov byte [ebx + 0xc6], 1
call dword [sym.imp.USER32.dll_DestroyWindow]
mov edx, dword [0x4e4b90]
lea ebp, [edx - 1]
mov ecx, ebp
test ecx, ecx
js 0x47af5f
nop dword [eax + eax]
mov eax, dword [0x4e4b8c]
cmp dword [eax + ecx*4], ebx
je 0x47af41
sub ecx, 1
jns 0x47af30
jmp 0x47af5f
inc ecx
cmp ecx, edx
jge 0x47af57
mov eax, dword [0x4e4b8c]
sub edx, ecx
lea esi, [eax + ecx*4]
mov ecx, edx
lea edi, [esi - 4]
rep movsd dword es:[edi], dword [esi]
mov edx, ebp
mov dword [0x4e4b90], edx
mov eax, dword [ebx + 0x60]
mov ecx, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x47af7b
push eax
call ecx
mov edx, dword [0x4e4b90]
mov ecx, dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x47af8b
push eax
call ecx
mov edx, dword [0x4e4b90]
mov eax, dword [ebx + 0x68]
test eax, eax
je 0x47af9f
push eax
call dword [sym.imp.SHELL32.dll_DragFinish]
mov edx, dword [0x4e4b90]
mov ecx, dword [ebx + 0xd4]
test ecx, ecx
je 0x47afb5
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov edx, dword [0x4e4b90]
xor edi, edi
cmp dword [ebx + 0x10], edi
jbe 0x47b02e
xor ebp, ebp
nop
mov esi, dword [ebx + 0x18]
add esi, ebp
mov al, byte [esi + 4]
cmp al, 2
jne 0x47afea
mov eax, dword [esi + 0x10]
test eax, eax
je 0x47affa
cmp byte [esi + 5], 0
push eax
jge 0x47afe2
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x47affa
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x47affa
cmp al, 0xa
jne 0x47affa
push dword [esi + 0x10]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x47b007
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0xc], 0
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x47b01f
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
inc edi
add ebp, 0x40
cmp edi, dword [ebx + 0x10]
jb 0x47afc0
mov edx, dword [0x4e4b90]
mov esi, dword [ebx + 0x6c]
mov edi, dword [ebx + 0x70]
test esi, esi
je 0x47b072
cmp esi, dword [0x4e7894]
je 0x47b072
xor ecx, ecx
test edx, edx
jle 0x47b062
nop word [eax + eax]
mov eax, dword [0x4e4b8c]
mov eax, dword [eax + ecx*4]
cmp dword [eax + 0x6c], esi
je 0x47b072
inc ecx
cmp ecx, edx
jl 0x47b050
mov ebp, dword [sym.imp.USER32.dll_DestroyIcon]
push esi
call ebp
cmp edi, esi
je 0x47b072
push edi
call ebp
mov eax, dword [ebx + 0x74]
test eax, eax
je 0x47b087
push eax
call dword [sym.imp.USER32.dll_DestroyAcceleratorTable]
mov dword [ebx + 0x74], 0
push dword [ebx + 0x18]
mov ebp, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [ebx + 4], 0
mov dword [ebx + 0x10], 0
call ebp
add esp, 4
add dword [ebx + 0x20], 0xffffffff
jne 0x47b0bb
push dword [ebx]
call ebp
push 0xd8
push ebx
call fcn.004b5fff
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret