Function at 0x1400b9e80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push r12
push r13
push r15
sub rsp, 0x40
mov ebx, 1
mov r15, rcx
cmp dword [rcx + 4], ebx
jbe 0x1400b9eb7
nop
mov rcx, qword [r15 + 0x18]
mov eax, ebx
mov rcx, qword [rcx + rax*8]
call fcn.1400f7d30
inc ebx
cmp ebx, dword [r15 + 4]
jb 0x1400b9ea0
mov r8d, dword [r15 + 4]
xor edx, edx
mov rcx, qword [r15 + 0x18]
dec r8d
shl r8, 3
add rcx, 8
call fcn.1400f62a0
mov r8d, dword [r15 + 4]
xor edx, edx
mov rcx, qword [r15 + 0x10]
dec r8d
shl r8, 2
add rcx, 4
call fcn.1400f62a0
mov dword [r15 + 4], 1
xor ebp, ebp
mov qword [r15 + 0x24], 0xffffffffffffffff
mov qword [r15 + 0x2c], 0xffffffffffffffff
mov qword [r15 + 0x34], 0xffffffffffffffff
mov qword [r15 + 0x3c], 0xffffffffffffffff
mov qword [r15 + 0x44], 0xffffffffffffffff
mov qword [r15 + 0x4c], 0xffffffffffffffff
mov dword [r15 + 0x54], 0xffffffff
mov rax, qword [r15 + 0x18]
mov rcx, qword [rax]
mov rdx, qword [rcx]
movsxd rax, dword [rdx]
mov dword [rdx + 0x30], ebp
mov dword [r15 + rax*4 + 0x24], ebp
mov dword [rdx + 0x34], ebp
mov qword [rdx + 0x40], rbp
mov qword [rdx + 0x38], rbp
mov qword [rdx + 0x48], rbp
mov dword [rdx + 0x50], ebp
mov qword [rdx + 0x60], rbp
mov qword [rdx + 0x58], rbp
mov rax, qword [r15 + 0x18]
mov rcx, qword [rax]
mov rdx, qword [rcx]
mov r12d, dword [rdx + 0x68]
mov ebx, r12d
shl rbx, 3
mov rcx, rbx
call fcn.1400f8010
mov r13, rax
test rax, rax
jne 0x1400b9f9c
call fcn.1400fdf94
mov dword [rax], listen
or eax, 0xffffffff
add rsp, 0x40
pop r15
pop r13
pop r12
pop rbp
pop rbx
ret
mov rax, qword [r15 + 0x18]
mov r8, rbx
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x88], r14
mov rcx, qword [rax]
mov rdx, qword [rcx]
mov rcx, r13
mov rdx, qword [rdx + 0x70]
call fcn.1400f5780
test r12d, r12d
je 0x1400ba386
lea r14, [0x140194140]
mov ecx, ebp
mov rdx, r13
nop
mov rax, qword [rdx]
cmp dword [rax], 3
jne 0x1400b9ff3
inc ecx
add rdx, 8
cmp ecx, r12d
jb 0x1400b9fe0
cmp ecx, r12d
jne 0x1400b9ffe
mov rdi, qword [r13]
jmp 0x1400ba005
mov eax, ecx
mov rdi, qword [r13 + rax*8]
test r12d, r12d
je 0x1400ba117
mov r14, r13
mov ebp, r12d
lea r15, [0x140194140]
nop dword [rax + rax]
movsxd rcx, dword [rdi]
mov rsi, qword [r14]
mov r8d, dword [r15 + rcx*4]
movsxd rdx, dword [rsi]
cmp ecx, 0xc
jle 0x1400ba03b
cmp edx, 0xc
jg 0x1400ba040
test edx, edx
jne 0x1400ba080
cmp edx, 0xc
jle 0x1400ba049
cmp ecx, 0xd
jge 0x1400ba049
test ecx, ecx
jne 0x1400ba080
sub r8d, dword [r15 + rdx*4]
cmp r8d, 0x7fffffff
je 0x1400ba080
test r8d, r8d
jne 0x1400ba080
cmp ecx, 0xc
jne 0x1400ba0fd
mov r8, qword [rsi + 0x28]
mov r9, qword [rdi + 0x28]
mov eax, dword [r8 + 4]
cmp dword [r9 + 4], eax
jne 0x1400ba080
mov eax, dword [r8 + 8]
cmp dword [r9 + 8], eax
je 0x1400ba0fd
mov r8d, dword [r15 + rdx*4]
cmp edx, 0xc
jle 0x1400ba092
cmp ecx, 0xc
jg 0x1400ba097
test ecx, ecx
jne 0x1400ba0cf
cmp ecx, 0xc
jle 0x1400ba0a0
cmp edx, 0xd
jge 0x1400ba0a0
test edx, edx
jne 0x1400ba0cf
sub r8d, dword [r15 + rcx*4]
cmp r8d, 0x7fffffff
je 0x1400ba0cf
test r8d, r8d
jne 0x1400ba0cf
cmp edx, 0xc
jne 0x1400ba0fa
mov rdx, qword [rdi + 0x28]
mov rcx, qword [rsi + 0x28]
mov eax, dword [rdx + 4]
cmp dword [rcx + 4], eax
jne 0x1400ba0cf
mov eax, dword [rdx + 8]
cmp dword [rcx + 8], eax
je 0x1400ba0fa
mov rbx, qword [rsi + 0x78]
test rbx, rbx
je 0x1400ba0fd
nop dword [rax + rax]
mov rdx, rdi
mov rcx, rbx
call fcn.1400b88b0
test eax, eax
jne 0x1400ba0fa
mov rbx, qword [rbx + 0x58]
test rbx, rbx
jne 0x1400ba0e0
jmp 0x1400ba0fd
mov rdi, rsi
add r14, 8
sub rbp, 1
jne 0x1400ba020
mov r15, qword [rsp + 0x70]
lea r14, [0x140194140]
mov ebx, ebp
test r12d, r12d
je 0x1400ba196
movsxd r8, dword [rdi]
mov r10, r13
mov r11d, r12d
mov esi, dword [r14 + r8*4]
nop dword [rax + rax]
mov r9, qword [r10]
movsxd rcx, dword [r9]
mov edx, dword [r14 + rcx*4]
cmp r8d, 0xc
jle 0x1400ba149
cmp ecx, 0xc
jg 0x1400ba14e
test ecx, ecx
jne 0x1400ba18c
cmp ecx, 0xc
jle 0x1400ba159
cmp r8d, 0xd
jge 0x1400ba159
test r8d, r8d
jne 0x1400ba18c
mov eax, esi
sub eax, edx
cmp eax, 0x7fffffff
je 0x1400ba18c
test eax, eax
jne 0x1400ba18c
cmp r8d, 0xc
jne 0x1400ba186
mov rcx, qword [r9 + 0x28]
mov rdx, qword [rdi + 0x28]
mov eax, dword [rcx + 4]
cmp dword [rdx + 4], eax
jne 0x1400ba18c
mov eax, dword [rcx + 8]
cmp dword [rdx + 8], eax
jne 0x1400ba18c
inc ebx
add ebp, dword [r9 + 0x68]
add r10, 8
sub r11, 1
jne 0x1400ba130
lea ecx, [rbx + 1]
shl rcx, 3
call fcn.1400f8010
mov rsi, rax
mov eax, ebp
sub eax, ebx
add eax, r12d
je 0x1400ba1be
mov ecx, eax
shl rcx, 3
call fcn.1400f8010
mov r14, rax
jmp 0x1400ba1c1
xor r14d, r14d
mov dword [rsp + 0x30], ebp
mov r9, rsi
mov qword [rsp + 0x28], r14
mov r8d, r12d
mov rdx, r13
mov dword [rsp + 0x20], ebx
mov rcx, rdi
call fcn.1400bb920
xor ebp, ebp
mov r12d, eax
mov r8d, ebp
test ebx, ebx
je 0x1400ba22f
mov r9, rsi
nop
mov eax, dword [r15 + 4]
mov rcx, qword [r9]
mov dword [rcx + 0x30], eax
mov rax, qword [r9]
mov dword [rax + 0x34], r8d
test r8d, r8d
je 0x1400ba223
mov rcx, qword [r9]
lea eax, [r8 - 1]
lea rdx, [rsi + rax*8]
mov rax, qword [rsi + rax*8]
mov qword [rcx + 0x40], rax
mov rcx, qword [rdx]
mov rax, qword [r9]
mov qword [rcx + 0x38], rax
inc r8d
add r9, 8
cmp r8d, ebx
jb 0x1400ba1f0
mov rax, qword [rsi]
mov qword [rax + 0x40], rbp
lea eax, [rbx - 1]
mov rax, qword [rsi + rax*8]
mov qword [rax + 0x38], rbp
mov ecx, dword [rdi]
call fcn.1400c3700
mov rdx, rax
lea rcx, str._____s_level
call fcn.1400ceea0
movsxd rax, dword [rdi]
cmp dword [r15 + rax*4 + 0x24], 0xffffffff
lea rcx, [r15 + rax*4]
jne 0x1400ba26f
mov eax, dword [r15 + 4]
mov dword [rcx + 0x24], eax
jmp 0x1400ba276
mov dword [rcx + 0x24], 0xfffffffe
mov eax, ebx
mov qword [rsi + rax*8], rbp
mov eax, dword [r15 + 8]
cmp dword [r15 + 4], eax
jne 0x1400ba2ff
mov rcx, qword [r15 + 0x18]
lea edx, [rax + rax]
shl rdx, 3
call fcn.1400f7d28
mov ecx, dword [r15 + 8]
mov rbp, rax
lea edx, [rcx + rcx]
mov rcx, qword [r15 + 0x10]
shl rdx, 2
call fcn.1400f7d28
mov rdi, rax
test rbp, rbp
je 0x1400ba32a
test rax, rax
je 0x1400ba32a
mov qword [r15 + 0x10], rax
xor edx, edx
mov eax, dword [r15 + 8]
mov qword [r15 + 0x18], rbp
lea r8, [rax*8]
lea rcx, [r8 + rbp]
call fcn.1400f62a0
mov eax, dword [r15 + 8]
xor edx, edx
mov rcx, qword [r15 + 0x10]
lea r8, [rax*4]
add rcx, r8
call fcn.1400f62a0
mov eax, dword [r15 + 8]
add eax, eax
mov dword [r15 + 8], eax
xor ebp, ebp
mov ecx, dword [r15 + 4]
mov rax, qword [r15 + 0x10]
mov dword [rax + rcx*4], ebx
mov ecx, dword [r15 + 4]
mov rax, qword [r15 + 0x18]
mov qword [rax + rcx*8], rsi
mov rcx, r13
inc dword [r15 + 4]
call fcn.1400f7d30
mov r13, r14
jmp 0x1400b9fca
mov ebx, dword [r15 + 8]
mov ecx, 2
add ebx, ebx
call fcn.1400f8138
mov rcx, rax
lea rdx, str.hwloc_failed_to_realloc_level_arrays_to__u_n
mov r8d, ebx
call fcn.1400060e0
test rbp, rbp
je 0x1400ba355
mov qword [r15 + 0x18], rbp
test rdi, rdi
je 0x1400ba35e
mov qword [r15 + 0x10], rdi
mov rcx, r13
call fcn.1400f7d30
mov rcx, rsi
call fcn.1400f7d30
mov rcx, r14
call fcn.1400f7d30
call fcn.1400fdf94
mov dword [rax], listen
or eax, 0xffffffff
jmp 0x1400ba390
mov rcx, r13
call fcn.1400f7d30
xor eax, eax
mov rdi, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x78]
mov r14, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r13
pop r12
pop rbp
pop rbx
ret