joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1eabc1ea0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1eabf30a0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1eabf3080]
test rbx, rbx
je 0x1eabc1efc
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x1eabc1ef3
test eax, eax
jne 0x1eabc1ef3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1eabc1ed8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x1eabc2110
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1eabc2128
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1eabc2130
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x1eabc2140
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x1eabc218d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x1eabc2184
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1eabc218f
add rax, 0x28
cmp rax, r9
jne 0x1eabc2170
xor eax, eax
ret

Function at 0x1eabc2190
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x1eabc2220
mov rdx, qword [0x1eabeafc0]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x1eabc220e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1eabc220e
cmp word [rax + 0x18], 0x20b
jne 0x1eabc220e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x1eabc2220
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x1eabc21f9
add rbx, 0x28
cmp rbx, rdi
je 0x1eabc2220
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x1eabc21f0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x1eabc2230
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1eabeafc0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1eabc2250
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1eabc2258
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1eabc2250
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1eabc22ad
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1eabc22a4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1eabc2250
add rax, 0x28
cmp rax, r9
jne 0x1eabc2290
xor eax, eax
ret
Function at 0x1eabc22b0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1eabeafc0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1eabc22cf
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1eabc22d8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1eabc22cf
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1eabc22f0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x1eabeafc0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1eabc2310
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1eabc2318
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1eabc2310
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x1eabc2360
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1eabc2357
test rcx, rcx
je 0x1eabc2310
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x1eabc2348
xor eax, eax
ret

Function at 0x1eabc2370
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1eabeafc0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1eabc238f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1eabc2398
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x1eabc23b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1eabeafc0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1eabc23d0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1eabc23d8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1eabc23d0
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x1eabc23d0
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x1eabc2424
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1eabc2430
add rdx, 0x28
cmp rdx, r9
jne 0x1eabc2410
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x1eabc2440
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x1eabeafc0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x1eabc2462
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1eabc2470
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1eabc2462
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x1eabc2462
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x1eabc2462
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x1eabc24c5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1eabc24d8
add rdx, 0x28
cmp r10, rdx
jne 0x1eabc24b0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1eabc24e7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1eabc24f7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1eabc24ce
test ecx, ecx
jg 0x1eabc24e0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x1eabc2f10
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
lea rcx, str.msvcrt.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rsi, qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.rand_s
mov rcx, rax
call rsi
test rax, rax
je 0x1eabc2f58
mov rcx, rbx
mov qword [dbg.init_rand_s], rax
add rsp, 0x28
pop rbx
pop rsi
jmp rax
lea rcx, str.advapi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, str.SystemFunction036
mov rcx, rax
call rsi
mov qword [0x1eabf3130], rax
lea rax, [dbg.mingw_rand_s]
jmp 0x1eabc2f3e

Function at 0x1eabc3910
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1eabe9098], eax
cmp eax, 0xffffffff
je sym.pthread_tls_init.cold
add rsp, 0x28
ret

Function at 0x1eabc3930
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x98
movabs rax, 0x6c6320726f727245
movabs rdx, 0x7520676e696e6165
mov qword [rsp + 0x20], rax
movabs rax, 0x6b5f6e6970732070
mov qword [rsp + 0x28], rdx
movabs rdx, 0x20726f6620737965
mov qword [rsp + 0x30], rax
movabs rax, 0x20646165726874
mov qword [rsp + 0x38], rdx
xor edx, edx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x7b], 0
mov qword [rsp + 0x83], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rdx, [rsp + 0x47]
mov r8d, 0xa
mov ecx, eax
call qword [sym.imp.msvcrt.dll__ultoa]
cmp byte [rsp + 0x47], 0
je 0x1eabc3a32
mov eax, 0x28
lea rcx, [rsp + 0x20]
jmp 0x1eabc3a0a
add rax, 1
cmp rax, 0x6b
je 0x1eabc3a27
cmp byte [rcx + rax], 0
jne 0x1eabc3a00
lea edx, [rax + 1]
cmp eax, 0x6a
je 0x1eabc3a27
cdqe
mov byte [rsp + rax + 0x20], 0xa
movsxd rax, edx
mov byte [rsp + rax + 0x20], 0
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call sym.abort
mov edx, 0x28
mov eax, 0x27
lea rcx, [rsp + 0x20]
jmp 0x1eabc3a18
Function at 0x1eabc3f90
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
cmp dword [0x1eabf31a0], 1
je 0x1eabc4036
lea rdi, [0x1eabe9080]
lea rsi, [0x1eabf31a0]
mov rcx, rdi
call sym.test.dll_pthread_spin_lock
mov rbx, qword [0x1eabf3150]
test rbx, rbx
jne 0x1eabc3fe0
jmp 0x1eabc41d3
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x1eabc41a0
mov rbx, rax
cmp qword [rbx], rsi
jne 0x1eabc3fd0
add dword [rbx + 0x10], 1
lea rsi, [rbx + 8]
mov rcx, rdi
call sym.test.dll_pthread_spin_unlock
mov rcx, rsi
call sym.test.dll_pthread_mutex_lock
mov edi, dword [0x1eabf31a0]
test edi, edi
jne 0x1eabc4060
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1eabe9098], eax
cmp eax, 0xffffffff
je sym.__pthread_self_lite.cold
mov dword [0x1eabf31a0], 1
mov rcx, rsi
call sym.test.dll_pthread_mutex_unlock
mov rcx, rbx
call sym.leaveOnceObject.part.0
mov ecx, dword [0x1eabe9098]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x1eabc4090
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp edi, 1
je 0x1eabc4026
mov ecx, 2
call qword [dbg.__acrt_iob_func]
mov r9d, edi
lea r8, [0x1eabf31a0]
lea rdx, str._once__p_is__d_n
mov rcx, rax
call sym.fprintf
jmp 0x1eabc4026
call sym.pop_pthread_mem
cmp qword [sym.test.dll___xl_f], 0
mov rsi, rax
je 0x1eabc404a
test rax, rax
je 0x1eabc404a
mov dword [rax + 0x44], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor ecx, ecx
xor r9d, r9d
xor r8d, r8d
mov dword [rsi + 0x70], eax
mov edx, 1
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rsi + 0x38], 0xffffffffffffffff
lea rcx, [rsi + 0x68]
mov qword [rsi + 0x30], rax
call sym.test.dll_pthread_spin_destroy
cmp eax, 1
je 0x1eabc41f8
mov rbp, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsi + 0x68], 0xffffffffffffffff
mov dword [rsi + 0xb8], 0
mov qword [rsi + 0x28], 0
call rbp
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rbx, rax
call rbp
mov dword [rsp + 0x30], 2
mov r8, rdi
mov rdx, rbx
mov dword [rsp + 0x28], 0
mov rcx, rax
lea r9, [rsi + 0x28]
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je sym.__pthread_self_lite.cold
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov ecx, dword [0x1eabe9098]
mov rdx, rsi
mov dword [rsi + 0xbc], 0
mov dword [rsi + 0xc0], eax
movzx eax, byte [rsi + 0x40]
and eax, 0xffffffcf
or eax, 0x10
mov byte [rsi + 0x40], al
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je sym.__pthread_self_lite.cold
mov rbx, rsi
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov edx, 0x20
mov ecx, 1
call sym.calloc
mov qword [rax], rsi
mov dword [rax + 0x10], 1
mov qword [rbx + 0x18], rax
mov rbx, rax
lea rsi, [rbx + 8]
xor edx, edx
mov rcx, rsi
call sym.test.dll_pthread_mutex_init
jmp 0x1eabc3fed
mov edx, 0x20
mov ecx, 1
call sym.calloc
mov qword [rax], rsi
mov rbx, rax
mov dword [rax + 0x10], 1
mov qword [0x1eabf3150], rax
jmp 0x1eabc41c0
call sym.replace_spin_keys.part.0
nop
nop
Function at 0x1eabc4680
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
test edx, edx
jne 0x1eabc46a0
test r8, r8
je 0x1eabc4750
mov eax, 1
add rsp, 0x28
pop rbx
pop rsi
ret
cmp edx, 1
je 0x1eabc4780
cmp edx, 3
jne 0x1eabc4693
mov ecx, dword [0x1eabe9098]
cmp ecx, 0xffffffff
je 0x1eabc4693
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x1eabc4693
test byte [rax + 0x40], 0x30
je 0x1eabc47a8
mov rcx, qword [rax + 0x1d8]
test rcx, rcx
je 0x1eabc46e2
call sym._pthread_cleanup_dest.part.0
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x1eabc4707
mov rsi, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rsi
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x1eabc46ff
call rsi
pxor xmm0, xmm0
movups xmmword [rbx + 0x28], xmm0
lea rcx, [rbx + 0x38]
call sym.test.dll_pthread_mutex_destroy
lea rcx, [rbx + 0x68]
call sym.test.dll_pthread_spin_destroy
cmp eax, 1
je 0x1eabc487c
cmp qword [rbx + 0x1d0], 0
mov qword [rbx + 0x68], 0xffffffffffffffff
je 0x1eabc486f
mov ecx, dword [0x1eabe9098]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x1eabc4693
mov rcx, qword [0x1eabf3160]
test rcx, rcx
je 0x1eabc4693
call qword [sym.imp.KERNEL32.dll_RemoveVectoredExceptionHandler]
mov qword [0x1eabf3160], 0
jmp 0x1eabc4693
lea rdx, [sym.SetThreadName_VEH]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
mov qword [0x1eabf3160], rax
mov eax, 1
add rsp, 0x28
pop rbx
pop rsi
ret
mov rcx, qword [rax + 0x30]
mov eax, dword [rax + 0xbc]
test eax, eax
jne 0x1eabc4820
test rcx, rcx
je 0x1eabc47c1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x1d8]
mov qword [rbx + 0x30], 0
mov dword [rbx + 0xbc], 1
test rcx, rcx
je 0x1eabc47e4
call sym._pthread_cleanup_dest.part.0
test byte [rbx + 0x44], 4
je 0x1eabc4860
mov rcx, qword [rbx + 0x28]
mov dword [rbx], 0xdeadbeef
test rcx, rcx
je 0x1eabc4707
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x28], 0
lea rcx, [rbx + 0x38]
call sym.test.dll_pthread_mutex_destroy
lea rcx, [rbx + 0x68]
jmp 0x1eabc4714
test rcx, rcx
je 0x1eabc4860
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x30], 0
lea rcx, [rbx + 0x38]
call sym.test.dll_pthread_mutex_destroy
lea rcx, [rbx + 0x68]
call sym.test.dll_pthread_spin_destroy
cmp eax, 1
je 0x1eabc487c
mov qword [rbx + 0x68], 0xffffffffffffffff
jmp 0x1eabc4693
lea rcx, [rbx + 0x38]
call sym.test.dll_pthread_mutex_destroy
lea rcx, [rbx + 0x68]
jmp 0x1eabc4840
mov rcx, rbx
call sym.push_pthread_mem.part.0
jmp 0x1eabc4738
call sym.replace_spin_keys.part.0
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x1eabc5ae0
Capabilities:
Hijack thread execution
Resume thread
Suspend thread

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rdi, [0x1eabe9088]
mov rbx, rcx
mov rcx, rdi
mov esi, edx
call sym.test.dll_pthread_mutex_lock
mov rax, qword [0x1eabf3178]
test rax, rax
je 0x1eabc5b50
mov r9, qword [0x1eabf3180]
lea r8, [rax - 1]
xor ecx, ecx
cmp rax, 1
jne 0x1eabc5b2e
jmp 0x1eabc5bc8
cmp rcx, rax
je 0x1eabc5b50
lea r8, [rax - 1]
cmp r8, rcx
jb 0x1eabc5b50
lea rax, [rcx + r8]
shr rax, 1
mov rdx, rax
shl rdx, 4
add rdx, r9
cmp rbx, qword [rdx + 8]
je 0x1eabc5b68
jb 0x1eabc5b20
lea rcx, [rax + 1]
cmp r8, rcx
jae 0x1eabc5b2e
mov rcx, rdi
call sym.test.dll_pthread_mutex_unlock
mov eax, 3
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov rax, qword [rdx]
test rax, rax
je 0x1eabc5b50
cmp qword [rax + 0x1d8], rbx
jne 0x1eabc5b50
test byte [rax + 0x40], 0xc
jne 0x1eabc5b50
mov edx, dword [rax + 0xbc]
test edx, edx
jne 0x1eabc5b50
mov rax, qword [rax + 0x28]
sub rax, 1
cmp rax, 0xfffffffffffffffd
ja 0x1eabc5b50
mov rcx, rdi
call sym.test.dll_pthread_mutex_unlock
test esi, esi
je 0x1eabc5bc0
sub esi, 2
cmp esi, 0x15
ja 0x1eabc5bd3
mov rcx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp sym.test.dll_pthread_cancel
xor eax, eax
jmp 0x1eabc5b5d
cmp rbx, qword [r9 + 8]
jne 0x1eabc5b50
mov rax, qword [r9]
jmp 0x1eabc5b6b
mov eax, 0x16
jmp 0x1eabc5b5d
Function at 0x1eabc5e80
Capabilities:
Create thread
Resume thread

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rbp, rcx
mov rdi, rdx
mov rsi, r8
mov r12, r9
call sym.pop_pthread_mem
mov rbx, rax
test rax, rax
je 0x1eabc60b4
test rbp, rbp
je 0x1eabc5ebb
mov rax, qword [rax + 0x1d8]
mov qword [rbp], rax
mov r13, qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rbx + 0x44], 1
mov dword [rbx + 0xbc], 0
mov qword [rbx + 0x28], 0xffffffffffffffff
mov r14, r13
mov qword [rbx + 8], r12
mov r12, qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x10], rsi
xor esi, esi
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call r12
mov qword [rbx + 0x30], rax
test rax, rax
jne 0x1eabc5f30
test esi, esi
jne 0x1eabc5f20
xor ecx, ecx
mov esi, 1
call r14
jmp 0x1eabc5eef
add esi, 1
mov ecx, 0x14
call r13
cmp esi, 5
jne 0x1eabc5eef
mov qword [rbx + 0x38], 0xffffffffffffffff
lea r12, [rbx + 0x68]
mov rcx, r12
call sym.test.dll_pthread_spin_destroy
cmp eax, 1
je 0x1eabc60da
cmp qword [rbx + 0x30], 0
mov dword [rbx], 0xbab1f00d
mov qword [rbx + 0x68], 0xffffffffffffffff
mov dword [rbx + 0xc0], 0
mov dword [rbx + 0xb8], 0
je 0x1eabc609d
xor edx, edx
test rdi, rdi
je 0x1eabc5f9d
mov eax, dword [rdi]
mov rsi, qword [rdi + 0x10]
mov dword [rbx + 0x44], eax
test al, 8
jne 0x1eabc60c0
mov eax, dword [rdi + 0x18]
mov dword [rbx + 0xc0], eax
mov edx, esi
lea r8, [sym.test.dll_pthread_create_wrapper]
mov r9, rbx
xor ecx, ecx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
call qword [sym.imp.msvcrt.dll__beginthreadex]
mov rsi, rax
lea rax, [rax - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1eabc6068
mov eax, dword [rbx + 0xc0]
mov edx, 0xfffffff1
cmp eax, 0xfffffff2
jge 0x1eabc6040
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
test byte [rbx + 0x44], 4
jne 0x1eabc6020
mov qword [rbx + 0x28], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rcx, rsi
mov qword [rbx + 0x28], 0
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1eabc6007
mov edx, 0xfffffffe
cmp eax, 0xffffffff
jl 0x1eabc5fe1
mov edx, 2
cmp eax, edx
cmovle edx, eax
cmp eax, 0xf
mov eax, 0xf
cmovge edx, eax
jmp 0x1eabc5fe1
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x1eabc6077
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbx + 0x38]
call sym.test.dll_pthread_mutex_destroy
mov rcx, r12
call sym.test.dll_pthread_spin_destroy
cmp eax, 1
je 0x1eabc60da
mov qword [rbx + 0x68], 0xffffffffffffffff
pxor xmm0, xmm0
movups xmmword [rbx + 0x28], xmm0
test rbp, rbp
je 0x1eabc60aa
mov qword [rbp], 0
cmp qword [rbx + 0x1d0], 0
je 0x1eabc60d0
mov eax, 0xb
jmp 0x1eabc6011
call sym.__pthread_self_lite
mov eax, dword [rax + 0xc0]
jmp 0x1eabc5f95
mov rcx, rbx
call sym.push_pthread_mem.part.0
jmp 0x1eabc60b4
call sym.replace_spin_keys.part.0
nop
Function at 0x1eabd8610
Capabilities:
Read file on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rax, qword [rcx + 8]
mov rdi, rcx
test rax, rax
je 0x1eabd8638
mov rcx, qword [rcx]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
jmp rax
mov rbp, qword [sym.imp.msvcrt.dll__errno]
mov ebx, 4
lea rsi, [rsp + 0x2c]
nop dword [rax]
mov ecx, dword [rdi + 0x10]
mov r8d, ebx
mov rdx, rsi
call sym.read
test eax, eax
jle 0x1eabd8680
cdqe
add rsi, rax
sub rbx, rax
jne 0x1eabd8650
mov eax, dword [rsp + 0x2c]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp eax, 0xffffffff
jne 0x1eabd868c
call rbp
cmp dword [rax], 4
je 0x1eabd8650
lea rcx, str.random_device_could_not_be_read
call method.std.__throw_runtime_error_char_const_
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x1eabd89b0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rax, qword [rcx + 8]
mov rdi, rcx
test rax, rax
je 0x1eabd89d8
mov rcx, qword [rcx]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
jmp rax
mov rbp, qword [sym.imp.msvcrt.dll__errno]
mov ebx, 4
lea rsi, [rsp + 0x2c]
nop dword [rax]
mov ecx, dword [rdi + 0x10]
mov r8d, ebx
mov rdx, rsi
call sym.read
test eax, eax
jle 0x1eabd8a20
cdqe
add rsi, rax
sub rbx, rax
jne 0x1eabd89f0
mov eax, dword [rsp + 0x2c]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp eax, 0xffffffff
jne 0x1eabd8a2c
call rbp
cmp dword [rax], 4
je 0x1eabd89f0
lea rcx, str.random_device_could_not_be_read
call method.std.__throw_runtime_error_char_const_
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x1eabe8990
Capabilities:
Query environment variable

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
xor edx, edx
lea rcx, [0x1eabe9120]
lea rbp, str.obj_count
movabs rsi, 0x2e78786362696c67
movabs rdi, 0x6c6f6f705f68652e
call sym.test.dll_pthread_mutex_init
pxor xmm0, xmm0
lea rcx, str.GLIBCXX_TUNABLES
mov qword [0x1eabe9138], 0
movups xmmword [0x1eabe9128], xmm0
call sym.getenv
mov dword [rsp + 0x40], 0
mov rbx, rax
lea rax, str.obj_size
mov qword [rsp + 0x30], 8
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], 9
mov qword [rsp + 0x50], rbp
mov dword [rsp + 0x58], 0x100
test rbx, rbx
jne 0x1eabe8a45
jmp 0x1eabe8af7
mov rcx, rbx
mov edx, 0x3a
call sym.strchr
mov rbx, rax
test rax, rax
je 0x1eabe8aa8
xor eax, eax
cmp byte [rbx], 0x3a
sete al
add rbx, rax
cmp qword [rbx], rsi
jne 0x1eabe8a30
cmp qword [rbx + 7], rdi
jne 0x1eabe8a30
cmp byte [rbx + 0xf], 0x2e
jne 0x1eabe8a30
movabs rax, 0x657a69735f6a626f
lea r12, [rbx + 0x10]
cmp qword [rbx + 0x10], rax
jne 0x1eabe8a7f
cmp byte [rbx + 0x18], 0x3d
je 0x1eabe8b2d
mov r8d, 9
mov rdx, r12
mov rcx, rbp
call sym.memcmp
test eax, eax
jne 0x1eabe8a9e
cmp byte [rbx + 0x19], 0x3d
je 0x1eabe8b6f
mov rbx, r12
jmp 0x1eabe8a30
mov eax, dword [rsp + 0x58]
mov edx, 0x1000
mov ecx, 6
cmp eax, edx
cmovle edx, eax
mov eax, dword [rsp + 0x40]
test eax, eax
cmove eax, ecx
movsxd rbx, eax
movsxd rax, edx
add rbx, 0x26
imul rbx, rax
shl rbx, 3
mov qword [0x1eabe9138], rbx
jne 0x1eabe8b07
lea rcx, [sym.__tcf_0]
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp sym.atexit
mov qword [0x1eabe9138], 0x16000
mov ebx, 0x16000
mov rcx, rbx
call sym.malloc
mov qword [0x1eabe9130], rax
test rax, rax
je 0x1eabe8b7b
xor edx, edx
mov qword [0x1eabe9128], rax
mov qword [rax], rbx
mov qword [rax + 8], rdx
jmp 0x1eabe8adf
mov eax, 8
lea r13, [rsp + 0x30]
lea rdx, [rsp + 0x28]
lea rcx, [r12 + rax + 1]
xor r8d, r8d
call sym.strtoul
mov rbx, qword [rsp + 0x28]
movzx edx, byte [rbx]
cmp dl, 0x3a
je 0x1eabe8b5e
test dl, dl
jne 0x1eabe8a30
test eax, eax
js 0x1eabe8a30
mov dword [r13 + 0x10], eax
jmp 0x1eabe8a30
mov eax, 9
lea r13, [rsp + 0x48]
jmp 0x1eabe8b37
xor ecx, ecx
mov qword [0x1eabe9138], rcx
jmp 0x1eabe8adf
Function at 0x140001b10
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
lea r10, [0x140287880]
xor edx, edx
mov r8, r10
nop dword [rax]
mov ecx, edx
lea r8, [r8 + 4]
and ecx, 1
mov eax, edx
shr eax, 1
neg ecx
and ecx, 0xedb88320
inc edx
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [r8 - 4], eax
cmp edx, 0x100
jb 0x140001b20
lea rax, [0x140287884]
mov r9d, 0x1c0
nop dword [rax]
mov r8d, dword [rax - 4]
lea rax, [rax + 0x10]
movzx edx, r8b
shr r8d, 8
xor r8d, dword [r10 + rdx*4]
mov dword [rax + 0x3ec], r8d
mov r8d, dword [rax - 0x10]
movzx edx, r8b
shr r8d, 8
xor r8d, dword [r10 + rdx*4]
mov dword [rax + 0x3f0], r8d
mov r8d, dword [rax - 0xc]
movzx edx, r8b
shr r8d, 8
xor r8d, dword [r10 + rdx*4]
mov dword [rax + 0x3f4], r8d
mov r8d, dword [rax - 8]
movzx edx, r8b
shr r8d, 8
xor r8d, dword [r10 + rdx*4]
mov dword [rax + 0x3f8], r8d
sub r9, 1
jne 0x140001bd0
lea rax, [0x140001c50]
mov qword [0x140287870], rax
ret