Function at 0x46b3a0
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], 0x46b880
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 0x46b3fa
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 0x46b46d
call ebp
cmp dword [ebx + 0x14], 7
jbe 0x46b429
mov ebx, dword [ebx]
cmp dword [esi + 0x14], 7
jbe 0x46b431
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 0x46b4c8
call ebp
push 0
mov ebp, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp dword [ebx + 0x14], 7
jbe 0x46b481
mov ebx, dword [ebx]
cmp dword [esi + 0x14], 7
jbe 0x46b489
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 0xb0f844
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 0xb0f840
push 0xb0f848
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 0x46b5f3
push 0xb0f844
lea eax, [esp + 0x18]
push eax
push 0xb0f840
push 0xb0f848
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 0x46b64e
mov eax, dword [0xb0f848]
lea edx, [esp + 0x10]
push edx
push 0xa86f50
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov edx, dword [esp + 0x10]
test edx, edx
je 0x46b633
mov eax, dword [0xb0f840]
push 0xb0f84c
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 [0xb0f84c]
test ecx, ecx
je 0x46b668
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0xb0f84c], 0
mov ecx, dword [0xb0f848]
test ecx, ecx
je 0x46b682
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0xb0f848], 0
mov ecx, dword [0xb0f844]
test ecx, ecx
je 0x46b69c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0xb0f844], 0
mov ecx, dword [0xb0f840]
test ecx, ecx
je 0x46b6b6
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0xb0f840], 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