Function at 0x7ff7f3a465c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2a0
mov rax, qword [0x7ff7f3d30410]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov dword [rsp + 0x64], 0
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x7ff7f3d42848], eax
jle 0x7ff7f3a46678
lea rcx, [0x7ff7f3d42848]
call fcn.7ff7f3c4c234
cmp dword [0x7ff7f3d42848], 0xffffffff
jne 0x7ff7f3a46678
lea rax, [0x7ff7f3d42850]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rax, [0x7ff7f3d42850]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov rcx, rax
call fcn.7ff7f3a11740
lea rax, [0x7ff7f3d42850]
mov qword [rsp + 0x1e0], rax
lea rcx, [0x7ff7f3cf2840]
call fcn.7ff7f3c4c058
lea rcx, [0x7ff7f3d42848]
call fcn.7ff7f3c4c1d4
lea rax, [0x7ff7f3d42850]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xa0]
mov rcx, qword [rcx]
mov rax, qword [rax + 8]
sub rax, rcx
sar rax, 3
mov qword [rsp + 0xf0], rax
cmp qword [rsp + 0xf0], 0x123
jae 0x7ff7f3a467a7
mov byte [rsp + 0x20], 1
lea rax, [0x7ff7f3d42850]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xa8]
mov rcx, qword [rcx]
mov rax, qword [rax + 8]
sub rax, rcx
sar rax, 3
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
xor rax, 0xaac
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x1e8]
mov qword [rsp + 0xb0], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0xb8], rax
lea rax, [rsp + 0x100]
mov qword [rsp + 0xb8], rax
movzx eax, byte [rsp + 0x2b]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
mov byte [rsp + 0x22], al
mov r9, qword [rsp + 0xb0]
mov r8, qword [rsp + 0xb8]
movzx edx, byte [rsp + 0x22]
lea rcx, [rsp + 0x108]
call fcn.7ff7f3b65240
nop
lea rax, [rsp + 0x108]
mov qword [rsp + 0x110], rax
mov rdx, qword [rsp + 0x110]
lea rcx, [0x7ff7f3d42850]
call fcn.7ff7f3b49cf0
jmp 0x7ff7f3a467b3
lea rcx, [0x7ff7f3d42850]
call fcn.7ff7f3b49c50
lea rdx, [0x7ff7f3d0b545]
lea rcx, [rsp + 0x260]
call fcn.7ff7f3a00e10
nop
lea rax, [rsp + 0x23]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x24]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x25]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx eax, byte [rsp + 0x23]
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 0x38], al
movzx eax, byte [rsp + 0x25]
mov byte [rsp + 0x40], al
movabs rax, 0x47ad0e9ab2db52d5
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x1d0], rax
movabs rax, 0xb42ef4b3ca7e6e78
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x1d8], rax
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x1f8]
mov qword [rsp + 0xc8], rax
movabs rax, 0x47ad0e9ab2db30a7
mov qword [rsp + 0x280], rax
movabs rax, 0xb42ef4b3ca7e6e78
mov qword [rsp + 0x288], rax
lea rax, [rsp + 0x26]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx eax, byte [rsp + 0x26]
mov byte [rsp + 0x48], al
movdqa xmm0, xmmword [rsp + 0x280]
movdqa xmmword [rsp + 0x220], xmm0
mov rax, qword [rsp + 0x88]
movdqu xmm0, xmmword [rax]
movdqa xmmword [rsp + 0x210], xmm0
movdqa xmm0, xmmword [rsp + 0x210]
pxor xmm0, xmmword [rsp + 0x220]
movdqa xmmword [rsp + 0x230], xmm0
mov rax, qword [rsp + 0x88]
movdqa xmm0, xmmword [rsp + 0x230]
movdqu xmmword [rax], xmm0
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x200]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x2b8]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x90]
cmp qword [rax + 0x18], 0x10
jb 0x7ff7f3a46968
mov dword [rsp + 0x68], 1
jmp 0x7ff7f3a46970
mov dword [rsp + 0x68], 0
movzx eax, byte [rsp + 0x68]
mov byte [rsp + 0x27], al
movzx eax, byte [rsp + 0x27]
test eax, eax
je 0x7ff7f3a469a5
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0xd0], rax
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xd0]
call fcn.7ff7f3cbf148
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x7ff7f3a46ded
movsxd rax, dword [0x7ff7f3d3112c]
movsxd rcx, dword [0x7ff7f3d31144]
add rcx, 0x3cc7
imul rcx, rcx, 0x3cc7
add rcx, 2
movsxd rdx, dword [0x7ff7f3d31144]
add rdx, 3
imul rcx, rdx
lea rax, [rax + rcx + 0x3cca]
mov rcx, rax
call fcn.7ff7f3a12310
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.7ff7f3cbf44c
mov rcx, qword [rsp + 0x50]
call fcn.7ff7f3cbf050
cdqe
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x138], 0x3cd4
mov rax, qword [rsp + 0x138]
xor rax, 0x13
mov qword [rsp + 0x150], rax
mov qword [rsp + 0x140], 0x13
mov rax, qword [0x7ff7f3d31170]
xor rax, 0x3cc7
imul rax, rax, 9
mov qword [rsp + 0x148], rax
mov qword [rsp + 0x158], 0x3cc7
mov rax, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x148]
lea rax, [rax + rcx + 1]
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x150]
mov rcx, qword [rsp + 0x158]
sub rax, rcx
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x168]
xor edx, edx
div rcx
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
mov dword [rsp + 0x84], eax
mov rax, qword [0x7ff7f3d31178]
xor rax, 0x3cc7
imul rax, rax, 0
mov qword [rsp + 0x178], rax
imul rcx, qword [0x7ff7f3d31170], 0x3cc7
xor edx, edx
mov rax, rcx
mov ecx, 0x13
div rcx
mov rcx, qword [rsp + 0x178]
lea rax, [rax + rcx*2]
xor rax, 0x13
mov rcx, rax
call fcn.7ff7f3a123c0
mov dword [rsp + 0x80], eax
mov r8d, dword [rsp + 0x84]
mov edx, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x50]
call fcn.7ff7f3cbf44c
lea rdx, [0x7ff7f3d140d4]
lea rcx, [rsp + 0x240]
call fcn.7ff7f3a00e10
nop
mov rax, qword [rsp + 0x250]
mov qword [rsp + 0x180], rax
cmp qword [rsp + 0x180], 0xc
jae 0x7ff7f3a46bee
mov rax, qword [rsp + 0x250]
mov qword [rsp + 0x188], rax
cmp qword [rsp + 0x188], 0
jne 0x7ff7f3a46bbd
mov dword [rsp + 0x58], 1
jmp 0x7ff7f3a46bc5
mov dword [rsp + 0x58], 0
movzx eax, byte [rsp + 0x58]
mov byte [rsp + 0x28], al
movzx eax, byte [rsp + 0x28]
test eax, eax
jne 0x7ff7f3a46bee
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x240]
call fcn.7ff7f3a00ce0
jmp 0x7ff7f3a46bfe
xor edx, edx
lea rcx, [rsp + 0x240]
call fcn.7ff7f3a0b8e0
nop
mov rax, qword [rsp + 0x250]
mov qword [rsp + 0x190], rax
cmp qword [rsp + 0x190], 0
jne 0x7ff7f3a46c23
mov dword [rsp + 0x5c], 1
jmp 0x7ff7f3a46c2b
mov dword [rsp + 0x5c], 0
movzx eax, byte [rsp + 0x5c]
mov byte [rsp + 0x29], al
movzx eax, byte [rsp + 0x29]
test eax, eax
je 0x7ff7f3a46cb9
mov edx, 7
lea rcx, [rsp + 0x240]
call fcn.7ff7f3b4ac40
lea rax, [0x7ff7f3d140d8]
mov qword [rsp + 0x198], rax
mov qword [rsp + 0x70], 0xffffffffffffffff
inc qword [rsp + 0x70]
mov rax, qword [rsp + 0x198]
mov rcx, qword [rsp + 0x70]
cmp byte [rax + rcx], 0
jne 0x7ff7f3a46c67
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x1a8], rax
mov r8, qword [rsp + 0x1a8]
lea rdx, [0x7ff7f3d140d8]
lea rcx, [rsp + 0x240]
call fcn.7ff7f3a040e0
nop
lea rcx, [rsp + 0x240]
call fcn.7ff7f3a03e50
mov rax, qword [rsp + 0x270]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
cmp qword [rsp + 0x78], rax
ja 0x7ff7f3a46cf9
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x260]
call fcn.7ff7f3a0b8e0
jmp 0x7ff7f3a46d1f
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x260]
call fcn.7ff7f3a0b940
lea rax, [rsp + 0x260]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x98]
cmp qword [rax + 0x18], 0x10
jb 0x7ff7f3a46d58
mov dword [rsp + 0x60], 1
jmp 0x7ff7f3a46d60
mov dword [rsp + 0x60], 0
movzx eax, byte [rsp + 0x60]
mov byte [rsp + 0x2a], al
movzx eax, byte [rsp + 0x2a]
test eax, eax
je 0x7ff7f3a46d95
mov rax, qword [rsp + 0x98]
mov rax, qword [rax]
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x1b8], rax
mov rax, qword [rsp + 0x1b8]
mov qword [rsp + 0x1c0], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x1c0]
add rcx, rax
mov rax, rcx
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x78]
mov edx, 1
mov rcx, rax
call fcn.7ff7f3cbf988
mov rcx, qword [rsp + 0x50]
call fcn.7ff7f3cbf1d8
lea rdx, [rsp + 0x260]
mov rcx, qword [rsp + 0x2b0]
call fcn.7ff7f3a00d50
mov eax, dword [rsp + 0x64]
or eax, 1
mov dword [rsp + 0x64], eax
lea rcx, [rsp + 0x260]
call fcn.7ff7f3a03e50
nop
mov rcx, qword [rsp + 0x2b8]
call fcn.7ff7f3a03e50
mov rax, qword [rsp + 0x2b0]
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.7ff7f3c4ba40
add rsp, 0x2a0
pop rdi
ret