Function at 0x1337c0e97430
Capabilities:
Get windows directory from kuser_shared_data

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 8], rcx
push rbp
lea rbp, [rsp - 0x90]
sub rsp, 0x190
xor edi, edi
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], rdi
mov edx, 0x7ffe0030
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], di
jne 0x1337c0e97470
lea rcx, [rbp - 0x68]
call fcn.1337c0e6ccd0
nop
lea rdx, [0x1337c11e87a0]
lea rcx, [rbp - 0x48]
call fcn.1337c0e7d8c0
nop
lea r8, [rbp - 0x68]
cmp qword [rbp - 0x50], 7
cmova r8, qword [rbp - 0x68]
mov r9, qword [rbp - 0x58]
xor edx, edx
lea rcx, [rbp - 0x48]
call fcn.1337c0e748f0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea rcx, [rbp - 0x48]
call fcn.1337c0e6b8e0
lea rdx, [0x1337c11e87d0]
lea rcx, [rbp - 0x28]
call fcn.1337c0e7d8c0
nop
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova rax, qword [rsp + 0x50]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x78], rax
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rbp - 0x40], xmm0
movabs rax, 0xc000000000000000
mov qword [rbp - 0x48], rax
mov qword [rsp + 0x70], 1
lea rax, [rbp - 0x48]
mov qword [rsp + 0x78], rax
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 7
cmova rax, qword [rbp - 0x28]
mov qword [rbp - 0x80], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x78], rax
lea r8, [rsp + 0x70]
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 8]
call fcn.1337c0e6ded0
nop
lea rcx, [rbp - 0x28]
call fcn.1337c0e6b8e0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x24], xmm0
movups xmmword [rbp + 0x34], xmm0
movups xmmword [rbp + 0x44], xmm0
movups xmmword [rbp + 0x54], xmm0
movups xmmword [rbp + 0x64], xmm0
movups xmmword [rbp + 0x74], xmm0
mov dword [rbp + 0x84], eax
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rax
mov dword [rbp + 0x20], 0x68
lea rbx, [rbp - 8]
cmp qword [rbp + 0x10], 7
cmova rbx, qword [rbp - 8]
mov dword [rbp + 0xa4], setsockopt
mov dword [rbp + 0xa0], 0xcc522599
mov dword [rbp + 0xac], setsockopt
mov dword [rbp + 0xa8], 0x8639f5e1
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0xa8]
call fcn.1337c0ea0bc0
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp + 0x20]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
call rax
test al, al
jne 0x1337c0e9763b
mov eax, dword gs:[0x68]
jmp 0x1337c0e9764f
mov rcx, qword [rbp - 0x80]
call fcn.1337c0e84100
mov rcx, qword [rbp - 0x78]
call fcn.1337c0e84100
mov eax, edi
test eax, eax
sete bl
lea rcx, [rbp - 8]
call fcn.1337c0e6b8e0
nop
cmp qword [rsp + 0x68], 7
jbe 0x1337c0e976f0
mov r10, qword [rsp + 0x50]
test r10, r10
je 0x1337c0e976f0
dec r10
and r10, 0xfffffffffe000000
mov rcx, qword gs:[0x30]
mov rax, qword [r10 + 0x100]
cmp rcx, rax
sete cl
mov r9, qword [rsp + 0x50]
mov rax, r9
sub rax, r10
shr rax, 0x10
lea rax, [rax + rax*4]
shl rax, 4
lea rdx, [r10 + 0x108]
add rdx, rax
mov eax, dword [rdx + 4]
sub rdx, rax
test cl, cl
je 0x1337c0e976e5
cmp byte [rdx + 0xe], 0
jne 0x1337c0e976e0
mov rax, qword [rdx + 0x20]
mov qword [r9], rax
mov qword [rdx + 0x20], r9
add dword [rdx + 0x18], 0xffffffff
jne 0x1337c0e976f0
mov rcx, rdx
call fcn.1337c0f351b0
jmp 0x1337c0e976f0
mov r8b, 1
jmp 0x1337c0e976e8
xor r8d, r8d
mov rcx, r10
call fcn.1337c0f342c0
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], di
cmp qword [rbp - 0x50], 7
jbe 0x1337c0e97790
mov r9, qword [rbp - 0x68]
test r9, r9
je 0x1337c0e97790
lea r11, [r9 - 1]
and r11, 0xfffffffffe000000
mov rdx, qword gs:[0x30]
mov rcx, qword [r11 + 0x100]
mov rax, r9
sub rax, r11
shr rax, 0x10
lea rax, [rax + rax*4]
shl rax, 4
lea r10, [r11 + 0x108]
add r10, rax
mov eax, dword [r10 + 4]
sub r10, rax
cmp rdx, rcx
jne 0x1337c0e97782
cmp byte [r10 + 0xe], 0
jne 0x1337c0e9777d
mov rdx, qword [r10 + 0x20]
mov qword [r9], rdx
mov qword [r10 + 0x20], r9
add dword [r10 + 0x18], 0xffffffff
jne 0x1337c0e97790
mov rcx, r10
call fcn.1337c0f351b0
jmp 0x1337c0e97790
mov r8b, 1
jmp 0x1337c0e97785
xor r8d, r8d
mov rdx, r10
mov rcx, r11
call fcn.1337c0f342c0
movzx eax, bl
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret