Function at 0x4b963c
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, 0x4f0e88
xor eax, eax
mov dword [ebp - 0x14], eax
mov edx, dword [0x4d42cc]
mov dword [ebp - 0x18], edx
push 0x4d4360
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.004b6480
test eax, eax
je 0x4b96bb
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 0x4b96ac
mov dword [esi + 0x1c], 0x20000000
jmp 0x4b96f2
cmp dword [ebp - 0x14], 2
jne 0x4b96f2
mov dword [esi + 0x1c], 0x1000000
jmp 0x4b96f2
push 0x4d4360
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 0x4d46f5
call fcn.004b6480
test eax, eax
je 0x4b96f2
mov edx, dword [ebp - 8]
mov dword [esi + 0x14], edx
mov ecx, dword [ebp - 0x10]
mov dword [esi + 0x18], ecx
mov dword [esi], str.channel
push 0x4e415a
mov eax, dword [esi + 4]
push eax
call fcn.004bcfe4
add esp, 8
test eax, eax
jne 0x4b971b
mov dword [esi + 0x1c], 0x20000000
mov byte [0x4e415a], 0
cmp dword [0x4cb680], 0
je 0x4b974c
mov edx, dword [esi + 4]
push edx
call fcn.0041fdb4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jne 0x4b973f
mov dword [esi + 0x1c], 0x20000000
jmp 0x4b974c
cmp dword [ebp - 4], 2
jne 0x4b974c
mov dword [esi + 0x1c], 0x1000000
mov byte [ebx + 0x4d8], 0xb
mov ecx, dword [ebp - 0x18]
push ecx
push ebx
call fcn.004b8e34
test eax, eax
jne 0x4b9768
xor eax, eax
jmp 0x4b99a9
push 2
call fcn.004b7b04
mov edi, eax
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebx]
push edx
call sub.USER32.dll_GetClientRect
mov cl, byte [0x4d1c48]
mov byte [ebx + 0x4e3], cl
cmp dword [0x4d1c48], 0
jne 0x4b97d4
mov esi, dword [ebx + 0x5b8]
add esi, dword [0x4e4b88]
push 0
mov eax, dword [0x4d4298]
push eax
push 0x427
mov edx, dword [ebx]
push edx
push 0
push 0
push 0
push 0
push 0x508010c4
push 0x4d4705
push 0x4d46ff
push 0
call sub.USER32.dll_CreateWindowExA
mov dword [ebx + 0x518], eax
jmp 0x4b9816
mov esi, dword [ebx + 0x5b8]
add esi, esi
add esi, dword [0x4e4b88]
push 0
mov eax, dword [0x4d4298]
push eax
push 0x427
mov edx, dword [ebx]
push edx
push 0
push 0
push 0
push 0
push 0x50801044
push 0x4d470f
push 0x4d4709
push 0
call sub.USER32.dll_CreateWindowExA
mov dword [ebx + 0x518], eax
push 0
push 1
push 0xc8
mov ecx, dword [ebx + 0x518]
push ecx
call sub.USER32.dll_SendMessageA
push 0
mov eax, dword [ebx + 0x548]
push eax
push 0x30
mov edx, dword [ebx + 0x518]
push edx
call sub.USER32.dll_SendMessageA
push 0
push pe_nt_image_headers32
push 0xc5
mov ecx, dword [ebx + 0x518]
push ecx
call sub.USER32.dll_SendMessageA
push 0
mov eax, dword [0x4d4298]
push eax
push 0x425
mov edx, dword [ebx]
push edx
push 0
push 0
push 0
push 0
push 0x50200d51
push 0x4d471c
push 0x4d4713
push 0
call sub.USER32.dll_CreateWindowExA
mov dword [ebx + 0x51c], eax
push 0
mov ecx, dword [ebx + 0x548]
push ecx
push 0x30
mov eax, dword [ebx + 0x51c]
push eax
call sub.USER32.dll_SendMessageA
push 0
mov edx, dword [0x4d4298]
push edx
push 0x426
mov ecx, dword [ebx]
push ecx
push 0
push 0
push 0
push 0
push 0x50000001
push 0x4d472b
push 0x4d4720
push 0
call sub.USER32.dll_CreateWindowExA
mov dword [ebx + 0x520], eax
mov eax, dword [ebx]
push eax
call fcn.004b6924
mov byte [ebx + 0x4e4], al
cmp byte [ebx + 0x4e4], 1
jne 0x4b9954
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 + 0x518]
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 + 0x51c]
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 + 0x520]
push ecx
call sub.USER32.dll_MoveWindow
jmp 0x4b9997
cmp byte [ebx + 0x4e4], 2
jne 0x4b9997
push 0
mov eax, dword [ebx + 0x51c]
push eax
call sub.USER32.dll_ShowWindow
push 0
mov edx, dword [ebx + 0x51c]
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 + 0x520]
push edx
call sub.USER32.dll_MoveWindow
push 0x63
mov ecx, dword [ebx]
push ecx
call fcn.004b7ee4
push ebx
call fcn.004b92b8
mov eax, dword [ebx]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4