joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140135920
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov r12, r9
mov r13, r8
mov r15, rdx
mov rbp, rcx
mov r14, qword [rsp + 0x118]
mov rdi, qword [rsp + 0x110]
mov rax, qword [0x140185028]
xor rax, rsp
mov qword [rsp + 0x90], rax
test rdi, rdi
jne 0x14013596e
call fcn.14010c910
mov rdi, rax
test r14, r14
cmove r14, rdi
mov rcx, rdi
call fcn.140069800
mov rsi, rax
lea rax, [rax*2 + 2]
cmp rax, r15
ja 0x1401359c3
lea rax, [rsi + rsi]
mov rbx, rax
not rbx
lea rcx, [r15 + rbx]
dec rcx
cmp rcx, r12
jae 0x140135a0c
mov dword [rsp + 0x20], 0x6a
lea r9, str....._third_party_boringssl_srccrypto_rsa_extra_rsa_crypt.c
xor edi, edi
mov ecx, 4
xor edx, edx
mov r8d, 0x72
jmp 0x1401359e1
mov dword [rsp + 0x20], 0x64
lea r9, str....._third_party_boringssl_srccrypto_rsa_extra_rsa_crypt.c
xor edi, edi
mov ecx, 4
xor edx, edx
mov r8d, 0x7e
call fcn.140120c40
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14009ec00
mov eax, edi
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [r15 - 1]
mov qword [rsp + 0x40], rcx
cmp rcx, rax
ja 0x140135a24
mov dword [rsp + 0x20], 0x6f
jmp 0x1401359cb
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x100]
mov byte [rbp], 0
lea r8, [rsi + rbp]
inc r8
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x38], r8
xor r9d, r9d
call fcn.140069810
xor ecx, ecx
mov edi, 0
test eax, eax
je 0x140135b90
mov rdi, qword [rsp + 0x40]
sub rdi, r12
add rbx, rdi
mov rcx, qword [rsp + 0x38]
je 0x140135a93
mov rax, qword [rsp + 0x38]
lea rcx, [rax + rsi]
xor edx, edx
mov r8, rbx
call fcn.1400a0d50
mov rcx, qword [rsp + 0x38]
lea rax, [rbp + 1]
mov qword [rsp + 0x48], rax
mov rax, rsi
not rax
add rdi, rcx
mov byte [rax + rdi], 1
test r12, r12
mov rbx, rcx
je 0x140135acb
add rbp, rsi
add rbp, r15
sub rbp, r12
sub rbp, rsi
mov rcx, rbp
mov rdx, r13
mov r8, r12
call fcn.1400a06a0
mov r13, qword [rsp + 0x48]
mov rcx, r13
mov rdx, rsi
call fcn.1400691b0
test eax, eax
je 0x140135b9a
mov r15, qword [rsp + 0x40]
sub r15, rsi
mov rcx, r15
call fcn.140041310
xor edi, edi
test rax, rax
je 0x140135ba0
mov r12, rax
mov qword [rsp + 0x20], r14
mov rcx, rax
mov rdx, r15
mov r8, r13
mov r9, rsi
call fcn.14006ca10
test eax, eax
je 0x140135b8d
cmp qword [rsp + 0x40], rsi
je 0x140135b3e
cmp r15, 1
mov rax, r15
adc rax, 0
xor ecx, ecx
mov dl, byte [r12 + rcx]
xor byte [rbx + rcx], dl
inc rcx
cmp rax, rcx
jne 0x140135b2f
movaps xmm0, xmmword [0x140155bd0]
lea rcx, [rsp + 0x50]
movaps xmmword [rcx + 0x30], xmm0
movaps xmmword [rcx + 0x20], xmm0
movaps xmmword [rcx + 0x10], xmm0
movaps xmmword [rcx], xmm0
mov qword [rsp + 0x20], r14
mov rdx, rsi
mov r8, rbx
mov r9, r15
call fcn.14006ca10
test eax, eax
je 0x140135b8d
mov edi, 1
test rsi, rsi
je 0x140135b8d
xor eax, eax
mov cl, byte [rsp + rax + 0x50]
xor byte [r13 + rax], cl
inc rax
cmp rsi, rax
jne 0x140135b7c
mov rcx, r12
call fcn.140041370
jmp 0x1401359e6
xor ecx, ecx
xor edi, edi
jmp 0x140135b90
xor ecx, ecx
jmp 0x140135b90
Function at 0x1401387f0
Capabilities:
Encrypt data using curve25519

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x110
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140185028]
xor rax, rsp
mov qword [rsp + 0x108], rax
movaps xmm0, xmmword [0x140155bd0]
lea r14, [rsp + 0xc0]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
mov edx, 0x20
mov rcx, r8
mov r8, r14
call fcn.14010cba0
and byte [r14], 0xf8
mov al, byte [r14 + 0x1f]
and al, 0x3f
or al, 0x40
mov byte [r14 + 0x1f], al
lea r15, [rsp + 0x20]
mov r8d, 0xa0
mov rcx, r15
mov dl, 0xaa
call fcn.1400a0d50
lea r8, [0x14016f600]
mov rcx, r15
mov rdx, r14
call fcn.14004e000
mov rcx, rdi
mov rdx, r15
call fcn.14013a5d0
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsi + 0x20], xmm0
movups xmmword [rsi + 0x30], xmm1
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.14009ec00
nop
add rsp, 0x110
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140055780
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
mov rax, qword [rcx + 8]
xor r14d, r14d
mov esi, r14d
mov ebp, r14d
mov rdi, rcx
nop word [rax + rax]
lea ecx, [rax + 0xff]
shl esi, cl
add esi, esi
nop word [rax + rax]
mov r10, qword [rdi]
mov ecx, dword [r10]
cmp ecx, 0x270
jne 0x140055824
lea rax, [r10 + 8]
mov r9d, ecx
nop word [rax + rax]
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
lea rax, [rax + 4]
btr r8d, 0x1f
xor r8d, dword [rax - 8]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
shr r8d, 1
and edx, 0x9908b0df
xor edx, dword [rax + 0x62c]
xor edx, r8d
mov dword [rax + 0x9b8], edx
sub r9, 1
jne 0x1400557e0
mov ecx, dword [r10]
jmp 0x140055907
cmp ecx, 0x4e0
jb 0x140055907
lea r11, [r10 + 0x9c4]
mov ebx, 0xe3
mov eax, dword [r11]
nop
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140055840
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140055890
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
mov ecx, r14d
mov dword [r10], r14d
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov ecx, edx
shr ecx, 0x12
xor ecx, edx
cmp ecx, dword [rdi + 0x10]
ja 0x1400557c0
mov rax, qword [rdi + 8]
or esi, ecx
add rbp, rax
cmp rbp, 0x20
jb 0x1400557b0
mov rbx, qword [rsp + 0x10]
mov eax, esi
mov rsi, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x28]
pop r14
ret
Function at 0x1402e9580
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1402e93ac
Function at 0x14000b9c0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400ba4b0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14000b9e0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14000b9e8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14000b9e0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000ba3d
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]
cmp rcx, r8
mov rdx, r8
jb 0x14000ba34
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14000b9e0
add rax, 0x28
cmp rax, r9
jne 0x14000ba20
xor eax, eax
ret

Function at 0x14000ba40
Capabilities:
Parse pe header

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

Function at 0x14000bb00
Capabilities:
Parse pe header

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

Function at 0x140017310
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x98
movabs rax, 0x6c6320726f727245
mov qword [rsp + 0x20], rax
movabs rax, 0x7520676e696e6165
mov qword [rsp + 0x28], rax
movabs rax, 0x6b5f6e6970732070
mov qword [rsp + 0x30], rax
movabs rax, 0x20726f6620737965
mov qword [rsp + 0x38], rax
movabs rax, 0x20646165726874
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0
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 + 0x78], 0
mov dword [rsp + 0x87], 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 0x14001741a
lea rcx, [rsp + 0x20]
mov eax, 0x28
jmp 0x1400173f2
add rax, 1
cmp rax, 0x6b
je 0x14001740f
cmp byte [rcx + rax], 0
jne 0x1400173e8
cmp eax, 0x6a
movsxd rdx, eax
je 0x14001740f
add eax, 1
cdqe
mov byte [rsp + rdx + 0x20], 0xa
mov byte [rsp + rax + 0x20], 0
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call sub.msvcrt.dll_abort
lea rcx, [rsp + 0x20]
mov eax, 0x28
mov edx, 0x27
jmp 0x140017403
Function at 0x140017790
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
cmp dword [0x1400e0d20], 1
je 0x140017808
lea rdi, [0x1400e0d20]
mov rcx, rdi
call fcn.140017090
lea rbp, [rax + 8]
mov rbx, rax
mov rcx, rbp
call fcn.1400169a0
mov esi, dword [0x1400e0d20]
test esi, esi
jne 0x140017818
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [0x1400b2158], eax
je 0x1400b1596
mov dword [0x1400e0d20], 1
mov rcx, rbp
call fcn.140016c90
test rbx, rbx
je 0x140017808
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.140017430
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp esi, 1
je 0x1400177e8
mov ecx, 2
call qword [fcn.140014de0]
mov r9d, esi
mov r8, rdi
lea rdx, str._once__p_is__d_n
mov rcx, rax
call sub.msvcrt.dll_fprintf
jmp 0x1400177e8
call sub.msvcrt.dll_abort
nop

Function at 0x140017840
Capabilities:
Set thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
call fcn.140017540
cmp qword [0x1400e3048], 0
mov rbx, rax
je 0x140017958
test rax, rax
je 0x140017958
mov dword [rax + 0x44], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov edx, 1
mov dword [rbx + 0x70], eax
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x38], 0xffffffffffffffff
lea rcx, [rbx + 0x68]
mov qword [rbx + 0x30], rax
call fcn.140016f90
cmp eax, 1
je 0x140017966
mov rbp, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbx + 0x68], 0xffffffffffffffff
mov dword [rbx + 0xb8], 0
mov qword [rbx + 0x28], 0
call rbp
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rsi, rax
call rbp
mov dword [rsp + 0x30], 2
mov r8, rdi
mov rdx, rsi
mov dword [rsp + 0x28], 0
lea r9, [rbx + 0x28]
mov rcx, rax
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je fcn.1400b159c
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov ecx, dword [0x1400b2158]
mov rdx, rbx
mov dword [rbx + 0xbc], 0
mov dword [rbx + 0xc0], eax
movzx eax, byte [rbx + 0x40]
and eax, 0xffffffcf
or eax, 0x10
mov byte [rbx + 0x40], al
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14001796c
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
call fcn.140017310
nop
jmp fcn.1400b159c

Function at 0x140017980
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.140017790
mov ecx, dword [0x1400b2158]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400179a0
add rsp, 0x28
ret
add rsp, 0x28
jmp fcn.140017840
Function at 0x140018110
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov eax, dword [rcx]
test rdx, rdx
mov rbx, rcx
mov rsi, rdx
je 0x140018238
cmp eax, 1
je 0x14001816b
call fcn.140017090
lea rbp, [rax + 8]
mov rdi, rax
mov rcx, rbp
call fcn.1400169a0
mov r12d, dword [rbx]
test r12d, r12d
je 0x140018180
cmp r12d, 1
jne 0x140018210
mov rcx, rbp
call fcn.140016c90
test rdi, rdi
je 0x14001816b
mov rcx, rdi
call fcn.140017430
xor eax, eax
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
lea rax, [0x140017510]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call fcn.140017790
mov ecx, dword [0x1400b2158]
mov r12, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call r12
test rax, rax
je 0x140018278
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x30], rax
lock or qword [rsp], 0
call fcn.140017790
mov ecx, dword [0x1400b2158]
call r12
test rax, rax
je 0x140018260
lea rdx, [rsp + 0x20]
mov qword [rax + 0x18], rdx
lock or qword [rsp], 0
call rsi
call fcn.140017790
mov ecx, dword [0x1400b2158]
call r12
test rax, rax
je 0x140018250
mov rdx, qword [rsp + 0x30]
mov qword [rax + 0x18], rdx
mov dword [rbx], 1
jmp 0x140018156
mov ecx, 2
call qword [fcn.140014de0]
mov r9d, r12d
mov r8, rbx
lea rdx, str._once__p_is__d_n
mov rcx, rax
call sub.msvcrt.dll_fprintf
jmp 0x140018156
mov eax, 0x16
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call fcn.140017840
test rax, rax
jne 0x1400181f9
jmp 0x1400b15b5
call fcn.140017840
test rax, rax
jne 0x1400181d5
jmp 0x1400b15ce
call fcn.140017840
test rax, rax
jne 0x1400181af
jmp 0x1400b15c4
mov rax, qword [rsp + 0x30]
mov qword [0], rax
ud2
mov rax, qword [pe_dos_header]
ud2
lea rax, [rsp + 0x20]
mov qword [0], rax
ud2

Function at 0x140018500
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov esi, ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.140017790
mov ecx, dword [0x1400b2158]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x140018578
lea rbp, [rbx + 0x68]
xor r12d, r12d
mov rcx, rbp
call fcn.140016fa0
cmp esi, dword [rbx + 0x48]
jae 0x140018553
mov rax, qword [rbx + 0x58]
cmp byte [rax + rsi], 0
je 0x140018553
mov rax, qword [rbx + 0x50]
mov r12, qword [rax + rsi*8]
mov rcx, rbp
call fcn.140016fe0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call fcn.140017840
mov rbx, rax
jmp 0x14001852d
Function at 0x140018590
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
movaps xmmword [rsp + 0x20], xmm6
mov esi, ecx
mov r12, rdx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
call fcn.140017790
mov ecx, dword [0x1400b2158]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x1400186a0
lea r14, [rbx + 0x68]
mov rcx, r14
call fcn.140016fa0
cmp esi, dword [rbx + 0x48]
jae 0x140018620
mov rdi, qword [rbx + 0x50]
mov qword [rdi + rsi*8], r12
mov rax, qword [rbx + 0x58]
mov rcx, r14
mov byte [rax + rsi], 1
call fcn.140016fe0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rbx + 0x50]
lea r15d, [rsi + 1]
movsxd r13, r15d
lea rdx, [r13*8]
call sub.msvcrt.dll_realloc
test rax, rax
mov rdi, rax
je 0x1400186ad
mov rcx, qword [rbx + 0x58]
mov rdx, r13
movq xmm6, rdi
call sub.msvcrt.dll_realloc
movq xmm0, rax
test rax, rax
mov r13, rax
punpcklqdq xmm6, xmm0
je 0x1400186ad
mov eax, dword [rbx + 0x48]
mov edx, r15d
lea rcx, [rdi + rax*8]
sub edx, eax
lea r8, [rdx*8]
xor edx, edx
call sub.msvcrt.dll_memset
mov edx, dword [rbx + 0x48]
mov r8d, r15d
lea rcx, [r13 + rdx]
sub r8d, edx
xor edx, edx
call sub.msvcrt.dll_memset
movaps xmmword [rbx + 0x50], xmm6
mov dword [rbx + 0x48], r15d
jmp 0x1400185e4
call fcn.140017840
mov rbx, rax
jmp 0x1400185cf
mov rcx, r14
call fcn.140016fe0
mov eax, 0xc
jmp 0x140018602

Function at 0x140018730
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.140017790
mov ecx, dword [0x1400b2158]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140018758
mov rax, qword [rax + 0x30]
add rsp, 0x28
ret
call fcn.140017840
test rax, rax
jne 0x14001874a
add rsp, 0x28
ret

Function at 0x1400187c0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.140017790
mov ecx, dword [0x1400b2158]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400187e8
add rax, 0x18
add rsp, 0x28
ret
call fcn.140017840
test rax, rax
jne 0x1400187da
jmp 0x1400187de

Function at 0x140018900
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1400e0d28]
test eax, eax
jne 0x140018918
xor eax, eax
add rsp, 0x28
ret
call fcn.140017790
mov ecx, dword [0x1400b2158]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140018948
mov edx, dword [rax + 0x20]
test edx, edx
jg 0x14001890e
test byte [rax + 0x40], 3
je 0x14001890e
mov eax, dword [rax + 0x44]
and eax, 1
jmp 0x140018910
call fcn.140017840
test rax, rax
jne 0x14001892e
jmp 0x14001890e
Function at 0x140018960
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
call fcn.140017790
mov ecx, dword [0x1400b2158]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400189a0
test ebx, ebx
jle 0x140018990
lock add dword [rax + 0x20], 1
add rsp, 0x20
pop rbx
ret
lock sub dword [rax + 0x20], 1
add rsp, 0x20
pop rbx
ret
call fcn.140017840
test rax, rax
jne 0x14001897d
add rsp, 0x20
pop rbx
ret

Function at 0x140018a90
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.140017790
mov ecx, dword [0x1400b2158]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x140018b08
test byte [rbx + 0x40], 0xc
jne 0x140018abf
mov eax, dword [0x1400e0d28]
test eax, eax
jne 0x140018ad0
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.1400169a0
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x140018af3
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x140018af3
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x140018b1c
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.140016c90
call fcn.140017840
test rax, rax
mov rbx, rax
jne 0x140018aaf
add rsp, 0x28
pop rbx
pop rsi
ret
mov rcx, qword [rbx + 0x30]
and eax, 0xfffffff3
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x140018b3a
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.140016c90
call fcn.1400189b0
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x140018bc0
call fcn.140016760
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x140018bf8
call fcn.140017790
mov ecx, dword [0x1400b2158]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x140018c50
test esi, esi
je 0x140018bd6
call fcn.140018a90
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140018c30
mov edx, edi
call fcn.140016810
call fcn.140018a90
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.140017790
mov ecx, dword [0x1400b2158]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140018c40
call fcn.140018a90
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140018a90
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.140017790
mov ecx, dword [0x1400b2158]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
jne 0x140018b95
call fcn.140017840
mov rbx, rax
jmp 0x140018b95
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140018bae
call fcn.140017840
jmp 0x140018bd6
call fcn.140017840
mov rbx, rax
jmp 0x140018b91
Function at 0x140018b50
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.140017790
mov ecx, dword [0x1400b2158]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x140018b08
test byte [rbx + 0x40], 0xc
jne 0x140018abf
mov eax, dword [0x1400e0d28]
test eax, eax
jne 0x140018ad0
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.1400169a0
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x140018af3
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x140018af3
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x140018b1c
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.140016c90
call fcn.140017840
test rax, rax
mov rbx, rax
jne 0x140018aaf
add rsp, 0x28
pop rbx
pop rsi
ret
mov rcx, qword [rbx + 0x30]
and eax, 0xfffffff3
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x140018b3a
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.140016c90
call fcn.1400189b0
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x140018bc0
call fcn.140016760
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x140018bf8
call fcn.140017790
mov ecx, dword [0x1400b2158]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x140018c50
test esi, esi
je 0x140018bd6
call fcn.140018a90
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140018c30
mov edx, edi
call fcn.140016810
call fcn.140018a90
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.140017790
mov ecx, dword [0x1400b2158]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140018c40
call fcn.140018a90
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140018a90
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.140017790
mov ecx, dword [0x1400b2158]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
jne 0x140018b95
call fcn.140017840
mov rbx, rax
jmp 0x140018b95
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140018bae
call fcn.140017840
jmp 0x140018bd6
call fcn.140017840
mov rbx, rax
jmp 0x140018b91

Function at 0x140018c60
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov esi, ecx
call fcn.140017790
mov ecx, dword [0x1400b2158]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x140018cd0
test esi, esi
je 0x140018cb0
call fcn.140018a90
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140018ce0
mov edx, esi
call fcn.140016810
call fcn.140018a90
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.140018a90
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140018a90
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.140017840
mov rbx, rax
jmp 0x140018c81
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140018c9a
Function at 0x140077320
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbp, qword [sym.imp.msvcrt.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
jmp 0x140077347
call rbp
cmp dword [rax], 4
jne 0x140077364
mov rcx, rdi
call fcn.140077150
mov r8d, ebx
mov rdx, rsi
mov ecx, eax
call sub.msvcrt.dll__read
cmp eax, 0xffffffff
movsxd r12, eax
je 0x140077340
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x1406eb00b
Capabilities:
Encode data using xor

Disassembly:
mov r8, qword [rsp + 0x20]
movabs rdi, 0x572f25fe08f0622f
bswap r10
js 0x1407696d3
push 0xffffffff8706c335
int 0x3e
cli
push rcx
xor byte [rdi], bl
xchg ebp, eax
invalid

Function at 0x140836fc9
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], 0xffffffffb27794e3
push r9
lea rsp, [rsp + 0x18]
call fcn.140854ed1
rcr ebp, cl
std
out 0xb4, eax
mov ebx, 0xd74a9202
adc byte [rcx + rcx*4], 0x4a
add esp, dword [rdi - 0x71]
jbe 0x14083703b
fiadd word [rcx]
add bl, dl
invalid
invalid
invalid
shr dword [rdx - 0x7e], cl
invalid
mov ch, 0x98
in eax, 0xae
mov ecx, dword [rdx + 0x36]
ja 0x140837014
cmp eax, 0xfceb765
jg 0x140836fed
cmp eax, 0xe6827d36
or ah, ch
or dword [rsi - 0x4af99d61], esp
jbe 0x140836fdb
invalid