Function at 0x4ecedc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov esi, 0x524208
xor eax, eax
mov dword [ebp - 0x14], eax
mov edx, dword [0x4fda1c]
mov dword [ebp - 0x18], edx
push 0x4fdb6c
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 + 4]
push ecx
call fcn.004e8fc4
test eax, eax
je 0x4ecf5b
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 0x4ecf4c
mov dword [esi + 0x1c], 0x20000000
jmp 0x4ecf9a
cmp dword [ebp - 0x14], 2
jne 0x4ecf9a
mov dword [esi + 0x1c], 0x1000000
jmp 0x4ecf9a
push 0x4fdb6c
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
push 0x4fe0a6
call fcn.004e8fc4
test eax, eax
je 0x4ecf92
mov edx, dword [ebp - 8]
mov dword [esi + 0x14], edx
mov ecx, dword [ebp - 0x10]
mov dword [esi + 0x18], ecx
mov eax, dword [0x4fda1c]
mov dword [ebp - 0x18], eax
mov dword [esi], 0x4fda70
push 0x51405e
mov edx, dword [esi + 4]
push edx
call fcn.004014a8
add esp, 8
test eax, eax
jne 0x4ecfc3
mov dword [esi + 0x1c], 0x20000000
mov byte [0x51405e], 0
cmp dword [0x4f30bc], 0
je 0x4ecff4
mov ecx, dword [esi + 4]
push ecx
call fcn.004383a8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jne 0x4ecfe7
mov dword [esi + 0x1c], 0x20000000
jmp 0x4ecff4
cmp dword [ebp - 4], 2
jne 0x4ecff4
mov dword [esi + 0x1c], 0x1000000
mov byte [ebx + 0x4d8], 0xb
mov eax, dword [ebp - 0x18]
push eax
push ebx
call fcn.004ec610
test eax, eax
jne 0x4ed010
xor eax, eax
jmp 0x4ed259
push 2
call fcn.004eb050
mov edi, eax
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebx]
push edx
call sub.USER32.dll_GetClientRect
mov cl, byte [0x4fb0bc]
mov byte [ebx + 0x4e7], cl
cmp dword [0x4fb0bc], 0
jne 0x4ed07c
mov esi, dword [ebx + 0x678]
add esi, dword [0x515710]
push 0
mov eax, dword [0x4fd9e8]
push eax
push 0x427
mov edx, dword [ebx]
push edx
push 0
push 0
push 0
push 0
push 0x508010c4
push 0x4fe0b6
push 0x4fe0b0
push 0
call sub.USER32.dll_CreateWindowExA
mov dword [ebx + 0x5d0], eax
jmp 0x4ed0be
mov esi, dword [ebx + 0x678]
add esi, esi
add esi, dword [0x515710]
push 0
mov eax, dword [0x4fd9e8]
push eax
push 0x427
mov edx, dword [ebx]
push edx
push 0
push 0
push 0
push 0
push 0x50801044
push 0x4fe0c0
push 0x4fe0ba
push 0
call sub.USER32.dll_CreateWindowExA
mov dword [ebx + 0x5d0], eax
push 0
push 1
push 0xc8
mov ecx, dword [ebx + 0x5d0]
push ecx
call sub.USER32.dll_SendMessageA
push 0
mov eax, dword [ebx + 0x600]
push eax
push 0x30
mov edx, dword [ebx + 0x5d0]
push edx
call sub.USER32.dll_SendMessageA
push 0
push 0x200
push 0xc5
mov ecx, dword [ebx + 0x5d0]
push ecx
call sub.USER32.dll_SendMessageA
push 0
mov eax, dword [0x4fd9e8]
push eax
push 0x425
mov edx, dword [ebx]
push edx
push 0
push 0
push 0
push 0
push 0x50200d51
push 0x4fe0cd
push 0x4fe0c4
push 0
call sub.USER32.dll_CreateWindowExA
mov dword [ebx + 0x5d4], eax
push 0
mov ecx, dword [ebx + 0x600]
push ecx
push 0x30
mov eax, dword [ebx + 0x5d4]
push eax
call sub.USER32.dll_SendMessageA
push 0
mov edx, dword [0x4fd9e8]
push edx
push 0x426
mov ecx, dword [ebx]
push ecx
push 0
push 0
push 0
push 0
push 0x50000001
push 0x4fe0dc
push 0x4fe0d1
push 0
call sub.USER32.dll_CreateWindowExA
mov dword [ebx + 0x5d8], eax
mov eax, dword [ebx]
push eax
call fcn.004e9464
mov byte [ebx + 0x4e8], al
cmp byte [ebx + 0x4e8], 1
jne 0x4ed1fc
push 0
lea edx, [esi + 1]
push edx
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebx + 0x4d4]
sub ecx, eax
inc ecx
push ecx
mov edx, dword [ebp - 0x1c]
sub edx, esi
push edx
push eax
mov ecx, dword [ebx + 0x5d0]
push ecx
call sub.USER32.dll_MoveWindow
push 0
mov eax, dword [ebp - 0x1c]
push eax
mov edx, dword [ebx + 0x4d4]
push edx
push 0
push 0
mov ecx, dword [ebx + 0x5d4]
push ecx
call sub.USER32.dll_MoveWindow
push 0
mov eax, dword [ebp - 0x1c]
sub eax, esi
inc eax
push eax
push edi
push 0
mov edx, dword [ebp - 0x20]
sub edx, edi
push edx
mov ecx, dword [ebx + 0x5d8]
push ecx
call sub.USER32.dll_MoveWindow
jmp 0x4ed23f
cmp byte [ebx + 0x4e8], 2
jne 0x4ed23f
push 0
mov eax, dword [ebx + 0x5d4]
push eax
call sub.USER32.dll_ShowWindow
push 0
mov edx, dword [ebx + 0x5d4]
push edx
call sub.USER32.dll_EnableWindow
push 0
mov ecx, dword [ebp - 0x1c]
sub ecx, esi
inc ecx
push ecx
push edi
push 0
mov eax, dword [ebp - 0x20]
sub eax, edi
push eax
mov edx, dword [ebx + 0x5d8]
push edx
call sub.USER32.dll_MoveWindow
mov ecx, dword [ebx]
push ecx
call fcn.004e9510
push 0x63
mov eax, dword [ebx]
push eax
call fcn.004eb4c8
push ebx
call fcn.004ecb44
mov eax, dword [ebx]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4