Function at 0x10011510
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10058b65
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x10083028]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.Tomb_Raider
push 0
mov dword [esi + 4], eax
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [esi + 8], eax
xorps xmm0, xmm0
movq qword [esi + 0xc], xmm0
mov ecx, esi
mov word [esi + 0x14], 1
mov dword [esi + 0x18], 0x3f800000
mov dword [esi + 0x1c], 0x3f800000
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0x43610000
movq qword [esi + 0x28], xmm0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], str.Stereoscopic_3D
mov dword [esi + 0x40], str.Mono
mov dword [esi + 0x44], str.TombRaider.exe
mov dword [esi + 0x48], str.SOFTWARECrystal_DynamicsTomb_RaiderGraphics
call fcn.10011ad0
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [esi], eax
movq xmm0, qword [str.Fullscreen]
mov ax, word [0x1007834c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0xa
movq qword [ebp - 0x28], xmm0
mov word [ebp - 0x20], ax
mov byte [ebp - 0x1e], 0
push 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
push eax
mov ecx, esi
call fcn.10011d50
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x10011647
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001163d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001163d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10056f0f
add esp, 8
movq xmm0, qword [str.VSyncMode]
mov al, byte [0x10078358]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 9
movq qword [ebp - 0x28], xmm0
mov byte [ebp - 0x20], al
mov byte [ebp - 0x1f], 0
push 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 3
push eax
mov ecx, esi
call fcn.10011d50
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x100116bf
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100116b5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100116b5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10056f0f
add esp, 8
mov dword [ebp - 0x28], 0
push 0x20
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
call fcn.1000ddb0
movups xmm0, xmmword [str.EnablePostProcess]
mov dword [ebp - 0x18], 0x11
mov dword [ebp - 0x14], 0x1f
movups xmmword [eax], xmm0
mov cl, byte [0x1007836c]
mov byte [eax + 0x10], cl
mov byte [eax + 0x11], 0
mov dword [ebp - 0x28], eax
push 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 5
push eax
mov ecx, esi
call fcn.10011d50
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x10011762
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10011758
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10011758
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10056f0f
add esp, 8
mov dword [ebp - 0x28], 0
push 0x20
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
call fcn.1000ddb0
movups xmm0, xmmword [str.EnableScreenEffects]
mov dword [ebp - 0x18], 0x13
mov dword [ebp - 0x14], 0x1f
movups xmmword [eax], xmm0
mov cx, word [0x10078380]
mov word [eax + 0x10], cx
mov cl, byte [0x10078382]
mov byte [eax + 0x12], cl
mov byte [eax + 0x13], 0
mov dword [ebp - 0x28], eax
push 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 7
push eax
mov ecx, esi
call fcn.10011d50
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x10011810
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10011806
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10011806
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10056f0f
add esp, 8
mov dword [ebp - 0x28], 0
push 0x20
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
call fcn.1000ddb0
movups xmm0, xmmword [str.EnableMotionBlur]
mov dword [ebp - 0x18], 0x10
mov dword [ebp - 0x14], 0x1f
movups xmmword [eax], xmm0
mov byte [eax + 0x10], 0
mov dword [ebp - 0x28], eax
push 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 9
push eax
mov ecx, esi
call fcn.10011d50
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x100118aa
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100118a0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100118a0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10056f0f
add esp, 8
mov dword [ebp - 0x40], 0
push 0xa
push str.DOFQuality
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
call fcn.1000de10
push 0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0xb
push eax
mov ecx, esi
call fcn.10011d50
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x10011923
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10011919
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10011919
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10056f0f
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10056f1d
mov esp, ebp
pop ebp
ret