joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140094185
Capabilities:
Receive data
Receive data on socket

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rdi, r8
mov rsi, rcx
mov qword [rcx + 0x38], rdx
mov rcx, r8
call fcn.140094053
mov r14, rax
mov r15, rdx
lea r12, [rsp + 0x30]
mov rcx, rsi
call fcn.140094124
test rdx, rdx
jne 0x140093f6e
mov rcx, r12
mov rdx, rsi
call fcn.140092aac
mov eax, dword [rsp + 0x30]
cmp eax, 2
je 0x140093fd5
test eax, eax
je 0x140093f6e
cmp qword [rsi + 0x110], 0
je 0x140093f55
mov rcx, rsi
call fcn.14009395a
mov rbx, rdx
test rax, rax
jne 0x140093fe1
test rbx, rbx
je 0x140093f6e
and qword [rsi + 0x110], 0
mov rcx, r12
mov rdx, rsi
call fcn.140093b40
cmp byte [rsp + 0x30], 0
jne 0x140093fd5
cmp byte [rsp + 0x31], 0
je 0x140093f01
mov rcx, rsi
call fcn.140094124
mov r12, rax
mov rbx, rdx
test rax, rax
je 0x140093fe1
cmp r15, rbx
cmovb rbx, r15
lea r9, [0x1402647a0]
mov rcx, rbx
mov rdx, r14
mov r8, r15
call fcn.140093911
lea rcx, [0x1402647b8]
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov r8, r12
mov r9, rbx
call fcn.140032103
mov rax, qword [rsi + 0x58]
add rax, rbx
cmp rax, qword [rsi + 0x50]
ja 0x140094029
mov qword [rsi + 0x58], rax
mov rcx, rdi
mov rdx, rbx
call fcn.1400940c0
jmp 0x14009400f
mov rbx, qword [rsp + 0x38]
mov qword [rsp + 0x30], rbx
jmp 0x140093feb
mov qword [rsp + 0x30], rbx
test rbx, rbx
je 0x14009400f
mov rcx, rbx
call fcn.140048cef
and qword [rsi + 0x38], 0
cmp al, 0xd
jne 0x140094016
lea rcx, [rsp + 0x30]
call fcn.1400748eb
mov eax, 1
xor ebx, ebx
jmp 0x140094018
and qword [rsi + 0x38], 0
xor ebx, ebx
xor eax, eax
mov rdx, rbx
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [0x1402648be]
lea r8, [0x140264900]
mov edx, 0x3b
call fcn.140035180
ud2
cmp dword [rcx], 2
jne 0x140093ed7
add rcx, 8
jmp fcn.140116618
Function at 0x140094197
Capabilities:
Send data
Send data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov r14, r9
mov r15, r8
mov rsi, rcx
mov qword [rcx + 0x38], rdx
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov rdx, rsi
call fcn.140092aac
mov eax, dword [rsp + 0x28]
cmp eax, 2
jne 0x14009287b
mov rdi, qword [rsp + 0x30]
jmp 0x140092a44
test eax, eax
je 0x1400929fd
mov rdx, qword [rsi + 0x98]
cmp rdx, qword [rsi + 0x90]
jne 0x140092a34
mov rbx, qword [rsp + 0x30]
mov eax, ebx
shr rbx, 0x20
cmp r14, rbx
cmovb rbx, r14
mov r12d, dword [rsp + 0x2c]
lea r14, [rbx + r12]
add rax, r14
cmp rdx, rax
jae 0x1400928d0
lea rcx, [rsi + 0x80]
mov rdx, rax
call fcn.140093887
mov rdx, qword [rsi + 0x90]
mov rcx, qword [rsi + 0x88]
lea rax, [0x140264f00]
mov qword [rsp + 0x20], rax
mov r8, r12
mov r9, r14
call fcn.1400938d8
lea rcx, [0x140264f18]
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov r8, r15
mov r9, rbx
call fcn.140032103
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
lea r9, [0x140264f30]
mov r8, r12
call fcn.1400938ef
mov r15, rax
mov r13, rdx
xor eax, eax
test r15, r15
cmove r13d, eax
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
lea rax, [0x140264f48]
mov qword [rsp + 0x20], rax
mov r8, r12
mov r9, r14
call fcn.1400938d8
mov r12, rax
mov rbp, rdx
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
lea r9, [0x140264f60]
mov r8, r14
call fcn.140093900
xor ecx, ecx
test r12, r12
cmove ebp, ecx
test rax, rax
cmove edx, ecx
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x2c], 7
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x3c], 1
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x48], edx
mov dword [rsp + 0x4c], 6
mov qword [rsp + 0x50], rax
movabs rax, 0x400000000
lea r8, [rsp + 0x68]
mov qword [r8], rax
mov qword [r8 + 8], rdi
lea rcx, [rsi + 0xf0]
xor edx, edx
xor r9d, r9d
call sub.secur32.dll_EncryptMessage
mov edi, eax
test eax, eax
je 0x140092a09
shl rdi, 0x20
or rdi, 2
jmp 0x140092a44
movabs rdi, 0x8009031700000002
jmp 0x140092a44
mov eax, dword [rsp + 0x38]
add eax, dword [rsp + 0x28]
add eax, dword [rsp + 0x48]
cmp qword [rsi + 0x90], rax
jb 0x140092a25
mov qword [rsi + 0x90], rax
and qword [rsi + 0x98], 0
mov qword [rsi + 0x118], rbx
mov rcx, rsi
call fcn.1400937c9
test rax, rax
je 0x140092a8e
mov rdi, rdx
mov qword [rsp + 0x28], 1
mov qword [rsp + 0x30], rdi
mov rcx, rdi
call fcn.140048cef
and qword [rsi + 0x38], 0
mov ecx, eax
mov eax, 1
cmp cl, 0xd
jne 0x140092a7a
lea rcx, [rsp + 0x30]
call fcn.1400748eb
mov eax, 2
mov rdx, rdi
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdi, qword [rsi + 0x118]
and qword [rsi + 0x38], 0
xor eax, eax
jmp 0x140092a7a
cmp dword [rcx], 2
jne 0x14009283b
add rcx, 8
jmp fcn.1401168cb
Function at 0x1400958f6
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 + 0x178]
mov rcx, qword [rdx + 0x168]
mov rdx, qword [rdx + 0x170]
lea r9, [0x140264ed0]
call fcn.1400938ef
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 + 0x1f0]
xor r8d, r8d
xor r9d, r9d
call sub.secur32.dll_DecryptMessage
cmp eax, 0x80090318
je 0x140095a64
test eax, eax
je 0x1400959dd
cmp eax, 0x90317
je 0x140095a5e
cmp eax, 0x90321
jne 0x140095a82
mov dword [rdi + 0x1d0], 0x10000
xor ebx, ebx
mov byte [rdi + 0x1d4], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x178]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.140095897
and qword [rdi + 0x210], 0
mov byte [rsi + 1], bl
jmp 0x140095a90
mov r8, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x168]
mov rdx, qword [rdi + 0x170]
sub r8, rcx
mov r9d, dword [rsp + 0x30]
add r9, r8
lea rbx, [rdi + 0x140]
and qword [rdi + 0x150], 0
call fcn.140093cc3
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.14011abdc
and qword [rdi + 0x158], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x178]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.140095897
xor eax, eax
cmp qword [rdi + 0x178], rbx
sete al
mov qword [rdi + 0x210], rax
mov byte [rsi + 1], 0
jmp 0x140095a90
mov byte [rsi + 1], 1
jmp 0x140095a7e
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x210], rax
mov byte [rsi + 1], 0
xor ebx, ebx
jmp 0x140095a90
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 0x1400b9f16
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.1400b9ee9
mov dword [rsp + 0x38], 0x800
and dword [rsp + 0x3c], 0
lea rcx, [rsp + 0x40]
mov edx, 0x800
call fcn.1400b078f
mov rsi, qword [rsp + 0x60]
lea r13, [rsp + 0x38]
lea r15, [rsp + 0x3c]
lea r12, [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov rcx, rbx
mov rdx, rsi
xor r8d, r8d
mov r9, r15
call sub.advapi32.dll_RegQueryValueExW
cmp eax, 0xea
jne 0x1400b9fa6
mov edx, dword [rsp + 0x38]
mov rcx, r12
call fcn.14011ab9f
jmp 0x1400b9f71
test eax, eax
jne 0x1400b9fc8
mov eax, dword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x3c]
cmp eax, 0xb
jbe 0x1400b9ff0
movabs rax, 0xde00000002
jmp 0x1400b9fd0
shl rax, 0x20
or rax, 2
mov qword [rdi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rdi], rax
mov rcx, qword [rsp + 0x40]
mov rdx, r14
call fcn.1400cc39a
jmp 0x1400ba004
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 rcx, qword [rsp + 0x58]
mov rdx, rsi
call fcn.140102f4a
nop
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x1400c2bd0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae 0x1400c2bf5
cmp rax, rcx
je 0x1400c2bfb
cmp rdx, 4
jae 0x1400c2c02
xor eax, eax
xor r8d, r8d
jmp 0x1400c2ca0
pop rbp
jmp fcn.1400349a0
xor eax, eax
jmp 0x1400c2cb7
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x140225df0]
movdqa xmm3, xmmword [0x140225e00]
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 0x1400c2c30
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x1400c2cb7
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x1400c2ca0
pop rbp
ret
Function at 0x1400c3b90
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 0x1400c3c14
mov r11, qword [rcx + 8]
mov r8, qword [rcx + 0x10]
cmp r8, r11
jae 0x1400c3c14
movzx eax, byte [r10 + r8]
cmp eax, 0x49
mov rbx, rcx
je 0x1400c3c2d
cmp eax, 0x42
jne 0x1400c3c14
lea rsi, [r8 + 1]
mov qword [rcx + 0x10], rsi
mov r9b, 1
cmp rsi, r11
jae 0x1400c3d5d
cmp byte [r10 + rsi], 0x5f
jne 0x1400c3cec
lea rax, [r8 + 2]
mov qword [rcx + 0x10], rax
xor eax, eax
cmp rax, r8
jae 0x1400c3d5d
mov edx, dword [rcx + 0x18]
inc edx
cmp edx, 0x1f4
jbe 0x1400c3db7
mov dil, 1
xor r9d, r9d
jmp 0x1400c3d5f
xor edx, edx
call fcn.1400bf6a0
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.1400bf6a0
test al, al
jne 0x1400c3d9d
mov rdx, rbx
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400c3c6c
lea rdx, [0x1402674c3]
mov r8d, 1
call fcn.140034e80
mov rdx, rbx
test al, al
jne 0x1400c3d9d
mov rax, qword [rdx]
mov sil, 1
test rax, rax
je 0x1400c3c20
xor r14d, r14d
lea rdi, [0x140272e08]
nop word cs:[rax + rax]
mov rcx, qword [rdx + 0x10]
cmp rcx, qword [rdx + 8]
jae 0x1400c3ca4
cmp byte [rax + rcx], 0x45
je 0x1400c3df0
sub r14, 1
jb 0x1400c3ccc
mov rcx, qword [rdx + 0x20]
test rcx, rcx
je 0x1400c3ccc
mov r8d, 2
mov rdx, rdi
call fcn.140034e80
mov rdx, rbx
test al, al
jne 0x1400c3d9d
mov rcx, rdx
call fcn.1400c0f30
test al, al
jne 0x1400c3d9d
mov rdx, rbx
mov rax, qword [rbx]
test rax, rax
jne 0x1400c3c90
jmp 0x1400c3c20
xor eax, eax
mov r14d, 0x3e
nop word cs:[rax + rax]
movzx edx, byte [r10 + rsi]
cmp dl, 0x5f
je 0x1400c3d4d
lea edi, [rdx - 0x30]
cmp dil, 0xa
jb 0x1400c3d2f
lea edi, [rdx - 0x61]
cmp dil, 0x1a
jae 0x1400c3d21
add dl, 0xa9
jmp 0x1400c3d2d
lea edi, [rdx - 0x41]
cmp dil, 0x1a
jae 0x1400c3d5d
add dl, 0xe3
mov edi, edx
inc rsi
mov qword [rcx + 0x10], rsi
mul r14
jo 0x1400c3d5d
movzx edx, dil
xor edi, edi
add rax, rdx
jb 0x1400c3d5f
cmp rsi, r11
jb 0x1400c3d00
jmp 0x1400c3d5f
inc rsi
mov qword [rcx + 0x10], rsi
inc rax
jne 0x1400c3bef
xor edi, edi
mov rax, qword [rcx + 0x20]
test rax, rax
je 0x1400c3da5
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, [0x1402677f8]
test r9b, r9b
cmovne rdx, rcx
mov rcx, rax
call fcn.140034e80
mov rcx, rbx
test al, al
je 0x1400c3da5
mov sil, 2
jmp 0x1400c3c20
mov qword [rcx], 0
mov byte [rcx + 8], dil
xor esi, esi
jmp 0x1400c3c20
cmp qword [rcx + 0x20], 0
je 0x1400c3db0
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.1400c3b90
movaps xmm0, xmmword [rbp - 0x20]
movaps xmm1, xmmword [rbp - 0x10]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x1400c3c22
inc rcx
mov qword [rdx + 0x10], rcx
jmp 0x1400c3c20
Function at 0x1400c6db4
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
movabs rax, 0x8000000000000000
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
cmp qword [rcx + 0x18], rax
je 0x1400c6e26
mov edx, dword [rcx + 0x28]
mov dword [rsp + 0xa8], edx
mov rdx, qword [rcx + 0x20]
mov qword [rsp + 0xb0], rdx
cmp qword [rcx + 0x30], rax
je 0x1400c6e61
mov rax, qword [rcx + 0x40]
test rax, rax
je 0x1400c6e58
mov r8, qword [rcx + 0x38]
xor edx, edx
lea r9, [0x14029a244]
xor r10d, r10d
movzx r11d, byte [r8 + r10]
or edx, dword [r9 + r11*4]
inc r10
cmp rax, r10
jne 0x1400c6e45
jmp 0x1400c6e5a
xor edx, edx
mov dword [rsp + 0xb8], edx
mov rsi, qword [rcx + 0x10]
test rsi, rsi
je 0x1400c6eb8
lea rbx, [rsi*8]
mov rax, rsi
shr rax, 0x3c
jne 0x1400c6f7e
mov r15, qword [rcx + 8]
mov r14d, 8
mov ecx, 8
mov rdx, rbx
call fcn.14007493c
test rax, rax
je 0x1400c6f81
mov rdi, rax
xor eax, eax
mov rcx, qword [r15 + rax*8]
mov qword [rdi + rax*8], rcx
inc rax
cmp rsi, rax
jne 0x1400c6ea4
mov eax, esi
jmp 0x1400c6ec1
xor esi, esi
mov edi, 8
xor eax, eax
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, [0x14026a56b]
xor ecx, ecx
mov r8d, 2
xor r9d, r9d
call sub.secur32.dll_AcquireCredentialsHandleA
mov ebx, eax
test eax, eax
je 0x1400c6f1a
shl rbx, 0x20
or rbx, 2
mov r14d, 1
jmp 0x1400c6f5e
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.14007493c
test rax, rax
je 0x1400c6f8c
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, rsi
mov rdx, rdi
call fcn.14008bfa3
mov rax, r14
mov rdx, rbx
add rsp, 0xd0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor r14d, r14d
mov rcx, r14
mov rdx, rbx
call fcn.1400311b0
lea r14, [rsp + 0x70]
mov ecx, 8
mov edx, 0x20
call fcn.140031210
ud2

Function at 0x1400c76c5
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 0x1400c76ee
mov rdx, qword [rsp + 0x20]
jmp 0x1400c76f6
shl rdx, 0x20
or rdx, 2
mov al, cl
add rsp, 0x28
ret
Function at 0x1400ccb75
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 0x1400ccba1
xor eax, eax
jmp 0x1400ccba6
call fcn.140069987
nop
add rsp, 0x38
ret

Function at 0x1400ccbe0
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov rsi, rcx
cmp qword [rcx], 0
je 0x1400ccc75
mov rax, qword [0x1402f0040]
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 0x1400cccb4
cmp dword [rbp], 0
je 0x1400ccc98
call sub.kernel32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x1400cccd7
mov edi, eax
mov rax, qword [0x1402ec140]
nop word cs:[rax + rax]
mov qword [rsi + 8], rax
lock cmpxchg qword [0x1402ec140], rsi
jne 0x1400ccc50
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 0x1400ccca9
call sub.kernel32.dll_TlsAlloc
mov dword [rbp + 4], eax
cmp eax, 0xffffffff
je 0x1400ccd19
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x1400ccc9d
mov edi, dword [rbp + 4]
jmp 0x1400ccca9
mov edi, dword [rsi + 0x18]
jmp 0x1400ccca7
mov edi, eax
mov ecx, dword [rbp + 4]
call sub.kernel32.dll_TlsFree
dec edi
mov eax, edi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov qword [rbp - 0x38], 0
lea rdx, [0x14026e940]
lea r9, str.library_std_src_syspalwindows_thread_local_key.rs
lea rcx, [rbp - 4]
lea r8, [rbp - 0x38]
call fcn.1400cd9e0
mov rcx, rbx
mov edx, 4
xor r8d, r8d
call sub.kernel32.dll_InitOnceComplete
lea rax, str.out_of_TLS_indexes
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
mov qword [rbp - 0x28], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rdx, str.library_std_src_syspalwindows_thread_local_key.rs
lea rcx, [rbp - 0x38]
call fcn.140034490
lea rax, str.out_of_TLS_indexes
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
mov qword [rbp - 0x28], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 4]
lea rdx, [rbp - 0x38]
call fcn.1400cda20
int3
Function at 0x1400cd4a0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x14026e690]
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 0x1400cd50f
mov rcx, rsi
mov edx, 0xffffffff
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [rbp]
cmp eax, 0x103
je 0x1400cd53b
test eax, eax
js 0x1400cd51b
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x1400cd531
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, [0x14026e6f8]
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.1400ccdb0
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.1400cce60
mov ecx, 7
int 0x29
ud2

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

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov ecx, dword [0x14021f160]
test ecx, ecx
je 0x1400cec51
dec ecx
call fcn.140128954
cmp rax, 1
jbe 0x1400cebb1
add rax, 8
jmp 0x1400cec48
je 0x1400cec46
movzx eax, byte [0x1402ec188]
mov edx, 0x10
xor ecx, ecx
call fcn.1400fc8d0
test rax, rax
je 0x1400cec84
mov rbx, rax
mov rsi, rax
lea rax, [0x14021f148]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x14021f160]
test ecx, ecx
je 0x1400cec64
dec ecx
call fcn.140128954
mov rdi, rax
mov ecx, dword [0x14021f160]
test ecx, ecx
je 0x1400cec74
dec ecx
add rbx, 8
mov rdx, rsi
call fcn.14012895c
test rdi, rdi
je 0x1400cec41
mov rax, qword [rdi + 8]
test rax, rax
je 0x1400cec34
lock dec qword [rax]
jne 0x1400cec34
mov rcx, qword [rdi + 8]
call fcn.1400ce2d0
mov edx, 8
mov rcx, rdi
call fcn.14002f3f0
mov rax, rbx
jmp 0x1400cec48
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x14021f148]
call fcn.1400ccbe0
mov ecx, eax
jmp 0x1400ceb9d
lea rcx, [0x14021f148]
call fcn.1400ccbe0
mov ecx, eax
jmp 0x1400cebf7
lea rcx, [0x14021f148]
call fcn.1400ccbe0
mov ecx, eax
jmp 0x1400cec0b
mov ecx, 8
mov edx, 0x10
call fcn.140031210
int3
Function at 0x1400cf120
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov ecx, dword [0x14021f120]
test ecx, ecx
je 0x1400cf1ce
dec ecx
call fcn.140128954
cmp rax, 1
jbe 0x1400cf14e
add rax, 8
jmp 0x1400cf1c5
je 0x1400cf1c3
movzx eax, byte [0x1402ec188]
mov edx, 0x10
xor ecx, ecx
call fcn.1400fc8d0
test rax, rax
je 0x1400cf201
mov rbx, rax
mov rsi, rax
lea rax, [0x14021f108]
mov qword [rsi], rax
mov byte [rsi + 8], 0
mov ecx, dword [0x14021f120]
test ecx, ecx
je 0x1400cf1e1
dec ecx
call fcn.140128954
mov rdi, rax
mov ecx, dword [0x14021f120]
test ecx, ecx
je 0x1400cf1f1
dec ecx
add rbx, 8
mov rdx, rsi
call fcn.14012895c
test rdi, rdi
je 0x1400cf1be
mov edx, 8
mov rcx, rdi
call fcn.14002f3f0
mov rax, rbx
jmp 0x1400cf1c5
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x14021f108]
call fcn.1400ccbe0
mov ecx, eax
jmp 0x1400cf13d
lea rcx, [0x14021f108]
call fcn.1400ccbe0
mov ecx, eax
jmp 0x1400cf18c
lea rcx, [0x14021f108]
call fcn.1400ccbe0
mov ecx, eax
jmp 0x1400cf1a0
mov ecx, 8
mov edx, 0x10
call fcn.140031210
int3

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

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov ecx, dword [0x14021f100]
test ecx, ecx
je 0x1400cf766
dec ecx
call fcn.140128954
cmp rax, 1
jbe 0x1400cf6de
add rax, 8
jmp 0x1400cf75d
je 0x1400cf75b
movzx eax, byte [0x1402ec188]
mov edx, 0x18
xor ecx, ecx
call fcn.1400fc8d0
test rax, rax
je 0x1400cf799
mov rbx, rax
mov rsi, rax
lea rax, [0x14021f0e8]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov byte [rsi + 0x10], 0
mov ecx, dword [0x14021f100]
test ecx, ecx
je 0x1400cf779
dec ecx
call fcn.140128954
mov rdi, rax
mov ecx, dword [0x14021f100]
test ecx, ecx
je 0x1400cf789
dec ecx
add rbx, 8
mov rdx, rsi
call fcn.14012895c
test rdi, rdi
je 0x1400cf756
mov edx, 8
mov rcx, rdi
call fcn.14002f3f0
mov rax, rbx
jmp 0x1400cf75d
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x14021f0e8]
call fcn.1400ccbe0
mov ecx, eax
jmp 0x1400cf6cd
lea rcx, [0x14021f0e8]
call fcn.1400ccbe0
mov ecx, eax
jmp 0x1400cf724
lea rcx, [0x14021f0e8]
call fcn.1400ccbe0
mov ecx, eax
jmp 0x1400cf738
mov ecx, 8
mov edx, 0x18
call fcn.140031210
int3

Function at 0x1400d0870
Capabilities:
Get system information on windows

Disassembly:
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x50]
xorps xmm0, xmm0
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x30]
call sub.kernel32.dll_GetSystemInfo
mov ecx, dword [rbp - 0x10]
xor eax, eax
test rcx, rcx
sete al
lea rdx, str.The_number_of_hardware_threads_is_not_known_for_the_target_platform
cmovne rdx, rcx
add rsp, 0x50
pop rbp
ret