Function at 0x18001ec20
Capabilities:
Access peb ldr_data

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0xc0
mov rax, qword [0x180084038]
xor rax, rsp
mov qword [rsp + 0xb8], rax
lea rax, str.48_8D_____48_8D_____E8
mov qword [r11 - 0x38], rax
lea rax, str.48_8D_______48_8D_____E8
mov qword [r11 - 0x30], rax
lea rax, str.48_8D_____49_8B___E8
mov qword [r11 - 0x28], rax
lea rax, str.48_8D_______49_8B___E8
mov qword [r11 - 0x20], rax
lea rax, str.48_8D_____48_8B___E848_8D_______48_8B___E8
mov qword [r11 - 0x18], rax
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rsi, qword [rcx + 0x10]
movsxd rax, dword [rsi + 0x3c]
mov r8d, dword [rax + rsi + 0x50]
lea rax, [r8 + rsi]
lea ecx, [r8 - 0x10]
cmp r8, rax
cmovb ecx, r8d
mov r14d, ecx
xor ebp, ebp
test ecx, ecx
je 0x18001ed2a
mov rbx, rsi
mov rdi, rsi
neg rdi
movzx eax, byte [rbx]
sub al, 0x48
test al, 0xfb
jne 0x18001ed1e
cmp byte [rbx + 1], 0x8d
jne 0x18001ed1e
mov eax, dword [rbx + 3]
add eax, 7
movsxd rdx, eax
add rdx, rdi
add rdx, rsi
add rdx, rbx
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov r8, qword [rcx + 0x10]
movsxd rax, dword [r8 + 0x3c]
cmp rdx, r8
jbe 0x18001ed1e
mov eax, dword [rax + r8 + 0x50]
add rax, r8
cmp rdx, rax
jae 0x18001ed1e
mov r8d, 0x16
lea rcx, str.ForwardShadingQuality_
call fcn.180031a40
test eax, eax
je 0x18001ed2d
inc rbx
lea rax, [rdi + rbx]
cmp rax, r14
jb 0x18001ecc0
mov rbx, rbp
mov edi, ebp
mov rdx, qword [0x180087178]
test rdx, rdx
jne 0x18001ed87
lea rsi, [rsp + 0x90]
cmp edi, 5
jae 0x18001eefe
test rbx, rbx
jne 0x18001ed56
mov rdx, rbp
jmp 0x18001ed75
mov dword [rsp + 0x20], 0xffffffff
mov r9b, 1
mov r8d, 0x50
mov rdx, rbx
mov rcx, qword [rsi]
call fcn.18000b5f0
mov rdx, rax
mov qword [0x180087178], rdx
inc edi
add rsi, 8
test rdx, rdx
je 0x18001ed43
mov rcx, qword [0x180087120]
test rcx, rcx
jne 0x18001edab
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x10]
mov qword [0x180087120], rcx
mov eax, edx
sub eax, ecx
cmp rdx, rcx
cmova ebp, eax
mov dword [0x1800870d8], ebp
test rdx, rdx
jne 0x18001edd7
call fcn.18000df80
test al, al
jne 0x18001eed0
call fcn.18000e390
call fcn.18001ef20
call fcn.18000e390
lea rcx, str.AppendString
lea rax, str.ToString
cmp byte [0x180084e80], 0
cmovne rax, rcx
lea rcx, str.Found_FName::_at_Offset_0x:X_n
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], 0x21
mov qword [rsp + 0x80], rax
movabs rax, 0xb000000000000000
mov qword [rsp + 0x70], rax
mov eax, dword [0x1800870d8]
mov dword [rsp + 0x88], eax
movabs rax, 0x1000000000000008
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x30], 2
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm1
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.18000cf10
nop
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
call fcn.180013c70
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x18001eed0
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001eecb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001ef12
call fcn.180022de0
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.180022dc0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
test rdx, rdx
jne 0x18001ed87
mov dword [0x1800870d8], ebp
jmp 0x18001edc0
call fcn.1800306b0
int3