joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003e50
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push r12
push r13
push r14
sub rsp, 0x50
mov r14, rcx
mov byte [rcx + 0x174], 0
mov rcx, qword [rcx + 0x160]
mov r13, r9
mov r12, rdx
cmp rcx, 0xffffffffffffffff
je 0x140003ead
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x140003ead
nop dword [rax + rax]
mov rcx, qword [r14 + 0x160]
lea rdx, [rsp + 0x20]
xor r9d, r9d
lea r8d, [r9 + 4]
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x140003e90
mov rcx, qword [r14 + 0x150]
cmp rcx, 0xffffffffffffffff
je 0x140003edb
movzx eax, byte [r14 + 0x171]
test al, al
jne 0x140003edb
mov rdx, r12
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x140003edb
mov rcx, r14
call fcn.1400038d0
mov eax, dword [r14 + 0x18c]
and eax, 4
test al, al
jne 0x140003f9c
mov qword [rsp + 0x78], rbx
mov rbx, qword [r14 + 0x18]
test rbx, rbx
je 0x140003f97
mov r14, qword [rsp + 0x80]
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rdi
nop dword [rax + rax]
mov r15, qword [rbx + 0x110]
mov rbp, qword [rbx + 8]
cmp r15, 0xffffffffffffffff
je 0x140003f76
mov rdx, r13
mov rcx, r15
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
mov rdx, r14
mov rcx, r15
test eax, eax
setne sil
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
mov rdx, r12
mov rcx, r15
test eax, eax
setne dil
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
movzx r9d, sil
movzx r8d, dil
test eax, eax
mov rcx, rbx
setne dl
call fcn.140002340
mov rbx, rbp
test rbp, rbp
jne 0x140003f20
mov r14, qword [rsp + 0x70]
mov r15, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x78]
mov rcx, r14
call fcn.140003ae0
mov eax, 1
add rsp, 0x50
pop r14
pop r13
pop r12
ret
Function at 0x140004b00
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x1400b59e8]
xor rax, rsp
mov qword [rsp + 0x48], rax
movzx eax, byte [rcx + 0x170]
mov rbx, rcx
test al, al
je 0x140004b38
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140087840
add rsp, 0x70
pop rbx
ret
mov eax, dword [rcx + 0x18c]
and eax, 4
test al, al
jne 0x140004b5d
call fcn.1400047b0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140087840
add rsp, 0x70
pop rbx
ret
mov rcx, qword [rcx + 0x150]
xor eax, eax
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x60], r12
lea edi, [rax + 1]
mov qword [rsp + 0x58], r14
mov r12d, 0x300
or r14d, 0xffffffff
mov qword [rsp + 0x50], r15
xor r15d, r15d
mov qword [rsp + 0x28], rax
or ebp, r14d
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov esi, r15d
mov qword [rsp + 0x40], rax
cmp rcx, 0xffffffffffffffff
je 0x140004bd4
movzx eax, byte [rbx + 0x171]
test al, al
jne 0x140004bd4
mov qword [rsp + 0x28], rcx
mov r14d, r15d
mov dword [rsp + 0x30], r12d
mov esi, edi
mov rcx, qword [rbx + 0x160]
cmp rcx, 0xffffffffffffffff
je 0x140004bf4
mov eax, esi
mov ebp, esi
add rax, rax
inc esi
mov qword [rsp + rax*8 + 0x28], rcx
mov dword [rsp + rax*8 + 0x30], r12d
test dword [rbx + 0x18c], 0x2000
je 0x140004c08
mov rcx, rbx
call fcn.140003640
test esi, esi
je 0x140004cbb
or r8d, 0xffffffff
lea rcx, [rsp + 0x28]
mov edx, esi
call qword [sym.imp.WS2_32.dll_WSAPoll]
test eax, eax
jns 0x140004c54
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
je 0x140004cbb
mov ecx, eax
call fcn.14000ec40
mov r8, rax
lea rdx, str.poll_failed:__s_n
mov rcx, rbx
call fcn.14000f5a0
mov edi, r15d
jmp 0x140004cbb
cmp ebp, 0xffffffff
je 0x140004c8d
movsxd rax, ebp
add rax, rax
movzx ecx, word [rsp + rax*8 + 0x32]
and cx, r12w
cmp r15w, cx
je 0x140004c8d
nop
mov rcx, qword [rbx + 0x160]
lea rdx, [rsp + 0x20]
xor r9d, r9d
lea r8d, [r9 + 4]
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x140004c70
movzx eax, byte [rbx + 0x170]
test al, al
jne 0x140004c4f
cmp r14d, 0xffffffff
je 0x140004cbb
movsxd rcx, r14d
add rcx, rcx
movzx edx, word [rsp + rcx*8 + 0x32]
and dx, r12w
cmp r15w, dx
je 0x140004cbb
mov rcx, rbx
call fcn.1400038d0
mov r15, qword [rsp + 0x50]
mov eax, edi
mov rdi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140087840
add rsp, 0x70
pop rbx
ret
Function at 0x140009c70
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
cmp byte [rcx + 0x11c], 0
mov rbx, rcx
mov rdi, qword [rcx + 0x20]
jne 0x140009e4c
mov qword [rsp + 0x30], rbp
xor ebp, ebp
mov byte [rcx + 0x11c], 1
mov rcx, qword [rcx + 0x38]
mov qword [rsp + 0x38], rsi
test rcx, rcx
je 0x140009cb3
call fcn.14000b390
mov qword [rbx + 0x38], rbp
lea rcx, [rdi + 0x128]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [rbx + 0x170], bpl
je 0x140009d0a
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
test rcx, rcx
jne 0x140009cdb
mov qword [rdi + 0x20], rax
jmp 0x140009cde
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
test rcx, rcx
jne 0x140009cfa
mov qword [rdi + 0x28], rax
mov byte [rbx + 0x170], bpl
jmp 0x140009daa
mov qword [rcx + 8], rax
mov byte [rbx + 0x170], bpl
jmp 0x140009daa
mov eax, dword [rdi + 0x18c]
and eax, 4
test al, al
jne 0x140009d7f
mov rax, qword [rdi + 0x180]
cmp qword [rbx + 0x100], rax
mov rax, qword [rbx + 0x10]
mov rcx, qword [rbx + 0x18]
jne 0x140009d51
test rcx, rcx
jne 0x140009d3a
mov qword [rdi + 0x40], rax
jmp 0x140009d3e
mov qword [rcx + 0x10], rax
mov rcx, qword [rbx + 0x10]
mov rax, qword [rbx + 0x18]
test rcx, rcx
jne 0x140009d73
mov qword [rdi + 0x48], rax
jmp 0x140009d77
test rcx, rcx
jne 0x140009d5c
mov qword [rdi + 0x50], rax
jmp 0x140009d60
mov qword [rcx + 0x10], rax
mov rcx, qword [rbx + 0x10]
mov rax, qword [rbx + 0x18]
test rcx, rcx
jne 0x140009d73
mov qword [rdi + 0x58], rax
jmp 0x140009d77
mov qword [rcx + 0x18], rax
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x10], rbp
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
test rcx, rcx
jne 0x140009d91
mov qword [rdi + 0x10], rax
jmp 0x140009d94
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
test rcx, rcx
jne 0x140009da6
mov qword [rdi + 0x18], rax
jmp 0x140009daa
mov qword [rcx + 8], rax
mov qword [rbx + 8], rbp
mov qword [rbx], rbp
mov rax, qword [rdi + 0x30]
mov qword [rbx + 8], rbp
mov rbp, qword [rsp + 0x30]
mov qword [rbx], rax
cmp qword [rdi + 0x38], 0
jne 0x140009dce
mov qword [rdi + 0x38], rbx
jmp 0x140009dd6
mov rax, qword [rdi + 0x30]
mov qword [rax + 8], rbx
mov qword [rdi + 0x30], rbx
lea rcx, [rdi + 0x128]
mov byte [rbx + 0x178], 0
mov byte [rbx + 0x11b], 0
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [rdi + 0x18c]
mov rsi, qword [rsp + 0x38]
and eax, 4
test al, al
je 0x140009e4c
cmp qword [rdi + 0x160], 0xffffffffffffffff
je 0x140009e4c
mov rcx, qword [rdi + 0x168]
lea rdx, [0x1400b8524]
xor r9d, r9d
lea r8d, [r9 + 1]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x140009e4c
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x140009e4c
lea rdx, str.Failed_to_signal_end_of_connection_via_inter_thread_communication_channel
mov rcx, rdi
call fcn.14000f5a0
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14000af10
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov ebp, edx
mov rsi, rcx
test rcx, rcx
je 0x14000af6d
test r8, r8
je 0x14000af6d
cmp qword [rcx + 0x38], 0
jne 0x14000af6d
mov eax, dword [rcx + 0x120]
cmp eax, 4
je 0x14000af48
cmp eax, 9
jne 0x14000af6d
mov rax, qword [r8 + 0x28]
mov rcx, qword [rcx + 0x20]
test rax, rax
je 0x14000af7f
test dword [rcx + 0x18c], 0x8000
jne 0x14000af7f
lea rdx, str.Attempted_upgrade_connection_on_daemon_without_MHD_ALLOW_UPGRADE_option__n
call fcn.14000f5a0
xor eax, eax
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
cmp ebp, 0x65
je 0x14000af92
test rax, rax
je 0x14000af92
lea rdx, str.Application_used_invalid_status_code_for_upgrade_response__n
jmp 0x14000af68
mov qword [rsp + 0x30], rbx
lea rbx, [r8 + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
inc dword [rdi + 0x88]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov r11, qword [rsi + 0x58]
mov qword [rsi + 0x38], rdi
mov dword [rsi + 0x128], ebp
test r11, r11
je 0x14000b013
movzx ecx, byte [r11]
lea r8, str.HEAD
test cl, cl
je 0x14000b00d
mov r9, r11
sub r9, r8
nop dword [rax + rax]
movzx edx, byte [r8]
cmp cl, dl
je 0x14000b000
lea eax, [rcx - 0x41]
cmp al, 0x19
ja 0x14000aff2
add cl, 0x20
lea eax, [rdx - 0x41]
cmp al, 0x19
ja 0x14000affc
add dl, 0x20
cmp cl, dl
jne 0x14000b013
movzx ecx, byte [r9 + r8 + 1]
inc r8
test cl, cl
jne 0x14000afe0
cmp byte [r8], 0
je 0x14000b02b
cmp ebp, 0xc8
jb 0x14000b02b
cmp ebp, 0xcc
je 0x14000b02b
cmp ebp, 0x130
jne 0x14000b036
mov rax, qword [rdi + 0x60]
mov qword [rsi + 0xe0], rax
cmp dword [rsi + 0x120], 4
jne 0x14000b0f4
test r11, r11
je 0x14000b0f4
movzx ecx, byte [r11]
lea r9, str.POST
movzx edx, cl
movzx ebx, cl
test cl, cl
je 0x14000b098
mov r10, r11
sub r10, r9
movzx r8d, byte [r9]
cmp cl, r8b
je 0x14000b08b
lea eax, [rcx - 0x41]
cmp al, 0x19
ja 0x14000b07a
add cl, 0x20
lea eax, [r8 - 0x41]
cmp al, 0x19
ja 0x14000b086
add r8b, 0x20
cmp cl, r8b
jne 0x14000b09e
movzx ecx, byte [r10 + r9 + 1]
inc r9
test cl, cl
jne 0x14000b067
cmp byte [r9], 0
je 0x14000b0e3
lea r8, [0x1400b89f4]
test bl, bl
je 0x14000b0dd
sub r11, r8
nop dword [rax]
movzx ecx, byte [r8]
cmp dl, cl
je 0x14000b0d0
lea eax, [rdx - 0x41]
cmp al, 0x19
ja 0x14000b0c2
add dl, 0x20
lea eax, [rcx - 0x41]
cmp al, 0x19
ja 0x14000b0cc
add cl, 0x20
cmp dl, cl
jne 0x14000b0f4
movzx edx, byte [r11 + r8 + 1]
inc r8
test dl, dl
jne 0x14000b0b0
cmp byte [r8], 0
jne 0x14000b0f4
mov byte [rsi + 0x119], 1
mov dword [rsi + 0x120], 9
cmp byte [rsi + 0x11b], 0
mov rbx, qword [rsp + 0x30]
jne 0x14000b10a
mov rcx, rsi
call fcn.140009e60
mov rbp, qword [rsp + 0x38]
mov eax, 1
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14000ca30
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push rbx
push rbp
push r15
sub rsp, 0x20
mov r10d, dword [r8 + 0x1d8]
mov r15, r8
mov rbp, rdx
mov rbx, rcx
test r10d, r10d
jne 0x14000ca59
xor eax, eax
add rsp, 0x20
pop r15
pop rbp
pop rbx
ret
movzx eax, byte [rcx]
mov r9, rbx
mov qword [rsp + 0x40], rsi
xor esi, esi
mov qword [rsp + 0x48], rdi
mov r8d, esi
mov qword [rsp + 0x50], r14
test al, al
je 0x14000caa4
nop word [rax + rax]
mov edx, r8d
movsx eax, al
mov ecx, r8d
shr edx, 0x18
xor edx, eax
shl ecx, 8
movzx eax, byte [r9 + 1]
lea r9, [r9 + 1]
mov r8d, edx
or r8d, ecx
test al, al
jne 0x14000ca80
xor edx, edx
mov eax, r8d
div r10d
mov ecx, edx
imul rdi, rcx, 0x98
lea rcx, [r15 + 0x1a8]
add rdi, qword [r15 + 0x1a0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test rbp, rbp
jne 0x14000caf8
mov rdx, rdi
sub rdx, rbx
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rbx]
mov byte [rdx + rbx + 0x10], al
lea rbx, [rbx + 1]
test al, al
jne 0x14000cae0
mov qword [rdi], rsi
mov qword [rdi + 8], rsi
jmp 0x14000cb6f
mov r8, qword [rdi]
cmp rbp, r8
jae 0x14000cb35
lea rax, [rbp + 0x40]
cmp rax, rbp
jbe 0x14000cb32
cmp rax, r8
jb 0x14000cb32
mov rcx, qword [rdi + 8]
mov rax, r8
sub rax, rbp
dec rax
bt rcx, rax
jb 0x14000cb32
cmp rax, 1
seta sil
or rsi, rcx
mov qword [rdi + 8], rsi
jmp 0x14000cb6f
cmp rbp, r8
jbe 0x14000cb83
lea rax, [rdi + 0x10]
sub rbx, rax
nop
movzx edx, byte [rax]
movzx ecx, byte [rax + rbx]
sub edx, ecx
jne 0x14000cb52
inc rax
test ecx, ecx
jne 0x14000cb40
test edx, edx
jne 0x14000cb83
mov rcx, rbp
sub rcx, r8
cmp rcx, 0x40
jae 0x14000cb68
shl qword [rdi + 8], cl
jmp 0x14000cb6c
mov qword [rdi + 8], rsi
mov qword [rdi], rbp
lea rcx, [r15 + 0x1a8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
jmp 0x14000cba1
lea rcx, [r15 + 0x1a8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rdx, str.Stale_nonce_received.__If_this_happens_a_lot__you_should_probably_increase_the_size_of_the_nonce_array._n
mov rcx, r15
call fcn.14000f5a0
xor eax, eax
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop rbp
pop rbx
ret
Function at 0x14000f910
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
mov rsi, r9
mov ecx, 0x18
mov rdi, r8
mov rbp, rdx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x14000f9ad
mov qword [rax], rsi
mov rax, qword [rsp + 0x60]
mov qword [rbx + 8], rax
mov eax, 0xffffffff
mov qword [rbx + 0x10], rbp
cmp rdi, rax
jbe 0x14000f97c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rcx, rbx
mov dword [rax], reloc.WS2_32.dll_shutdown
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
jmp 0x14000f9b6
xor eax, eax
lea r8, [0x14000f8b0]
mov qword [rsp + 0x28], rax
mov r9, rbx
mov edx, edi
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [r14], rax
cmp rax, 0xffffffffffffffff
jne 0x14000f9b1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
jmp 0x14000f9b6
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x140010660
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
cmp dword [0x1400c156c], 0
jne 0x1400106b2
lea rcx, str.HWLOC_HIDE_ERRORS
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x14001069d
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [0x1400c1568], eax
mov dword [0x1400c156c], 1
add rsp, 0x28
ret
mov eax, dword [0x1400c1568]
mov dword [0x1400c156c], 1
add rsp, 0x28
ret
mov eax, dword [0x1400c1568]
add rsp, 0x28
ret
Function at 0x1400106c0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [0x1400c1570], 0
mov ebx, edx
mov rdi, rcx
jne 0x140010852
cmp dword [0x1400c156c], 0
jne 0x140010710
lea rcx, str.HWLOC_HIDE_ERRORS
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x140010706
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [0x1400c1568], eax
mov dword [0x1400c156c], 1
cmp dword [0x1400c1568], 0
jne 0x140010852
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.140001e00
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.2.0.2
lea rdx, str._hwloc__s_has_encountered_what_looks_like_an_error_from_the_operating_system._n
call fcn.140001e00
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, [0x14009bb60]
call fcn.140001e00
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rdi
lea rdx, str.__s_n
mov rcx, rax
call fcn.140001e00
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, ebx
lea rdx, str._Error_occurred_in_topology.c_line__d_n
mov rcx, rax
call fcn.140001e00
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, [0x14009bb60]
call fcn.140001e00
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._The_following_FAQ_entry_in_the_hwloc_documentation_may_help:_n
call fcn.140001e00
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.___What_should_I_do_when_hwloc_reports__operating_system__warnings__n
call fcn.140001e00
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._Otherwise_please_report_this_error_message_to_the_hwloc_users_mailing_list__n
call fcn.140001e00
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.140001e00
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.140001e00
mov dword [0x1400c1570], 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140012f70
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x20
cmp dword [rcx + 0xb0], 1
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
jne 0x140012faf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], reloc.WS2_32.dll_shutdown
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
cmp dword [rcx + 0xb8], 0
je 0x140012f91
or r8d, 0xffffffff
mov qword [rsp + 0x30], rdi
mov edx, send
call sym.xmr_stak_rx.exe_hwloc_alloc_setup_object
mov rdi, rax
test rsi, rsi
je 0x140012fe0
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov qword [rdi + 0x18], rax
mov r8, rdi
mov rdx, rbp
mov rcx, rbx
call sym.xmr_stak_rx.exe_hwloc_insert_object_by_parent
xor edx, edx
mov rcx, rbx
call sym.xmr_stak_rx.exe_hwloc_topology_reconnect
lea rcx, str.HWLOC_DEBUG_CHECK
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rbx, qword [rsp + 0x38]
mov rax, rdi
mov rdi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
Function at 0x14001e710
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov r8, qword [rcx + 0x28]
mov rax, qword [rdx + 0x28]
movzx r9d, word [r8]
movzx r10d, word [rax]
cmp r9w, r10w
jae 0x14001e731
xor eax, eax
add rsp, 0x28
ret
jbe 0x14001e73d
mov eax, 1
add rsp, 0x28
ret
cmp dword [rcx], 0xe
jne 0x14001e75c
movzx ecx, byte [rax + 2]
cmp cl, byte [r8 + 0x1e]
jb 0x14001e75c
cmp cl, byte [r8 + 0x1f]
ja 0x14001e75c
mov eax, 3
add rsp, 0x28
ret
cmp dword [rdx], 0xe
jne 0x14001e77a
movzx ecx, byte [r8 + 2]
cmp cl, byte [rax + 0x1e]
jb 0x14001e77a
cmp cl, byte [rax + 0x1f]
ja 0x14001e77a
mov eax, 2
add rsp, 0x28
ret
movzx ecx, byte [r8 + 2]
movzx edx, byte [rax + 2]
cmp cl, dl
jb 0x14001e72a
ja 0x14001e733
movzx ecx, byte [r8 + 3]
movzx edx, byte [rax + 3]
cmp cl, dl
jb 0x14001e72a
ja 0x14001e733
movzx ecx, byte [r8 + 4]
movzx edx, byte [rax + 4]
cmp cl, dl
jb 0x14001e72a
ja 0x14001e733
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, 0x104
lea r8, str.....hwlocpci_common.c
mov rcx, rax
lea rdx, str.Bad_assertion_in_hwloc__s:_d__aborting__n
call fcn.140001e00
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x14001e7e0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x20], rbp
push r14
sub rsp, 0x20
mov rbp, r8
mov r10, rdx
mov r11, rcx
xor r14d, r14d
nop word [rax + rax]
mov r9, qword [r10]
test r9, r9
je 0x14001e9ab
mov rax, qword [r9 + 0x28]
mov rcx, qword [rbp + 0x28]
movzx r8d, word [rax]
movzx edx, word [rcx]
cmp dx, r8w
jae 0x14001e826
mov eax, r14d
jmp 0x14001e8a4
ja 0x14001e89f
cmp dword [rbp], 0xe
jne 0x14001e843
movzx edx, byte [rax + 2]
cmp dl, byte [rcx + 0x1e]
jb 0x14001e843
cmp dl, byte [rcx + 0x1f]
ja 0x14001e843
mov eax, 3
jmp 0x14001e8a4
cmp dword [r9], 0xe
jne 0x14001e85e
movzx edx, byte [rcx + 2]
cmp dl, byte [rax + 0x1e]
jb 0x14001e85e
cmp dl, byte [rax + 0x1f]
ja 0x14001e85e
mov eax, 2
jmp 0x14001e8a4
movzx edx, byte [rcx + 2]
movzx r8d, byte [rax + 2]
cmp dl, r8b
jae 0x14001e871
mov eax, r14d
jmp 0x14001e8a4
ja 0x14001e89f
movzx edx, byte [rcx + 3]
movzx r8d, byte [rax + 3]
cmp dl, r8b
jae 0x14001e886
mov eax, r14d
jmp 0x14001e8a4
ja 0x14001e89f
movzx edx, byte [rcx + 4]
movzx ecx, byte [rax + 4]
cmp dl, cl
jae 0x14001e899
mov eax, r14d
jmp 0x14001e8a4
jbe 0x14001e978
mov eax, 1
test eax, eax
je 0x14001e8bb
sub eax, 1
je 0x14001e921
sub eax, 1
je 0x14001e92a
cmp eax, 1
jne 0x14001e800
mov qword [rsp + 0x40], rdi
lea rdi, [rbp + 0x58]
mov qword [rdi], r9
mov qword [r10], rbp
cmp dword [rbp], 0xe
mov qword [rbp + 0x48], r11
jne 0x14001e967
mov qword [rsp + 0x38], rsi
lea rsi, [rbp + 0xa0]
cmp qword [rdi], r14
je 0x14001e962
mov qword [rsp + 0x30], rbx
nop
mov rbx, qword [rdi]
mov rcx, rbp
mov rdx, rbx
call fcn.14001e710
test eax, eax
jne 0x14001e939
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbx + 0x28]
movzx eax, word [rdx]
cmp word [rcx], ax
ja 0x14001e95d
movzx eax, byte [rdx + 0x1f]
cmp byte [rcx + 2], al
ja 0x14001e95d
lea rdi, [rbx + 0x58]
jmp 0x14001e958
lea r10, [r9 + 0x58]
jmp 0x14001e800
mov r11, r9
lea r10, [r9 + 0xa0]
jmp 0x14001e800
mov qword [rsi], rbx
mov rax, qword [rbx + 0x58]
mov qword [rdi], rax
mov rax, qword [rsi]
mov qword [rax + 0x48], rbp
mov rax, qword [rsi]
mov qword [rax + 0x58], r14
mov rsi, qword [rsi]
add rsi, 0x58
cmp qword [rdi], r14
jne 0x14001e8f0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, 0x104
lea r8, str.....hwlocpci_common.c
mov rcx, rax
lea rdx, str.Bad_assertion_in_hwloc__s:_d__aborting__n
call fcn.140001e00
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rbp + 0x48], r11
mov qword [rbp + 0x58], r14
mov qword [r10], rbp
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov r8, rdx
mov rdx, rcx
xor ecx, ecx
jmp 0x14001e7e0