Function at 0x14000b810
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x3440]
mov eax, 0x3540
call fcn.1400162d0
sub rsp, rax
movaps xmmword [rsp + 0x3530], xmm6
movaps xmmword [rsp + 0x3520], xmm7
movaps xmmword [rsp + 0x3510], xmm8
movaps xmmword [rsp + 0x3500], xmm9
mov rax, qword [0x140054040]
xor rax, rsp
mov qword [rbp + 0x33f0], rax
mov r15, rcx
call fcn.14000b5b0
movaps xmm6, xmmword [0x14004c1e0]
lea rbx, [0x140056610]
movss xmm9, dword [0x14004bfdc]
lea rdi, [r15 + 0xbb0]
movss xmm5, dword [0x14004bfbc]
xor r12d, r12d
movss xmm8, dword [0x14004c020]
mov r11d, r12d
mov qword [rsp + 0x44], 0x3f800000
mov r10d, dword [rsp + 0x48]
mov dword [rsp + 0x40], r12d
movsd xmm7, qword [rsp + 0x40]
lea eax, [r11 - 0xa]
movd xmm4, r11d
movd xmm0, eax
lea r9, [rbx - 0x18fc]
cvtdq2ps xmm0, xmm0
mov r8d, r12d
mov edx, 0xfffffff7
lea rcx, [rdi - 0xab4]
cvtdq2ps xmm4, xmm4
mulss xmm0, xmm9
mulss xmm4, xmm5
movss dword [rsp + 0x40], xmm0
nop dword [rax + rax]
movss xmm0, dword [r9 - 0xa4]
lea eax, [rdx - 1]
movsd xmm3, qword [rsp + 0x40]
shufps xmm3, xmm3, 0xe1
movss xmm3, xmm0
movd xmm1, eax
shufps xmm3, xmm3, 0xe1
lea eax, [rdx + 0xa]
movsd qword [rcx - 0x8c], xmm3
shufps xmm3, xmm3, 0xe1
cvtdq2ps xmm1, xmm1
movsd qword [rcx - 0x80], xmm7
mulss xmm1, xmm8
mov dword [rcx - 0x78], r10d
movss dword [rcx - 0x4c], xmm4
movups xmmword [rcx - 0x5c], xmm6
movss dword [rcx - 0x84], xmm1
movd xmm0, r8d
cvtdq2ps xmm0, xmm0
movd xmm2, edx
mulss xmm0, xmm5
cvtdq2ps xmm2, xmm2
movss dword [rcx - 0x48], xmm0
movss xmm1, dword [r9]
movss xmm3, xmm1
mulss xmm2, xmm8
shufps xmm3, xmm3, 0xe1
movsd qword [rcx - 0x44], xmm3
movss dword [rcx - 0x3c], xmm2
movd xmm0, eax
lea eax, [rdx + 1]
cvtdq2ps xmm0, xmm0
shufps xmm3, xmm3, 0xe1
mulss xmm0, xmm5
movd xmm2, eax
lea eax, [rdx + 0xb]
cvtdq2ps xmm2, xmm2
movss dword [rcx], xmm0
mulss xmm2, xmm8
movsd qword [rcx - 0x38], xmm7
movd xmm0, eax
lea eax, [rdx + 2]
cvtdq2ps xmm0, xmm0
mov dword [rcx - 0x30], r10d
movss dword [rcx - 4], xmm4
mulss xmm0, xmm5
movups xmmword [rcx - 0x14], xmm6
movss xmm1, dword [r9 + 0xa4]
movss xmm3, xmm1
movss dword [rcx + 0x48], xmm0
shufps xmm3, xmm3, 0xe1
movsd qword [rcx + 4], xmm3
movss dword [rcx + 0xc], xmm2
movd xmm2, eax
lea eax, [rdx + 0xc]
cvtdq2ps xmm2, xmm2
movsd qword [rcx + 0x10], xmm7
mulss xmm2, xmm8
mov dword [rcx + 0x18], r10d
shufps xmm3, xmm3, 0xe1
movss dword [rcx + 0x44], xmm4
movups xmmword [rcx + 0x34], xmm6
movss xmm1, dword [r9 + 0x148]
movss xmm3, xmm1
movd xmm0, eax
shufps xmm3, xmm3, 0xe1
lea eax, [rdx + 3]
movsd qword [rcx + 0x4c], xmm3
movss dword [rcx + 0x54], xmm2
movsd qword [rcx + 0x58], xmm7
cvtdq2ps xmm0, xmm0
mov dword [rcx + 0x60], r10d
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mulss xmm0, xmm5
movss dword [rcx + 0x8c], xmm4
movups xmmword [rcx + 0x7c], xmm6
movss dword [rcx + 0x90], xmm0
movss xmm1, dword [r9 + 0x1ec]
mulss xmm2, xmm8
shufps xmm3, xmm3, 0xe1
movss xmm3, xmm1
movsd qword [rcx + 0xa0], xmm7
shufps xmm3, xmm3, 0xe1
lea eax, [rdx + 0xd]
movsd qword [rcx + 0x94], xmm3
add r8d, 8
movss dword [rcx + 0x9c], xmm2
lea r9, [r9 + 0x520]
shufps xmm3, xmm3, 0xe1
movd xmm0, eax
lea eax, [rdx + 4]
movd xmm2, eax
lea eax, [rdx + 0xe]
movss dword [rcx + 0xd4], xmm4
mov dword [rcx + 0xa8], r10d
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm2, xmm2
mulss xmm0, xmm5
mulss xmm2, xmm8
movss dword [rcx + 0xd8], xmm0
movd xmm0, eax
lea eax, [rdx + 5]
cvtdq2ps xmm0, xmm0
movups xmmword [rcx + 0xc4], xmm6
lea rcx, [rcx + 0x240]
movss xmm1, dword [r9 - 0x290]
movss xmm3, xmm1
mulss xmm0, xmm5
shufps xmm3, xmm3, 0xe1
movsd qword [rcx - 0x164], xmm3
movss dword [rcx - 0x15c], xmm2
movss dword [rcx - 0x120], xmm0
shufps xmm3, xmm3, 0xe1
movd xmm2, eax
lea eax, [rdx + 0xf]
cvtdq2ps xmm2, xmm2
movsd qword [rcx - 0x158], xmm7
mulss xmm2, xmm8
mov dword [rcx - 0x150], r10d
movd xmm0, eax
lea eax, [rdx + 6]
cvtdq2ps xmm0, xmm0
movss dword [rcx - 0x124], xmm4
mulss xmm0, xmm5
movups xmmword [rcx - 0x134], xmm6
movss xmm1, dword [r9 - 0x1ec]
movss xmm3, xmm1
movss dword [rcx - 0xd8], xmm0
shufps xmm3, xmm3, 0xe1
movsd qword [rcx - 0x11c], xmm3
movss dword [rcx - 0x114], xmm2
movsd qword [rcx - 0x110], xmm7
movd xmm2, eax
lea eax, [rdx + 0x10]
movss dword [rcx - 0xdc], xmm4
add edx, 8
mov dword [rcx - 0x108], r10d
shufps xmm3, xmm3, 0xe1
movd xmm0, eax
movups xmmword [rcx - 0xec], xmm6
movss xmm1, dword [r9 - 0x148]
movsd qword [rcx - 0xc8], xmm7
movss xmm3, xmm1
shufps xmm3, xmm3, 0xe1
movsd qword [rcx - 0xd4], xmm3
movss dword [rcx - 0x94], xmm4
mov dword [rcx - 0xc0], r10d
movsd qword [rsp + 0x40], xmm3
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm2, xmm2
mulss xmm0, xmm5
mulss xmm2, xmm8
movss dword [rcx - 0x90], xmm0
movups xmmword [rcx - 0xa4], xmm6
movss dword [rcx - 0xcc], xmm2
cmp edx, 0x18
jle 0x14000b900
cmp r8d, 0x28
jg 0x14000bc92
lea edx, [r8 - 0xa]
mov rcx, rdi
mov r9, rbx
movss xmm1, dword [r9]
lea r9, [r9 + 0xa4]
movsd xmm0, qword [rsp + 0x40]
shufps xmm0, xmm0, 0xe1
movd xmm2, edx
movss xmm0, xmm1
shufps xmm0, xmm0, 0xe1
inc edx
movsd qword [rcx], xmm0
movsd qword [rsp + 0x40], xmm0
movd xmm0, r8d
inc r8d
movsd qword [rcx + 0xc], xmm7
movss dword [rcx + 0x40], xmm4
mov dword [rcx + 0x14], r10d
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm2, xmm2
mulss xmm0, xmm5
mulss xmm2, xmm8
movss dword [rcx + 0x44], xmm0
movups xmmword [rcx + 0x30], xmm6
movss dword [rcx + 8], xmm2
lea rcx, [rcx + 0x48]
cmp edx, 0x1e
jle 0x14000bc28
inc r11d
add rdi, 0xb88
add rbx, 4
cmp r11d, 0x28
jle 0x14000b8c0
lea rsi, [r15 + 0xc0]
mov r14d, 0x26
nop word [rax + rax]
mov rbx, rsi
mov edi, 0x26
nop dword [rax + rax]
movss xmm2, dword [rbx + 0xb40]
lea rdx, [rsp + 0x40]
movss xmm4, dword [rbx + 0xb3c]
lea rcx, [rsp + 0x40]
subss xmm2, dword [rbx + 0xbd0]
subss xmm4, dword [rbx + 0xbcc]
movss xmm8, dword [rbx + 0x1708]
movss xmm6, dword [rbx + 0xb38]
subss xmm6, dword [rbx + 0xbc8]
subss xmm8, dword [rbx - 8]
movss xmm5, dword [rbx + 0x1710]
movaps xmm3, xmm4
subss xmm5, dword [rbx]
movss xmm7, dword [rbx + 0x170c]
movaps xmm0, xmm2
subss xmm7, dword [rbx - 4]
movaps xmm1, xmm8
mulss xmm8, xmm4
mulss xmm3, xmm5
mulss xmm0, xmm7
mulss xmm1, xmm2
subss xmm3, xmm0
movaps xmm0, xmm6
mulss xmm0, xmm5
mulss xmm6, xmm7
subss xmm1, xmm0
subss xmm6, xmm8
unpcklps xmm3, xmm1
movsd qword [rsp + 0x40], xmm3
movss dword [rsp + 0x48], xmm6
call qword [sym.imp.d3dx9_43.dll_D3DXVec3Normalize]
movsd xmm0, qword [rsp + 0x40]
mov eax, dword [rsp + 0x48]
movsd qword [rbx + 0xb8c], xmm0
mov dword [rbx + 0xb94], eax
add rbx, 0x48
sub rdi, 1
jne 0x14000bcd0
add rsi, 0xb88
sub r14, 1
jne 0x14000bcc0
mov rcx, qword [0x140058d80]
lea rax, [r15 + 0x70]
mov qword [rsp + 0x60], r12
lea r9, [r15 + 0x40]
mov qword [rsp + 0x50], 0x1d8c8
lea r8, [rsp + 0x30]
mov qword [rsp + 0x58], 1
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], rax
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rcx, r12
mov r9d, 0x29
nop word [rax + rax]
lea edx, [r9 - 0x29]
mov r8d, 0x29
nop word [rax + rax]
mov dword [rsp + rcx*4 + 0x70], edx
lea eax, [rdx + 0x29]
mov dword [rsp + rcx*4 + 0x74], eax
inc edx
add rcx, 2
sub r8, 1
jne 0x14000be10
cmp r9d, 0x668
je 0x14000be4e
lea eax, [r9 + 0x28]
mov dword [rsp + rcx*4 + 0x70], eax
mov dword [rsp + rcx*4 + 0x74], r9d
add r9d, 0x29
add rcx, 2
cmp r9d, 0x691
jl 0x14000be00
mov rcx, qword [0x140058d80]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x60], r12
lea r9, [r15 + 0x48]
mov qword [rsp + 0x50], 0x3478
lea r8, [rsp + 0x30]
mov qword [rsp + 0x58], 2
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], rax
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rcx, qword [0x140058d80]
lea rax, [r15 + 0x50]
mov qword [rsp + 0x28], r12
lea rdx, str.asset_texture_green.png
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromFileA]
lea rdx, [r15 + 0x68]
lea rcx, [r15 + 0x58]
lea r8, str.shaderdepthShadowMappingVS.cso
call fcn.140011610
lea rdx, [0x14004bdd0]
lea rcx, str.shaderdepthShadowMappingPS.cso
call fcn.14001cf84
mov rcx, rax
mov rbx, rax
call fcn.140025ddc
mov ecx, eax
call fcn.140025dd4
movsxd rdi, eax
mov rcx, rdi
call fcn.140015c70
mov r9, rbx
mov r8d, 1
mov rdx, rdi
mov rcx, rax
mov rsi, rax
call fcn.140026064
mov rcx, rbx
call fcn.14001d10c
mov rcx, qword [0x140058d80]
lea rdx, [r15 + 0x60]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
mov r8, rdi
mov rdx, rsi
mov r10, qword [rcx]
call qword [r10 + 0x78]
mov rcx, rsi
call fcn.140015ae0
mov rcx, qword [rbp + 0x33f0]
xor rcx, rsp
call fcn.140015ac0
lea r11, [rsp + 0x3540]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret