Function at 0x140035740
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbp
push r12
push r14
push r15
sub rsp, 0x50
mov r15, rdx
mov r12d, r9d
xor edx, edx
mov rbp, r8
mov r14, rcx
test r8, r8
jne 0x140035774
mov dword [rcx + 0x10], edx
mov dword [rcx], 1
mov qword [rcx + 8], rdx
jmp 0x140035c3d
mov qword [rsp + 0x70], rbx
mov rcx, rbp
mov qword [rsp + 0x80], rdi
mov edi, 2
mov r8d, edi
call fcn.140048318
mov rcx, rbp
call fcn.1400488a4
xor r8d, r8d
xor edx, edx
mov rcx, rbp
mov rbx, rax
call fcn.140048318
test rbx, rbx
jns 0x1400357c0
xor edx, edx
mov dword [r14], edi
mov dword [r14 + 0x10], edx
mov qword [r14 + 8], rdx
jmp 0x140035c30
mov rax, qword [section..data]
lea rcx, [rbx + 1]
mov qword [rsp + 0x78], rsi
call rax
mov rsi, rax
test rax, rax
jne 0x1400357f0
xor edx, edx
mov dword [r14], 3
mov dword [r14 + 0x10], edx
mov qword [r14 + 8], rdx
jmp 0x140035c2b
mov r9, rbp
mov r8, rbx
mov edx, 1
mov rcx, rsi
call fcn.140047fe0
cmp rax, rbx
je 0x140035823
mov rcx, rsi
call qword [0x140098008]
xor edx, edx
mov dword [r14], edi
mov dword [r14 + 0x10], edx
mov qword [r14 + 8], rdx
jmp 0x140035c2b
mov eax, dword [rsp + 0x90]
cmp eax, 8
je 0x14003583e
cmp eax, 4
je 0x14003583e
cmp eax, 7
jne 0x140035846
mov edi, 5
mov rdx, rbx
jmp 0x140035bf5
test eax, eax
je 0x140035854
mov edi, eax
mov rdx, rbx
jmp 0x140035be9
cmp rbx, 4
jb 0x140035be1
movzx r9d, byte [rsi]
mov rdx, rbx
movzx r8d, byte [rsi + 1]
movzx eax, byte [rsi + 2]
movzx ecx, byte [rsi + 3]
test r9b, r9b
jne 0x1400358bd
test r8b, r8b
jne 0x1400358a0
cmp al, 0xfe
jne 0x140035893
cmp cl, 0xff
jne 0x140035be4
mov edi, 6
jmp 0x140035be9
test al, al
jne 0x140035be4
cmp cl, 0x3c
jmp 0x140035883
cmp r8b, 0x3c
jne 0x140035be4
test al, al
jne 0x1400358f7
cmp cl, 0x3f
jne 0x1400358f7
mov edi, 3
jmp 0x140035be9
cmp r9b, 0xff
jne 0x1400358e7
cmp r8b, 0xfe
jne 0x140035be4
test al, al
jne 0x140035be9
test cl, cl
jne 0x140035be9
mov edi, 5
jmp 0x140035be9
cmp r9b, 0xfe
jne 0x140035901
cmp r8b, 0xff
jne 0x140035be4
mov edi, 3
jmp 0x140035be9
cmp r9b, 0xef
je 0x140035be4
cmp r9b, 0x3c
jne 0x140035be4
test r8b, r8b
je 0x1400358cd
cmp r8b, 0x3f
jne 0x140035be4
cmp al, 0x78
jne 0x140035be4
cmp cl, 0x6d
jne 0x140035be4
cmp rbx, 6
jb 0x140035be1
xor edx, edx
cmp byte [rsi + 4], 0x6c
mov eax, edx
sete al
cmp r9b, r9b
cmove edx, eax
test edx, edx
je 0x140035be1
movzx eax, byte [rsi + 5]
lea r11, [0x14005aec0]
test byte [rax + r11], 8
je 0x140035be1
mov edi, 6
mov rdx, rbx
cmp rbx, 7
jbe 0x140035be4
mov r8d, 1
lea rcx, [rsi + 6]
sub r8, rsi
nop dword [rax]
movzx eax, byte [rcx]
cmp al, 0x3f
je 0x140035be4
inc rcx
cmp al, 0x65
jne 0x1400359a7
cmp byte [rcx], 0x6e
je 0x1400359b8
inc rdi
lea rax, [r8 + rcx]
cmp rax, rbx
jb 0x140035990
jmp 0x140035be4
cmp rdi, rbx
jae 0x140035be4
lea rcx, [rdi + 1]
cmp rcx, rbx
jae 0x140035be4
cmp byte [rcx + rsi], 0x6e
jne 0x140035be4
inc rcx
cmp rcx, rbx
jae 0x140035be4
cmp byte [rcx + rsi], 0x63
jne 0x140035be4
inc rcx
cmp rcx, rbx
jae 0x140035be4
cmp byte [rcx + rsi], 0x6f
jne 0x140035be4
inc rcx
cmp rcx, rbx
jae 0x140035be4
cmp byte [rcx + rsi], 0x64
jne 0x140035be4
inc rcx
cmp rcx, rbx
jae 0x140035be4
cmp byte [rcx + rsi], 0x69
jne 0x140035be4
inc rcx
cmp rcx, rbx
jae 0x140035be4
cmp byte [rcx + rsi], 0x6e
jne 0x140035be4
inc rcx
cmp rcx, rbx
jae 0x140035be4
cmp byte [rcx + rsi], 0x67
jne 0x140035be4
inc rcx
cmp rcx, rbx
jae 0x140035be4
nop dword [rax + rax]
movzx r8d, byte [rcx + rsi]
mov rax, rbx
test byte [r8 + r11], 8
je 0x140035a8c
inc rcx
cmp rcx, rbx
jb 0x140035a70
jmp 0x140035be4
cmp r8b, 0x3d
jne 0x140035be4
inc rcx
cmp rcx, rax
jae 0x140035ab7
nop
movzx eax, byte [rcx + rsi]
test byte [rax + r11], 8
je 0x140035b86
inc rcx
cmp rcx, rdx
jb 0x140035aa0
mov r9b, 0x27
cmp rcx, rdx
jae 0x140035be4
cmp byte [rcx + rsi], r9b
jne 0x140035be4
inc rcx
mov r10, rcx
lea r8, [rcx + rsi]
cmp rcx, rdx
jae 0x140035af3
nop dword [rax]
movzx eax, byte [rcx + rsi]
test byte [rax + r11], 0x40
je 0x140035af3
inc rcx
cmp rcx, rdx
jb 0x140035ae0
mov rax, rcx
sub rax, r10
cmp rcx, rdx
jae 0x140035be4
cmp byte [rcx + rsi], r9b
jne 0x140035be4
cmp rax, 0xa
jne 0x140035b97
movzx eax, byte [r8]
or al, 0x20
cmp al, 0x69
jne 0x140035be4
movzx eax, byte [r8 + 1]
or al, 0x20
cmp al, 0x73
jne 0x140035be4
movzx eax, byte [r8 + 2]
or al, 0x20
cmp al, 0x6f
jne 0x140035be4
cmp byte [r8 + 3], 0x2d
jne 0x140035be4
cmp byte [r8 + 4], 0x38
jne 0x140035be4
cmp byte [r8 + 5], 0x38
jne 0x140035be4
cmp byte [r8 + 6], 0x35
jne 0x140035be4
cmp byte [r8 + 7], 0x39
jne 0x140035be4
cmp byte [r8 + 8], 0x2d
jne 0x140035be4
cmp byte [r8 + 9], 0x31
jne 0x140035be4
mov edi, 9
jmp 0x140035be9
cmp al, 0x22
jne 0x140035ab7
movzx r9d, al
jmp 0x140035ac3
cmp rax, 6
jne 0x140035be4
movzx eax, byte [r8]
or al, 0x20
cmp al, 0x6c
jne 0x140035be4
movzx eax, byte [r8 + 1]
or al, 0x20
cmp al, 0x61
jne 0x140035be4
movzx eax, byte [r8 + 2]
or al, 0x20
cmp al, 0x74
jne 0x140035be4
movzx eax, byte [r8 + 3]
or al, 0x20
cmp al, 0x69
jne 0x140035be4
movzx eax, byte [r8 + 4]
or al, 0x20
cmp al, 0x6e
jne 0x140035be4
cmp byte [r8 + 5], 0x31
jne 0x140035be4
mov edi, 9
jmp 0x140035be9
mov rdx, rbx
mov edi, 1
cmp edi, 1
jne 0x140035bf5
mov byte [rsi + rdx], 0
inc rdx
mov rax, qword [rsp + 0x98]
mov r9, rsi
mov qword [rsp + 0x48], rax
mov r8, r15
mov byte [rsp + 0x40], 1
mov rcx, r14
mov byte [rsp + 0x38], 1
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], rdx
mov rdx, r15
call fcn.1400354a0
mov rsi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x88]
mov rax, r14
add rsp, 0x50
pop r15
pop r14
pop r12
ret