Function at 0x180028630
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 [0x180093038]
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 0x18002873a
mov rbx, rsi
mov rdi, rsi
neg rdi
movzx eax, byte [rbx]
sub al, 0x48
test al, 0xfb
jne 0x18002872e
cmp byte [rbx + 1], 0x8d
jne 0x18002872e
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 0x18002872e
mov eax, dword [rax + r8 + 0x50]
add rax, r8
cmp rdx, rax
jae 0x18002872e
mov r8d, 0x16
lea rcx, str.ForwardShadingQuality_
call fcn.18003d0d0
test eax, eax
je 0x18002873d
inc rbx
lea rax, [rdi + rbx]
cmp rax, r14
jb 0x1800286d0
mov rbx, rbp
mov edi, ebp
mov rdx, qword [0x180098800]
test rdx, rdx
jne 0x180028797
lea rsi, [rsp + 0x90]
cmp edi, 5
jae 0x18002890e
test rbx, rbx
jne 0x180028766
mov rdx, rbp
jmp 0x180028785
mov dword [rsp + 0x20], 0xffffffff
mov r9b, 1
mov r8d, 0x50
mov rdx, rbx
mov rcx, qword [rsi]
call fcn.180015000
mov rdx, rax
mov qword [0x180098800], rdx
inc edi
add rsi, 8
test rdx, rdx
je 0x180028753
mov rcx, qword [0x1800987a8]
test rcx, rcx
jne 0x1800287bb
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x10]
mov qword [0x1800987a8], rcx
mov eax, edx
sub eax, ecx
cmp rdx, rcx
cmova ebp, eax
mov dword [0x180098758], ebp
test rdx, rdx
jne 0x1800287e7
call fcn.180017990
test al, al
jne 0x1800288e0
call fcn.180017da0
call fcn.180028930
call fcn.180017da0
lea rcx, str.AppendString
lea rax, str.ToString
cmp byte [0x180096290], 0
cmovne rax, rcx
lea rcx, str.Found_FName::_at_Offset_0x:X_n_n
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], 0x22
mov qword [rsp + 0x80], rax
movabs rax, 0xb000000000000000
mov qword [rsp + 0x70], rax
mov eax, dword [0x180098758]
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.180016920
nop
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
call fcn.18001d680
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x1800288e0
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800288db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180028922
call fcn.18002f0e0
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.18002f0c0
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 0x180028797
mov dword [0x180098758], ebp
jmp 0x1800287d0
call fcn.18003be70
int3