joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140096e90
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
xor edi, edi
mov byte [rsp + 0x70], 0
cmp byte [0x140229db2], dil
mov ebx, edx
mov esi, ecx
mov qword [rsp + 0x40], rdi
jne 0x140097000
cmp byte [0x140228355], dil
jne 0x1400970fd
lea rcx, str.HDF5_PLUGIN_PRELOAD
mov byte [0x140229db2], 1
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rcx, rax
test rax, rax
je 0x140096f15
movzx eax, byte [rax]
cmp al, byte [0x1401daa54]
jne 0x140096f15
movzx eax, byte [rcx + 1]
cmp al, byte [0x1401daa55]
jne 0x140096f15
movzx eax, byte [rcx + 2]
cmp al, byte [0x1401daa56]
jne 0x140096f15
mov dword [0x140225a88], edi
mov byte [0x140225a8c], dil
call fcn.1401767b0
test eax, eax
jns 0x140096f2d
lea rax, str.cant_create_plugin_cache
mov r9d, 0xa7
jmp 0x140096f47
call fcn.140176a40
test eax, eax
jns 0x140096fea
lea rax, str.cant_create_plugin_search_path_table
mov r9d, 0xab
mov qword [rsp + 0x38], rax
lea r8, str.H5PL__init_package
mov rax, qword [0x140225130]
lea rdx, str.C:cihdf5_1655187604574work_srcH5PLint.c
mov qword [rsp + 0x30], rax
xor ecx, ecx
mov rax, qword [0x140224f88]
mov qword [rsp + 0x28], rax
mov rax, qword [0x140224f60]
mov qword [rsp + 0x20], rax
call fcn.140050b90
lea rax, str.interface_initialization_failed
mov byte [0x140229db2], dil
mov qword [rsp + 0x38], rax
mov r9d, 0xf5
mov rax, qword [0x140225130]
mov qword [rsp + 0x30], rax
mov rax, qword [0x140224f68]
mov qword [rsp + 0x28], rax
lea r8, str.H5PL_load
mov rax, qword [0x140224f60]
lea rdx, str.C:cihdf5_1655187604574work_srcH5PLint.c
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.140050b90
mov rax, rdi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
cmp byte [0x140229db2], dil
jne 0x140097000
cmp byte [0x140228355], dil
jne 0x1400970fd
test esi, esi
je 0x14009702b
lea rax, str.Invalid_plugin_type_specified
mov r9d, 0x100
mov qword [rsp + 0x38], rax
mov rax, qword [0x1402252c8]
mov qword [rsp + 0x30], rax
mov rax, qword [0x140224f88]
jmp 0x140096fb1
test byte [0x140225a88], 1
jne 0x14009705e
lea rax, str.filter_plugins_disabled
mov r9d, 0xfb
mov qword [rsp + 0x38], rax
mov rax, qword [0x1402252c8]
mov qword [rsp + 0x30], rax
mov rax, qword [0x140224f88]
jmp 0x140096fb1
lea r8, [rsp + 0x40]
mov dword [rsp + 0x78], edi
lea rdx, [rsp + 0x70]
mov dword [rsp + 0x7c], ebx
lea rcx, [rsp + 0x78]
call fcn.140176880
test eax, eax
jns 0x1400970a8
lea rax, str.search_in_plugin_cache__failed
mov r9d, 0x109
mov qword [rsp + 0x38], rax
mov rax, qword [0x140225148]
mov qword [rsp + 0x30], rax
mov rax, qword [0x140224f88]
jmp 0x140096fb1
cmp byte [rsp + 0x70], dil
jne 0x1400970f8
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x78]
call fcn.140176c60
test eax, eax
jns 0x1400970f1
lea rax, str.search_in_path_table_failed
mov r9d, 0x10e
mov qword [rsp + 0x38], rax
mov rax, qword [0x140225148]
mov qword [rsp + 0x30], rax
mov rax, qword [0x140224f88]
jmp 0x140096fb1
cmp byte [rsp + 0x70], dil
je 0x1400970fd
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x60]
mov rax, rdi
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x140101310
Capabilities:
Encode data using xor

Disassembly:
cmp byte [0x140228561], 0
mov r10, rcx
jne 0x140101328
cmp byte [0x140228355], 0
je 0x140101328
xor eax, eax
ret
mov ecx, dword [rcx + 0x9cc]
mov rax, qword [rdx]
cmp ecx, 1
jbe 0x140101368
add rdx, 8
lea r8, [r10 + 0x109c]
lea r9d, [rcx - 1]
nop word [rax + rax]
movzx ecx, byte [r8]
lea r8, [r8 + 4]
shl rax, cl
xor rax, qword [rdx]
lea rdx, [rdx + 8]
sub r9, 1
jne 0x140101350
xor edx, edx
div qword [r10 + 0xd10]
mov eax, edx
ret

Function at 0x14011d3b0
Capabilities:
Hash data using djb2

Disassembly:
movsx edx, byte [rcx]
mov eax, 0x1505
test edx, edx
je 0x14011d3d0
nop dword [rax]
imul eax, eax, 0x21
lea rcx, [rcx + 1]
add eax, edx
movsx edx, byte [rcx]
test edx, edx
jne 0x14011d3c0
ret
Function at 0x140176a40
Capabilities:
Query environment variable

Disassembly:
push rdi
sub rsp, 0x50
xor edi, edi
cmp byte [0x140229db2], dil
jne 0x140176a5e
cmp byte [0x140228355], dil
jne 0x140176c4f
mov ecx, 0x80
mov qword [rsp + 0x68], rsi
mov dword [0x14022a200], edi
mov dword [0x140227490], 0x10
call fcn.140051500
mov qword [0x14022a1f8], rax
test rax, rax
jne 0x140176ade
lea rax, str.cant_allocate_memory_for_path_table
mov r9d, 0xfd
mov qword [rsp + 0x38], rax
lea r8, str.H5PL__create_path_table
mov rax, qword [0x1402250b8]
lea rdx, str.C:cihdf5_1655187604574work_srcH5PLpath.c
mov qword [rsp + 0x30], rax
xor ecx, ecx
mov rax, qword [0x140224f88]
mov qword [rsp + 0x28], rax
mov rax, qword [0x140224f60]
mov qword [rsp + 0x20], rax
call fcn.140050b90
mov edi, 0xffffffff
jmp 0x140176c28
lea rcx, str.HDF5_PLUGIN_PATH
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
lea rcx, str._ALLUSERSPROFILE_hdf5libplugin
cmovne rcx, rax
call fcn.140051570
mov rsi, rax
test rax, rax
jne 0x140176b15
lea rax, str.cant_allocate_memory_for_path_copy
mov r9d, 0x109
jmp 0x140176a96
lea rdx, [0x1401b89f0]
mov qword [rsp + 0x60], rbx
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok]
mov rbx, rax
test rax, rax
je 0x140176c16
cmp byte [0x140229db2], dil
jne 0x140176b48
cmp byte [0x140228355], dil
jne 0x140176b5a
mov edx, dword [0x14022a200]
mov rcx, rbx
call fcn.140177020
test eax, eax
js 0x140176b76
lea rdx, [0x1401b89f0]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok]
mov rbx, rax
test rax, rax
jne 0x140176b36
jmp 0x140176c16
lea rax, str.unable_to_append_search_path
mov r9d, 0x195
mov qword [rsp + 0x38], rax
lea r8, str.H5PL__append_path
mov rax, qword [0x140225470]
lea rdx, str.C:cihdf5_1655187604574work_srcH5PLpath.c
mov qword [rsp + 0x30], rax
xor ecx, ecx
mov rax, qword [0x140224f88]
mov qword [rsp + 0x28], rax
mov rax, qword [0x140224f60]
mov qword [rsp + 0x20], rax
call fcn.140050b90
mov qword [rsp + 0x40], rbx
lea rax, str.cant_insert_path:__s
mov qword [rsp + 0x38], rax
lea r8, str.H5PL__create_path_table
mov rax, qword [0x1402250b8]
lea rdx, str.C:cihdf5_1655187604574work_srcH5PLpath.c
mov qword [rsp + 0x30], rax
mov r9d, 0x112
mov rax, qword [0x140224f88]
xor ecx, ecx
mov qword [rsp + 0x28], rax
mov rax, qword [0x140224f60]
mov qword [rsp + 0x20], rax
call fcn.140050b90
mov edi, 0xffffffff
mov rcx, rsi
call fcn.140051650
mov rbx, qword [rsp + 0x60]
cmp edi, 0xffffffff
jne 0x140176c4a
mov rcx, qword [0x14022a1f8]
test rcx, rcx
je 0x140176c40
call fcn.140051650
mov qword [0x14022a1f8], rax
mov dword [0x140227490], 0
mov rsi, qword [rsp + 0x68]
mov eax, edi
add rsp, 0x50
pop rdi
ret
Function at 0x14001fdd0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov r8, qword [rcx + 0x10]
cmp r8, qword [rcx + 0x18]
je 0x14001fe02
mov rax, qword [rdi]
mov qword [r8], rax
add qword [rsi + 0x10], 8
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rax, qword [rsi]
mov rdx, qword [rsi + 8]
mov rcx, rdx
sub rcx, rax
jbe 0x14001fe61
sar rcx, 3
lea rax, [rcx + 1]
shr rax, 0x3f
add rax, rcx
inc rax
sar rax, 1
mov r15, rax
neg r15
shl rax, 3
mov rbx, rdx
sub rbx, rax
mov r14, r8
sub r14, rdx
je 0x14001fe4d
mov rcx, rbx
mov r8, r14
call fcn.1400bf6c0
mov r8, qword [rsi + 8]
add rbx, r14
mov qword [rsi + 0x10], rbx
lea rax, [r8 + r15*8]
mov qword [rsi + 8], rax
mov r8, rbx
jmp 0x14001fdeb
mov rcx, r8
sub rcx, rax
sar rcx, 2
cmp r8, rax
mov ebx, 1
cmovne rbx, rcx
mov rax, rbx
shr rax, 0x3d
jne 0x14001fefe
lea rcx, [rbx*8]
call fcn.1400210c0
mov rcx, rbx
and rcx, 0xfffffffffffffffc
lea rdx, [rax + rcx*2]
mov rcx, qword [rsi + 8]
mov r11, qword [rsi + 0x10]
lea r9, [rax + rbx*8]
mov r8, rdx
sub r11, rcx
je 0x14001fed5
mov r10, r11
sar r10, 3
and r11, 0xfffffffffffffff8
mov r8, r11
add r8, rdx
shl r10, 3
xor r11d, r11d
mov rbx, qword [rcx + r11]
mov qword [rdx + r11], rbx
add r11, 8
cmp r10, r11
jne 0x14001fec4
mov rcx, qword [rsi]
mov qword [rsi], rax
mov qword [rsi + 8], rdx
mov qword [rsi + 0x10], r8
mov qword [rsi + 0x18], r9
test rcx, rcx
je 0x14001fdeb
call fcn.14001ce40
mov r8, qword [rsi + 0x10]
jmp 0x14001fdeb
call fcn.1400249e0
int3

Function at 0x14001ff10
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov r8, qword [rcx + 0x10]
cmp r8, qword [rcx + 0x18]
je 0x14001ff42
mov rax, qword [rdi]
mov qword [r8], rax
add qword [rsi + 0x10], 8
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rax, qword [rsi]
mov rdx, qword [rsi + 8]
mov rcx, rdx
sub rcx, rax
jbe 0x14001ffa1
sar rcx, 3
lea rax, [rcx + 1]
shr rax, 0x3f
add rax, rcx
inc rax
sar rax, 1
mov r15, rax
neg r15
shl rax, 3
mov rbx, rdx
sub rbx, rax
mov r14, r8
sub r14, rdx
je 0x14001ff8d
mov rcx, rbx
mov r8, r14
call fcn.1400bf6c0
mov r8, qword [rsi + 8]
add rbx, r14
mov qword [rsi + 0x10], rbx
lea rax, [r8 + r15*8]
mov qword [rsi + 8], rax
mov r8, rbx
jmp 0x14001ff2b
mov rcx, r8
sub rcx, rax
sar rcx, 2
cmp r8, rax
mov ebx, 1
cmovne rbx, rcx
mov rax, rbx
shr rax, 0x3d
jne 0x14002003e
lea rcx, [rbx*8]
call fcn.1400210c0
mov rcx, rbx
and rcx, 0xfffffffffffffffc
lea rdx, [rax + rcx*2]
mov rcx, qword [rsi + 8]
mov r11, qword [rsi + 0x10]
lea r9, [rax + rbx*8]
mov r8, rdx
sub r11, rcx
je 0x140020015
mov r10, r11
sar r10, 3
and r11, 0xfffffffffffffff8
mov r8, r11
add r8, rdx
shl r10, 3
xor r11d, r11d
mov rbx, qword [rcx + r11]
mov qword [rdx + r11], rbx
add r11, 8
cmp r10, r11
jne 0x140020004
mov rcx, qword [rsi]
mov qword [rsi], rax
mov qword [rsi + 8], rdx
mov qword [rsi + 0x10], r8
mov qword [rsi + 0x18], r9
test rcx, rcx
je 0x14001ff2b
call fcn.14001ce40
mov r8, qword [rsi + 0x10]
jmp 0x14001ff2b
call fcn.1400249e0
int3
Function at 0x140020050
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov r8, qword [rcx + 0x10]
cmp r8, qword [rcx + 0x18]
je 0x140020082
mov rax, qword [rdi]
mov qword [r8], rax
add qword [rsi + 0x10], 8
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rax, qword [rsi]
mov rdx, qword [rsi + 8]
mov rcx, rdx
sub rcx, rax
jbe 0x1400200e1
sar rcx, 3
lea rax, [rcx + 1]
shr rax, 0x3f
add rax, rcx
inc rax
sar rax, 1
mov r15, rax
neg r15
shl rax, 3
mov rbx, rdx
sub rbx, rax
mov r14, r8
sub r14, rdx
je 0x1400200cd
mov rcx, rbx
mov r8, r14
call fcn.1400bf6c0
mov r8, qword [rsi + 8]
add rbx, r14
mov qword [rsi + 0x10], rbx
lea rax, [r8 + r15*8]
mov qword [rsi + 8], rax
mov r8, rbx
jmp 0x14002006b
mov rcx, r8
sub rcx, rax
sar rcx, 2
cmp r8, rax
mov ebx, 1
cmovne rbx, rcx
mov rax, rbx
shr rax, 0x3d
jne 0x14002017e
lea rcx, [rbx*8]
call fcn.1400210c0
mov rcx, rbx
and rcx, 0xfffffffffffffffc
lea rdx, [rax + rcx*2]
mov rcx, qword [rsi + 8]
mov r11, qword [rsi + 0x10]
lea r9, [rax + rbx*8]
mov r8, rdx
sub r11, rcx
je 0x140020155
mov r10, r11
sar r10, 3
and r11, 0xfffffffffffffff8
mov r8, r11
add r8, rdx
shl r10, 3
xor r11d, r11d
mov rbx, qword [rcx + r11]
mov qword [rdx + r11], rbx
add r11, 8
cmp r10, r11
jne 0x140020144
mov rcx, qword [rsi]
mov qword [rsi], rax
mov qword [rsi + 8], rdx
mov qword [rsi + 0x10], r8
mov qword [rsi + 0x18], r9
test rcx, rcx
je 0x14002006b
call fcn.14001ce40
mov r8, qword [rsi + 0x10]
jmp 0x14002006b
call fcn.1400249e0
int3

Function at 0x140020190
Capabilities:
Encode data using base64

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx]
je 0x1400201c1
mov rbx, rdx
mov rax, qword [rdi]
mov qword [rbx - 8], rax
add qword [rsi + 8], 0xfffffffffffffff8
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
mov r8, qword [rsi + 0x10]
mov rax, qword [rsi + 0x18]
cmp r8, rax
jae 0x140020213
sub rax, r8
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
lea r14, [rax + rcx]
inc r14
sar r14, 1
lea rbx, [r8 + r14*8]
mov rax, r8
sub rax, rdx
sub rbx, rax
sub r8, rdx
je 0x140020205
mov rcx, rbx
call fcn.1400bf6c0
mov rdx, qword [rsi + 0x10]
mov qword [rsi + 8], rbx
lea rax, [rdx + r14*8]
mov qword [rsi + 0x10], rax
jmp 0x1400201ab
mov rcx, rax
sub rcx, rdx
sar rcx, 2
cmp rax, rdx
mov r14d, 1
cmovne r14, rcx
mov rax, r14
shr rax, 0x3d
jne 0x1400202b9
lea rcx, [r14*8]
call fcn.1400210c0
lea rbx, [r14*2 + 6]
and rbx, 0xfffffffffffffff8
add rbx, rax
mov rcx, qword [rsi + 8]
mov r10, qword [rsi + 0x10]
lea rdx, [rax + r14*8]
mov r8, rbx
sub r10, rcx
je 0x140020290
mov r9, r10
sar r9, 3
and r10, 0xfffffffffffffff8
mov r8, r10
add r8, rbx
shl r9, 3
xor r10d, r10d
mov r11, qword [rcx + r10]
mov qword [rbx + r10], r11
add r10, 8
cmp r9, r10
jne 0x14002027f
mov rcx, qword [rsi]
mov qword [rsi], rax
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], r8
mov qword [rsi + 0x18], rdx
test rcx, rcx
je 0x1400201ab
call fcn.14001ce40
mov rbx, qword [rsi + 8]
jmp 0x1400201ab
call fcn.1400249e0
int3
Function at 0x140023210
Capabilities:
Encode data using base64

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx]
je 0x140023241
mov rbx, rdx
mov rax, qword [rdi]
mov qword [rbx - 8], rax
add qword [rsi + 8], 0xfffffffffffffff8
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
mov r8, qword [rsi + 0x10]
mov rax, qword [rsi + 0x18]
cmp r8, rax
jae 0x140023293
sub rax, r8
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
lea r14, [rax + rcx]
inc r14
sar r14, 1
lea rbx, [r8 + r14*8]
mov rax, r8
sub rax, rdx
sub rbx, rax
sub r8, rdx
je 0x140023285
mov rcx, rbx
call fcn.1400bf6c0
mov rdx, qword [rsi + 0x10]
mov qword [rsi + 8], rbx
lea rax, [rdx + r14*8]
mov qword [rsi + 0x10], rax
jmp 0x14002322b
mov rcx, rax
sub rcx, rdx
sar rcx, 2
cmp rax, rdx
mov r14d, 1
cmovne r14, rcx
mov rax, r14
shr rax, 0x3d
jne 0x140023339
lea rcx, [r14*8]
call fcn.1400210c0
lea rbx, [r14*2 + 6]
and rbx, 0xfffffffffffffff8
add rbx, rax
mov rcx, qword [rsi + 8]
mov r10, qword [rsi + 0x10]
lea rdx, [rax + r14*8]
mov r8, rbx
sub r10, rcx
je 0x140023310
mov r9, r10
sar r9, 3
and r10, 0xfffffffffffffff8
mov r8, r10
add r8, rbx
shl r9, 3
xor r10d, r10d
mov r11, qword [rcx + r10]
mov qword [rbx + r10], r11
add r10, 8
cmp r9, r10
jne 0x1400232ff
mov rcx, qword [rsi]
mov qword [rsi], rax
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], r8
mov qword [rsi + 0x18], rdx
test rcx, rcx
je 0x14002322b
call fcn.14001ce40
mov rbx, qword [rsi + 8]
jmp 0x14002322b
call fcn.1400249e0
int3
Function at 0x140027dc0
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov ecx, 0x10
call fcn.1400210c0
mov qword [rax], rdi
mov qword [rax + 8], rsi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x140081ef0]
xor ecx, ecx
xor edx, edx
mov r9, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x140027e18
xor eax, eax
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_GetLastError]

Function at 0x1400280c0
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov rax, qword [0x142221108]
mov rcx, qword [rax]
call fcn.1400211f0
mov rcx, qword [0x142201560]
call fcn.1400281b0
mov rax, rsi
shl rax, 0xf
movabs rcx, 0x7ffffffffff8000
and rcx, rax
mov qword [0x142201558], rcx
mov rcx, rsi
shl rcx, 0x14
call fcn.140028170
mov qword [0x142201560], rax
test rax, rax
je 0x140028122
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.1400278b0
mov rdi, qword [0x1400d3328]
lea rdx, str.Failed_to_allocate
mov rcx, rdi
call fcn.140018870
mov rcx, rdi
mov rdx, rsi
call fcn.14001cf50
mov rsi, rax
lea rdx, str.MB_for_transposition_table.
mov rcx, rax
call fcn.140018870
mov rcx, rsi
call fcn.1400184a0
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3

Function at 0x1400281b0
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x28
test rcx, rcx
je 0x1400281cd
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
je 0x1400281d4
add rsp, 0x28
pop rdi
pop rsi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov rdi, qword [0x1400d3328]
lea rdx, str.Failed_to_free_large_page_memory._Error_code:_0x
mov rcx, rdi
call fcn.140018870
mov rax, qword [rdi]
mov rax, qword [rax - 0x18]
mov ecx, dword [rdi + rax + 8]
and ecx, 0xffffffb5
or ecx, 8
mov dword [rdi + rax + 8], ecx
mov rcx, rdi
mov edx, esi
call fcn.140042a20
mov rcx, qword [rax]
mov rcx, qword [rcx - 0x18]
mov edx, dword [rax + rcx + 8]
and edx, 0xffffffb5
or edx, 2
mov dword [rax + rcx + 8], edx
mov rcx, rax
call fcn.1400184a0
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
Function at 0x140030470
Capabilities:
Terminate process

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
mov rsi, qword [0x1400c0048]
xor eax, eax
lock cmpxchg qword [rsi], rdi
sete bl
je 0x1400304c9
cmp rdi, rax
je 0x1400304c9
mov r14, qword [sym.imp.KERNEL32.dll_Sleep]
nop word [rax + rax]
mov ecx, 0x3e8
call r14
xor eax, eax
lock cmpxchg qword [rsi], rdi
sete bl
je 0x1400304c9
cmp rdi, rax
jne 0x1400304b0
mov rdi, qword [0x1400c0050]
mov eax, dword [rdi]
cmp eax, 1
jne 0x1400304e3
mov ecx, 0x1f
call fcn.140082d90
jmp 0x14003050a
cmp dword [rdi], 0
je 0x1400304f1
mov byte [0x1400eb458], 1
jmp 0x14003050a
mov dword [rdi], 1
mov rcx, qword [str._5_r_]
mov rdx, qword [str.85_r_]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov eax, dword [rdi]
cmp eax, 1
jne 0x14003052a
mov rcx, qword [0x1400c0058]
mov rdx, qword [0x1400c0060]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov dword [rdi], 2
test bl, bl
je 0x140030533
xor eax, eax
xchg qword [rsi], rax
mov rax, qword [0x1400c0010]
mov rax, qword [rax]
test rax, rax
je 0x140030552
xor ecx, ecx
mov edx, 2
xor r8d, r8d
call qword [0x14225d008]
call fcn.1400822c0
lea rcx, [0x140082850]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [0x1400c0040]
mov qword [rcx], rax
lea rcx, [0x1400306a0]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler
call fcn.1400822b0
movsxd rdi, dword [0x1400eb444]
lea rcx, [rdi*8 + 8]
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rsi, rax
test rdi, rdi
jle 0x1400305e2
mov ebx, edi
mov r14, qword [0x1400eb448]
xor r15d, r15d
nop word [rax + rax]
mov rcx, qword [r14 + r15*8]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea rdi, [rax + 1]
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov qword [rsi + r15*8], rax
mov rdx, qword [r14 + r15*8]
mov rcx, rax
mov r8, rdi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
inc r15
cmp rbx, r15
jne 0x1400305b0
jmp 0x1400305e4
xor ebx, ebx
mov qword [rsi + rbx*8], 0
mov qword [0x1400eb448], rsi
call fcn.140082100
mov rax, qword [0x1400eb450]
mov rcx, qword [0x1400c0018]
mov rcx, qword [rcx]
mov qword [rcx], rax
mov ecx, dword [0x1400eb444]
mov rdx, qword [0x1400eb448]
mov r8, qword [0x1400eb450]
call fcn.140027740
mov dword [0x1400eb45c], eax
cmp dword [0x1400eb43c], 0
je 0x140030654
cmp byte [0x1400eb458], 0
jne 0x140030648
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
mov eax, dword [0x1400eb45c]
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov ecx, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
Function at 0x140030d50
Capabilities:
Get thread local storage value
Print debug messages
Set thread local storage value

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xb8
mov r15, qword [0x1400c01a0]
mov rax, qword [r15]
xor rax, rsp
mov qword [rsp + 0xb0], rax
call fcn.140032640
mov ecx, dword [0x1400eb010]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x140030e97
call fcn.140032bd0
mov rsi, rax
xor eax, eax
cmp qword [0x1400d3558], 0
je 0x140030e97
test rsi, rsi
je 0x140030e97
mov dword [rsi + 0x44], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsi + 0x70], eax
xor ecx, ecx
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], 0xffffffffffffffff
lea rcx, [rsi + 0x68]
call fcn.140083330
cmp eax, 1
je 0x140030ec5
mov qword [rsi + 0x68], 0xffffffffffffffff
mov dword [rsi + 0xb8], 0
mov rdi, rsi
add rdi, 0x28
mov qword [rsi + 0x28], 0
mov r12, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call r12
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov r14, rax
call r12
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rbx
mov rdx, r14
mov r8, rax
mov r9, rdi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x140030ec0
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [rsi + 0xc0], eax
mov dword [rsi + 0xbc], 0
mov eax, dword [rsi + 0x40]
and eax, 0xffffffcf
or eax, 0x10
mov dword [rsi + 0x40], eax
mov ecx, dword [0x1400eb010]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, eax
mov rax, rsi
test ecx, ecx
je 0x140030ec0
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
mov rdx, qword [r15]
cmp rdx, rcx
jne 0x140030ebb
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.140083390
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
movups xmm0, xmmword [0x1400c018b]
movups xmmword [rsp + 0x9b], xmm0
movaps xmm0, xmmword [0x1400c0180]
movaps xmmword [rsp + 0x90], xmm0
movaps xmm0, xmmword [0x1400c0170]
movaps xmmword [rsp + 0x80], xmm0
movaps xmm0, xmmword [0x1400c0160]
movaps xmmword [rsp + 0x70], xmm0
movaps xmm0, xmmword [0x1400c0150]
movaps xmmword [rsp + 0x60], xmm0
movaps xmm0, xmmword [0x1400c0140]
movaps xmmword [rsp + 0x50], xmm0
movaps xmm0, xmmword [str.Error_cleaning_up_spin_keys_for_thread]
movaps xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rdx, [rsp + 0x67]
mov ecx, eax
mov r8d, 0xa
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__ultoa]
mov eax, 0x27
mov rcx, rax
inc rax
cmp rcx, 0x69
ja 0x140030f53
cmp byte [rsp + rcx + 0x40], 0
jne 0x140030f40
cmp rcx, 0x69
ja 0x140030f60
mov word [rsp + rax + 0x3f], 0xa
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
int3