Function at 0x5187d5
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x58cbf8
mov ebx, str.FixedSys
xor eax, eax
mov dword [ebp - 0x14], eax
mov edx, dword [0x55b3f8]
mov dword [ebp - 0x18], edx
push 0x55b544
lea ecx, [ebp - 0x18]
push ecx
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0xc]
push ecx
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 4]
push edx
lea ecx, [edi + 4]
push ecx
push 0
call fcn.004deb61
test eax, eax
je 0x51885e
mov eax, dword [ebp - 4]
mov dword [esi + 0xc], eax
mov edx, dword [ebp - 8]
mov dword [esi + 0x14], edx
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x18], eax
cmp dword [ebp - 0x14], 1
jne 0x51884f
mov dword [esi + 0x1c], 0x20000000
jmp 0x5188d1
cmp dword [ebp - 0x14], 2
jne 0x5188d1
mov dword [esi + 0x1c], 0x1000000
jmp 0x5188d1
push 0x55b544
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
push ecx
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0xc]
push edx
lea ecx, [ebp - 8]
push ecx
lea eax, [ebp - 4]
push eax
lea edx, [ebx + 0x417]
push edx
push 0
call fcn.004deb61
test eax, eax
jne 0x518825
push 0x55b544
lea ecx, [ebp - 0x18]
push ecx
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0xc]
push ecx
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 4]
push edx
lea ecx, [ebx + 0x422]
push ecx
push 0
call fcn.004deb61
test eax, eax
je 0x5188c8
mov eax, dword [ebp - 8]
mov dword [esi + 0x14], eax
mov edx, dword [ebp - 0x10]
mov dword [esi + 0x18], edx
mov ecx, dword [0x55b3f8]
mov dword [ebp - 0x18], ecx
mov dword [esi], str.channel
push 0x57a882
push dword [esi + 4]
call fcn.0053977c
add esp, 8
test eax, eax
jne 0x5188f9
mov dword [esi + 0x1c], 0x20000000
mov byte [0x57a882], 0
cmp dword [0x54d9e8], 0
je 0x518929
push dword [esi + 4]
call fcn.00439dfd
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jne 0x51891c
mov dword [esi + 0x1c], 0x20000000
jmp 0x518929
cmp dword [ebp - 4], 2
jne 0x518929
mov dword [esi + 0x1c], 0x1000000
mov byte [edi + 0x658], 0xb
push 0x63
lea eax, [edi + 0x610]
push eax
call fcn.0047ac18
mov edx, dword [0x54bf7c]
mov dword [edi + 0x630], edx
push dword [ebp - 0x18]
push edi
call fcn.00517c41
test eax, eax
jne 0x51895e
xor eax, eax
jmp 0x518a41
lea edx, [ebp - 0x28]
push edx
push dword [edi]
call sub.USER32.dll_GetClientRect
mov ecx, dword [0x55794c]
mov dword [edi + 0x770], ecx
push edi
call fcn.005183e5
push 0
push dword [0x55b3c4]
push 0x425
push dword [edi]
push 0
push 0
push 0
push 0
push 0x50200d51
lea eax, [ebx + 0x435]
push eax
lea edx, [ebx + 0x42c]
push edx
push 0
call sub.USER32.dll_CreateWindowExA
mov esi, eax
mov dword [edi + 0x75c], esi
push 0
push dword [edi + 0x7a0]
push 0x30
push esi
call sub.USER32.dll_SendMessageA
push 0
push dword [0x55b3c4]
push 0x426
push dword [edi]
push 0
push 0
push 0
push 0
push 0x50000001
lea eax, [ebx + 0x444]
push eax
lea edx, [ebx + 0x439]
push edx
push 0
call sub.USER32.dll_CreateWindowExA
mov dword [edi + 0x760], eax
push dword [edi]
call fcn.004c7a20
mov ebx, eax
mov byte [edi + 0x667], bl
cmp bl, 2
jne 0x518a29
push 0
push dword [edi + 0x75c]
call sub.USER32.dll_ShowWindow
push 0
push dword [edi + 0x75c]
call sub.USER32.dll_EnableWindow
push dword [edi]
call fcn.005145fc
push 0x63
push dword [edi]
call fcn.00516816
push edi
call fcn.005181c3
mov eax, dword [edi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4