Function at 0x49abe0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e1fa8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x5203c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x80
call fcn.004a8c07
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
test edi, edi
je 0x49acea
mov dword [edi + 4], 0
lea esi, [edi + 8]
mov dword [edi], vtable.tinyui::tinywin.0
mov dword [ebp - 0x14], esi
push 0x30
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004a8c07
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0x10]
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], esi
push 0x1c
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004a8c07
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0x18]
mov byte [ebp - 4], 2
push ebx
mov ecx, esi
mov dword [edi], vtable.MessageWnd.0
mov dword [ebp - 0x14], esi
call fcn.004088c0
lea eax, [ebx + 0x18]
mov byte [ebp - 4], 3
push eax
lea ecx, [esi + 0x18]
call fcn.004088c0
lea eax, [ebx + 0x30]
mov byte [ebp - 4], 4
push eax
lea ecx, [esi + 0x30]
call fcn.004088c0
lea eax, [ebx + 0x48]
mov byte [ebp - 4], 5
push eax
lea ecx, [esi + 0x48]
call fcn.004088c0
mov al, byte [ebx + 0x60]
mov byte [esi + 0x60], al
mov eax, dword [ebx + 0x64]
mov dword [esi + 0x64], eax
jmp 0x49acec
xor edi, edi
push 0
push 0
push 0x86020000
push 0x4e7e7c
push dword [ebx + 0x64]
mov dword [ebp - 4], 0xffffffff
push edi
push str.MessageWnd.xml
push str.MessageWnd
call fcn.00407c90
add esp, 0x20
test eax, eax
jne 0x49ad40
test edi, edi
je 0x49ae0b
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 0x14]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebx + 0x60], 0
mov eax, dword [edi + 4]
je 0x49ae02
push 4
push eax
call dword [sym.imp.USER32.dll_GetWindow]
push 1
push dword [edi + 4]
mov ebx, eax
mov dword [ebp - 0x10], ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
mov esi, dword [edi + 4]
xor eax, eax
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x49ad95
test eax, eax
je 0x49adca
lea eax, [ebp - 0x30]
push eax
call edi
lea eax, [ebp - 0x30]
push eax
call ebx
cmp dword [ebp - 0x2c], 0x10
jne 0x49ad95
cmp dword [ebp - 0x30], esi
jne 0x49ad95
mov ebx, dword [ebp - 0x28]
jmp 0x49adcc
xor ebx, ebx
mov esi, dword [ebp - 0x10]
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebp - 0x2c], 0x12
jne 0x49adee
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret