joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140084edb
Capabilities:
Decrypt data via sspi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
mov rsi, rcx
mov r8, qword [rdx + 0x98]
mov rcx, qword [rdx + 0x80]
mov rdx, qword [rdx + 0x90]
lea r9, str._Users_no_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs___
call fcn.140084c47
xor ecx, ecx
test rax, rax
cmove edx, ecx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rcx + 0x30], xmm0
mov dword [rcx], edx
mov dword [rcx + 4], 1
mov qword [rcx + 8], rax
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movabs rax, 0x400000000
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
lea rcx, [rdi + 0xc0]
xor r8d, r8d
xor r9d, r9d
call sub.secur32.dll_DecryptMessage
cmp eax, 0x80090318
je 0x140084fb8
test eax, eax
je 0x140084fd4
cmp eax, 0x90317
je 0x14008504d
cmp eax, 0x90321
jne 0x140085055
mov dword [rdi + 0x40], 0x10000
xor ebx, ebx
mov byte [rdi + 0x44], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x98]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.140084e76
and qword [rdi + 0xf8], 0
mov byte [rsi + 1], bl
jmp 0x140085063
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0xf8], rax
mov byte [rsi + 1], 0
jmp 0x140085051
mov r8, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x80]
mov rdx, qword [rdi + 0x90]
sub r8, rcx
mov r9d, dword [rsp + 0x30]
add r9, r8
lea rbx, [rdi + 0x60]
and qword [rdi + 0x70], 0
call fcn.14008506d
lea r8, [rdx + rax]
mov rcx, rbx
mov rdx, rax
call fcn.1401267c0
and qword [rdi + 0x78], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x98]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.140084e76
xor eax, eax
cmp qword [rdi + 0x98], rbx
sete al
mov qword [rdi + 0xf8], rax
mov byte [rsi + 1], 0
jmp 0x140085063
mov byte [rsi + 1], 1
xor ebx, ebx
jmp 0x140085063
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
mov byte [rsi], bl
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
Function at 0x14008567d
Capabilities:
Receive data
Receive data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rdi, r8
mov rsi, rcx
mov qword [rcx + 0x38], rdx
mov rcx, r8
call fcn.140085453
mov rbx, rax
mov r14, rdx
lea r15, [rsp + 0x28]
mov rcx, rsi
call fcn.14008552a
test rdx, rdx
jne 0x140085351
mov rcx, r15
mov rdx, rsi
call fcn.140083e72
mov eax, dword [rsp + 0x28]
cmp eax, 2
je 0x1400853dc
test eax, eax
je 0x140085351
cmp qword [rsi + 0xf8], 0
je 0x140085334
mov rcx, r15
mov rdx, rsi
call fcn.140084cb3
cmp qword [rsp + 0x28], 0
jne 0x1400853dc
cmp qword [rsp + 0x30], 0
je 0x140085351
and qword [rsi + 0xf8], 0
mov rcx, r15
mov rdx, rsi
call fcn.140084edb
cmp byte [rsp + 0x28], 0
jne 0x1400853dc
cmp byte [rsp + 0x29], 0
je 0x1400852da
mov rcx, rsi
call fcn.14008552a
mov r13, rax
mov r15, rdx
test rax, rax
je 0x1400853e1
cmp r14, r15
mov r12, r15
cmovb r12, r14
lea r9, str._Users_no_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs___
mov rcx, r12
mov rdx, rbx
mov r8, r14
call fcn.140084c69
mov rbx, rax
mov r14, rdx
lea r9, str._Users_no_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs___
mov rcx, r13
mov rdx, r15
mov r8, r12
call fcn.14007e297
mov r9, rdx
lea rcx, str._Users_no_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs___
mov qword [rsp + 0x20], rcx
mov rcx, rbx
mov rdx, r14
mov r8, rax
call fcn.14006ac00
mov rax, qword [rsi + 0x78]
add rax, r12
cmp rax, qword [rsi + 0x70]
ja 0x140085422
mov qword [rsi + 0x78], rax
mov rcx, rdi
mov rdx, r12
call fcn.1400854c0
xor r15d, r15d
jmp 0x140085408
mov r15, qword [rsp + 0x30]
mov qword [rsp + 0x28], r15
mov rcx, r15
call fcn.14004cf65
cmp al, 0xd
jne 0x140085408
and qword [rsi + 0x38], 0
lea rcx, [rsp + 0x28]
call fcn.140079220
mov eax, 1
jmp 0x14008540f
and qword [rsi + 0x38], 0
xor eax, eax
mov rdx, r15
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.assertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
lea r8, str._Users_no_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs___
mov edx, 0x3b
call fcn.140036270
ud2
cmp dword [rcx], 2
jne 0x1400852ae
add rcx, 8
jmp fcn.140114769
Function at 0x140086e99
Capabilities:
Decrypt data via sspi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
mov rsi, rcx
mov r8, qword [rdx + 0x198]
mov rcx, qword [rdx + 0x180]
mov rdx, qword [rdx + 0x190]
lea r9, str._Users_no_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs___
call fcn.140084c47
xor ecx, ecx
test rax, rax
cmove edx, ecx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rcx + 0x30], xmm0
mov dword [rcx], edx
mov dword [rcx + 4], 1
mov qword [rcx + 8], rax
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movabs rax, 0x400000000
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
lea rcx, [rdi + 0x1c0]
xor r8d, r8d
xor r9d, r9d
call sub.secur32.dll_DecryptMessage
cmp eax, 0x80090318
je 0x140086f7c
test eax, eax
je 0x140086f9b
cmp eax, 0x90317
je 0x14008701d
cmp eax, 0x90321
jne 0x140087025
mov dword [rdi + 0x140], 0x10000
xor ebx, ebx
mov byte [rdi + 0x144], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x198]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.140086e39
and qword [rdi + 0x1f8], 0
mov byte [rsi + 1], bl
jmp 0x140087033
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x1f8], rax
mov byte [rsi + 1], 0
jmp 0x140087021
mov r8, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x180]
mov rdx, qword [rdi + 0x190]
sub r8, rcx
mov r9d, dword [rsp + 0x30]
add r9, r8
lea rbx, [rdi + 0x160]
and qword [rdi + 0x170], 0
call fcn.14008506d
lea r8, [rdx + rax]
mov rcx, rbx
mov rdx, rax
call fcn.1401267c0
and qword [rdi + 0x178], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x198]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.140086e39
xor eax, eax
cmp qword [rdi + 0x198], rbx
sete al
mov qword [rdi + 0x1f8], rax
mov byte [rsi + 1], 0
jmp 0x140087033
mov byte [rsi + 1], 1
xor ebx, ebx
jmp 0x140087033
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
mov byte [rsi], bl
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400bdfe8
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 rdi, rcx
lea rcx, [rsp + 0x58]
mov r8d, 0xb
mov rdx, rax
call fcn.1400bde28
mov dword [rsp + 0x38], 0x800
and dword [rsp + 0x3c], 0
mov ecx, 0x800
call fcn.14006d750
lea r15, [rsp + 0x40]
mov qword [r15], rax
mov qword [r15 + 8], rdx
and qword [r15 + 0x10], 0
mov rsi, qword [rsp + 0x58]
lea r13, [rsp + 0x38]
lea r12, [rsp + 0x3c]
mov r14, qword [rsp + 0x40]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov rcx, rbx
mov rdx, rsi
xor r8d, r8d
mov r9, r12
call sub.advapi32.dll_RegQueryValueExW
cmp eax, 0xea
jne 0x1400be07f
mov edx, dword [rsp + 0x38]
mov rcx, r15
call fcn.140126bd9
jmp 0x1400be04a
test eax, eax
jne 0x1400be0a1
mov eax, dword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x3c]
cmp eax, 0xb
jbe 0x1400be0bf
movabs rax, 0xde00000002
jmp 0x1400be0a9
shl rax, 0x20
or rax, 2
mov qword [rdi], rax
mov byte [rdi + 0x18], 0xc
mov rdx, qword [rsp + 0x48]
mov rcx, r14
call fcn.1400cb90d
jmp 0x1400be0d3
mov rcx, qword [rsp + 0x50]
mov qword [rdi + 0x10], rcx
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rdi], xmm0
mov byte [rdi + 0x18], al
mov rdx, qword [rsp + 0x60]
mov rcx, rsi
call fcn.140126bc3
nop
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400c82b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov r9, qword [rcx]
test r9, r9
je 0x1400c830b
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x1400c830b
movzx eax, byte [r9 + rcx]
cmp eax, 0x49
je 0x1400c8326
cmp eax, 0x42
jne 0x1400c830b
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x1400c83d6
cmp byte [r9 + r11], 0x5f
jne 0x1400c83d6
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x1400c843e
mov rcx, rsi
xor edx, edx
call fcn.1400c39e0
mov edi, eax
add dil, dil
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
inc rcx
mov qword [rsi + 0x10], rcx
mov rcx, rsi
xor edx, edx
call fcn.1400c39e0
test al, al
jne 0x1400c84d1
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1400c8362
lea rdx, [0x140275063]
mov r8d, 1
call fcn.140035f30
test al, al
jne 0x1400c84d1
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x1400c831a
xor r14d, r14d
lea rbx, [0x140275418]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x1400c8394
cmp byte [rax + rcx], 0x45
je 0x1400c84f3
sub r14, 1
jb 0x1400c83b9
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1400c83b9
mov r8d, 2
mov rdx, rbx
call fcn.140035f30
test al, al
jne 0x1400c84d1
mov rcx, rsi
call fcn.1400c52a0
test al, al
jne 0x1400c84d1
mov rax, qword [rsi]
test rax, rax
jne 0x1400c8380
jmp 0x1400c831a
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r8b, 1
cmp r11, r10
jae 0x1400c8498
movzx edx, byte [r9 + r11]
cmp dl, 0x5f
je 0x1400c8432
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x1400c841c
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x1400c840b
add dl, 0xa9
jmp 0x1400c841a
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x1400c8498
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x1400c8498
movzx edx, bl
add rax, rdx
jae 0x1400c83e0
jmp 0x1400c8498
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x1400c8498
cmp rax, rcx
jae 0x1400c8495
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x1400c84eb
cmp qword [rsi + 0x20], 0
je 0x1400c84e4
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsi + 0x10], rax
mov dword [rsi + 0x18], ecx
mov rcx, rsi
call fcn.1400c82b0
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x1400c831c
mov r8b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1400c84d9
lea rax, str.invalid_syntaxrecursion_limit_reached
lea rdx, [0x1402753d8]
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
or r8, 0x10
call fcn.140035f30
test al, al
je 0x1400c84d9
mov dil, 2
jmp 0x1400c831a
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x1400c831a
mov dil, 1
xor r8d, r8d
jmp 0x1400c849a
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x1400c831a
Function at 0x1400cadab
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, 0xd0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0xc0], xmm0
movups xmmword [rsp + 0xb0], xmm0
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [rsp + 0x90], xmm0
mov dword [rsp + 0x80], 4
mov dword [rsp + 0xc8], 0x400010
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x1400cae12
mov edx, dword [rcx + 0x28]
mov dword [rsp + 0xa8], edx
mov qword [rsp + 0xb0], rax
mov rax, qword [rcx + 0x30]
test rax, rax
je 0x1400cae4f
mov rdx, qword [rcx + 0x40]
test rdx, rdx
je 0x1400cae44
xor r9d, r9d
lea r10, [0x1402a7918]
xor r8d, r8d
movzx r11d, byte [rax + r9]
or r8d, dword [r10 + r11*4]
inc r9
cmp rdx, r9
jne 0x1400cae31
jmp 0x1400cae47
xor r8d, r8d
mov dword [rsp + 0xb8], r8d
mov rsi, qword [rcx + 0x10]
test rsi, rsi
je 0x1400caea8
xor ebx, ebx
mov rax, rsi
shr rax, 0x3c
sete al
jne 0x1400caf6c
mov r15, qword [rcx]
lea r14, [rsi*8]
mov bl, al
shl rbx, 3
mov rcx, rbx
mov rdx, r14
call fcn.1400ca752
test rax, rax
je 0x1400caf73
mov rdi, rax
xor eax, eax
mov rcx, qword [r15 + rax*8]
mov qword [rdi + rax*8], rcx
inc rax
cmp rsi, rax
jne 0x1400cae94
mov eax, esi
jmp 0x1400caeaf
xor eax, eax
mov edi, 8
lea rcx, [rsp + 0x80]
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, str.Microsoft_Unified_Security_Protocol_Provider
xor ecx, ecx
mov r8d, 2
xor r9d, r9d
call sub.secur32.dll_AcquireCredentialsHandleA
mov ebx, eax
test eax, eax
je 0x1400caf08
shl rbx, 0x20
or rbx, 2
mov r14d, 1
jmp 0x1400caf4c
movaps xmm0, xmmword [rsp + 0x50]
mov eax, 1
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
movups xmmword [rsp + 0x70], xmm0
mov ecx, 8
mov edx, 0x20
call fcn.1400ca752
test rax, rax
je 0x1400caf80
mov rbx, rax
movups xmm0, xmmword [rsp + 0x60]
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
xor r14d, r14d
mov rcx, rdi
mov rdx, rsi
call fcn.140112501
mov rax, r14
mov rdx, rbx
add rsp, 0xd0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400320b0
ud2
mov rcx, rbx
mov rdx, r14
call fcn.1400320f0
ud2
mov ecx, 8
mov edx, 0x20
call fcn.1400320f0
ud2

Function at 0x1400cb664
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 0x1400cb68d
mov rdx, qword [rsp + 0x20]
jmp 0x1400cb695
shl rdx, 0x20
or rdx, 2
mov al, cl
add rsp, 0x28
ret
Function at 0x1400d076b
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 0x1400d0797
xor eax, eax
jmp 0x1400d079c
call fcn.14006e413
nop
add rsp, 0x38
ret

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

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov ecx, dword [0x14022f118]
test ecx, ecx
je 0x1400d1e9f
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x1400d1df4
mov rdi, rax
cmp qword [rax + 8], 0
je 0x1400d1df4
add rdi, 0x10
jmp 0x1400d1e95
mov ecx, dword [0x14022f118]
test ecx, ecx
je 0x1400d1eb2
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x1400d1e93
mov rsi, rax
test rax, rax
jne 0x1400d1e63
movzx eax, byte [0x1402fa220]
mov ecx, 0x20
mov edx, 8
call fcn.14002feb0
test rax, rax
je 0x1400d1ed5
mov rsi, rax
lea rax, [0x14022f100]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x14022f118]
test ecx, ecx
je 0x1400d1ec5
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
lea rdi, [rsi + 0x10]
cmp qword [rsi + 8], 0
mov rcx, qword [rsi + 0x18]
mov qword [rsi + 8], 1
xorps xmm0, xmm0
movups xmmword [rsi + 0x10], xmm0
je 0x1400d1e95
test rcx, rcx
je 0x1400d1e95
lock dec qword [rcx]
jne 0x1400d1e95
call fcn.1400d1f00
jmp 0x1400d1e95
xor edi, edi
mov rax, rdi
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x14022f100]
call fcn.1400d2120
mov ecx, eax
jmp 0x1400d1dd6
lea rcx, [0x14022f100]
call fcn.1400d2120
mov ecx, eax
jmp 0x1400d1e04
lea rcx, [0x14022f100]
call fcn.1400d2120
mov ecx, eax
jmp 0x1400d1e5b
mov ecx, 8
mov edx, 0x20
call fcn.1400320f0
ud2
Function at 0x1400d2120
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
cmp qword [rcx], 0
je 0x1400d219e
mov dword [rsp + 0x2c], 0
lea rbx, [rsi + 0x10]
lea r8, [rsp + 0x2c]
mov rcx, rbx
xor edx, edx
xor r9d, r9d
call sub.kernel32.dll_InitOnceBeginInitialize
mov dword [rsp + 0x28], eax
cmp eax, 1
jne 0x1400d21df
cmp dword [rsp + 0x2c], 0
je 0x1400d21c3
call sub.kernel32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x1400d2207
mov edi, eax
inc eax
mov dword [rsi + 0x18], eax
mov rax, qword [0x1402fa190]
nop
mov qword [rsi + 8], rax
lock cmpxchg qword [0x1402fa190], rsi
jne 0x1400d2180
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.kernel32.dll_InitOnceComplete
jmp 0x1400d21d5
call sub.kernel32.dll_TlsAlloc
mov dword [rsp + 0x28], eax
cmp eax, 0xffffffff
je 0x1400d2253
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x1400d21c8
mov edi, dword [rsp + 0x28]
jmp 0x1400d21d5
mov edi, dword [rsi + 0x18]
jmp 0x1400d21d3
mov edi, eax
mov ecx, dword [rsp + 0x28]
call sub.kernel32.dll_TlsFree
dec edi
mov eax, edi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov qword [rsp + 0x30], 0
lea rdx, [0x14027c920]
lea r9, str.library_std_src_syswindows_thread_local_key.rs
lea rcx, [rsp + 0x28]
lea r8, [rsp + 0x30]
call fcn.1400d2290
ud2
mov rcx, rbx
mov edx, 4
xor r8d, r8d
call sub.kernel32.dll_InitOnceComplete
lea rax, str.out_of_TLS_indexes
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
lea rax, str._rustc_5680fa18feaa87f3ff04063800aec256c3d4b4belibrarycore_src_sync_atomic.rsthere_is_no_such_thing_as_an_acquire_store
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rdx, str.library_std_src_syswindows_thread_local_key.rs
lea rcx, [rsp + 0x30]
call fcn.1400355c0
ud2
lea rax, str.out_of_TLS_indexes
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
lea rax, str._rustc_5680fa18feaa87f3ff04063800aec256c3d4b4belibrarycore_src_sync_atomic.rsthere_is_no_such_thing_as_an_acquire_store
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x30]
call fcn.1400d22f0
ud2
Function at 0x1400d28c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x14022f138]
test ecx, ecx
je 0x1400d295f
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x1400d28e9
mov rsi, rax
cmp byte [rax + 8], 0
jne 0x1400d294e
mov ecx, dword [0x14022f138]
test ecx, ecx
je 0x1400d2972
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x1400d2954
mov rsi, rax
test rax, rax
jne 0x1400d2948
movzx eax, byte [0x1402fa220]
mov ecx, 0x10
mov edx, 8
call fcn.14002feb0
test rax, rax
je 0x1400d2995
mov rsi, rax
lea rax, [0x14022f120]
mov qword [rsi], rax
mov byte [rsi + 8], 0
mov ecx, dword [0x14022f138]
test ecx, ecx
je 0x1400d2985
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
mov word [rsi + 8], 1
add rsi, 9
jmp 0x1400d2956
xor esi, esi
mov rax, rsi
add rsp, 0x20
pop rsi
ret
lea rcx, [0x14022f120]
call fcn.1400d2120
mov ecx, eax
jmp 0x1400d28d5
lea rcx, [0x14022f120]
call fcn.1400d2120
mov ecx, eax
jmp 0x1400d28f5
lea rcx, [0x14022f120]
call fcn.1400d2120
mov ecx, eax
jmp 0x1400d2940
mov ecx, 8
mov edx, 0x10
call fcn.1400320f0
ud2

Function at 0x1400d38f0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
movups xmm0, xmmword [0x14027c248]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov rcx, rdx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call sub.ntdll.dll_NtWriteFile
cmp eax, 0x103
jne 0x1400d3961
mov rcx, rdi
mov edx, 0xffffffff
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x1400d3997
test eax, eax
js 0x1400d3972
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x1400d398a
mov ecx, eax
call sub.ntdll.dll_RtlNtStatusToDosError
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov byte [rsp + 0x5c], 0
mov dword [rsp + 0x58], 0
lea rax, [0x14027c2a8]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.1400d1310
mov rcx, rax
call fcn.1400d1410
mov ecx, 7
int 0x29
ud2
Function at 0x1400d3f10
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x14022f0f8]
test ecx, ecx
je 0x1400d3fcd
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x1400d3f40
cmp qword [rax + 8], 0
je 0x1400d3f40
add rax, 0x10
jmp 0x1400d3fc7
mov ecx, dword [0x14022f0f8]
test ecx, ecx
je 0x1400d3fe0
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x1400d3fc5
mov rsi, rax
test rax, rax
jne 0x1400d3fab
movzx eax, byte [0x1402fa220]
mov ecx, 0x20
mov edx, 8
call fcn.14002feb0
test rax, rax
je 0x1400d4003
mov rsi, rax
lea rax, [0x14022f0e0]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x14022f0f8]
test ecx, ecx
je 0x1400d3ff3
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
mov qword [rsi + 8], 1
lea rax, [rsi + 0x10]
mov qword [rsi + 0x10], 0
mov byte [rsi + 0x18], 0
jmp 0x1400d3fc7
xor eax, eax
add rsp, 0x20
pop rsi
ret
lea rcx, [0x14022f0e0]
call fcn.1400d2120
mov ecx, eax
jmp 0x1400d3f25
lea rcx, [0x14022f0e0]
call fcn.1400d2120
mov ecx, eax
jmp 0x1400d3f50
lea rcx, [0x14022f0e0]
call fcn.1400d2120
mov ecx, eax
jmp 0x1400d3fa3
mov ecx, 8
mov edx, 0x20
call fcn.1400320f0
ud2
Function at 0x1400d70e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
movzx ebp, byte [rdx + 0x38]
xor ebx, ebx
cmp bpl, 1
setne dl
mov eax, 0
sbb eax, eax
mov rsi, rcx
or al, dl
movzx ecx, al
cmp cl, 0xff
je 0x1400d7110
test ecx, ecx
jne 0x1400d7160
movzx ebx, byte [rdi + 0x3a]
cmp al, 0xff
je 0x1400d711c
test ecx, ecx
jne 0x1400d7160
mov rcx, rdi
call fcn.1400d6fc0
movzx eax, al
test bpl, bpl
jne 0x1400d7167
lea rdx, [rdi + 0x10]
xor ecx, ecx
cmp byte [rdi + 0x10], 6
cmove rdx, rcx
je case.0x1400d7153.2
movzx r8d, byte [rdx]
mov ecx, 6
lea r9, [0x1400d72d8]
movsxd r8, dword [r9 + r8*4]
add r8, r9
jmp r8
mov rcx, qword [rdx + 0x10]
add rcx, 4
jmp case.0x1400d7153.2
xor eax, eax
test bpl, bpl
je 0x1400d712c
xor ecx, ecx
add rax, rcx
movzx r10d, bl
lea rcx, [rax + r10]
mov rdx, qword [rdi + 8]
cmp rdx, rcx
jb 0x1400d72b9
mov r11, qword [rdi]
lea r8, [r11 + rcx]
cmp rdx, rcx
jne 0x1400d719a
movzx r9d, byte [rdi + 0x10]
xor r10d, r10d
jmp 0x1400d7219
movzx r9d, byte [rdi + 0x10]
add rax, r10
sub rax, rdx
inc rax
lea rdi, [rdx + r11]
dec rdi
xor r10d, r10d
cmp r9b, 3
jae 0x1400d71e0
nop dword [rax + rax]
cmp byte [rdi], 0x5c
je 0x1400d71fb
inc rax
dec rdi
cmp rax, 1
jne 0x1400d71c0
jmp 0x1400d7219
movzx ebx, byte [rdi]
cmp ebx, 0x2f
je 0x1400d71fb
cmp ebx, 0x5c
je 0x1400d71fb
inc rax
dec rdi
cmp rax, 1
jne 0x1400d71e0
jmp 0x1400d7219
neg rax
add rcx, rax
inc rcx
cmp rdx, rcx
jb 0x1400d72c7
add r11, rcx
mov r10d, 1
mov r8, r11
sub rdx, rcx
je 0x1400d7243
mov al, 9
cmp rdx, 2
je 0x1400d7247
cmp rdx, 1
jne 0x1400d7257
cmp byte [r8], 0x2e
jne 0x1400d7257
xor eax, eax
cmp r9b, 3
setae al
lea eax, [rax + rax*2]
add eax, 7
jmp 0x1400d7257
mov al, 0xa
jmp 0x1400d7257
cmp byte [r8], 0x2e
jne 0x1400d7257
cmp byte [r8 + 1], 0x2e
sete al
xor al, 9
add r10, rdx
mov qword [rsi], r10
mov byte [rsi + 8], al
mov qword [rsi + 0x10], r8
mov qword [rsi + 0x18], rdx
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 8
jmp case.0x1400d7153.2
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 2
jmp case.0x1400d7153.2
mov ecx, 2
jmp case.0x1400d7153.2
lea r8, [0x14027b220]
call fcn.140035e30
ud2
lea r8, [0x14027b238]
call fcn.140035e30
ud2