Function at 0x14004c720
Capabilities:
Read file on windows

Disassembly:
jmp 0x14004c720
push rbp
push rbx
push rsi
push r12
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x1400fae80]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov r15, qword [rbp + 0x80]
xor esi, esi
cmp dword [section..data], 4
mov ebx, esi
mov qword [rsp + 0x50], r9
mov dword [rsp + 0x40], ebx
jl 0x14004c79a
test dword [0x1400f6060], 0x8000
je 0x14004c79a
lea rax, [0x1400bc254]
lea r9, str.....esif_uf_test.c
lea r8, str.EsifTestPrimitiveBinary
mov qword [rsp + 0x28], rax
lea edx, [rsi + 4]
mov ecx, 0x8000
mov dword [rsp + 0x20], 0x7d
call fcn.140001a82
mov edx, dword [rbp + 0x78]
mov qword [rsp + 0x150], rdi
mov qword [rsp + 0x158], r13
mov qword [rsp + 0x160], r14
mov r12d, esi
test edx, edx
jle 0x14004caae
movzx edi, word [rbp + 0x70]
mov r13d, 1
lea r14, str.testp_compare:__s_to_primitive_response__u_bytes_n
mov rax, qword [r15]
cmp byte [rax], 0x2d
jne 0x14004cb1e
cmp byte [rax + 2], 0
movsx ecx, byte [rax + 1]
lea rbx, [rax + 2]
jne 0x14004c7fe
cmp r13d, edx
jge 0x14004c7fe
mov rbx, qword [r15 + 8]
inc r12d
inc r13d
add r15, 8
cmp ecx, 0x62
jne 0x14004cb1e
lea r8d, [rcx + 0x1d]
lea rcx, [rbp - 0x6f]
xor edx, edx
mov byte [rbp - 0x70], 0
call fcn.14006c5d0
mov edx, 0x80
lea rcx, [rbp - 0x70]
lea r8d, [rdx - 0x7c]
mov r9, rbx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x20], rsi
call fcn.140001ac8
cmp dword [section..data], 4
jl 0x14004c888
test dword [0x1400f6060], 0x8000
je 0x14004c888
movzx eax, di
lea r9, str.....esif_uf_test.c
lea r8, str.EsifTestPrimitiveBinary
mov dword [rsp + 0x38], eax
lea rax, [rbp - 0x70]
mov edx, 4
mov qword [rsp + 0x30], rax
mov ecx, 0x8000
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], __WSAFDIsSet
call fcn.140001a82
lea r8, [0x1400bcb70]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x48]
call fcn.14006f940
cmp qword [rsp + 0x48], 0
je 0x14004ca8f
xor eax, eax
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x70]
mov dword [rsp + 0x58], esi
mov qword [rsp + 0x5c], rax
mov qword [rsp + 0x64], rax
mov qword [rsp + 0x6c], rax
mov qword [rsp + 0x74], rax
mov qword [rsp + 0x7c], rax
mov dword [rbp - 0x7c], eax
call fcn.14006d88c
cmp dword [section..data], 4
mov ebx, dword [rsp + 0x6c]
jl 0x14004c92e
test dword [0x1400f6060], 0x8000
je 0x14004c92e
mov dword [rsp + 0x38], ebx
movzx eax, di
lea r9, str.....esif_uf_test.c
mov dword [rsp + 0x30], eax
lea rax, str.testp_compare:_primitive_bytes___u_reference_bytes___u_n
lea r8, str.EsifTestPrimitiveBinary
mov qword [rsp + 0x28], rax
mov edx, 4
mov ecx, 0x8000
mov dword [rsp + 0x20], 0x9c
call fcn.140001a82
movzx eax, di
cmp eax, ebx
jne 0x14004cb0d
mov rcx, rbx
mov rsi, rbx
call fcn.14006c500
mov r14, rax
test rax, rax
je 0x14004cafc
mov r8, rbx
xor edx, edx
mov rcx, rax
call fcn.14006c5d0
mov r9, qword [rsp + 0x48]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.14006fbd4
cmp rax, rbx
jne 0x14004cae3
mov edi, dword [section..data]
mov ebx, dword [0x1400f6060]
cmp edi, 4
jl 0x14004c9d3
bt ebx, 0xf
jae 0x14004c9d3
mov dword [rsp + 0x30], eax
lea rax, str.testp_compare:_reference_bytes_read___u_n
lea r9, str.....esif_uf_test.c
mov qword [rsp + 0x28], rax
lea r8, str.EsifTestPrimitiveBinary
mov edx, 4
mov ecx, 0x8000
mov dword [rsp + 0x20], 0xb1
call fcn.140001a82
mov edi, dword [section..data]
mov ebx, dword [0x1400f6060]
mov rcx, qword [rsp + 0x50]
mov r8, rsi
mov rdx, r14
call fcn.14006d110
test eax, eax
jne 0x14004ca48
cmp edi, 4
jl 0x14004ca23
bt ebx, 0xf
jae 0x14004ca23
lea rax, str.testp_compare:_SUCCESS_n
lea r9, str.....esif_uf_test.c
lea r8, str.EsifTestPrimitiveBinary
mov qword [rsp + 0x28], rax
mov edx, 4
mov ecx, 0x8000
mov dword [rsp + 0x20], 0xb4
call fcn.140001a82
mov ebx, dword [rsp + 0x40]
mov rcx, r14
call fcn.14006c470
mov rcx, qword [rsp + 0x48]
call fcn.14006f694
movzx edi, word [rbp + 0x70]
xor esi, esi
lea r14, str.testp_compare:__s_to_primitive_response__u_bytes_n
jmp 0x14004ca98
cmp edi, 4
jl 0x14004ca84
bt ebx, 0xf
jae 0x14004ca84
lea rax, str.testp_compare:_FAILED_n
lea r9, str.....esif_uf_test.c
lea r8, str.EsifTestPrimitiveBinary
mov qword [rsp + 0x28], rax
mov edx, 4
mov ecx, 0x8000
mov dword [rsp + 0x20], 0xb6
call fcn.140001a82
mov ebx, 8
mov dword [rsp + 0x40], ebx
jmp 0x14004ca27
mov ebx, 6
mov dword [rsp + 0x40], ebx
mov edx, dword [rbp + 0x78]
inc r12d
inc r13d
add r15, 8
cmp r12d, edx
jl 0x14004c7d1
mov eax, ebx
mov r14, qword [rsp + 0x160]
mov r13, qword [rsp + 0x158]
mov rdi, qword [rsp + 0x150]
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.14006cfe0
add rsp, 0x120
pop r15
pop r12
pop rsi
pop rbx
pop rbp
ret
mov rcx, qword [rsp + 0x48]
call fcn.14006f694
mov rcx, r14
call fcn.14006c470
mov eax, 7
jmp 0x14004cab0
mov rcx, qword [rsp + 0x48]
call fcn.14006f694
mov eax, 9
jmp 0x14004cab0
mov rcx, qword [rsp + 0x48]
call fcn.14006f694
mov eax, 7
jmp 0x14004cab0
mov eax, 1
jmp 0x14004cab0