Function at 0x54e398
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov byte [esp + 4], dl
mov dword [esp], eax
mov esi, 0x642074
mov eax, dword [0x639cd4]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x54e64b
mov eax, dword [esp]
call fcn.0054c68c
test al, al
je 0x54e3d7
mov eax, dword [0x6397bc]
mov byte [eax], 0
xor ebx, ebx
jmp 0x54e63b
mov eax, dword [esi]
mov edi, dword [eax + ebx*4]
test edi, edi
je 0x54e63a
mov eax, edi
mov edx, dword [0x469024]
call fcn.00404838
test al, al
je 0x54e63a
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp byte [eax + 0x277], 1
je 0x54e63a
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp dword [eax + 0x30], 0
jne 0x54e63a
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp byte [eax + 0x57], 0
je 0x54e63a
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
xor ecx, ecx
mov edx, 4
call fcn.004eb1ac
mov ebp, eax
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp byte [eax + 0x273], 1
je 0x54e63a
test ebp, ebp
je 0x54e63a
mov eax, dword [ebp + 0x54]
call fcn.0053f688
cmp eax, dword [esp]
jne 0x54e63a
cmp byte [esp + 4], 0
je 0x54e604
mov eax, dword [ebp + 0x54]
call fcn.0053f688
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x10]
cmp byte [eax + 6], 0
je 0x54e4bd
cmp byte [ebp + 0x78], 0
je 0x54e4b1
mov eax, dword [ebp + 0x54]
call fcn.0053f688
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x10]
movzx edx, word [eax + 4]
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.004ea0c8
jmp 0x54e4bd
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
xor edx, edx
call fcn.004ea0c8
cmp dword [ebp + 0x1f8], 0
je 0x54e55d
mov eax, dword [ebp + 0x1dc]
cmp byte [eax + 0x273], 2
jne 0x54e55d
push 0xfffffffffffffff0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.0045e79c
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0xefffffff
push eax
push 0xfffffffffffffff0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.0045e79c
push eax
call sub.user32.dll_SetWindowLongA
call sub.user32.dll_GetActiveWindow
mov dword [esp + 0xc], eax
push 3
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.0045e79c
push eax
call sub.user32.dll_ShowWindow
push 0xfffffffffffffff0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.0045e79c
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x10000000
push eax
push 0xfffffffffffffff0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.0045e79c
push eax
call sub.user32.dll_SetWindowLongA
cmp dword [esp + 0xc], 0
je 0x54e55d
mov eax, dword [esp + 0xc]
push eax
call sub.user32.dll_SetActiveWindow
push 0
push 1
push 0xb
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.0045e79c
push eax
call sub.user32.dll_SendMessageA
mov byte [ebp + 0x1b3], 0
cmp byte [ebp + 0x78], 0
je 0x54e5e9
mov eax, dword [0x63995c]
cmp dword [eax], 6
jge 0x54e59e
push 0
push 0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.0045e79c
push eax
call sub.user32.dll_SetWindowRgn
mov eax, ebp
call fcn.004f55a4
mov dl, 1
mov eax, ebp
call fcn.004f5744
mov dword [esp + 8], 0x185
mov eax, dword [esp + 8]
push eax
push 0
push 0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.0045e79c
push eax
call sub.user32.dll_RedrawWindow
cmp dword [ebp + 0x1f8], 0
je 0x54e63a
mov eax, dword [ebp + 0x1f8]
mov cl, 0xff
mov dl, 1
call fcn.00508afc
jmp 0x54e63a
push 0x585
push 0
push 0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.0045e79c
push eax
call sub.user32.dll_RedrawWindow
jmp 0x54e63a
push 0
push 1
push 0xb
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.0045e79c
push eax
call sub.user32.dll_SendMessageA
cmp byte [esp + 4], 0
je 0x54e63a
push 0x5a1
push 0
push 0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.0045e79c
push eax
call sub.user32.dll_RedrawWindow
inc ebx
mov eax, dword [esi]
call fcn.00406c34
dec eax
cmp ebx, eax
jle 0x54e3de
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret