Function at 0x435490
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x44300c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
mov esi, ecx
mov dword [ebp - 0x44], 0x30
mov dword [ebp - 0x40], 0x40
mov dword [ebp - 0x3c], 0x435940
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp dword [esi + 0x98], 8
lea edi, [esi + 0x84]
xorps xmm0, xmm0
mov dword [ebp - 0x30], eax
movups xmmword [ebp - 0x2c], xmm0
mov eax, edi
jb 0x4354ef
mov eax, dword [edi]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x44]
push ebx
push eax
mov dword [ebp - 0x18], 0
call dword [sym.imp.USER32.dll_RegisterClassExW]
cmp dword [esi + 0x148], 1
lea ebx, [esi + 0x54]
jne 0x435561
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp dword [ebx + 0x14], 8
jb 0x435520
mov ebx, dword [ebx]
cmp dword [edi + 0x14], 8
jb 0x435528
mov edi, dword [edi]
push 0
push eax
push 0
push 0
push 0x64
push 0x64
push 0x80000000
push 0x80000000
push 0x80000000
push ebx
push edi
push 0x28
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 0x4355b0
cmp dword [ebx + 0x14], 8
cvttss2si ecx, dword [esi + 0xa4]
cvttss2si edx, dword [esi + 0xa0]
cvttss2si eax, dword [esi + 0xa8]
jb 0x435581
mov ebx, dword [ebx]
cmp dword [edi + 0x14], 8
jb 0x435589
mov edi, dword [edi]
push 0
push dword [ebp - 0x30]
push 0
push 0
push eax
cvttss2si eax, dword [esi + 0x9c]
push ecx
push edx
push eax
push 0xa0000
push ebx
push edi
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi + 0x34], eax
mov eax, dword [ebp - 0x30]
xorps xmm0, xmm0
push 0x443d30
mov edi, dword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x10]
push eax
push 0x443d2c
push 0x443d34
lea eax, [ebp - 0x80]
movlpd qword [ebp - 0x6c], xmm0
push eax
push 7
push 2
lea eax, [ebp - 0xc]
mov dword [ebp - 0x58], 2
push eax
push 0
push 0
push 1
push 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x70], 0x1c
mov dword [ebp - 0x78], 0x3c
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x48], 2
mov dword [ebp - 0x5c], 0x20
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0xc], 0xb000
mov dword [ebp - 8], 0xa000
call edi
pop ebx
cmp eax, 0x887a0004
jne 0x435686
push 0x443d30
lea eax, [ebp - 0x10]
push eax
push 0x443d2c
push 0x443d34
lea eax, [ebp - 0x80]
push eax
push 7
push 2
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 5
push 0
call edi
test eax, eax
jne 0x4356ee
mov eax, dword [0x443d34]
lea edx, [ebp - 0x14]
push edx
push 0x43f394
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x4356c3
mov eax, dword [0x443d2c]
push 0x443d38
push 0
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x14]
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
setne al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004362ef
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x443d38]
test ecx, ecx
je 0x435708
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x443d38], 0
mov ecx, dword [0x443d34]
test ecx, ecx
je 0x435722
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x443d34], 0
mov ecx, dword [0x443d30]
test ecx, ecx
je 0x43573c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x443d30], 0
mov ecx, dword [0x443d2c]
test ecx, ecx
je 0x435756
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x443d2c], 0
push dword [ebp - 0x30]
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_UnregisterClassW]
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.004362ef
mov esp, ebp
pop ebp
ret