Function at 0x180009570
Capabilities:
Query environment variable
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x58
movaps xmmword [rsp + 0x40], xmm6
mov r13, rcx
movss xmm6, dword [0x1800634c0]
mov ecx, 0x18
movaps xmmword [rsp + 0x30], xmm7
mov rbp, r9
movss xmm7, dword [0x1800634b8]
mov edi, edx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, rax
test rax, rax
jne 0x1800095cb
xor esi, esi
mov r15d, esi
jmp 0x180009604
mov ecx, 0x40
mov dword [rax], 1
mov dword [rax + 4], 0x10
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [r15 + 8], rax
test rax, rax
jne 0x1800095fc
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor esi, esi
mov r15d, esi
jmp 0x180009604
xor esi, esi
mov dword [rax], esi
mov dword [r15 + 0x10], esi
mov ecx, 0x18
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x20], rax
mov rbx, rax
test rax, rax
jne 0x180009623
mov qword [rsp + 0x20], rsi
jmp 0x180009659
mov ecx, 0x40
mov dword [rax], 1
mov dword [rax + 4], 0x10
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbx + 8], rax
test rax, rax
jne 0x180009654
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsp + 0x20], rsi
jmp 0x180009659
mov dword [rax], esi
mov dword [rbx + 0x10], esi
mov ecx, 0x18
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r12, rax
test rax, rax
jne 0x180009671
mov r12, rsi
jmp 0x1800096a8
mov ecx, 0x40
mov dword [rax], 1
mov dword [rax + 4], 0x10
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [r12 + 8], rax
test rax, rax
jne 0x1800096a1
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r12, rsi
jmp 0x1800096a8
mov dword [rax], esi
mov dword [r12 + 0x10], esi
mov ecx, 0x18
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x28], rax
mov r14, rax
test rax, rax
jne 0x1800096ca
mov r14, rsi
mov qword [rsp + 0x28], rsi
jmp 0x180009704
mov ecx, 0x40
mov dword [rax], 1
mov dword [rax + 4], 0x10
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [r14 + 8], rax
test rax, rax
jne 0x1800096fe
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r14, rsi
mov qword [rsp + 0x28], rsi
jmp 0x180009704
mov dword [rax], esi
mov dword [r14 + 0x10], esi
test edi, edi
je 0x18000979d
mov rbx, qword [rsp + 0xb0]
mov r13, rdi
mov rbp, qword [rsp + 0x20]
nop dword [rax]
mov r8, qword [rbx]
mov rdx, r15
mov rcx, r15
mov r8, qword [r8 + 0xa0]
call fcn.1800075f0
mov rax, qword [rbx]
mov r8, qword [rax + 0xa8]
test r8, r8
je 0x180009752
mov rdx, rbp
mov rcx, rbp
call fcn.1800075f0
mov rax, qword [rbx]
mov r8, qword [rax + 0xc0]
test r8, r8
je 0x18000976c
mov rdx, r12
mov rcx, r12
call fcn.1800075f0
mov rax, qword [rbx]
mov r8, qword [rax + 0xc8]
test r8, r8
je 0x180009783
mov rdx, r14
mov rcx, r14
call fcn.1800075f0
add rbx, 8
sub r13, 1
jne 0x180009720
mov rbp, qword [rsp + 0xb8]
mov r13, qword [rsp + 0xa0]
cmp dword [r13], 0
ja 0x1800097a9
mov r14, rsi
jmp 0x1800097bf
cmp dword [r13 + 8], 0
ja 0x1800097b5
mov r14, rsi
jmp 0x1800097bf
mov rax, qword [r13 + 0x208]
mov r14, qword [rax]
mov ebx, dword [r15 + 0x10]
test ebx, ebx
jne 0x180009867
mov edx, dword [r15]
mov ecx, esi
test edx, edx
je 0x1800097ef
mov r8, qword [r15 + 8]
nop dword [rax + rax]
mov eax, ecx
cmp dword [r8 + rax*4], 0
jne 0x180009867
inc ecx
cmp ecx, edx
jb 0x1800097e0
cmp dword [0x18006e2f4], 0
jne 0x180009823
lea rcx, str.HWLOC_HIDE_ERRORS
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x180009819
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [0x18006e2f0], eax
mov dword [0x18006e2f4], 1
cmp dword [0x18006e2f0], 0
jne 0x18000a05a
cmp dword [r15 + 0x10], 0
jne 0x180009efb
mov ecx, dword [r15]
test ecx, ecx
je 0x18000a05a
mov rdx, qword [r15 + 8]
nop word [rax + rax]
mov eax, esi
cmp dword [rdx + rax*4], 0
jne 0x180009efb
inc esi
cmp esi, ecx
jb 0x180009850
jmp 0x18000a05a
mov rdx, qword [r14 + 0xa0]
test rdx, rdx
je 0x1800097ef
mov rcx, r15
call fcn.180007520
test eax, eax
je 0x1800097ef
nop word [rax + rax]
cmp qword [r14 + 0xa0], 0
je 0x1800098c0
test ebx, ebx
jne 0x18000990e
mov edx, dword [r15]
mov ecx, esi
test edx, edx
je 0x1800098c0
mov r8, qword [r15 + 8]
nop dword [rax + rax]
mov eax, ecx
cmp dword [r8 + rax*4], 0
jne 0x18000990e
inc ecx
cmp ecx, edx
jb 0x1800098b0
nop
mov rdx, qword [r14 + 0xc0]
mov rcx, r12
call fcn.180007520
test eax, eax
je 0x180009900
mov rbx, qword [rsp + 0x28]
mov rdx, qword [r14 + 0xc8]
mov rcx, rbx
call fcn.180007520
test eax, eax
je 0x180009900
mov rdx, qword [r14 + 0xa8]
mov rcx, qword [rsp + 0x20]
call fcn.180007520
test eax, eax
jne 0x180009952
mov r14, qword [r14 + 0x58]
test r14, r14
jne 0x1800098c0
jmp 0x1800097ef
mov rbx, qword [r14 + 0x88]
test rbx, rbx
je 0x1800098c0
nop word [rax + rax]
mov rdx, qword [rbx + 0xa0]
test rdx, rdx
je 0x180009938
mov rcx, r15
call fcn.180007520
test eax, eax
jne 0x180009946
mov rbx, qword [rbx + 0x68]
test rbx, rbx
jne 0x180009920
jmp 0x1800098c0
mov r14, rbx
mov ebx, dword [r15 + 0x10]
jmp 0x180009890
cmp dword [r14], 8
jne 0x18000996a
nop dword [rax + rax]
mov r14, qword [r14 + 0x58]
cmp dword [r14], 8
je 0x180009960
mov rcx, qword [r15 + 8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r15, qword [rsp + 0x20]
test r15, r15
je 0x18000999a
mov rcx, qword [r15 + 8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test r12, r12
je 0x1800099b3
mov rcx, qword [r12 + 8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test rbx, rbx
je 0x1800099cb
mov rcx, qword [rbx + 8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rsp + 0xb0]
mov r8d, dword [r14 + 0x38]
mov rax, qword [rdx]
mov r12d, dword [rax + 0x38]
cmp r8d, r12d
jae 0x18000a0c0
mov r9d, esi
mov rcx, rsi
nop dword [rax]
test rcx, rcx
jne 0x180009a6e
cmp r12d, dword [r13]
jb 0x180009a54
cmp r12d, 0xfffffffb
je 0x180009a3e
cmp r12d, 0xfffffffc
je 0x180009a28
cmp r12d, 0xfffffffd
je 0x180009a12
mov rcx, rsi
jmp 0x180009a78
cmp dword [r13 + 0x688], 0
jbe 0x180009a0d
mov rax, qword [r13 + 0x690]
mov rcx, qword [rax]
jmp 0x180009a78
cmp dword [r13 + 0x6a8], 0
jbe 0x180009a0d
mov rax, qword [r13 + 0x6b0]
mov rcx, qword [rax]
jmp 0x180009a78
cmp dword [r13 + 0x6c8], 0
jbe 0x180009a0d
mov rax, qword [r13 + 0x6d0]
mov rcx, qword [rax]
jmp 0x180009a78
cmp dword [r13 + r12*4 + 8], 0
ja 0x180009a61
mov rcx, rsi
jmp 0x180009a78
mov rax, qword [r13 + r12*8 + 0x208]
mov rcx, qword [rax]
jmp 0x180009a78
cmp dword [rcx + 0x38], r12d
jne 0x180009aad
mov rcx, qword [rcx + 0x48]
test rcx, rcx
je 0x180009aad
mov rdx, qword [rcx + 0x58]
cmp dword [rdx + 0x38], r8d
jbe 0x180009a9a
nop word [rax + rax]
mov rdx, qword [rdx + 0x58]
cmp dword [rdx + 0x38], r8d
ja 0x180009a90
lea eax, [r9 + 1]
cmp rdx, r14
cmovne eax, r9d
mov r9d, eax
jmp 0x1800099f0
cmp r9d, edi
jne 0x18000a0c0
or r15d, 0xffffffff
test edi, edi
je 0x180009aeb
mov rdx, qword [rsp + 0xb0]
mov r8, rdi
nop dword [rax]
mov rax, qword [rdx]
lea rdx, [rdx + 8]
mov ecx, r15d
mov r15d, dword [rax + 0x3c]
cmp ecx, r15d
cmovbe r15d, ecx
sub r8, 1
jne 0x180009ad0
mov r10d, esi
test edi, edi
je 0x180009bbe
mov r8d, esi
cmp edi, 4
jb 0x180009b76
mov edx, r10d
lea eax, [rdi - 4]
imul edx, edi
shr eax, 2
inc edx
inc eax
mov r9d, eax
lea r8d, [rax*4]
nop dword [rax]
movss xmm3, dword [rbp + rdx*4]
lea eax, [rdx - 1]
movss xmm2, dword [rbp + rax*4]
lea eax, [rdx + 1]
movaps xmm0, xmm2
maxss xmm2, xmm7
minss xmm0, xmm6
movaps xmm1, xmm3
maxss xmm3, xmm2
movss xmm2, dword [rbp + rax*4]
minss xmm1, xmm0
movaps xmm0, xmm2
lea eax, [rdx + 2]
movss xmm7, dword [rbp + rax*4]
lea edx, [rdx + 4]
movaps xmm6, xmm7
maxss xmm2, xmm3
minss xmm0, xmm1
maxss xmm7, xmm2
minss xmm6, xmm0
sub r9, 1
jne 0x180009b20
cmp r8d, edi
jae 0x180009ba4
mov edx, r10d
imul edx, edi
lea eax, [rdx + r8]
inc r8d
movss xmm1, dword [rbp + rax*4]
movaps xmm0, xmm1
maxss xmm1, xmm7
minss xmm0, xmm6
movaps xmm7, xmm1
movaps xmm6, xmm0
cmp r8d, edi
jb 0x180009b81
inc r10d
cmp r10d, edi
jb 0x180009af6
xorps xmm0, xmm0
ucomiss xmm6, xmm0
jp 0x180009bbe
je 0x18000a0c0
mov edx, dword [r14 + 0xe0]
mov rcx, qword [r14 + 0xd8]
inc edx
shl rdx, 3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
je 0x18000a0c0
movsxd rdx, dword [r14 + 0xe0]
mov ecx, 0x18
mov qword [r14 + 0xd8], rax
mov rbx, rdx
lea eax, [rdx + 1]
mov dword [r14 + 0xe0], eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, qword [r14 + 0xd8]
mov qword [rcx + rbx*8], rax
mov rax, qword [r14 + 0xd8]
sub r12d, dword [r14 + 0x38]
mov rcx, qword [rax + rbx*8]
mov dword [rcx], r12d
mov rax, qword [r14 + 0xd8]
mov rcx, qword [rax + rbx*8]
mov dword [rcx + 4], edi
mov ecx, edi
imul ecx, edi
shl rcx, 2
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, qword [r14 + 0xd8]
mov r11, rax
divss xmm7, xmm6
mov rdx, qword [rcx + rbx*8]
mov qword [rdx + 8], rax
mov rcx, qword [r14 + 0xd8]
mov rdx, qword [rcx + rbx*8]
movss dword [rdx + 0x14], xmm6
mov rcx, qword [r14 + 0xd8]
mov rdx, qword [rcx + rbx*8]
movss dword [rdx + 0x10], xmm7
test edi, edi
je 0x18000a0c0
mov rdx, qword [rsp + 0xb0]
lea ecx, [rdi + 1]
mov r13, rdx
mov qword [rsp + 0x28], rdx
nop dword [rax]
nop word [rax + rax]
mov rax, qword [r13]
lea r12d, [rsi + 1]
mov dword [rsp + 0xa0], r12d
mov r8d, r12d
mov r10d, dword [rax + 0x3c]
mov eax, ecx
imul eax, esi
sub r10d, r15d
movss xmm0, dword [rbp + rax*4]
mov eax, ecx
imul eax, r10d
divss xmm0, xmm6
movss dword [r11 + rax*4], xmm0
cmp r12d, edi
jae 0x180009ed6
mov eax, edi
sub eax, r12d
cmp eax, 4
jb 0x180009e73
mov ecx, r12d
lea r14d, [r12 + 1]
add rcx, 2
mov r9d, esi
imul r9d, edi
mov ebx, r10d
mov r13d, 1
imul ebx, edi
mov eax, 2
lea rcx, [rdx + rcx*8]
mov qword [rsp + 0x20], rcx
add r14d, r9d
sub r13d, r9d
sub eax, r9d
mov r12d, eax
nop word [rax + rax]
mov rax, qword [rcx - 0x10]
mov rcx, qword [rsp + 0x20]
add rcx, 0x20
mov edx, dword [rax + 0x3c]
lea eax, [r14 - 1]
movss xmm0, dword [rbp + rax*4]
sub edx, r15d
divss xmm0, xmm6
lea eax, [rbx + rdx]
imul edx, edi
movss dword [r11 + rax*4], xmm0
mov eax, r8d
imul eax, edi
add r8d, 4
add edx, r10d
add eax, esi
movss xmm0, dword [rbp + rax*4]
mov rax, qword [rsp + 0x20]
divss xmm0, xmm6
mov rax, qword [rax - 8]
movss dword [r11 + rdx*4], xmm0
mov edx, dword [rax + 0x3c]
movss xmm0, dword [rbp + r14*4]
sub edx, r15d
divss xmm0, xmm6
lea eax, [rbx + rdx]
imul edx, edi
movss dword [r11 + rax*4], xmm0
mov eax, r14d
sub eax, r9d
imul eax, edi
add edx, r10d
add eax, esi
movss xmm0, dword [rbp + rax*4]
mov rax, qword [rsp + 0x20]
divss xmm0, xmm6
mov rax, qword [rax]
movss dword [r11 + rdx*4], xmm0
mov edx, dword [rax + 0x3c]
lea eax, [r14 + 1]
movss xmm0, dword [rbp + rax*4]
sub edx, r15d
divss xmm0, xmm6
lea eax, [rbx + rdx]
imul edx, edi
movss dword [r11 + rax*4], xmm0
lea eax, [r14 + r13]
imul eax, edi
add edx, r10d
add eax, esi
movss xmm0, dword [rbp + rax*4]
mov rax, qword [rsp + 0x20]
divss xmm0, xmm6
mov qword [rsp + 0x20], rcx
mov rax, qword [rax + 8]
movss dword [r11 + rdx*4], xmm0
mov edx, dword [rax + 0x3c]
lea eax, [r14 + 2]
movss xmm0, dword [rbp + rax*4]
sub edx, r15d
divss xmm0, xmm6
lea eax, [rbx + rdx]
imul edx, edi
movss dword [r11 + rax*4], xmm0
lea eax, [r12 + r14]
imul eax, edi
add r14d, 4
add edx, r10d
add eax, esi
movss xmm0, dword [rbp + rax*4]
lea eax, [rdi - 3]
divss xmm0, xmm6
movss dword [r11 + rdx*4], xmm0
cmp r8d, eax
jb 0x180009d30
mov r12d, dword [rsp + 0xa0]
mov r13, qword [rsp + 0x28]
mov rdx, qword [rsp + 0xb0]
cmp r8d, edi
jae 0x180009ed6
mov eax, r8d
mov ebx, esi
imul ebx, edi
mov r14d, r10d
imul r14d, edi
lea r9, [rdx + rax*8]
mov rax, qword [r9]
lea r9, [r9 + 8]
mov edx, dword [rax + 0x3c]
lea eax, [rbx + r8]
movss xmm0, dword [rbp + rax*4]
sub edx, r15d
divss xmm0, xmm6
lea eax, [r14 + rdx]
imul edx, edi
movss dword [r11 + rax*4], xmm0
mov eax, r8d
imul eax, edi
inc r8d
add edx, r10d
add eax, esi
movss xmm0, dword [rbp + rax*4]
divss xmm0, xmm6
movss dword [r11 + rdx*4], xmm0
cmp r8d, edi
jb 0x180009e8b
mov rdx, qword [rsp + 0xb0]
lea ecx, [rdi + 1]
add r13, 8
mov esi, r12d
mov qword [rsp + 0x28], r13
cmp r12d, edi
jb 0x180009ca0
jmp 0x18000a0c0
mov r8, r15
xor edx, edx
xor ecx, ecx
call fcn.180006eb0
inc eax
movsxd rbx, eax
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, r15
mov rdx, rbx
mov rcx, rax
mov rsi, rax
call fcn.180006eb0
mov r8, r12
xor edx, edx
xor ecx, ecx
call fcn.180006eb0
inc eax
movsxd rbx, eax
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, r12
mov rdx, rbx
mov rcx, rax
mov rdi, rax
call fcn.180006eb0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str._n
call fcn.180001030
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.1.11.8
lea rdx, str._hwloc__s_has_encountered_an_error_when_adding_a_distance_matrix_to_the_topology._n
call fcn.180001030
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, [0x180060740]
call fcn.180001030
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str._hwloc_distances__finalize_logical___could_not_find_any_object_covering_n
call fcn.180001030
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rdi
lea rdx, str._cpuset__s_and_nodeset__s_n
mov rcx, rax
mov r8, rsi
call fcn.180001030
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, [0x180060740]
call fcn.180001030
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str._Please_report_this_error_message_to_the_hwloc_users_mailing_list__n
call fcn.180001030
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str._along_with_any_relevant_topology_information_from_your_platform._n
call fcn.180001030
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str._n
call fcn.180001030
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [r15 + 8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [rsp + 0x20]
test rbx, rbx
je 0x18000a08a
mov rcx, qword [rbx + 8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test r12, r12
je 0x18000a0a3
mov rcx, qword [r12 + 8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x18000a0c0
mov rcx, qword [rbx + 8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret