Function at 0x440bf0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x544
mov eax, dword [0x4b000c]
xor eax, esp
mov dword [esp + 0x53c], eax
push ebx
push ebp
mov ebx, ecx
mov dword [esp + 0x14], ebx
push esi
push edi
test ebx, ebx
je 0x44186d
movss xmm2, dword [0x4a96d4]
xor edx, edx
movss xmm3, dword [0x4a96e0]
nop dword [eax + eax]
movd xmm0, edx
xorps xmm1, xmm1
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
maxss xmm1, xmm0
movaps xmm0, xmm3
minss xmm0, xmm1
cvttss2si eax, xmm0
mov word [edx*2 + 0x4e79f8], ax
inc edx
cmp edx, 0x100
jl 0x440c30
mov ecx, 0x80
mov esi, 0x4e79f8
mov edi, 0x4e7bf8
rep movsd dword es:[edi], dword [esi]
push 0x5bc
mov ecx, 0x80
mov esi, 0x4e79f8
mov edi, 0x4e7df8
push 0
rep movsd dword es:[edi], dword [esi]
push 0x4eaac8
call fcn.0046e200
mov eax, dword [ebx]
add esp, 0xc
mov dword [0x4eabc8], eax
mov eax, dword [ebx + 4]
mov dword [0x4eabe0], eax
mov eax, dword [ebx + 0xc]
mov dword [0x4eabcc], eax
mov eax, dword [ebx + 0x10]
mov dword [0x4eabd0], eax
mov eax, dword [ebx + 0x20]
mov dword [0x4eabd8], eax
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x24]
mov dword [0x4eabdc], eax
mov dword [0x4eb07c], 0
mov dword [0x4eb074], 0
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
mov dword [esp + 0x18], eax
imul edx, ecx, 0x4ab
mov dword [0x4e9648], ecx
mov ecx, dword [esp + 0x18]
mov dword [0x4ea69c], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x24], eax
mov dword [0x4e9dac], eax
lea ebp, [ecx*4]
lea esi, [ecx*4]
mov dword [0x4eb03c], 0
mov eax, dword [ebx + 0x10]
mov dword [0x4eb5d8], eax
shl ecx, 6
add ecx, 0x10
mov dword [0x4eb0a8], 0
lea edi, [eax*4]
mov dword [esp + 0x18], ecx
lea ebx, [eax + eax*4]
mov dword [0x4e9c1c], 0
lea eax, [esi + ebp*2]
shl ebx, 2
add eax, ebp
mov dword [0x4eb1a0], 0
add eax, edx
mov dword [0x4eb19c], 0xffffffff
add eax, ebx
mov dword [0x4e9dc4], 0xffffffff
add ecx, 0x100a00
mov dword [0x4e9db8], 0
add eax, edi
mov dword [0x4e96a0], 0
add ecx, eax
mov dword [0x4e964c], 0x40
mov eax, dword [esp + 0x20]
sub eax, ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x1c]
mov dword [0x4eb084], 0x40
mov dword [0x4e9c58], 0x100000
mov dword [0x4eb5d0], 0
mov ecx, dword [ecx + 0x24]
mov dword [0x4e9644], ecx
add ecx, edx
mov dword [0x4ea1dc], ecx
add ecx, edi
mov dword [0x4eb0d8], ecx
add ecx, ebx
mov dword [0x4e96bc], 0
mov dword [0x4eb15c], eax
mov dword [0x4eb0a0], ecx
mov eax, dword [esp + 0x24]
add ecx, esi
mov dword [0x4eb5e8], ecx
push 0x428
push 0
lea eax, [eax*4]
add eax, ebp
add ecx, eax
mov dword [0x4e9db4], ecx
add ecx, ebp
mov dword [0x4eb5e0], ecx
add ecx, ebp
push 0x4eb1a8
lea eax, [ecx + 0x10]
add ecx, dword [esp + 0x24]
mov dword [0x4ea614], ecx
and eax, 0xfffffff0
add ecx, 0x500
mov dword [0x4e9640], eax
mov dword [0x4e95f8], ecx
add ecx, 0x500
mov dword [0x4ea1e4], ecx
mov dword [0x4e8b18], ecx
lea eax, [ecx + 0x100000]
mov dword [0x4e9da8], eax
mov dword [0x4eb5dc], eax
call fcn.0046e200
add esp, 0xc
push 0x428
push 0
push 0x4ea1e8
call fcn.0046e200
add esp, 0xc
push 0x428
push 0
push 0x4ea6a0
call fcn.0046e200
add esp, 0xc
mov dword [0x4e96b4], 0
xorps xmm0, xmm0
mov dword [0x4e9c30], 0
movups xmmword [0x4e9c20], xmm0
mov dword [0x4ea670], 0
push 0x50
push 0
push 0x4e9650
mov dword [0x4e9bf0], 0
mov dword [0x4e9dc0], 0x3f400000
call fcn.0046e200
mov eax, dword [0x4e9bf4]
add esp, 0xc
and eax, 0xffffffec
mov dword [0x4e79f4], 0
or eax, 0xc
mov dword [0x4e9bf4], eax
mov eax, dword [0x4eb044]
push 0x4eb158
push 0x4e9db0
push 0x4e96b8
push 7
push 0
push 0
push 0x20
push 0
and eax, 0xff1fffff
push 1
or eax, 0x180000
push 0
mov dword [0x4eb044], eax
call dword [sym.imp.d3d11.dll_D3D11CreateDevice]
test eax, eax
js 0x441888
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x24], 0
je 0x4417d0
push 0xad4
push 0
push 0x4e8b20
call fcn.0046e200
add esp, 0xc
xor esi, esi
xor ecx, ecx
nop dword [eax]
xor edx, edx
mov dword [ecx + 0x4e8b20], 0x4a7d30
mov dword [ecx + 0x4e8b24], 0
mov dword [ecx + 0x4e8b28], 6
mov dword [ecx + 0x4e8b2c], 0
mov dword [ecx + 0x4e8b30], 0
mov dword [ecx + 0x4e8b34], 0
mov dword [ecx + 0x4e8b38], 0
mov dword [ecx + 0x4e8b3c], 0x4a7d3c
mov dword [ecx + 0x4e8b40], 0
mov dword [ecx + 0x4e8b44], 6
mov dword [ecx + 0x4e8b48], 0
mov dword [ecx + 0x4e8b4c], 0xffffffff
mov dword [ecx + 0x4e8b50], 0
mov dword [ecx + 0x4e8b54], 0
mov dword [ecx + 0x4e8b58], 0x4a7d44
mov dword [ecx + 0x4e8b5c], 0
mov dword [ecx + 0x4e8b60], 2
mov dword [ecx + 0x4e8b64], 0
mov dword [ecx + 0x4e8b68], 0xffffffff
mov dword [ecx + 0x4e8b6c], 0
mov dword [ecx + 0x4e8b70], 0
test esi, esi
je 0x441084
lea eax, [ecx + 0x4e8b78]
nop
mov dword [eax], edx
lea eax, [eax + 0x1c]
inc edx
mov dword [eax - 0x20], 0x4a7d4c
mov dword [eax - 0x18], 0x10
mov dword [eax - 0x14], 0
mov dword [eax - 0x10], 0xffffffff
mov dword [eax - 0xc], 0
mov dword [eax - 8], 0
cmp edx, esi
jb 0x441050
add ecx, 0x134
inc esi
cmp ecx, 0x9a0
jb 0x440f70
mov eax, dword [0x4e9648]
mov dword [0x4eb178], 0x14
mov dword [0x4e9c34], 0x18
mov dword [0x4eb17c], 0x1c
mov dword [0x4e9c38], 0x20
mov dword [0x4eb180], 0x24
mov dword [0x4e9c3c], 0x28
mov dword [0x4eb184], 0x2c
mov dword [0x4e9c40], 0x30
mov dword [0x4eb188], 0x34
mov dword [0x4e9c44], 0x38
mov dword [0x4eb18c], 0x3c
mov dword [0x4e9c48], 0x40
mov dword [0x4eb190], 0x44
mov dword [0x4e9c4c], 0x48
mov dword [0x4eb194], 0x4c
mov dword [0x4e9c50], 0x50
test eax, eax
jle 0x441157
imul eax, eax, 0x4ab
push eax
push 0
push dword [0x4e9644]
call fcn.0046e200
add esp, 0xc
mov edi, dword [0x4ea69c]
xor edx, edx
test edi, edi
jle 0x441221
mov eax, dword [0x4e9640]
mov esi, dword [0x4eb0a0]
add eax, 0x28
mov ecx, dword [0x4e9db4]
sub esi, ecx
mov ebx, dword [0x4eb5e8]
or ebp, 0xffffffff
nop word [eax + eax]
mov dword [esi + ecx], 0
lea ecx, [ecx + 4]
mov word [ebx + edx*2], bp
lea eax, [eax + 0x40]
mov dword [ecx - 4], 0
inc edx
mov dword [eax - 0x64], 0
mov dword [eax - 0x60], 0
mov dword [eax - 0x5c], 0
mov dword [eax - 0x58], 0
mov dword [eax - 0x50], 0
mov dword [eax - 0x4c], 0
mov dword [eax - 0x48], 0
mov dword [eax - 0x44], 0
mov dword [eax - 0x3c], 0
mov dword [eax - 0x38], 0
mov dword [eax - 0x34], 0
mov dword [eax - 0x30], 0
mov dword [eax - 0x2c], 0x3f800000
mov dword [eax - 0x40], 0x3f800000
mov dword [eax - 0x54], 0x3f800000
mov dword [eax - 0x68], 0x3f800000
cmp edx, edi
jl 0x441190
mov eax, dword [0x4eb5d8]
mov dword [0x4eb0a8], 0
mov dword [0x4eb19c], 0xffffffff
test eax, eax
jle 0x441255
lea eax, [eax + eax*4]
shl eax, 2
push eax
push 0
push dword [0x4eb0d8]
call fcn.0046e200
add esp, 0xc
push 0x400
push 0
push 0x4e9dd8
mov dword [0x4e9c1c], 0
mov dword [0x4e9dc4], 0xffffffff
call fcn.0046e200
mov eax, dword [0x4ea1e4]
add esp, 0xc
mov dword [0x4e8b18], eax
mov eax, dword [0x4e964c]
mov dword [0x4ea610], 0xffffffff
mov dword [0x4ea62c], 0xffffffff
mov dword [0x4e9dd4], 0
mov dword [0x4e95f4], 0
mov dword [0x4eb5d0], 0
test eax, eax
jle 0x4412d9
lea eax, [eax + eax*4]
shl eax, 2
push eax
push 0
push dword [0x4ea614]
call fcn.0046e200
add esp, 0xc
mov eax, dword [0x4eb084]
test eax, eax
jle 0x4412f9
lea eax, [eax + eax*4]
shl eax, 2
push eax
push 0
push dword [0x4e95f8]
call fcn.0046e200
add esp, 0xc
push 0xe3
lea eax, [esp + 0x69]
mov dword [0x4e9b48], 0x3f000000
xorps xmm0, xmm0
mov dword [0x4e96b0], 0
push 0
push eax
mov dword [0x4e96ac], 0
mov dword [0x4e96a8], 0
mov dword [0x4e96a4], 0
movq qword [esp + 0x4c], xmm0
call fcn.0046e200
mov eax, dword [0x4e96b8]
lea edx, [esp + 0x4c]
movaps xmm0, xmmword [0x4a9790]
add esp, 0xc
movups xmmword [esp + 0x48], xmm0
mov dword [esp + 0x58], 2
mov dword [esp + 0x5c], 1
push 0x4e9c60
mov dword [esp + 0x64], 1
mov byte [esp + 0x68], 0xf
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x50]
test eax, eax
js 0x44186d
mov ebx, 1
mov ebp, 0x4a0ba4
nop dword [eax + eax]
lea edi, [ebx*4 + 0x4e9c60]
mov esi, 0x4a0ba4
nop dword [eax]
mov eax, dword [ebp]
mov dword [esp + 0x48], 1
mov dword [esp + 0x58], 2
mov dword [esp + 0x5c], 1
mov dword [esp + 0x60], 1
mov dword [esp + 0x4c], eax
cmp eax, 5
je 0x4413eb
cmp eax, 6
je 0x4413eb
cmp eax, 7
je 0x4413eb
cmp eax, 8
jne 0x4413ef
mov dword [esp + 0x58], eax
mov eax, dword [esi]
mov dword [esp + 0x50], eax
cmp eax, 5
je 0x441409
cmp eax, 6
je 0x441409
cmp eax, 7
je 0x441409
cmp eax, 8
jne 0x44140d
mov dword [esp + 0x5c], eax
mov eax, dword [0x4e96b8]
lea edx, [esp + 0x40]
push edi
mov dword [esp + 0x58], 1
mov byte [esp + 0x68], 0xf
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x50]
test eax, eax
js 0x44186d
add esi, 4
inc ebx
add edi, 4
cmp esi, 0x4a0bc8
jl 0x4413b0
add ebp, 4
cmp ebp, 0x4a0bc8
jl 0x4413a0
xor esi, esi
nop word [eax + eax]
push esi
lea eax, [esp + 0x14c]
push str.FixedPipe_dTexNoLightVertexShader.cso
push eax
call fcn.00406d20
add esp, 0xc
lea edx, [esp + 0x14]
lea ecx, [esp + 0x148]
call fcn.00444cf0
push esi
lea eax, [esp + 0x14c]
push str.FixedPipe_dTex8LightVertexShader.cso
push eax
call fcn.00406d20
add esp, 0xc
lea edx, [esp + 0x14]
lea ecx, [esp + 0x148]
call fcn.00444cf0
inc esi
cmp esi, 3
jb 0x441460
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe0TexPixelShader.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe1TexCombineNone.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe1TexCombineModulate.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe1TexCombineModulate2x.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe1TexCombineModulate4x.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe1TexCombineAdd.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe1TexCombineAdd2x.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe1TexCombineAdd4x.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe2TexCombineNoneNone.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe2TexCombineNoneModulate.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe2TexCombineNoneModulate2x.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe2TexCombineNoneModulate4x.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe2TexCombineNoneAdd.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe2TexCombineNoneAdd2x.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe2TexCombineNoneAdd4x.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe2TexCombineModulateNone.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe2TexCombineModulateModulate.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe2TexCombineModulateModulate2x.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe2TexCombineModulateModulate4x.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe2TexCombineModulateAdd.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe2TexCombineModulateAdd2x.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe2TexCombineModulateAdd4x.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe2TexCombineModulate2xNone.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe2TexCombineModulate2xModulate.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe2TexCombineModulate2xModulate2x.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe2TexCombineModulate2xModulate4x.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe2TexCombineModulate2xAdd.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe2TexCombineModulate2xAdd2x.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe2TexCombineModulate2xAdd4x.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe2TexCombineModulate4xNone.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe2TexCombineModulate4xModulate.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe2TexCombineModulate4xModulate2x.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe2TexCombineModulate4xModulate4x.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe2TexCombineModulate4xAdd.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe2TexCombineModulate4xAdd2x.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe2TexCombineModulate4xAdd4x.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe2TexCombineAddNone.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe2TexCombineAddModulate.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe2TexCombineAddModulate2x.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe2TexCombineAddModulate4x.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe2TexCombineAddAdd.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe2TexCombineAddAdd2x.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe2TexCombineAddAdd4x.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe2TexCombineAdd2xNone.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe2TexCombineAdd2xModulate.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe2TexCombineAdd2xModulate2x.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe2TexCombineAdd2xModulate4x.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe2TexCombineAdd2xAdd.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe2TexCombineAdd2xAdd2x.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe2TexCombineAdd2xAdd4x.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe2TexCombineAdd4xNone.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe2TexCombineAdd4xModulate.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe2TexCombineAdd4xModulate2x.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe2TexCombineAdd4xModulate4x.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe2TexCombineAdd4xAdd.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe2TexCombineAdd4xAdd2x.cso
call fcn.00444e90
lea edx, [esp + 0x14]
mov ecx, str.FixedPipe2TexCombineAdd4xAdd4x.cso
call fcn.00444e90
mov eax, dword [0x4e96b8]
lea edx, [esp + 0x28]
push 0x4ea1d8
xorps xmm0, xmm0
mov dword [esp + 0x40], 0
push 0
movlpd qword [esp + 0x3c], xmm0
mov dword [esp + 0x30], 0x520
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 4
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x44186d
mov eax, dword [0x4e96b8]
lea edx, [esp + 0x28]
push 0x4eb0ac
xorps xmm0, xmm0
mov dword [esp + 0x40], 0
push 0
movlpd qword [esp + 0x3c], xmm0
mov dword [esp + 0x30], 0x4b0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 4
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x44186d
mov eax, dword [esp + 0x14]
mov dword [0x4eabd8], eax
call fcn.004418c0
mov eax, 1
jmp 0x44186f
xor eax, eax
mov ecx, dword [esp + 0x54c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046ad4d
add esp, 0x544
ret
push 0
push dword [0xc0db48]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x10
push str.Fatal_Error
push str.Graphic_Device_is_not_supporting_DirectX_11.1
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.00477e45
int3