Function at 0x46e2e0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x78
push ebx
push esi
push edi
push 0
mov edi, ecx
mov dword [esp + 0x1c], 0x30
mov dword [esp + 0x20], 0x40
mov dword [esp + 0x24], 0x46e750
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp dword [edi + 0x98], 7
lea esi, [edi + 0x84]
xorps xmm0, xmm0
mov dword [esp + 0x2c], eax
movups xmmword [esp + 0x30], xmm0
mov eax, esi
jbe 0x46e337
mov eax, dword [esi]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x48], 0
call dword [sym.imp.USER32.dll_RegisterClassExW]
cmp dword [edi + 0x148], 1
lea ebx, [edi + 0x54]
jne 0x46e3c2
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp dword [ebx + 0x14], 7
jbe 0x46e36a
mov ebx, dword [ebx]
cmp dword [esi + 0x14], 7
jbe 0x46e372
mov esi, dword [esi]
push 0
push eax
push 0
push 0
push 0x64
push 0x64
push Ordinal_2
push Ordinal_2
push Ordinal_2
push ebx
push esi
push 0xa8
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 2
push 0xff
push 0
push eax
mov dword [edi + 0x34], eax
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
push 1
push dword [edi + 0x34]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 0x34]
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x46e439
push ebp
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
mov ebp, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp dword [ebx + 0x14], 7
jbe 0x46e3dd
mov ebx, dword [ebx]
cmp dword [esi + 0x14], 7
jbe 0x46e3e5
mov esi, dword [esi]
push 0
push ebp
push 0
push 0
push 0x406
push eax
push Ordinal_2
push Ordinal_2
push Ordinal_2
push ebx
push esi
push 0x80
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0x13
push 0
push 0
push 0
push 0
push 1
push eax
mov dword [edi + 0x34], eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 1
push dword [edi + 0x34]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 0x34]
call dword [sym.imp.USER32.dll_UpdateWindow]
pop ebp
mov eax, dword [esp + 0x2c]
xorps xmm0, xmm0
push 0x5d6878
mov dword [edi + 0x38], eax
mov eax, dword [edi + 0x34]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x10]
push eax
push 0x5d6874
push 0x5d687c
lea eax, [esp + 0x58]
movlpd qword [esp + 0x6c], xmm0
push eax
push 7
push 2
lea eax, [esp + 0x2c]
mov dword [esp + 0x8c], 2
push eax
push 0
push 0
push 1
push 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x88], 0x1c
mov dword [esp + 0x80], 0x3c
mov dword [esp + 0x84], 1
mov dword [esp + 0xb0], 2
mov dword [esp + 0x9c], 0x20
mov dword [esp + 0x94], 1
mov dword [esp + 0x98], 0
mov dword [esp + 0xa8], 1
mov dword [esp + 0xac], 0
mov dword [esp + 0x40], 0xb000
mov dword [esp + 0x44], 0xa000
call dword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
cmp eax, 0x887a0004
jne 0x46e545
push 0x5d6878
lea eax, [esp + 0x10]
push eax
push 0x5d6874
push 0x5d687c
lea eax, [esp + 0x58]
push eax
push 7
push 2
lea eax, [esp + 0x2c]
push eax
push 0
push 0
push 5
push 0
call dword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
mov ecx, 0x5d6874
test eax, eax
jne 0x46e575
call fcn.0046d770
push 0xa
push dword [edi + 0x34]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 0x34]
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [edi + 0x34], 0
pop edi
pop esi
setne al
pop ebx
add esp, 0x78
ret
call fcn.0046d6f0
push dword [esp + 0x2c]
push dword [esp + 0x44]
call dword [sym.imp.USER32.dll_UnregisterClassW]
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x78
ret