Function at 0x140009060
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov eax, dword [0x14082ebf0]
mov ebp, dword [0x14082ebf4]
lea ebx, [rax - 1]
imul ebx, eax
test bl, 1
sete byte [rsp + 0x25]
cmp ebp, 0xa
setl byte [rsp + 0x26]
test r9d, r9d
mov eax, 0x656352e1
mov r15d, 0x9d90ba7
cmovg r15d, eax
mov rsi, r8
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x58], rcx
movsxd rax, r9d
mov qword [rsp + 0x50], rax
mov eax, 0xfe8c3c4e
mov r13, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbp, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
jmp 0x140009100
mov eax, dword [0x14082ebf0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x74ce439c
mov ecx, 0x1f786bd9
cmove eax, ecx
cmp dword [0x14082ebf4], 0xa
cmovl eax, ecx
nop word cs:[rax + rax]
nop
cmp eax, 0xfe8c3c4d
jle 0x140009150
cmp eax, 0x1f786bd8
jg 0x1400091a0
cmp eax, 0x16a372a2
jg 0x140009242
cmp eax, 0xfe8c3c4e
je 0x140009309
cmp eax, 0x9d90ba7
je 0x140009329
cmp eax, 0xf7be737
jne 0x140009100
cmp byte [rsp + 0x24], 0
mov eax, 0xbcb72f02
mov ecx, 0xa25ab0b3
cmovne eax, ecx
jmp 0x140009100
cmp eax, 0xcba3708a
jg 0x1400091f0
cmp eax, 0xa25ab0b2
jg 0x14000926b
cmp eax, 0x84b84c78
je 0x140009348
cmp eax, 0x858b7442
je 0x1400090ce
cmp eax, 0x86c35028
jne 0x140009100
mov rcx, qword [rsp + 0x28]
call r13
jmp 0x140009437
cmp eax, 0x70887723
jg 0x14000929b
cmp eax, 0x1f786bd9
je 0x14000935d
cmp eax, 0x21daa132
je 0x14000939b
cmp eax, 0x656352e1
jne 0x140009100
mov rcx, qword [rsp + 0x30]
add rcx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov eax, 0x9d90ba7
jmp 0x140009100
cmp eax, 0xee8a1c15
jg 0x1400092e6
cmp eax, 0xcba3708b
je 0x1400093b2
cmp eax, 0xd9e4db76
je 0x1400093bf
cmp eax, 0xe3ec7c00
jne 0x140009100
test rsi, rsi
setne byte [rsp + 0x24]
mov eax, dword [0x14082ebf0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x1a69f89f
mov ecx, 0xf7be737
jmp 0x1400090e7
cmp eax, 0x16a372a3
je 0x1400093d1
cmp eax, 0x1a69f89f
je 0x1400093de
cmp eax, 0x1d85183a
jne 0x140009100
mov eax, r15d
jmp 0x140009100
cmp eax, 0xa25ab0b3
je 0x1400093e8
cmp eax, 0xbcb72f02
je 0x1400093f9
cmp eax, 0xc6fc911c
jne 0x140009100
mov eax, 0xcba3708b
mov rdi, qword [rsp + 0x38]
jmp 0x140009100
cmp eax, 0x70887724
je 0x140009425
cmp eax, 0x74ce439c
je 0x140009443
cmp eax, 0x7cf4e7fb
jne 0x140009100
mov rcx, qword [rsp + 0x28]
call fcn.140008ca0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp rax, 0xffffffffffffffff
mov eax, 0xee8a1c16
mov ecx, 0x84b84c78
cmove eax, ecx
jmp 0x140009100
cmp eax, 0xee8a1c16
je 0x140009468
cmp eax, 0xefcd0476
jne 0x140009503
mov eax, 0xf827086e
mov r12, r14
jmp 0x140009100
mov cl, byte [rsp + 0x25]
cmp byte [rsp + 0x26], 0
mov eax, 0x1a69f89f
mov edx, 0xe3ec7c00
cmovne eax, edx
test cl, cl
cmovne eax, edx
jmp 0x140009100
mov rcx, qword [rsp + 0x28]
call r13
cmp byte [rsp + 0x24], 0
mov eax, 0xc6fc911c
mov ecx, 0xd9e4db76
cmovne eax, ecx
jmp 0x140009100
mov rcx, qword [rsp + 0x28]
call r13
mov eax, 0xefcd0476
xor r14d, r14d
jmp 0x140009100
mov r9, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov edx, 1
call rbp
cmp rax, qword [rsp + 0x30]
setne byte [rsp + 0x27]
mov eax, dword [0x14082ebf0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x74ce439c
mov ecx, 0x21daa132
jmp 0x1400090e7
cmp byte [rsp + 0x27], 0
mov eax, 0x1d85183a
mov ecx, 0x70887724
cmovne eax, ecx
jmp 0x140009100
mov eax, 0xefcd0476
mov r14, rdi
jmp 0x140009100
mov rax, qword [rsp + 0x30]
mov qword [rsi], rax
mov eax, 0xc6fc911c
jmp 0x140009100
mov eax, 0xf827086e
xor r12d, r12d
jmp 0x140009100
mov eax, 0xe3ec7c00
jmp 0x140009100
mov qword [rsi], 0
mov eax, 0xbcb72f02
jmp 0x140009100
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
call fcn.140008840
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
mov eax, 0x7cf4e7fb
mov ecx, 0x16a372a3
cmove eax, ecx
jmp 0x140009100
mov rcx, qword [rsp + 0x28]
call r13
mov rcx, qword [rsp + 0x38]
call fcn.1400070d0
mov eax, 0xcba3708b
xor edi, edi
jmp 0x140009100
mov r9, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov edx, 1
call rbp
mov rax, qword [rsp + 0x30]
mov eax, 0x1f786bd9
jmp 0x140009100
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
mov rdx, qword [0x14082ea00]
mov qword [rsp + 0x48], rdx
mov edx, 0x34acea11
nop dword [rax]
cmp edx, 0x785139a7
je 0x1400094d6
cmp edx, 0x3afa8c5a
je 0x1400094c3
cmp edx, 0x34acea11
jne 0x140009490
cmp qword [rsp + 0x48], 0
mov edx, 0x3afa8c5a
mov rbx, rbp
mov ebp, 0x785139a7
cmove edx, ebp
mov rbp, rbx
jmp 0x140009490
mov rdx, qword [rsp + 0x48]
add dword [rdx + 0xec], 1
mov edx, 0x785139a7
jmp 0x140009490
add rcx, rax
mov rdx, qword [0x14082ea10]
call qword [section..data]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
mov eax, 0x858b7442
mov ecx, 0x86c35028
cmove eax, ecx
jmp 0x140009100
cmp eax, 0xf827086e
jne 0x140009100
mov rax, r12
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret