Function at 0x140185b40
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xe8
mov rsi, rcx
mov r13, rdx
mov rbx, r8
call fcn.1401807c0
mov r12, rax
mov rax, qword [rsi + 0x18]
mov rax, qword [rax]
mov rdx, qword [rax]
mov rax, qword [rdx + 0xd8]
mov edx, dword [rdx + 0xe0]
test edx, edx
je 0x140185ec8
sub edx, 1
mov r8, rax
lea r10, str.hwlocVersion
shl rdx, 4
lea r9, [rax + rdx + 0x10]
jmp 0x140185bad
add r8, 0x10
cmp r8, r9
je 0x140185e80
mov rsi, qword [r8]
mov ecx, 0xd
mov rdi, r10
repe cmpsb byte [rsi], byte [rdi]
seta dl
sbb dl, 0
test dl, dl
jne 0x140185ba0
mov rbp, qword [r8 + 8]
lea r8, str.ProcessName
jmp 0x140185be5
add rax, 0x10
cmp rax, r9
je 0x140185e70
mov rsi, qword [rax]
mov ecx, 0xc
mov rdi, r8
repe cmpsb byte [rsi], byte [rdi]
seta dl
sbb dl, 0
test dl, dl
jne 0x140185bd8
mov rdi, qword [rax + 8]
mov rax, rdi
or rax, rbp
mov qword [rsp + 0x38], rax
mov rdx, qword [r13 + 0xb8]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x50], 0
lea rsi, [rsp + 0x60]
mov qword [rsp + 0x58], 0
call fcn.14017c9a0
mov rdx, qword [r13 + 0xc0]
lea rcx, [rsp + 0x48]
call fcn.14017c9a0
mov edx, 0x40
xor r9d, r9d
mov r8, r13
mov rcx, rsi
call fcn.1401761f0
mov rdx, qword [rbx + 0xb8]
test rdx, rdx
je 0x140185c6d
lea rcx, [rsp + 0x50]
call fcn.14017c9a0
mov rdx, qword [rbx + 0xc0]
test rdx, rdx
je 0x140185c83
lea rcx, [rsp + 0x58]
call fcn.14017c9a0
lea r15, [rsp + 0xa0]
xor r9d, r9d
mov r8, rbx
mov edx, 0x40
mov rcx, r15
call fcn.1401761f0
mov rbx, qword [fcn.140225420]
mov ecx, 2
call rbx
mov r8d, 0x4d
mov edx, 1
lea rcx, [0x1404794f0]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 2
call rbx
mov r8d, 0x3b
mov edx, 1
lea rcx, str._hwloc_has_encountered_an_out_of_order_XML_topology_load._n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov r14, qword [rsp + 0x48]
mov r13, qword [rsp + 0x40]
mov ecx, 2
call rbx
mov r8, rsi
lea rdx, str._Object__s_cpuset__s_complete__s_n
mov qword [rsp + 0x20], r14
mov r9, r13
mov rcx, rax
call sub.msvcrt.dll_fprintf
mov r13, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
lea rax, str.none
mov ecx, 2
test r13, r13
cmove r13, rax
test rsi, rsi
cmove rsi, rax
call rbx
mov qword [rsp + 0x20], r13
mov r8, r15
lea rdx, str._was_inserted_after_object__s_with__s_and__s._n
mov r9, rsi
mov rcx, rax
lea rsi, str._unknown_
mov r13, rsi
call sub.msvcrt.dll_fprintf
test r12, r12
mov ecx, 2
cmovne r13, r12
call rbx
lea r8, str.2.2.0
lea rdx, str._The_error_occured_in_hwloc__s_inside_process___s__while_n
mov rcx, rax
mov r9, r13
call sub.msvcrt.dll_fprintf
cmp qword [rsp + 0x38], 0
je 0x140185e90
test rdi, rdi
je 0x140185ec0
test rbp, rbp
lea rax, str._unknown_version_
cmove rbp, rax
mov ecx, 2
call rbx
mov r9, rdi
mov r8, rbp
lea rdx, str._the_input_XML_was_generated_by_hwloc__s_inside_process___s._n
mov rcx, rax
call sub.msvcrt.dll_fprintf
mov ecx, 2
call rbx
mov r8d, 0x3b
mov edx, 1
lea rcx, str._Please_check_that_your_input_topology_XML_file_is_valid._n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 2
call rbx
mov r8d, 0x47
mov edx, 1
lea rcx, str._Set_HWLOC_DEBUG_CHECK1_in_the_environment_to_detect_further_issues._n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 2
call rbx
mov r8d, 0x4d
mov edx, 1
lea rcx, [0x1404794f0]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, qword [rsp + 0x40]
call fcn.140225b60
mov rcx, qword [rsp + 0x48]
call fcn.140225b60
mov rcx, qword [rsp + 0x50]
call fcn.140225b60
mov rcx, qword [rsp + 0x58]
call fcn.140225b60
mov rcx, r12
call fcn.140225b60
nop
add rsp, 0xe8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x38], rbp
xor edi, edi
jmp 0x140185c0b
xor ebp, ebp
jmp 0x140185bc8
mov ecx, 2
call rbx
mov r8d, 0x47
mov edx, 1
lea rcx, str._the_input_XML_was_generated_by_an_unspecified_ancient_hwloc_release._n
mov r9, rax
call sub.msvcrt.dll_fwrite
jmp 0x140185dc2
mov rdi, rsi
jmp 0x140185da6
mov qword [rsp + 0x38], 0
xor ebp, ebp
xor edi, edi
jmp 0x140185c0b