Function at 0x7ff7dc5ab9c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2a0
mov rax, qword [0x7ff7dc895810]
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 [0x7ff7dc8a7c48], eax
jle 0x7ff7dc5aba78
lea rcx, [0x7ff7dc8a7c48]
call fcn.7ff7dc7b1634
cmp dword [0x7ff7dc8a7c48], 0xffffffff
jne 0x7ff7dc5aba78
lea rax, [0x7ff7dc8a7c50]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rax, [0x7ff7dc8a7c50]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov rcx, rax
call fcn.7ff7dc576b40
lea rax, [0x7ff7dc8a7c50]
mov qword [rsp + 0x1e0], rax
lea rcx, [0x7ff7dc857c40]
call fcn.7ff7dc7b1458
lea rcx, [0x7ff7dc8a7c48]
call fcn.7ff7dc7b15d4
lea rax, [0x7ff7dc8a7c50]
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 0x7ff7dc5abba7
mov byte [rsp + 0x20], 1
lea rax, [0x7ff7dc8a7c50]
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.7ff7dc6ca640
nop
lea rax, [rsp + 0x108]
mov qword [rsp + 0x110], rax
mov rdx, qword [rsp + 0x110]
lea rcx, [0x7ff7dc8a7c50]
call fcn.7ff7dc6af0f0
jmp 0x7ff7dc5abbb3
lea rcx, [0x7ff7dc8a7c50]
call fcn.7ff7dc6af050
lea rdx, [0x7ff7dc870945]
lea rcx, [rsp + 0x260]
call fcn.7ff7dc566210
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 0x7ff7dc5abd68
mov dword [rsp + 0x68], 1
jmp 0x7ff7dc5abd70
mov dword [rsp + 0x68], 0
movzx eax, byte [rsp + 0x68]
mov byte [rsp + 0x27], al
movzx eax, byte [rsp + 0x27]
test eax, eax
je 0x7ff7dc5abda5
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.7ff7dc824548
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x7ff7dc5ac1ed
movsxd rax, dword [0x7ff7dc89652c]
movsxd rcx, dword [0x7ff7dc896544]
add rcx, 0x3cc7
imul rcx, rcx, 0x3cc7
add rcx, 2
movsxd rdx, dword [0x7ff7dc896544]
add rdx, 3
imul rcx, rdx
lea rax, [rax + rcx + 0x3cca]
mov rcx, rax
call fcn.7ff7dc577710
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.7ff7dc82484c
mov rcx, qword [rsp + 0x50]
call fcn.7ff7dc824450
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 [0x7ff7dc896570]
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 [0x7ff7dc896578]
xor rax, 0x3cc7
imul rax, rax, 0
mov qword [rsp + 0x178], rax
imul rcx, qword [0x7ff7dc896570], 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.7ff7dc5777c0
mov dword [rsp + 0x80], eax
mov r8d, dword [rsp + 0x84]
mov edx, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x50]
call fcn.7ff7dc82484c
lea rdx, [0x7ff7dc8794d4]
lea rcx, [rsp + 0x240]
call fcn.7ff7dc566210
nop
mov rax, qword [rsp + 0x250]
mov qword [rsp + 0x180], rax
cmp qword [rsp + 0x180], 0xc
jae 0x7ff7dc5abfee
mov rax, qword [rsp + 0x250]
mov qword [rsp + 0x188], rax
cmp qword [rsp + 0x188], 0
jne 0x7ff7dc5abfbd
mov dword [rsp + 0x58], 1
jmp 0x7ff7dc5abfc5
mov dword [rsp + 0x58], 0
movzx eax, byte [rsp + 0x58]
mov byte [rsp + 0x28], al
movzx eax, byte [rsp + 0x28]
test eax, eax
jne 0x7ff7dc5abfee
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x240]
call fcn.7ff7dc5660e0
jmp 0x7ff7dc5abffe
xor edx, edx
lea rcx, [rsp + 0x240]
call fcn.7ff7dc570ce0
nop
mov rax, qword [rsp + 0x250]
mov qword [rsp + 0x190], rax
cmp qword [rsp + 0x190], 0
jne 0x7ff7dc5ac023
mov dword [rsp + 0x5c], 1
jmp 0x7ff7dc5ac02b
mov dword [rsp + 0x5c], 0
movzx eax, byte [rsp + 0x5c]
mov byte [rsp + 0x29], al
movzx eax, byte [rsp + 0x29]
test eax, eax
je 0x7ff7dc5ac0b9
mov edx, 7
lea rcx, [rsp + 0x240]
call fcn.7ff7dc6b0040
lea rax, [0x7ff7dc8794d8]
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 0x7ff7dc5ac067
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, [0x7ff7dc8794d8]
lea rcx, [rsp + 0x240]
call fcn.7ff7dc5694e0
nop
lea rcx, [rsp + 0x240]
call fcn.7ff7dc569250
mov rax, qword [rsp + 0x270]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
cmp qword [rsp + 0x78], rax
ja 0x7ff7dc5ac0f9
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x260]
call fcn.7ff7dc570ce0
jmp 0x7ff7dc5ac11f
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.7ff7dc570d40
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 0x7ff7dc5ac158
mov dword [rsp + 0x60], 1
jmp 0x7ff7dc5ac160
mov dword [rsp + 0x60], 0
movzx eax, byte [rsp + 0x60]
mov byte [rsp + 0x2a], al
movzx eax, byte [rsp + 0x2a]
test eax, eax
je 0x7ff7dc5ac195
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.7ff7dc824d88
mov rcx, qword [rsp + 0x50]
call fcn.7ff7dc8245d8
lea rdx, [rsp + 0x260]
mov rcx, qword [rsp + 0x2b0]
call fcn.7ff7dc566150
mov eax, dword [rsp + 0x64]
or eax, 1
mov dword [rsp + 0x64], eax
lea rcx, [rsp + 0x260]
call fcn.7ff7dc569250
nop
mov rcx, qword [rsp + 0x2b8]
call fcn.7ff7dc569250
mov rax, qword [rsp + 0x2b0]
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.7ff7dc7b0e40
add rsp, 0x2a0
pop rdi
ret