Function at 0x4335e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x5750c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi]
push edi
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x14]
mov edi, edx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x58], ecx
test ebx, ebx
jne 0x43362a
push 0x20
call dword [sym.imp.d3d9.dll_Direct3DCreate9]
mov ebx, eax
mov dword [esi], ebx
test ebx, ebx
je 0x4337bb
mov eax, dword [ebp - 0x40]
cmp byte [ebp + 0x10], 0
sete cl
mov byte [ebp - 0x41], cl
test cl, cl
je 0x433645
lea edx, [ebp - 0x14]
push edx
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
jmp 0x433660
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 4]
mov edx, dword [eax + 8]
sub edx, dword [eax]
push ecx
push edx
push 0
push 0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov edx, dword [ebp - 8]
fld dword [ebp + 0x18]
sub edx, dword [ebp - 0x10]
fld dword [0x57c3ac]
mov ecx, dword [ebp - 0xc]
fucompp
sub ecx, dword [ebp - 0x14]
movzx eax, dx
mov dword [ebp - 0x4c], eax
movzx esi, cx
fnstsw ax
mov dword [ebp - 0x50], esi
test ah, 0x44
jp 0x43371f
fld dword [ebp + 0x1c]
fld dword [0x57c3b0]
fucompp
fnstsw ax
test ah, 0x44
jp 0x43371f
mov edx, dword [ebx]
mov eax, dword [edx + 0x3c]
lea ecx, [ebp - 0x3c]
push ecx
push 0
push ebx
mov dword [ebp - 0x3c], 0x28
call eax
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoA]
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], ecx
fild dword [ebp - 0x40]
fld qword [0x554b90]
movzx edx, si
movzx ecx, word [ebp - 0x4c]
fmul st(1), st(0)
fild dword [ebp - 0x38]
faddp st(2)
fxch st(1)
fstp dword [ebp - 0x40]
fld dword [ebp - 0x40]
mov dword [ebp - 0x40], edx
fild dword [ebp - 0x40]
fmul st(2)
fstp dword [ebp - 0x40]
fsub dword [ebp - 0x40]
mov dword [ebp - 0x40], eax
fstp dword [ebp + 0x18]
fild dword [ebp - 0x40]
fmul st(1)
fiadd dword [ebp - 0x34]
fstp dword [ebp - 0x40]
fld dword [ebp - 0x40]
mov dword [ebp - 0x40], ecx
fild dword [ebp - 0x40]
fmulp st(2)
fxch st(1)
fstp dword [ebp - 0x40]
fsub dword [ebp - 0x40]
fstp dword [ebp + 0x1c]
cmp byte [ebp - 0x41], 0
je 0x43376e
push 0x14ce0000
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 1
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
fld dword [ebp + 0x1c]
movzx edx, word [ebp - 0x4c]
push 0x335
movzx eax, si
push edx
push eax
call fcn.00513620
push eax
fld dword [ebp + 0x18]
call fcn.00513620
push eax
push 0
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x433792
fld dword [ebp + 0x1c]
push 0x315
push 0
push 0
call fcn.00513620
fld dword [ebp + 0x18]
push eax
call fcn.00513620
push eax
push 0
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
lea edi, [ebp - 0x40]
mov esi, ebx
mov dword [ebp - 0x40], 0x44
call fcn.00432aa0
test al, al
jne 0x4337ce
push 0x10
push str.Hardware_not_supported
push str.Required_shader_model_isnt_supported_by_the_current_hardware__reverting_to_reference_device_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045f06e
mov esp, ebp
pop ebp
ret
push 0x38
lea ecx, [ebp - 0x90]
push 0
push ecx
call sub.MSVCR100.dll_memset
movzx ecx, word [ebp - 0x50]
mov al, byte [ebp - 0x41]
mov dword [ebp - 0x90], ecx
xor ecx, ecx
add esp, 0xc
movzx edx, al
test al, al
mov dword [ebp - 0x70], edx
movzx edx, word [ebp - 0x4c]
setne cl
mov dword [ebp - 0x8c], edx
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x74], edx
mov edx, dword [ebp - 0x58]
mov esi, 1
mov dword [ebp - 0x88], 0x15
dec ecx
and ecx, 0x3c
mov dword [ebp - 0x78], 2
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], 0x4b
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x5c], esi
test edx, edx
je 0x433852
mov ecx, 0xe
lea esi, [ebp - 0x90]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x54]
mov eax, dword [esi]
test eax, eax
je 0x43388e
mov ecx, dword [eax]
push edx
mov edx, dword [ecx + 0x40]
push eax
call edx
test eax, eax
jns 0x4338d8
call fcn.00406d40
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x98]
push 0
call eax
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045f06e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx]
mov ecx, dword [ecx + 0x40]
lea edx, [ebp - 0x48]
push edx
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 0x90]
push eax
mov eax, dword [ebp - 0x48]
push edx
push eax
push 1
push 0
push ebx
call ecx
test eax, eax
js 0x4337bb
fld1
mov eax, dword [ebp - 0x48]
mov edx, dword [eax]
push 0
push ecx
fstp dword [esp]
push 0
push 7
push 0
push 0
push eax
mov eax, dword [edx + 0xac]
call eax
mov ecx, dword [ebp - 0x48]
mov dword [esi], ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.0045f06e
mov esp, ebp
pop ebp
ret