joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a05e2
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rax, r8
mov rbx, rdx
mov rsi, rcx
lea rdi, [rsp + 0x58]
mov r8d, 0xb
mov rcx, rdi
mov rdx, rax
call fcn.1400a0712
lea r13, [rsp + 0x38]
mov dword [r13], 0x800
lea r15, [rsp + 0x3c]
and dword [r15], 0
lea r12, [rsp + 0x40]
mov edx, 0x800
mov rcx, r12
call fcn.14008e81d
mov rdi, qword [rdi + 8]
mov r14, qword [rsp + 0x48]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9, r15
call sub.advapi32.dll_RegQueryValueExW
cmp eax, 0xea
jne 0x1400a0671
mov edx, dword [rsp + 0x38]
mov rcx, r12
call fcn.1400e8864
jmp 0x1400a063c
test eax, eax
jne 0x1400a0693
mov eax, dword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x3c]
cmp eax, 0xb
jbe 0x1400a06bb
movabs rax, 0xde00000002
jmp 0x1400a069b
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rcx, qword [rsp + 0x40]
mov rdx, r14
call fcn.14004f086
jmp 0x1400a06cf
mov rcx, qword [rsp + 0x50]
mov qword [rsi + 0x10], rcx
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
mov byte [rsi + 0x18], al
mov rcx, qword [rsp + 0x58]
mov rdx, rdi
call fcn.1400605df
nop
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x1400a65b0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae 0x1400a65d5
cmp rax, rcx
je 0x1400a65db
cmp rdx, 4
jae 0x1400a65e2
xor eax, eax
xor r8d, r8d
jmp 0x1400a6680
pop rbp
jmp fcn.140025a30
xor eax, eax
jmp 0x1400a6697
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x1400edb60]
movdqa xmm3, xmmword [0x1400edb70]
pxor xmm1, xmm1
nop word cs:[rax + rax]
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x1400a6610
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x1400a6697
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x1400a6680
pop rbp
ret
Function at 0x1400a7590
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
lea rbp, [rsp + 0x40]
mov r10, qword [rcx]
test r10, r10
je 0x1400a7614
mov r11, qword [rcx + 8]
mov r8, qword [rcx + 0x10]
cmp r8, r11
jae 0x1400a7614
movzx eax, byte [r10 + r8]
cmp eax, 0x49
mov rbx, rcx
je 0x1400a762d
cmp eax, 0x42
jne 0x1400a7614
lea rsi, [r8 + 1]
mov qword [rcx + 0x10], rsi
mov r9b, 1
cmp rsi, r11
jae 0x1400a775d
cmp byte [r10 + rsi], 0x5f
jne 0x1400a76ec
lea rax, [r8 + 2]
mov qword [rcx + 0x10], rax
xor eax, eax
cmp rax, r8
jae 0x1400a775d
mov edx, dword [rcx + 0x18]
inc edx
cmp edx, 0x1f4
jbe 0x1400a77b7
mov dil, 1
xor r9d, r9d
jmp 0x1400a775f
xor edx, edx
call fcn.1400a31b0
mov esi, eax
add sil, sil
mov eax, esi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
inc r8
mov qword [rcx + 0x10], r8
xor edx, edx
call fcn.1400a31b0
test al, al
jne 0x1400a779d
mov rdx, rbx
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400a766c
lea rdx, [0x140251acb]
mov r8d, 1
call fcn.140025f90
mov rdx, rbx
test al, al
jne 0x1400a779d
mov rax, qword [rdx]
mov sil, 1
test rax, rax
je 0x1400a7620
xor r14d, r14d
lea rdi, [0x140251e21]
nop word cs:[rax + rax]
mov rcx, qword [rdx + 0x10]
cmp rcx, qword [rdx + 8]
jae 0x1400a76a4
cmp byte [rax + rcx], 0x45
je 0x1400a77f0
sub r14, 1
jb 0x1400a76cc
mov rcx, qword [rdx + 0x20]
test rcx, rcx
je 0x1400a76cc
mov r8d, 2
mov rdx, rdi
call fcn.140025f90
mov rdx, rbx
test al, al
jne 0x1400a779d
mov rcx, rdx
call fcn.1400a4a10
test al, al
jne 0x1400a779d
mov rdx, rbx
mov rax, qword [rbx]
test rax, rax
jne 0x1400a7690
jmp 0x1400a7620
xor eax, eax
mov r14d, 0x3e
nop word cs:[rax + rax]
movzx edx, byte [r10 + rsi]
cmp dl, 0x5f
je 0x1400a774d
lea edi, [rdx - 0x30]
cmp dil, 0xa
jb 0x1400a772f
lea edi, [rdx - 0x61]
cmp dil, 0x1a
jae 0x1400a7721
add dl, 0xa9
jmp 0x1400a772d
lea edi, [rdx - 0x41]
cmp dil, 0x1a
jae 0x1400a775d
add dl, 0xe3
mov edi, edx
inc rsi
mov qword [rcx + 0x10], rsi
mul r14
jo 0x1400a775d
movzx edx, dil
xor edi, edi
add rax, rdx
jb 0x1400a775f
cmp rsi, r11
jb 0x1400a7700
jmp 0x1400a775f
inc rsi
mov qword [rcx + 0x10], rsi
inc rax
jne 0x1400a75ef
xor edi, edi
mov rax, qword [rcx + 0x20]
test rax, rax
je 0x1400a77a5
mov ecx, r9d
xor cl, 1
movzx ecx, cl
lea r8, [rcx + rcx*8]
add r8, 0x10
lea rcx, str.invalid_syntaxrecursion_limit_reached_for_____::closureshim_as__mut_const___dyn___unsafe_extern__
lea rdx, [0x140251e00]
test r9b, r9b
cmovne rdx, rcx
mov rcx, rax
call fcn.140025f90
mov rcx, rbx
test al, al
je 0x1400a77a5
mov sil, 2
jmp 0x1400a7620
mov qword [rcx], 0
mov byte [rcx + 8], dil
xor esi, esi
jmp 0x1400a7620
cmp qword [rcx + 0x20], 0
je 0x1400a77b0
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movaps xmmword [rbp - 0x10], xmm1
movaps xmmword [rbp - 0x20], xmm0
mov qword [rcx + 0x10], rax
mov dword [rcx + 0x18], edx
mov rsi, rcx
call fcn.1400a7590
movaps xmm0, xmmword [rbp - 0x20]
movaps xmm1, xmmword [rbp - 0x10]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x1400a7622
inc rcx
mov qword [rdx + 0x10], rcx
jmp 0x1400a7620
Function at 0x1400a9de1
Capabilities:
Get client handle via schannel
Get outbound credentials handle via credssp

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xb0
movabs rax, 0x8000000000000000
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0x60], 4
mov dword [rsp + 0xa8], 0x400010
cmp qword [rcx + 0x18], rax
je 0x1400a9e4d
mov edx, dword [rcx + 0x28]
mov dword [rsp + 0x88], edx
mov rdx, qword [rcx + 0x20]
mov qword [rsp + 0x90], rdx
cmp qword [rcx + 0x30], rax
je 0x1400a9e88
mov rax, qword [rcx + 0x40]
test rax, rax
je 0x1400a9e7f
mov r8, qword [rcx + 0x38]
xor edx, edx
lea r9, [0x14027dbe8]
xor r10d, r10d
movzx r11d, byte [r8 + r10]
or edx, dword [r9 + r11*4]
inc r10
cmp rax, r10
jne 0x1400a9e6c
jmp 0x1400a9e81
xor edx, edx
mov dword [rsp + 0x98], edx
mov rsi, qword [rcx + 0x10]
test rsi, rsi
je 0x1400a9edf
lea rbx, [rsi*8]
mov rax, rsi
shr rax, 0x3c
jne 0x1400a9fa7
mov r15, qword [rcx + 8]
mov r14d, 8
mov ecx, 8
mov rdx, rbx
call fcn.1400a9562
test rax, rax
je 0x1400a9faa
mov rdi, rax
xor eax, eax
mov rcx, qword [r15 + rax*8]
mov qword [rdi + rax*8], rcx
inc rax
cmp rsi, rax
jne 0x1400a9ecb
mov eax, esi
jmp 0x1400a9ee8
xor esi, esi
mov edi, 8
xor eax, eax
lea rcx, [rsp + 0x60]
mov dword [rcx + 4], eax
mov qword [rcx + 8], rdi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x20], rcx
and qword [rsp + 0x40], 0
lea rdx, [0x1402521a3]
xor ecx, ecx
mov r8d, 2
xor r9d, r9d
call sub.secur32.dll_AcquireCredentialsHandleA
test eax, eax
je 0x1400a9f3e
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov r14d, 1
jmp 0x1400a9f79
mov r14, qword [rsp + 0x50]
mov r15, qword [rsp + 0x58]
mov ecx, 8
mov edx, 0x20
xor r8d, r8d
call fcn.1400a956a
test rax, rax
je 0x1400a9fb5
mov rbx, rax
mov eax, 1
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r15
xor r14d, r14d
test rsi, rsi
je 0x1400a9f92
shl rsi, 3
mov edx, 8
mov rcx, rdi
mov r8, rsi
call fcn.14000f250
mov rax, r14
mov rdx, rbx
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor r14d, r14d
mov rcx, r14
mov rdx, rbx
call fcn.1400228b0
mov ecx, 8
mov edx, 0x20
call fcn.140022910
int3

Function at 0x1400aa636
Capabilities:
Get remote cert context via schannel

Disassembly:
sub rsp, 0x28
lea r8, [rsp + 0x20]
and qword [r8], 0
mov edx, 0x53
call sub.secur32.dll_QueryContextAttributesW
mov edx, eax
xor eax, eax
test edx, edx
setne cl
jne 0x1400aa65f
mov rdx, qword [rsp + 0x20]
jmp 0x1400aa667
shl rdx, 0x20
or rdx, 2
mov al, cl
add rsp, 0x28
ret
Function at 0x1400aad51
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm14
movaps xmmword [rsp + 0x70], xmm13
movaps xmmword [rsp + 0x60], xmm12
movaps xmmword [rsp + 0x50], xmm11
movaps xmmword [rsp + 0x40], xmm10
movaps xmmword [rsp + 0x30], xmm9
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x10], xmm7
movaps xmmword [rsp], xmm6
aesimc xmm0, xmmword [rdx + 0x10]
aesimc xmm1, xmmword [rdx + 0x20]
aesimc xmm2, xmmword [rdx + 0x30]
aesimc xmm3, xmmword [rdx + 0x40]
aesimc xmm4, xmmword [rdx + 0x50]
aesimc xmm5, xmmword [rdx + 0x60]
aesimc xmm6, xmmword [rdx + 0x70]
aesimc xmm7, xmmword [rdx + 0x80]
aesimc xmm8, xmmword [rdx + 0x90]
aesimc xmm9, xmmword [rdx + 0xa0]
aesimc xmm10, xmmword [rdx + 0xb0]
aesimc xmm11, xmmword [rdx + 0xc0]
aesimc xmm12, xmmword [rdx + 0xd0]
movaps xmm13, xmmword [rdx]
movaps xmm14, xmmword [rdx + 0xe0]
movaps xmmword [rcx], xmm13
movdqa xmmword [rcx + 0x10], xmm0
movdqa xmmword [rcx + 0x20], xmm1
movdqa xmmword [rcx + 0x30], xmm2
movdqa xmmword [rcx + 0x40], xmm3
movdqa xmmword [rcx + 0x50], xmm4
movdqa xmmword [rcx + 0x60], xmm5
movdqa xmmword [rcx + 0x70], xmm6
movdqa xmmword [rcx + 0x80], xmm7
movdqa xmmword [rcx + 0x90], xmm8
movdqa xmmword [rcx + 0xa0], xmm9
movdqa xmmword [rcx + 0xb0], xmm10
movdqa xmmword [rcx + 0xc0], xmm11
movdqa xmmword [rcx + 0xd0], xmm12
movaps xmmword [rcx + 0xe0], xmm14
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x50]
movaps xmm12, xmmword [rsp + 0x60]
movaps xmm13, xmmword [rsp + 0x70]
movaps xmm14, xmmword [rsp + 0x80]
add rsp, 0x98
ret
Function at 0x1400ad7a4
Capabilities:
Hash data using murmur3

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
mov r10d, r8d
rol r10d, 0x19
mov eax, dword [rdx]
mov esi, eax
rol esi, 0x19
mov r11d, dword [rdx + 4]
mov ebp, r11d
rol ebp, 0x19
mov edi, dword [rdx + 8]
mov r14d, edi
rol r14d, 0x19
mov ebx, r8d
rol ebx, 0xe
xor ebx, r10d
mov r15d, eax
rol r15d, 0xe
xor r15d, esi
mov r12d, r11d
rol r12d, 0xe
xor r12d, ebp
mov ebp, edi
rol ebp, 0xe
mov r10, qword [rsp + 0x60]
xor ebp, r14d
shr r8d, 3
mov esi, eax
shr esi, 3
xor esi, r15d
add esi, r11d
shr r11d, 3
xor r11d, r12d
add r11d, edi
shr edi, 3
xor edi, ebp
add edi, dword [rdx + 0xc]
add esi, dword [r9]
add r11d, dword [r9 + 4]
add edi, dword [r9 + 8]
mov edx, dword [r10 + 4]
mov ebp, edx
rol ebp, 0xf
xor r8d, ebx
mov ebx, edx
rol ebx, 0xd
mov r9d, dword [r10]
xor ebx, ebp
shr edx, 0xa
xor edx, ebx
add edx, edi
mov edi, r9d
rol edi, 0xf
mov ebx, r9d
rol ebx, 0xd
xor ebx, edi
shr r9d, 0xa
mov edi, edx
rol edi, 0xf
xor r9d, ebx
mov ebx, edx
rol ebx, 0xd
add r9d, r11d
xor ebx, edi
mov r11d, edx
shr r11d, 0xa
xor r11d, ebx
mov edi, r9d
rol edi, 0xf
add r11d, esi
mov esi, r9d
rol esi, 0xd
xor esi, edi
mov edi, r9d
shr edi, 0xa
xor edi, esi
add eax, dword [r10 + 0xc]
add eax, r8d
add eax, edi
mov dword [rcx], eax
mov dword [rcx + 4], r11d
mov dword [rcx + 8], r9d
mov dword [rcx + 0xc], edx
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

Function at 0x1400ae0e5
Capabilities:
Hash data using sha256 via x86 extensions

Disassembly:
movaps xmm0, xmmword [rdx]
sha256msg1 xmm0, xmmword [r8]
movaps xmmword [rcx], xmm0
ret

Function at 0x1400ae101
Capabilities:
Hash data using sha256 via x86 extensions

Disassembly:
movaps xmm0, xmmword [rdx]
sha256msg2 xmm0, xmmword [r8]
movaps xmmword [rcx], xmm0
ret
Function at 0x1400aeaed
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
mov eax, edx
lea r9, [rsp + 0x34]
mov dword [r9], r8d
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, eax
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x1400aeb19
xor eax, eax
jmp 0x1400aeb1e
call fcn.14000c6ed
nop
add rsp, 0x38
ret

Function at 0x1400af800
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x140254f90]
movaps xmmword [rbp], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov rax, rbp
mov qword [rsp + 0x20], rax
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call sub.ntdll.dll_NtWriteFile
cmp eax, 0x103
jne 0x1400af86f
mov rcx, rsi
mov edx, 0xffffffff
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [rbp]
cmp eax, 0x103
je 0x1400af89b
test eax, eax
js 0x1400af87b
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x1400af891
mov ecx, eax
call sub.ntdll.dll_RtlNtStatusToDosError
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xa8
pop rsi
pop rbp
ret
mov dword [rbp + 0x18], 0
mov byte [rbp + 0x1c], 0
lea rax, [0x140254ff8]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x18]
lea rdx, [rbp - 0x38]
call fcn.1400af150
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.1400af1d0
mov ecx, 7
int 0x29
ud2

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

Disassembly:
push rbp
push rsi
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov ecx, dword [0x1400eb110]
test ecx, ecx
je 0x1400afec5
dec ecx
call fcn.1400e8d54
cmp rax, 2
jb 0x1400afe06
cmp qword [rax + 8], 0
je 0x1400afe06
add rax, 0x10
jmp 0x1400afebe
mov ecx, dword [0x1400eb110]
test ecx, ecx
je 0x1400afed8
dec ecx
call fcn.1400e8d54
cmp rax, 1
je 0x1400afebc
test rax, rax
jne 0x1400afe82
mov qword [rbp - 8], 0
lea rax, [0x1400eb0f8]
mov qword [rbp - 0x10], rax
movzx eax, byte [0x140291108]
mov edx, 0x18
xor ecx, ecx
call fcn.1400d2fa0
test rax, rax
je 0x1400aff04
mov rcx, qword [rbp]
mov qword [rax + 0x10], rcx
movups xmm0, xmmword [rbp - 0x10]
movups xmmword [rax], xmm0
mov ecx, dword [0x1400eb110]
test ecx, ecx
je 0x1400afeeb
dec ecx
mov rdx, rax
mov rsi, rax
call fcn.1400e8d5c
mov rax, rsi
mov rdx, rax
add rax, 0x10
mov rcx, qword [rdx + 0x10]
cmp qword [rdx + 8], 0
mov qword [rdx + 8], 1
mov qword [rdx + 0x10], 0
je 0x1400afebe
test rcx, rcx
je 0x1400afebe
lock dec qword [rcx]
jne 0x1400afebe
mov rsi, rax
call fcn.1400affc0
mov rax, rsi
jmp 0x1400afebe
xor eax, eax
add rsp, 0x38
pop rsi
pop rbp
ret
lea rcx, [0x1400eb0f8]
call fcn.1400b0080
mov ecx, eax
jmp 0x1400afdeb
lea rcx, [0x1400eb0f8]
call fcn.1400b0080
mov ecx, eax
jmp 0x1400afe16
lea rcx, [0x1400eb0f8]
mov rsi, rax
call fcn.1400b0080
mov ecx, eax
mov rax, rsi
jmp 0x1400afe74
mov ecx, 8
mov edx, 0x18
call fcn.140022910
ud2
Function at 0x1400b0080
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov rsi, rcx
cmp qword [rcx], 0
je 0x1400b0115
mov rax, qword [0x140294038]
mov dword [rbp], 0
lea rbx, [rsi + 0x10]
mov r8, rbp
mov rcx, rbx
xor edx, edx
xor r9d, r9d
call sub.kernel32.dll_InitOnceBeginInitialize
mov dword [rbp + 4], eax
cmp eax, 1
jne 0x1400b0154
cmp dword [rbp], 0
je 0x1400b0138
call sub.kernel32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x1400b0177
mov edi, eax
mov rax, qword [0x1402910e0]
nop word cs:[rax + rax]
mov qword [rsi + 8], rax
lock cmpxchg qword [0x1402910e0], rsi
jne 0x1400b00f0
mov eax, edi
inc eax
mov dword [rsi + 0x18], eax
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.kernel32.dll_InitOnceComplete
jmp 0x1400b0149
call sub.kernel32.dll_TlsAlloc
mov dword [rbp + 4], eax
cmp eax, 0xffffffff
je 0x1400b01b9
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x1400b013d
mov edi, dword [rbp + 4]
jmp 0x1400b0149
mov edi, dword [rsi + 0x18]
jmp 0x1400b0147
mov edi, eax
mov ecx, dword [rbp + 4]
call sub.kernel32.dll_TlsFree
dec edi
mov eax, edi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov qword [rbp - 0x30], 0
lea rdx, [0x140255150]
lea r9, str.library_std_src_syspalwindows_thread_local_key.rs
lea rcx, [rbp + 4]
lea r8, [rbp - 0x30]
call fcn.1400b0220
mov rcx, rbx
mov edx, 4
xor r8d, r8d
call sub.kernel32.dll_InitOnceComplete
lea rax, str.out_of_TLS_indexes
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 1
mov qword [rbp - 0x20], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
lea rdx, str.library_std_src_syspalwindows_thread_local_key.rs
lea rcx, [rbp - 0x30]
call fcn.140025560
lea rax, str.out_of_TLS_indexes
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 1
mov qword [rbp - 0x20], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
lea rcx, [rbp + 4]
lea rdx, [rbp - 0x30]
call fcn.1400b0260
int3

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

Disassembly:
push rbp
push rsi
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov ecx, dword [0x1400eb0b0]
test ecx, ecx
je 0x1400b094d
dec ecx
call fcn.1400e8d54
cmp rax, 2
jb 0x1400b08dc
cmp byte [rax + 8], 0
jne 0x1400b093e
mov ecx, dword [0x1400eb0b0]
test ecx, ecx
je 0x1400b0960
dec ecx
call fcn.1400e8d54
cmp rax, 1
je 0x1400b0944
test rax, rax
jne 0x1400b0938
movzx eax, byte [0x140291108]
mov edx, 0x10
xor ecx, ecx
call fcn.1400d2fa0
test rax, rax
je 0x1400b0989
lea rcx, [0x1400eb098]
mov qword [rax], rcx
mov byte [rax + 8], 0
mov ecx, dword [0x1400eb0b0]
test ecx, ecx
je 0x1400b0973
dec ecx
mov rdx, rax
mov rsi, rax
call fcn.1400e8d5c
mov rax, rsi
mov word [rax + 8], 1
add rax, 9
jmp 0x1400b0946
xor eax, eax
add rsp, 0x28
pop rsi
pop rbp
ret
lea rcx, [0x1400eb098]
call fcn.1400b0080
mov ecx, eax
jmp 0x1400b08cb
lea rcx, [0x1400eb098]
call fcn.1400b0080
mov ecx, eax
jmp 0x1400b08e8
lea rcx, [0x1400eb098]
mov rsi, rax
call fcn.1400b0080
mov ecx, eax
mov rax, rsi
jmp 0x1400b092a
mov ecx, 8
mov edx, 0x10
call fcn.140022910
int3
Function at 0x1400b0e60
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov ecx, dword [0x1400eb090]
test ecx, ecx
je 0x1400b0f24
dec ecx
call fcn.1400e8d54
cmp rax, 2
jb 0x1400b0e96
cmp qword [rax + 8], 0
je 0x1400b0e96
add rax, 0x10
jmp 0x1400b0f1d
mov ecx, dword [0x1400eb090]
test ecx, ecx
je 0x1400b0f37
dec ecx
call fcn.1400e8d54
cmp rax, 1
je 0x1400b0f1b
test rax, rax
jne 0x1400b0efe
movzx eax, byte [0x140291108]
mov edx, 0x20
xor ecx, ecx
call fcn.1400d2fa0
test rax, rax
je 0x1400b0f60
lea rcx, [0x1400eb078]
mov qword [rax], rcx
mov qword [rax + 8], 0
mov ecx, dword [0x1400eb090]
test ecx, ecx
je 0x1400b0f4a
dec ecx
mov rdx, rax
mov rsi, rax
call fcn.1400e8d5c
mov rax, rsi
mov qword [rax + 8], 1
mov rcx, rax
add rax, 0x10
mov qword [rcx + 0x10], 0
mov byte [rcx + 0x18], 0
jmp 0x1400b0f1d
xor eax, eax
add rsp, 0x28
pop rsi
pop rbp
ret
lea rcx, [0x1400eb078]
call fcn.1400b0080
mov ecx, eax
jmp 0x1400b0e7b
lea rcx, [0x1400eb078]
call fcn.1400b0080
mov ecx, eax
jmp 0x1400b0ea6
lea rcx, [0x1400eb078]
mov rsi, rax
call fcn.1400b0080
mov ecx, eax
mov rax, rsi
jmp 0x1400b0ef0
mov ecx, 8
mov edx, 0x20
call fcn.140022910
int3
Function at 0x1400b4c50
Capabilities:
Read file via mapping

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xd0
lea rbp, [rsp + 0x80]
mov rax, r8
mov rsi, rcx
mov dword [rbp + 8], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov dword [rbp + 0x20], 7
mov qword [rbp + 0x24], 0
mov word [rbp + 0x2c], 0
mov byte [rbp + 0x28], 1
lea r8, [rbp + 8]
mov rcx, rdx
mov rdx, rax
call fcn.1400cc990
mov rdi, rdx
test rax, rax
je 0x1400b4cd7
mov qword [rbp - 0x40], rax
lea rcx, [rbp - 0x38]
mov qword [rbp - 0x38], rdi
call fcn.1400af1f0
mov qword [rsi], 0
add rsp, 0xd0
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea rcx, [rbp + 8]
mov rdx, rdi
call fcn.1400ccbe0
cmp dword [rbp + 8], 2
jne 0x1400b4cfb
mov rax, qword [rbp + 0x10]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 2
jmp 0x1400b4d2a
movups xmm0, xmmword [rbp + 8]
movups xmm1, xmmword [rbp + 0x18]
movups xmm2, xmmword [rbp + 0x28]
movups xmm3, xmmword [rbp + 0x38]
movaps xmmword [rbp - 0x40], xmm0
mov rax, qword [rbp + 0x48]
mov qword [rbp], rax
movaps xmmword [rbp - 0x10], xmm3
movaps xmmword [rbp - 0x20], xmm2
movaps xmmword [rbp - 0x30], xmm1
cmp qword [rbp - 0x40], 2
jne 0x1400b4d53
lea rcx, [rbp - 0x38]
call fcn.1400af1f0
mov qword [rsi], 0
mov rcx, rdi
add rsp, 0xd0
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
jmp fcn.1400e8b5c
mov r12, qword [rbp - 8]
test rdi, rdi
je 0x1400b4da1
mov qword [rbp - 0x40], 0
call sub.kernel32.dll_GetCurrentProcess
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rbp - 0x40]
mov rcx, rax
mov rdx, rdi
mov r8, rax
call sub.kernel32.dll_DuplicateHandle
test eax, eax
je 0x1400b4e1d
mov rbx, qword [rbp - 0x40]
jmp 0x1400b4da3
xor ebx, ebx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rbx
xor edx, edx
mov r8d, 2
xor r9d, r9d
call sub.kernel32.dll_CreateFileMappingA
test rax, rax
je 0x1400b4e0c
mov r14, rax
mov qword [rsp + 0x20], r12
mov rcx, rax
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call sub.kernel32.dll_MapViewOfFile
mov r15, rax
mov rcx, r14
call fcn.1400e8b5c
test r15, r15
je 0x1400b4e0c
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r12
mov qword [rsi], 1
jmp 0x1400b4e46
mov qword [rsi], 0
mov rcx, rbx
call fcn.1400e8b5c
jmp 0x1400b4e46
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rbp + 8], 1
lea rcx, [rbp + 0x10]
mov qword [rbp + 0x10], rax
call fcn.1400af1f0
mov qword [rsi], 0
mov rcx, rdi
call fcn.1400e8b5c
jmp 0x1400b4cc5