Function at 0x46a370
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x7c
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push esi
push edi
push 0
mov esi, ecx
mov dword [esp + 0x24], 0x30
mov dword [esp + 0x28], 0x40
mov dword [esp + 0x2c], 0x46a840
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
call ebp
cmp dword [esi + 0x98], 7
lea edi, [esi + 0x84]
xorps xmm0, xmm0
mov dword [esp + 0x34], eax
movups xmmword [esp + 0x38], xmm0
mov eax, edi
jbe 0x46a3ca
mov eax, dword [edi]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x50], 0
call dword [sym.imp.USER32.dll_RegisterClassExW]
cmp dword [esi + 0x148], 1
lea ebx, [esi + 0x54]
jne 0x46a43d
push 0
call ebp
cmp dword [ebx + 0x14], 7
jbe 0x46a3f9
mov ebx, dword [ebx]
cmp dword [edi + 0x14], 7
jbe 0x46a401
mov edi, dword [edi]
push 0
push eax
push 0
push 0
push 0x64
push 0x64
push Ordinal_2
push Ordinal_2
push Ordinal_2
push ebx
push edi
push 0xa8
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 2
push 0xff
push 0
push eax
mov dword [esi + 0x34], eax
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
jmp 0x46a48d
cmp dword [ebx + 0x14], 7
cvttss2si eax, dword [esi + 0xa8]
cvttss2si ecx, dword [esi + 0xa4]
cvttss2si edx, dword [esi + 0xa0]
cvttss2si ebp, dword [esi + 0x9c]
jbe 0x46a465
mov ebx, dword [ebx]
cmp dword [edi + 0x14], 7
jbe 0x46a46d
mov edi, dword [edi]
push 0
push dword [esp + 0x38]
push 0
push 0
push eax
push ecx
push edx
push ebp
push 0xa0000
push ebx
push edi
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0x34]
xorps xmm0, xmm0
push 0x5f95e4
mov edi, dword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x34]
mov dword [esp + 0x80], eax
lea eax, [esp + 0x18]
push eax
push 0x5f95e0
push 0x5f95e8
lea eax, [esp + 0x60]
movlpd qword [esp + 0x74], xmm0
push eax
push 7
push 2
lea eax, [esp + 0x34]
mov dword [esp + 0x94], 2
push eax
push 0
push 0
push 1
push 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x90], 0x1c
mov dword [esp + 0x88], 0x3c
mov dword [esp + 0x8c], 1
mov dword [esp + 0xb8], 2
mov dword [esp + 0xa4], 0x20
mov dword [esp + 0x9c], 1
mov dword [esp + 0xa0], 0
mov dword [esp + 0xb0], 1
mov dword [esp + 0xb4], 0
mov dword [esp + 0x48], 0xb000
mov dword [esp + 0x4c], 0xa000
call edi
cmp eax, 0x887a0004
jne 0x46a5a0
push 0x5f95e4
lea eax, [esp + 0x18]
push eax
push 0x5f95e0
push 0x5f95e8
lea eax, [esp + 0x60]
push eax
push 7
push 2
lea eax, [esp + 0x34]
push eax
push 0
push 0
push 5
push 0
call edi
test eax, eax
jne 0x46a603
mov eax, dword [0x5f95e8]
lea edx, [esp + 0x10]
push edx
push 0x56fd98
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov edx, dword [esp + 0x10]
test edx, edx
je 0x46a5e0
mov eax, dword [0x5f95e0]
push 0x5f95ec
push 0
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 0xa
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [esi + 0x34], 0
pop edi
pop esi
pop ebp
setne al
pop ebx
add esp, 0x7c
ret
mov ecx, dword [0x5f95ec]
test ecx, ecx
je 0x46a61d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x5f95ec], 0
mov ecx, dword [0x5f95e8]
test ecx, ecx
je 0x46a637
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x5f95e8], 0
mov ecx, dword [0x5f95e4]
test ecx, ecx
je 0x46a651
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x5f95e4], 0
mov ecx, dword [0x5f95e0]
test ecx, ecx
je 0x46a66b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x5f95e0], 0
push dword [esp + 0x34]
push dword [esp + 0x4c]
call dword [sym.imp.USER32.dll_UnregisterClassW]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x7c
ret