Function at 0x4c85b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x5b3074]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
push dword [edi + 0x38]
mov dword [edi + 0x140], esi
call ebx
test eax, eax
jne 0x4c8606
sub esp, 8
mov ecx, edi
mov eax, esp
push 0
push SysReAllocString
sub esp, 8
mov dword [eax], 0
mov eax, esp
push esi
mov dword [eax], 0
call fcn.00433d30
cmp byte [ebp + 0x1c], 0
je 0x4c8618
mov ecx, dword [edi + 0x30]
lea eax, [ebp + 0xc]
push eax
call fcn.00442420
mov eax, dword [edi]
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call dword [eax + 0x9c]
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0xc]
add eax, edx
push 1
sub eax, edx
push eax
mov eax, dword [ebp + 0x14]
sub eax, ecx
push eax
push edx
push ecx
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_MoveWindow]
cmp dword [edi + 0xe4], 0
je 0x4c86c0
mov eax, dword [edi + 0xe0]
test eax, eax
je 0x4c86c0
push dword [eax + 0x38]
call ebx
test eax, eax
je 0x4c86c0
lea eax, [esp + 0x1c]
xorps xmm0, xmm0
push eax
push dword [edi + 0x38]
movups xmmword [esp + 0x24], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
add eax, 7
mov ecx, dword [esp + 0x24]
sub edx, 3
mov esi, dword [esp + 0x1c]
add ecx, 5
push 1
mov dword [esp + 0x2c], eax
sub esi, 5
sub eax, edx
mov dword [esp + 0x28], ecx
push eax
mov eax, dword [edi + 0xe0]
sub ecx, esi
push ecx
push edx
push esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edx
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_MoveWindow]
push 5
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [ebp + 0x20], 0
je 0x4c8705
mov eax, dword [edi]
mov eax, dword [eax + 0x94]
cmp eax, method.CXFloatWnd.virtual_148
jne 0x4c87bf
push dword [edi + 0x140]
call ebx
test eax, eax
je 0x4c8705
push 0
push 1
push 0x793a
push dword [edi + 0x140]
call dword [sym.imp.USER32.dll_PostMessageW]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
mov eax, dword [0x5dd458]
add eax, 0x10
push eax
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x5dd2bc]
xor ecx, ecx
mov edx, dword [ebx + 8]
test edx, edx
jle 0x4c873d
mov eax, dword [ebx]
cmp dword [eax], esi
je 0x4c8771
inc ecx
add eax, 4
cmp ecx, edx
jl 0x4c8731
xor esi, esi
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x4c87a9
mov edx, dword [esi + 8]
add edi, 0x128
xor eax, eax
mov dword [esp + 0x10], edi
test edx, edx
jle 0x4c879c
mov ecx, dword [esi + 4]
cmp dword [ecx], edi
je 0x4c8797
inc eax
add ecx, 4
cmp eax, edx
jl 0x4c8763
jmp 0x4c879c
cmp ecx, 0xffffffff
je 0x4c873d
test ecx, ecx
js 0x4c8786
cmp ecx, edx
jge 0x4c8786
mov eax, dword [ebx + 4]
mov esi, dword [eax + ecx*4]
jmp 0x4c873f
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
cmp eax, 0xffffffff
jne 0x4c87a9
lea eax, [esp + 0x10]
push eax
lea ecx, [esi + 4]
call fcn.00419b17
mov ecx, dword [esp + 0x2c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00510209
mov esp, ebp
pop ebp
ret 0x1c
mov ecx, edi
call eax
jmp 0x4c8705