Function at 0x4b4750
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f2a3
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x558384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x80
call fcn.004bcee7
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 0x4b483b
lea esi, [edi + 8]
mov dword [edi + 4], 0
mov dword [edi], vtable.tinyui::tinywin.0
mov ecx, esi
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004b3c50
mov dword [esi], eax
lea esi, [edi + 0x10]
mov byte [ebp - 4], 1
mov dword [ebp + 8], esi
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00421280
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 + 8], esi
call fcn.0040d420
lea eax, [ebx + 0x18]
mov byte [ebp - 4], 3
lea ecx, [esi + 0x18]
push eax
call fcn.0040d420
lea eax, [ebx + 0x30]
mov byte [ebp - 4], 4
lea ecx, [esi + 0x30]
push eax
call fcn.0040d420
lea eax, [ebx + 0x48]
mov byte [ebp - 4], 5
lea ecx, [esi + 0x48]
push eax
call fcn.0040d420
mov al, byte [ebx + 0x60]
mov byte [esi + 0x60], al
mov eax, dword [ebx + 0x64]
mov dword [esi + 0x64], eax
jmp 0x4b483d
xor edi, edi
push 0
push 0
push 0x86020000
push 0x514a6c
push dword [ebx + 0x64]
mov dword [ebp - 4], 0xffffffff
push edi
push str.MessageWnd.xml
push str.MessageWnd
call fcn.004039e0
add esp, 0x20
test eax, eax
jne 0x4b4891
test edi, edi
je 0x4b495d
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
je 0x4b4952
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindow]
push 1
push dword [edi + 4]
mov ebx, eax
mov dword [ebp + 8], 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 - 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
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x4b48e5
test eax, eax
je 0x4b491a
lea eax, [ebp - 0x2c]
push eax
call edi
lea eax, [ebp - 0x2c]
push eax
call ebx
cmp dword [ebp - 0x28], 0x10
jne 0x4b48e5
cmp dword [ebp - 0x2c], esi
jne 0x4b48e5
mov ebx, dword [ebp - 0x24]
jmp 0x4b491c
xor ebx, ebx
mov esi, dword [ebp + 8]
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebp - 0x28], 0x12
jne 0x4b493e
push dword [ebp - 0x24]
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 dword [edi + 4]
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