Function at 0x46d790
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca78e
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x532804]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x60], edi
mov ecx, dword [0x53ac78]
lea eax, [ebp - 0x70]
push eax
call fcn.0043a070
mov dword [ebp - 4], 0
mov eax, dword [eax + 4]
mov dword [ebp - 0x54], eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x68]
call dword [0x4d9684]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call dword [0x4d96c8]
mov esi, dword [ebp + 8]
cmp esi, dword [edi + 0x198]
je 0x46df43
mov eax, dword [edi + 0x18c]
test eax, eax
je 0x46d82c
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46d82c
mov eax, dword [edi + 0x18c]
jmp 0x46d849
mov eax, dword [edi + 0x1cc]
test eax, eax
je 0x46d854
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46d854
mov eax, dword [edi + 0x1cc]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi + 0x188]
mov dword [ebp - 0x58], eax
test eax, eax
je 0x46d8a4
mov eax, dword [eax]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x4da544]
mov ecx, dword [ebp - 0x58]
call esi
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46d8a1
mov edi, dword [edi + 0x188]
push 0
mov eax, dword [edi]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x4da544]
mov ecx, edi
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [ebp - 0x60]
mov esi, dword [ebp + 8]
mov eax, dword [edi + 0x190]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46d8c8
mov eax, dword [edi + 0x190]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x54]
cmp esi, 3
je 0x46d976
test eax, eax
je 0x46d976
mov ecx, eax
call dword [0x4d999c]
test al, al
mov eax, dword [ebp - 0x54]
je 0x46d976
mov eax, dword [eax]
mov esi, dword [eax + 0x20]
mov ecx, esi
call dword [0x4da544]
mov ecx, dword [ebp - 0x54]
call esi
sub esp, 8
mov esi, eax
mov ecx, esp
mov dword [ebp - 0x58], esp
mov dword [ebp - 0x60], ecx
call dword [0x4d96ac]
mov dword [ebp - 4], 5
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x64], esp
mov dword [ebp - 0x48], ecx
call dword [0x4d96ac]
mov byte [ebp - 4], 8
lea eax, [edi + 0x1a0]
push eax
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call dword [0x4d9f7c]
mov ecx, dword [ebp - 0x54]
call dword [0x4d9f80]
mov edi, eax
mov ecx, dword [edi]
mov esi, dword [ecx + 0x38]
mov ecx, esi
call dword [0x4da544]
mov ecx, edi
call esi
push 1
mov ecx, dword [eax]
mov ecx, dword [ecx + 8]
add ecx, eax
call dword [0x4d9c8c]
jmp 0x46df43
lea ecx, [esi - 1]
cmp ecx, 3
ja case.default.0x46d982
jmp dword [ecx*4 + 0x46df60]
cmp esi, 1
jne 0x46d996
mov eax, dword [edi + 0x18c]
jmp 0x46d99c
mov eax, dword [edi + 0x1cc]
mov eax, dword [eax + 4]
mov dword [edi + 0x194], eax
mov dword [edi + 0x198], esi
mov eax, dword [0x53ac78]
cmp byte [eax + 0x88], 0
jne 0x46deaa
cmp byte [edi + 0x152], 0
je 0x46da03
cmp esi, 1
jne 0x46d9dc
mov ecx, dword [edi + 0x18c]
lea eax, [ebp - 0x18]
push eax
call fcn.00490d30
jmp 0x46d9eb
mov ecx, dword [edi + 0x1cc]
lea eax, [ebp - 0x4c]
push eax
call fcn.00490d30
mov ecx, eax
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x154], eax
mov dword [edi + 0x158], ecx
jmp 0x46deaa
lea eax, [ebp - 0x18]
push eax
cmp esi, 1
jne 0x46da19
mov ecx, dword [edi + 0x18c]
call fcn.00490d30
jmp 0x46da24
mov ecx, dword [edi + 0x1cc]
call fcn.00490d30
mov ecx, dword [eax]
xorps xmm0, xmm0
mov esi, dword [eax + 4]
lea eax, [ebp - 0x44]
push eax
push dword [edi + 4]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x44], 0x2c
movups xmmword [ebp - 0x40], xmm0
movups xmmword [ebp - 0x30], xmm0
movq qword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetWindowPlacement]
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x54]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
add eax, esi
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x44]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPlacement]
jmp 0x46deaa
mov eax, dword [edi + 0x188]
mov dword [ebp - 0x58], eax
test eax, eax
je 0x46da9b
mov eax, dword [eax]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x4da544]
mov ecx, dword [ebp - 0x58]
call esi
jmp 0x46da9d
xor eax, eax
push eax
mov dword [edi + 0x194], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46daed
push dword [edi + 0x194]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x46daed
mov edi, dword [edi + 0x188]
lea ecx, [ebp - 0x18]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x4da544]
mov ecx, edi
call esi
mov edi, dword [ebp - 0x60]
mov ecx, edi
push 1
push 1
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.00465b60
mov dword [edi + 0x198], 2
jmp 0x46deaa
cmp byte [edi + 0x1b0], 0
je 0x46db76
call dword [0x4da4f4]
mov edi, eax
push 0x4de4fc
mov ecx, dword [edi]
mov esi, dword [ecx + 4]
lea ecx, [ebp - 0x38]
call dword [0x4d9f00]
mov dword [ebp - 4], 9
lea eax, [ebp - 0x90]
push str._____msg.playerFrame.warning.unityOperationInProgress_This_virtual_machine_is_already_entering_Unity.
push eax
call dword [0x4d98b0]
add esp, 8
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x38]
push ecx
push eax
mov ecx, esi
call dword [0x4da544]
mov ecx, edi
call esi
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x90]
call dword [0x4d9ef8]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call dword [0x4d9ef8]
jmp 0x46deaa
test eax, eax
je 0x46deaa
mov ecx, eax
call dword [0x4d999c]
test al, al
jne 0x46deaa
mov eax, dword [edi + 0x30]
push 0x30
mov dword [ebp - 0x30], 0x468590
mov dword [ebp - 0x2c], 0xffffffd4
mov eax, dword [eax + 4]
add eax, 0x30
mov dword [ebp - 0x28], 0
add eax, edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], eax
call dword [0x4d96b8]
mov esi, eax
add esp, 4
mov dword [ebp - 0x48], esi
mov dword [ebp - 4], 0xb
test esi, esi
je 0x46dc0f
push 0x42de50
push 0x42dd20
push 0
mov ecx, esi
call dword [0x4d9694]
mov byte [ebp - 4], 0xc
movups xmm0, xmmword [ebp - 0x30]
push dword [0x4d96b0]
movups xmmword [esi + 0x18], xmm0
push esi
movq xmm0, qword [ebp - 0x20]
movq qword [esi + 0x28], xmm0
mov ecx, dword [esi + 0x28]
call dword [0x4d96c4]
mov byte [ebp - 4], 0xb
jmp 0x46dc11
xor esi, esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
push esi
call dword [0x4d96a8]
mov dword [ebp - 4], 0xd
mov eax, dword [ebp - 0x18]
mov dword [eax + 4], 0x46f760
mov dword [ebp - 4], 0xf
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0x204]
lea ecx, [ecx + 0x7f4]
call dword [0x4d98e0]
test al, al
je 0x46ddf0
mov byte [edi + 0x1b0], 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_LockWindowUpdate]
mov eax, dword [edi + 0x1a0]
lea esi, [edi + 0x1a0]
mov ecx, dword [ebp - 0x54]
mov dword [esi + 4], eax
call dword [0x4d9f80]
test eax, eax
je 0x46dce5
mov ecx, dword [ebp - 0x54]
call dword [0x4d9f80]
mov ecx, eax
call dword [0x4d9a8c]
lea ecx, [ebp - 0x50]
push ecx
mov ecx, eax
call dword [0x4d9c88]
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 0x10
cmp esi, eax
je 0x46dcd9
mov ecx, esi
call fcn.0042d2e0
mov edx, dword [ebp - 0x58]
mov ecx, dword [edx]
mov dword [esi], ecx
mov eax, dword [edx + 4]
mov dword [esi + 4], eax
mov eax, dword [edx + 8]
mov dword [esi + 8], eax
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x50]
call fcn.0042d2e0
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jne 0x46dd5c
mov edi, dword [edi + 0x188]
mov eax, dword [edi]
mov esi, dword [eax + 0x14]
lea eax, [ebp - 0x4c]
push eax
mov ecx, esi
call dword [0x4da544]
mov ecx, edi
call esi
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
call dword [0x4d9c50]
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x1a4]
cmp ecx, dword [eax + 0x1a8]
je 0x46dd4c
movups xmm0, xmmword [ebp - 0x28]
movups xmmword [ecx], xmm0
add dword [eax + 0x1a4], 0x10
jmp 0x46dd5c
lea edx, [ebp - 0x28]
push edx
push ecx
lea ecx, [eax + 0x1a0]
call fcn.00461220
mov edi, dword [ebp - 0x54]
mov eax, dword [edi]
mov esi, dword [eax + 0x20]
mov ecx, esi
call dword [0x4da544]
mov ecx, edi
call esi
sub esp, 8
mov dword [ebp - 0x58], eax
mov esi, esp
mov dword [ebp - 0x48], esp
sub esp, 0xc
mov dword [ebp - 0x70], 0x4686d0
mov ecx, dword [eax]
mov eax, esp
mov dword [ebp - 0x6c], 0xffffffd4
movq xmm0, qword [ebp - 0x70]
push dword [ebp - 0x60]
mov edi, dword [ecx + 0xa8]
movq qword [eax], xmm0
mov dword [eax + 8], 0
lea eax, [ebp - 0x30]
push eax
call fcn.0043cb40
add esp, 0x14
mov ecx, esi
push eax
call fcn.0043c620
mov byte [ebp - 4], 0x11
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x64], esp
lea eax, [ebp - 0x18]
mov dword [ebp - 0x54], ecx
push eax
call dword [0x4d96a4]
mov byte [ebp - 4], 0x14
mov byte [ebp - 4], 0xf
mov ecx, edi
call dword [0x4da544]
mov ecx, dword [ebp - 0x58]
call edi
jmp 0x46de88
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x90]
push str.VM_or_guest_OS_cannot_run_unity
call dword [0x4d9f00]
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0xe0]
call dword [0x4d99f0]
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x18]
push eax
lea eax, [ebp - 0x59]
mov byte [ebp - 0x59], 0
push eax
call fcn.00447d70
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0xe0]
call dword [0x4d99f4]
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x90]
call dword [0x4d9ef8]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x30]
call fcn.0042d400
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call dword [0x4d96a0]
jmp 0x46deaa
mov dword [edi + 0x194], 0
mov dword [edi + 0x198], esi
mov edi, dword [ebp - 0x60]
push dword [edi + 0x194]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46def5
push 5
push dword [edi + 0x194]
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46dee9
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x46def5
push dword [edi + 0x194]
call dword [sym.imp.USER32.dll_SetFocus]
push dword [edi + 0x1e4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46df18
mov ecx, dword [0x53ac78]
call fcn.0044c540
test al, al
je 0x46df18
mov al, 1
jmp 0x46df1a
xor al, al
cmp byte [edi + 0x1f0], 0
je 0x46df29
test al, al
je 0x46df2d
jmp 0x46df36
test al, al
je 0x46df36
push 1
mov ecx, edi
call fcn.00463860
push 1
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004aeb30
mov esp, ebp
pop ebp
ret 4