Function at 0x49e59b
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, 0x554c70
mov edi, 0x554c68
mov ebp, 0x554c64
cmp dword [0x537440], 0
jne 0x49e5d7
push 0
push 0
push 8
push 0x5321ac
call fcn.004fd21f
mov esi, eax
mov dword [0x537440], esi
test esi, esi
je 0x49e84a
push dword [0x537440]
call fcn.004f9c59
mov esi, eax
mov dword [ebp], esi
test esi, esi
je 0x49e84a
push 0x7f02
push 0
call sub.USER32.dll_LoadCursorA
push eax
call sub.USER32.dll_SetCursor
mov dword [0x554c74], eax
push 0x425
push dword [0x537440]
call sub.USER32.dll_GetDlgItem
mov esi, eax
mov dword [0x554c78], esi
push 0
push esi
call sub.USER32.dll_ShowWindow
push 0
push dword [0x554c78]
call sub.USER32.dll_EnableWindow
mov eax, dword [ebp]
push dword [eax + 0x61c]
call fcn.0049dfbe
mov eax, dword [ebp]
xor edx, edx
mov dword [eax + 0x61c], edx
push 0
push 0
push 0x184
push dword [eax + 0x748]
call sub.USER32.dll_SendMessageA
push dword [0x537440]
call sub.USER32.dll_IsIconic
test eax, eax
jne 0x49e68b
push dword [0x537440]
call sub.USER32.dll_IsWindowVisible
test eax, eax
je 0x49e68b
push 1
push dword [0x537440]
call fcn.004fa2a2
mov eax, dword [0x53218c]
test eax, eax
je 0x49e752
mov dword [ebx], eax
jmp 0x49e721
mov edx, dword [esi]
push esi
push edi
mov edi, edx
mov esi, 0x55319c
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
push 0x2c
push 0x55319c
call fcn.0051833c
add esp, 8
mov esi, eax
mov dword [edi], esi
test esi, esi
je 0x49e71a
mov byte [esi], 0
inc dword [edi]
mov eax, dword [edi]
cmp byte [eax], 0
je 0x49e71a
push 0x2c
push dword [edi]
call fcn.0051833c
add esp, 8
mov esi, eax
mov dword [0x554c6c], esi
test esi, esi
je 0x49e71a
mov byte [esi], 0
push dword [edi]
push 0x55319c
call fcn.005185a0
add esp, 8
test eax, eax
je 0x49e72b
mov eax, dword [ebx]
mov edx, dword [eax + 0x30]
mov dword [ebx], edx
mov esi, dword [ebx]
test esi, esi
jne 0x49e69f
cmp dword [ebx], 0
jne 0x49e74c
mov eax, dword [0x53218c]
mov dword [ebx], eax
jmp 0x49e74c
push dword [ebp]
push 0
push eax
call fcn.0049e250
mov edx, dword [0x53218c]
mov dword [ebx], edx
mov eax, dword [ebx]
test eax, eax
jne 0x49e739
mov eax, dword [ebp]
xor edx, edx
mov dword [eax + 0x634], edx
push 0
push eax
call fcn.004fa168
cmp dword [0x532190], 0
je 0x49e79f
push 2
push 0x5321b8
push 0x425
push dword [0x537440]
call fcn.004f9714
push 1
push dword [0x554c78]
call sub.USER32.dll_EnableWindow
push 5
push dword [0x554c78]
call sub.USER32.dll_ShowWindow
push dword [0x537440]
call sub.USER32.dll_IsIconic
test eax, eax
jne 0x49e7c8
push dword [0x537440]
call sub.USER32.dll_IsWindowVisible
test eax, eax
je 0x49e7c8
push dword [0x537440]
call fcn.004f9c8d
cmp dword [0x536414], 0
je 0x49e828
push dword [0x537440]
call sub.USER32.dll_IsIconic
test eax, eax
jne 0x49e7ef
push dword [0x537440]
call sub.USER32.dll_IsWindowVisible
test eax, eax
jne 0x49e801
mov eax, dword [ebp]
mov byte [eax + 0x63a], 1
push eax
call fcn.004e6fbd
jmp 0x49e828
cmp dword [0x536430], 0
je 0x49e828
mov edx, dword [0x537440]
cmp edx, dword [0x53742c]
je 0x49e828
mov eax, dword [ebp]
mov byte [eax + 0x63a], 1
push eax
call fcn.004e6fbd
push 0
push 0
push 0x186
mov edx, dword [ebp]
push dword [edx + 0x748]
call sub.USER32.dll_SendMessageA
push dword [0x554c74]
call sub.USER32.dll_SetCursor
push dword [0x53218c]
call fcn.0049dfbe
xor ecx, ecx
mov dword [0x53218c], ecx
cmp dword [0x532190], 0
jne 0x49e873
push 0
push dword [0x537440]
call fcn.004fa30c
pop ebp
pop edi
pop esi
pop ebx
ret