Function at 0x140038590
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x48
sub esp, 0x48
mov rsi, rdx
mov rdi, rcx
lea rcx, [rsp + 0x20]
mov rdx, rdi
mov r8, rsi
call fcn.140048590
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
movzx r8d, al
lea r9, [0x1400c0424]
movsxd r10, dword [r9 + r8*4]
add r10, r9
add edx, ecx
mov r8, rsi
mov r9, rdi
stc
jmp r10
add rcx, 4
jmp 0x140035c80
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
invalid
add rcx, r8
add rcx, 8
invalid
jmp 0x140035c80
mov ecx, 6
jmp 0x140035c80
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 2
jmp 0x140035c80
mov ecx, 2
mov r8, rsi
sub r8, rcx
jb 0x140035d3c
add rcx, rdi
mov r9, rcx
test r8, r8
je case.0x140034ed6.60
movzx ecx, byte [r9]
cmp cl, 0x5c
sete dl
invalid
cmp cl, 0x2f
sete cl
or cl, dl
cmp al, 5
jae case.default.0x140035cee
jmp case.0x140035344.13
xor ecx, ecx
cmp al, 5
jb case.0x140035344.13
test cl, cl
jne case.0x140035344.13
xor eax, eax
jmp 0x140035d35
lea rcx, [rsp + 0x20]
mov rdx, rdi
mov r8, rsi
call fcn.140048590
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
and al, 0x30
mov rdx, qword [rsp + 0x40]
movzx r8d, al
movzx r8d, al
lea r9, [0x1400c0440]
movsxd r8, dword [r9 + r8*4]
add r8, r9
jmp r8
jmp rax
xor al, 0x4c
lea eax, [rdx + 1]
invalid
and byte [rcx + 6], bh
add dword [rax - 0x7b], ecx
ror byte [rdi + rcx + 0x44], cl
ret 0x14c
mov edi, ecx
lea rcx, [rsp + 0x20]
mov rdx, rdi
cli
and byte [rax - 0x77], cl
cli
mov r8, rsi
call fcn.140048590
movzx edx, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
and al, 0x30
or esp, edx
or byte [rax], al
bnd call fcn.14009f050
invalid
and al, 0x20
and al, 0x30
mov edx, esi
or byte [rax], al
popfq
nop
invalid
push rsi
iretd
mov ecx, dword [rsp + 0x40]
add byte [rcx - 0x77], cl
sub r10, rcx
retf 0x820f
mov dh, 0
mov dword [rsp + 0xbf], eax
add byte [rax], al
and al, 0x6a
xor al, ch
invalid
retf 0x8dc
ror dword [rax - 0x7d], 1
ror dword [rax], 0xeb
ror byte [rax + 0xf], 0x44
ror byte [rax + 1], 1
ror dword [rax - 0x7d], 1
rol dword [rdx], 0xeb
add eax, 0x2b9
mov ecx, 2
mov rdx, rsi
sub rdx, rcx
cmpsb byte [rsi], byte [rdi]
sar dword [rdi + rbp], 0x41
sete ch
xchg esp, eax
invalid
mov dword [rax], eax
add byte [rax], al
mov dh, 0xac
and al, 0x8a
add byte [rax], al
add byte [rax - 0x80], al
std
invalid
invalid
invalid
add byte [rax], al
add byte [rbp + 0x63], cl
or al, 0x90
ror dword [rax - 0x77], 0xf2
and al, 0x28
mov qword [rsp + 0x30], r12
and al, 0x30
mov qword [rsp + 0x38], 0
mov byte [rsp + 0x40], 1
cmp r12, r14
jae case.0x14003a72b.65
sbb ecx, dword [rax - 0x73]
lea rcx, [rsp + 0x28]
and al, 0x28
ror byte [rbp - 0x77], cl
invalid
add eax, dword [rbp + 0x31]
add esp, esi
add byte [rax], al
add byte [rax], al
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x118
movaps xmmword [rsp + 0x100], xmm6
add dword [rax], eax
add byte [rax - 0x77], cl
xlatb
jl 0x14003863a
sub byte [rdi + rbx*2 + 0x48], dh
test eax, eax
and al, 0x38
add dword [rax], eax
add al, ch
insb byte [rdi], dx
invalid
mov ecx, dword [0x1400ff170]
xor edx, edx
mov r8, rsi
call sub.KERNEL32.dll_HeapFree
jmp case.0x140034de3.154
mov rax, rbx
add rsp, 0x20
pop rbx
in al, dx
movabs byte [0xc748084689480008], al
or byte [rax - 0x39], cl
invalid
and al, 0x70
invalid
invalid
add byte [rcx + 0x48d889c3], cl
add esp, 0x68
invalid
invalid
cli
mov ecx, edi
add eax, edx
cmp bl, al
nop word cs:[rax + rax]
sub rsp, 0x48
mov rax, rdx
mov qword [rsp + 0x40], rcx
lea rcx, [0x1400c5bf8]
lea ecx, [0x1400c5bf8]
add byte [rax - 0x77], cl
and al, 0x30
mov rax, rdx
mov qword [rsp + 0x40], rcx
and al, 0x40
lea rcx, [0x1400c5c28]
invalid
and al, 0x30
add ecx, edx
invalid
add bl, ch
add byte [rax - 0x77], cl
and al, 0x30
add byte [rax - 0x77], cl
and al, 0x20
nop
add rsp, 0x48
ret
sub rsp, 0xa8
mov rax, rdx
lea rdx, [rcx + 8]
lea r8, [rcx + 0x10]
lea eax, [rcx + 0x10]
lea r9, [rcx + 0x18]
mov qword [rsp + 0x98], r14
mov rcx, rax
ror dword [rax - 0x77], 0x44
and al, 0x48
dec dword [rax - 0x77]
push rsp
and al, 0x40