Function at 0x46a550
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 edi, ecx
mov dword [esp + 0x24], 0x30
mov dword [esp + 0x28], 0x40
mov dword [esp + 0x2c], 0x46aa30
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
call ebp
cmp dword [edi + 0x98], 7
lea esi, [edi + 0x84]
xorps xmm0, xmm0
mov dword [esp + 0x34], eax
movups xmmword [esp + 0x38], xmm0
mov eax, esi
jbe 0x46a5aa
mov eax, dword [esi]
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 [edi + 0x148], 1
lea ebx, [edi + 0x54]
push 0
jne 0x46a61d
call ebp
cmp dword [ebx + 0x14], 7
jbe 0x46a5d9
mov ebx, dword [ebx]
cmp dword [esi + 0x14], 7
jbe 0x46a5e1
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]
jmp 0x46a678
call ebp
push 0
mov ebp, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp dword [ebx + 0x14], 7
jbe 0x46a631
mov ebx, dword [ebx]
cmp dword [esi + 0x14], 7
jbe 0x46a639
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]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 1
push dword [edi + 0x34]
call esi
push dword [edi + 0x34]
mov ebx, dword [sym.imp.USER32.dll_UpdateWindow]
call ebx
mov eax, dword [esp + 0x34]
xorps xmm0, xmm0
push 0xb15854
mov ebp, dword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
mov dword [edi + 0x38], eax
mov eax, dword [edi + 0x34]
mov dword [esp + 0x80], eax
lea eax, [esp + 0x18]
push eax
push 0xb15850
push 0xb15858
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 ebp
cmp eax, 0x887a0004
jne 0x46a7a3
push 0xb15854
lea eax, [esp + 0x18]
push eax
push 0xb15850
push 0xb15858
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 ebp
test eax, eax
jne 0x46a7fe
mov eax, dword [0xb15858]
lea edx, [esp + 0x10]
push edx
push 0xa8c3bc
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov edx, dword [esp + 0x10]
test edx, edx
je 0x46a7e3
mov eax, dword [0xb15850]
push 0xb1585c
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 [edi + 0x34]
call esi
push dword [edi + 0x34]
call ebx
cmp dword [edi + 0x34], 0
pop edi
pop esi
pop ebp
setne al
pop ebx
add esp, 0x7c
ret
mov ecx, dword [0xb1585c]
test ecx, ecx
je 0x46a818
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0xb1585c], 0
mov ecx, dword [0xb15858]
test ecx, ecx
je 0x46a832
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0xb15858], 0
mov ecx, dword [0xb15854]
test ecx, ecx
je 0x46a84c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0xb15854], 0
mov ecx, dword [0xb15850]
test ecx, ecx
je 0x46a866
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0xb15850], 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