Function at 0x4962a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dccb8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x51a3c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x80
call fcn.004a4277
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 0x4963aa
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.004a4277
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.004a4277
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 0x4963ac
xor edi, edi
push 0
push 0
push 0x86020000
push 0x4e1c40
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 0x496400
test edi, edi
je 0x4964c5
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 0x4964bc
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 ebx, dword [sym.imp.USER32.dll_GetMessageW]
xor eax, eax
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, 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 ebx
cmp eax, 0xffffffff
je 0x496458
test eax, eax
je 0x496484
lea eax, [ebp - 0x30]
push eax
call esi
lea eax, [ebp - 0x30]
push eax
call edi
cmp dword [ebp - 0x2c], 0x10
jne 0x496458
mov ebx, dword [ebp - 0x28]
jmp 0x496486
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 0x4964a8
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