Function at 0x14005f5a0
Capabilities:
Read file on windows

Disassembly:
jmp 0x14005f5a0
push rbx
push rsi
push r12
push r15
sub rsp, 0x128
mov rax, qword [0x140125350]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov r15, qword [rsp + 0x180]
xor esi, esi
cmp dword [reloc.WSOCK32.dll_accept], 4
mov ebx, esi
mov qword [rsp + 0x50], r9
mov dword [rsp + 0x40], ebx
jl 0x14005f619
test dword [0x140124900], 0x8000
je 0x14005f619
lea rax, [0x1400e44e4]
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.140001a41
mov edx, dword [rsp + 0x178]
mov qword [rsp + 0x150], rbp
mov qword [rsp + 0x158], rdi
mov qword [rsp + 0x160], r13
mov r12d, esi
mov qword [rsp + 0x120], r14
test edx, edx
jle 0x14005f95f
movzx edi, word [rsp + 0x170]
mov r13d, 1
lea rbp, str.testp_compare:__s_to_primitive_response__u_bytes_n
mov rax, qword [r15]
cmp byte [rax], 0x2d
jne 0x14005f9d4
cmp byte [rax + 2], 0
movsx ecx, byte [rax + 1]
lea rbx, [rax + 2]
jne 0x14005f68d
cmp r13d, edx
jge 0x14005f68d
mov rbx, qword [r15 + 8]
inc r12d
inc r13d
add r15, 8
cmp ecx, 0x62
jne 0x14005f9d4
lea r8d, [rcx + 0x1d]
lea rcx, [rsp + 0x91]
xor edx, edx
mov byte [rsp + 0x90], 0
call fcn.14008ca20
mov edx, 0x80
lea rcx, [rsp + 0x90]
lea r8d, [rdx - 0x7c]
mov r9, rbx
mov qword [rsp + 0x20], rsi
call fcn.140001b59
cmp dword [reloc.WSOCK32.dll_accept], 4
jl 0x14005f722
test dword [0x140124900], 0x8000
je 0x14005f722
movzx eax, di
lea r9, str.....esif_uf_test.c
lea r8, str.EsifTestPrimitiveBinary
mov dword [rsp + 0x38], eax
lea rax, [rsp + 0x90]
mov edx, 4
mov qword [rsp + 0x30], rax
mov ecx, 0x8000
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], __WSAFDIsSet
call fcn.140001a41
lea r8, [0x1400dd490]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x48], rsi
call fcn.14008ffb4
mov r14, qword [rsp + 0x48]
test r14, r14
je 0x14005f93c
xor eax, eax
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x90]
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 [rsp + 0x84], eax
call fcn.14008d7c0
cmp dword [reloc.WSOCK32.dll_accept], 4
mov ebx, dword [rsp + 0x6c]
jl 0x14005f7db
test dword [0x140124900], 0x8000
je 0x14005f7db
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.140001a41
movzx eax, di
cmp eax, ebx
jne 0x14005f9c5
mov rcx, rbx
mov rsi, rbx
call fcn.14008c958
mov rbp, rax
test rax, rax
je 0x14005f9b6
mov r8, rbx
xor edx, edx
mov rcx, rax
call fcn.14008ca20
mov r9, r14
mov r8, rbx
mov edx, 1
mov rcx, rbp
call fcn.140090248
cmp rax, rbx
jne 0x14005f99f
mov edi, dword [reloc.WSOCK32.dll_accept]
mov ebx, dword [0x140124900]
cmp edi, 4
jl 0x14005f87e
bt ebx, 0xf
jae 0x14005f87e
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.140001a41
mov edi, dword [reloc.WSOCK32.dll_accept]
mov ebx, dword [0x140124900]
mov rcx, qword [rsp + 0x50]
mov r8, rsi
mov rdx, rbp
call fcn.14008ccf0
test eax, eax
jne 0x14005f8f5
cmp edi, 4
jl 0x14005f8ce
bt ebx, 0xf
jae 0x14005f8ce
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.140001a41
mov ebx, dword [rsp + 0x40]
mov rcx, rbp
call fcn.14008c8c8
mov rcx, r14
call fcn.14008fd08
movzx edi, word [rsp + 0x170]
xor esi, esi
lea rbp, str.testp_compare:__s_to_primitive_response__u_bytes_n
jmp 0x14005f945
cmp edi, 4
jl 0x14005f931
bt ebx, 0xf
jae 0x14005f931
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.140001a41
mov ebx, 8
mov dword [rsp + 0x40], ebx
jmp 0x14005f8d2
mov ebx, 6
mov dword [rsp + 0x40], ebx
mov edx, dword [rsp + 0x178]
inc r12d
inc r13d
add r15, 8
cmp r12d, edx
jl 0x14005f660
mov eax, ebx
mov r14, qword [rsp + 0x120]
mov r13, qword [rsp + 0x160]
mov rdi, qword [rsp + 0x158]
mov rbp, qword [rsp + 0x150]
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.14008d900
add rsp, 0x128
pop r15
pop r12
pop rsi
pop rbx
ret
mov rcx, r14
call fcn.14008fd08
mov rcx, rbp
call fcn.14008c8c8
mov eax, 7
jmp 0x14005f961
mov rcx, r14
call fcn.14008fd08
mov eax, 9
jmp 0x14005f961
mov rcx, r14
call fcn.14008fd08
mov eax, 7
jmp 0x14005f961
mov eax, 1
jmp 0x14005f961