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

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x14022f050]
test ecx, ecx
je 0x140077bbf
dec ecx
add rsp, 0x28
jmp fcn.1401381a4
lea rcx, [0x14022f038]
call fcn.1400dba40
mov ecx, eax
jmp 0x140077bb6

Function at 0x140077bf1
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rdi, rdx
mov rsi, rcx
mov r14d, 0x20
mov r15d, 0xffffffff
test r14, r14
je 0x140077c35
cmp r14, r15
mov ebx, 0xffffffff
cmovb rbx, r14
mov rcx, rdi
mov edx, ebx
call sub.advapi32.dll_SystemFunction036
test al, al
je 0x140077c39
sub r14, rbx
add rdi, rbx
jmp 0x140077c0e
mov al, 5
jmp 0x140077c82
call sub.kernel32.dll_GetLastError
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov qword [rsp + 0x28], rdi
mov ecx, 8
mov edx, 8
call fcn.14000b3da
mov qword [rax], rdi
lea rcx, str.couldnt_generate_random_bytesNoTimerCoarseTimerNotMonotonicTinyVariantionsTooManyStuck_home_ellie_.cargo_registry_src_index.crates.io_6f17d22bba15001f_rand_0.5.6_src_rngs_thread.rscould_not_initialize_thread_rng:
mov qword [rsi], rcx
mov qword [rsi + 8], 0x1e
mov qword [rsi + 0x10], rax
lea rax, str.ha_a_
mov qword [rsi + 0x18], rax
xor eax, eax
mov byte [rsi + 0x20], al
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x140078e37
Capabilities:
Encrypt data using hc-128 via wolfssl

Disassembly:
push rsi
push rdi
push rbx
mov eax, 0x1030
call fcn.140137b80
sub rsp, rax
mov rsi, rdx
mov rdi, rcx
lea rdx, [rcx + 0x1018]
lea rbx, [rsp + 0x20]
mov rcx, rbx
call fcn.140076560
cmp qword [rbx], 0
je 0x140078e9b
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
movzx eax, byte [rsp + 0x48]
cmp eax, 2
je 0x140078ec5
cmp eax, 5
je 0x140078ebc
mov r8, qword [rdi + 0x1008]
mov rbx, r8
sar rbx, 8
test al, al
cmove rbx, r8
call fcn.140077b86
jmp 0x140078ecc
lea rdx, [rsp + 0x28]
mov rax, qword [rdi + 0x1008]
mov qword [rdi + 0x1010], rax
mov r8d, 0x1008
mov rcx, rdi
call sub.msvcrt.dll_memcpy
mov rbx, qword [rdi + 0x1008]
jmp 0x140078ecc
call fcn.140077b86
xor ebx, ebx
add rbx, 0xffffffffffffffc0
mov qword [rdi + 0x1010], rbx
mov rcx, rdi
mov rdx, rsi
add rsp, 0x1030
pop rbx
pop rdi
pop rsi
jmp fcn.1400780b5
Function at 0x1400b1506
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 + 0x78]
mov rcx, qword [rdx + 0x68]
mov rdx, qword [rdx + 0x70]
lea r9, [0x140297338]
call fcn.1400b12cd
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 + 0xf0]
xor r8d, r8d
xor r9d, r9d
call sub.secur32.dll_DecryptMessage
cmp eax, 0x80090318
je 0x1400b1653
test eax, eax
je 0x1400b15e1
cmp eax, 0x90317
je 0x1400b164d
cmp eax, 0x90321
jne 0x1400b1671
mov dword [rdi + 0xd0], 0x10000
xor ebx, ebx
mov byte [rdi + 0xd4], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x78]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.1400b14b0
and qword [rdi + 0x110], 0
mov byte [rsi + 1], bl
jmp 0x1400b167f
mov r8, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x68]
mov rdx, qword [rdi + 0x70]
sub r8, rcx
mov r9d, dword [rsp + 0x30]
add r9, r8
lea rbx, [rdi + 0x40]
and qword [rdi + 0x50], 0
call fcn.1400b1689
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.14012a430
and qword [rdi + 0x58], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x78]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.1400b14b0
xor eax, eax
cmp qword [rdi + 0x78], rbx
sete al
mov qword [rdi + 0x110], rax
mov byte [rsi + 1], 0
jmp 0x1400b167f
mov byte [rsi + 1], 1
jmp 0x1400b166d
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x110], rax
mov byte [rsi + 1], 0
xor ebx, ebx
jmp 0x1400b167f
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 0x1400b1c6d
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x14022f0a8]
test ecx, ecx
je 0x1400b1c86
dec ecx
add rsp, 0x28
jmp fcn.1401381a4
lea rcx, [0x14022f090]
call fcn.1400dba40
mov ecx, eax
jmp 0x1400b1c7d
Function at 0x1400b1d68
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.1400b1a19
mov r14, rax
mov r15, rdx
lea r12, [rsp + 0x30]
mov rcx, rsi
call fcn.1400b1aea
test rdx, rdx
jne 0x1400b1934
mov rcx, r12
mov rdx, rsi
call fcn.1400b048a
mov eax, dword [rsp + 0x30]
cmp eax, 2
je 0x1400b199b
test eax, eax
je 0x1400b1934
cmp qword [rsi + 0x110], 0
je 0x1400b191b
mov rcx, rsi
call fcn.1400b1316
mov rbx, rdx
test rax, rax
jne 0x1400b19a7
test rbx, rbx
je 0x1400b1934
and qword [rsi + 0x110], 0
mov rcx, r12
mov rdx, rsi
call fcn.1400b1506
cmp byte [rsp + 0x30], 0
jne 0x1400b199b
cmp byte [rsp + 0x31], 0
je 0x1400b18c7
mov rcx, rsi
call fcn.1400b1aea
mov r12, rax
mov rbx, rdx
test rax, rax
je 0x1400b19a7
cmp r15, rbx
cmovb rbx, r15
lea r9, [0x140296c08]
mov rcx, rbx
mov rdx, r14
mov r8, r15
call fcn.1400015f1
lea rcx, [0x140296c20]
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov r8, r12
mov r9, rbx
call fcn.140133903
mov rax, qword [rsi + 0x58]
add rax, rbx
cmp rax, qword [rsi + 0x50]
ja 0x1400b19ef
mov qword [rsi + 0x58], rax
mov rcx, rdi
mov rdx, rbx
call fcn.1400b1a86
jmp 0x1400b19d5
mov rbx, qword [rsp + 0x38]
mov qword [rsp + 0x30], rbx
jmp 0x1400b19b1
mov qword [rsp + 0x30], rbx
test rbx, rbx
je 0x1400b19d5
mov rcx, rbx
call fcn.14005096a
and qword [rsi + 0x38], 0
cmp al, 0xd
jne 0x1400b19dc
lea rcx, [rsp + 0x30]
call fcn.14007d7fe
mov eax, 1
xor ebx, ebx
jmp 0x1400b19de
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, [0x140296d26]
lea r8, [0x140296d68]
mov edx, 0x3b
call fcn.140036dc0
ud2
cmp dword [rcx], 2
jne 0x1400b189d
add rcx, 8
jmp fcn.140125e58
Function at 0x1400b1d7a
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.1400b048a
mov eax, dword [rsp + 0x28]
cmp eax, 2
jne 0x1400b0259
mov rdi, qword [rsp + 0x30]
jmp 0x1400b0422
test eax, eax
je 0x1400b03db
mov rdx, qword [rsi + 0x98]
cmp rdx, qword [rsi + 0x90]
jne 0x1400b0412
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 0x1400b02ae
lea rcx, [rsi + 0x80]
mov rdx, rax
call fcn.1400b1265
mov rdx, qword [rsi + 0x90]
mov rcx, qword [rsi + 0x88]
lea rax, [0x140297368]
mov qword [rsp + 0x20], rax
mov r8, r12
mov r9, r14
call fcn.1400b12b6
lea rcx, [0x140297380]
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov r8, r15
mov r9, rbx
call fcn.140133903
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
lea r9, [0x140297398]
mov r8, r12
call fcn.1400b12cd
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, [0x1402973b0]
mov qword [rsp + 0x20], rax
mov r8, r12
mov r9, r14
call fcn.1400b12b6
mov r12, rax
mov rbp, rdx
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
lea r9, [0x1402973c8]
mov r8, r14
call fcn.1400b12de
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 0x1400b03e7
shl rdi, 0x20
or rdi, 2
jmp 0x1400b0422
movabs rdi, 0x8009031700000002
jmp 0x1400b0422
mov eax, dword [rsp + 0x38]
add eax, dword [rsp + 0x28]
add eax, dword [rsp + 0x48]
cmp qword [rsi + 0x90], rax
jb 0x1400b0403
mov qword [rsi + 0x90], rax
and qword [rsi + 0x98], 0
mov qword [rsi + 0x118], rbx
mov rcx, rsi
call fcn.1400b11a7
test rax, rax
je 0x1400b046c
mov rdi, rdx
mov qword [rsp + 0x28], 1
mov qword [rsp + 0x30], rdi
mov rcx, rdi
call fcn.14005096a
and qword [rsi + 0x38], 0
mov ecx, eax
mov eax, 1
cmp cl, 0xd
jne 0x1400b0458
lea rcx, [rsp + 0x30]
call fcn.14007d7fe
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 0x1400b0458
cmp dword [rcx], 2
jne 0x1400b0219
add rcx, 8
jmp fcn.14012610b
Function at 0x1400b34d9
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, [0x140297338]
call fcn.1400b12cd
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 0x1400b3647
test eax, eax
je 0x1400b35c0
cmp eax, 0x90317
je 0x1400b3641
cmp eax, 0x90321
jne 0x1400b3665
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.1400b347a
and qword [rdi + 0x210], 0
mov byte [rsi + 1], bl
jmp 0x1400b3673
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.1400b1689
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.14012a430
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.1400b347a
xor eax, eax
cmp qword [rdi + 0x178], rbx
sete al
mov qword [rdi + 0x210], rax
mov byte [rsi + 1], 0
jmp 0x1400b3673
mov byte [rsi + 1], 1
jmp 0x1400b3661
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 0x1400b3673
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 0x1400c4542
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.1400c4515
mov dword [rsp + 0x38], 0x800
and dword [rsp + 0x3c], 0
lea rcx, [rsp + 0x40]
mov edx, 0x800
call fcn.1400ab189
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 0x1400c45d2
mov edx, dword [rsp + 0x38]
mov rcx, r12
call fcn.14012a3f3
jmp 0x1400c459d
test eax, eax
jne 0x1400c45f4
mov eax, dword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x3c]
cmp eax, 0xb
jbe 0x1400c461c
movabs rax, 0xde00000002
jmp 0x1400c45fc
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.1400d671a
jmp 0x1400c4630
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.140111faa
nop
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x1400d1960
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae 0x1400d1985
cmp rax, rcx
je 0x1400d198b
cmp rdx, 4
jae 0x1400d1992
xor eax, eax
xor r8d, r8d
jmp 0x1400d1a30
pop rbp
jmp fcn.1400365e0
xor eax, eax
jmp 0x1400d1a47
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x140236140]
movdqa xmm3, xmmword [0x140236150]
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 0x1400d19c0
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x1400d1a47
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x1400d1a30
pop rbp
ret
Function at 0x1400d2920
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 0x1400d29a4
mov r11, qword [rcx + 8]
mov r8, qword [rcx + 0x10]
cmp r8, r11
jae 0x1400d29a4
movzx eax, byte [r10 + r8]
cmp eax, 0x49
mov rbx, rcx
je 0x1400d29bd
cmp eax, 0x42
jne 0x1400d29a4
lea rsi, [r8 + 1]
mov qword [rcx + 0x10], rsi
mov r9b, 1
cmp rsi, r11
jae 0x1400d2aed
cmp byte [r10 + rsi], 0x5f
jne 0x1400d2a7c
lea rax, [r8 + 2]
mov qword [rcx + 0x10], rax
xor eax, eax
cmp rax, r8
jae 0x1400d2aed
mov edx, dword [rcx + 0x18]
inc edx
cmp edx, 0x1f4
jbe 0x1400d2b47
mov dil, 1
xor r9d, r9d
jmp 0x1400d2aef
xor edx, edx
call fcn.1400ce420
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.1400ce420
test al, al
jne 0x1400d2b2d
mov rdx, rbx
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400d29fc
lea rdx, [0x140299b43]
mov r8d, 1
call fcn.140036ac0
mov rdx, rbx
test al, al
jne 0x1400d2b2d
mov rax, qword [rdx]
mov sil, 1
test rax, rax
je 0x1400d29b0
xor r14d, r14d
lea rdi, [0x1402a56b8]
nop word cs:[rax + rax]
mov rcx, qword [rdx + 0x10]
cmp rcx, qword [rdx + 8]
jae 0x1400d2a34
cmp byte [rax + rcx], 0x45
je 0x1400d2b80
sub r14, 1
jb 0x1400d2a5c
mov rcx, qword [rdx + 0x20]
test rcx, rcx
je 0x1400d2a5c
mov r8d, 2
mov rdx, rdi
call fcn.140036ac0
mov rdx, rbx
test al, al
jne 0x1400d2b2d
mov rcx, rdx
call fcn.1400cfcc0
test al, al
jne 0x1400d2b2d
mov rdx, rbx
mov rax, qword [rbx]
test rax, rax
jne 0x1400d2a20
jmp 0x1400d29b0
xor eax, eax
mov r14d, 0x3e
nop word cs:[rax + rax]
movzx edx, byte [r10 + rsi]
cmp dl, 0x5f
je 0x1400d2add
lea edi, [rdx - 0x30]
cmp dil, 0xa
jb 0x1400d2abf
lea edi, [rdx - 0x61]
cmp dil, 0x1a
jae 0x1400d2ab1
add dl, 0xa9
jmp 0x1400d2abd
lea edi, [rdx - 0x41]
cmp dil, 0x1a
jae 0x1400d2aed
add dl, 0xe3
mov edi, edx
inc rsi
mov qword [rcx + 0x10], rsi
mul r14
jo 0x1400d2aed
movzx edx, dil
xor edi, edi
add rax, rdx
jb 0x1400d2aef
cmp rsi, r11
jb 0x1400d2a90
jmp 0x1400d2aef
inc rsi
mov qword [rcx + 0x10], rsi
inc rax
jne 0x1400d297f
xor edi, edi
mov rax, qword [rcx + 0x20]
test rax, rax
je 0x1400d2b35
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, [0x140299e78]
test r9b, r9b
cmovne rdx, rcx
mov rcx, rax
call fcn.140036ac0
mov rcx, rbx
test al, al
je 0x1400d2b35
mov sil, 2
jmp 0x1400d29b0
mov qword [rcx], 0
mov byte [rcx + 8], dil
xor esi, esi
jmp 0x1400d29b0
cmp qword [rcx + 0x20], 0
je 0x1400d2b40
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.1400d2920
movaps xmm0, xmmword [rbp - 0x20]
movaps xmm1, xmmword [rbp - 0x10]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x1400d29b2
inc rcx
mov qword [rdx + 0x10], rcx
jmp 0x1400d29b0
Function at 0x1400d5c52
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 0x1400d5cc4
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 0x1400d5cff
mov rax, qword [rcx + 0x40]
test rax, rax
je 0x1400d5cf6
mov r8, qword [rcx + 0x38]
xor edx, edx
lea r9, [0x1402ccb9c]
xor r10d, r10d
movzx r11d, byte [r8 + r10]
or edx, dword [r9 + r11*4]
inc r10
cmp rax, r10
jne 0x1400d5ce3
jmp 0x1400d5cf8
xor edx, edx
mov dword [rsp + 0xb8], edx
mov rsi, qword [rcx + 0x10]
test rsi, rsi
je 0x1400d5d56
lea rbx, [rsi*8]
mov rax, rsi
shr rax, 0x3c
jne 0x1400d5e1c
mov r15, qword [rcx + 8]
mov r14d, 8
mov ecx, 8
mov rdx, rbx
call fcn.1400d5394
test rax, rax
je 0x1400d5e1f
mov rdi, rax
xor eax, eax
mov rcx, qword [r15 + rax*8]
mov qword [rdi + rax*8], rcx
inc rax
cmp rsi, rax
jne 0x1400d5d42
mov eax, esi
jmp 0x1400d5d5f
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, [0x14029cbeb]
xor ecx, ecx
mov r8d, 2
xor r9d, r9d
call sub.secur32.dll_AcquireCredentialsHandleA
mov ebx, eax
test eax, eax
je 0x1400d5db8
shl rbx, 0x20
or rbx, 2
mov r14d, 1
jmp 0x1400d5dfc
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.1400d5394
test rax, rax
je 0x1400d5e2a
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.1400bb10d
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.140032d90
lea r14, [rsp + 0x70]
mov ecx, 8
mov edx, 0x20
call fcn.140032df0
ud2

Function at 0x1400d6559
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 0x1400d6582
mov rdx, qword [rsp + 0x20]
jmp 0x1400d658a
shl rdx, 0x20
or rdx, 2
mov al, cl
add rsp, 0x28
ret
Function at 0x1400db9d5
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 0x1400dba01
xor eax, eax
jmp 0x1400dba06
call fcn.140072775
nop
add rsp, 0x38
ret

Function at 0x1400dba40
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 0x1400dbad5
mov rax, qword [0x140324040]
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 0x1400dbb14
cmp dword [rbp], 0
je 0x1400dbaf8
call sub.kernel32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x1400dbb37
mov edi, eax
mov rax, qword [0x140320140]
nop word cs:[rax + rax]
mov qword [rsi + 8], rax
lock cmpxchg qword [0x140320140], rsi
jne 0x1400dbab0
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 0x1400dbb09
call sub.kernel32.dll_TlsAlloc
mov dword [rbp + 4], eax
cmp eax, 0xffffffff
je 0x1400dbb79
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x1400dbafd
mov edi, dword [rbp + 4]
jmp 0x1400dbb09
mov edi, dword [rsi + 0x18]
jmp 0x1400dbb07
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, [0x1402a1008]
lea r9, str.library_std_src_syspalwindows_thread_local_key.rs
lea rcx, [rbp - 4]
lea r8, [rbp - 0x38]
call fcn.1400dc840
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.1400360d0
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.1400dc880
int3
Function at 0x1400dc300
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x1402a0d58]
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 0x1400dc36f
mov rcx, rsi
mov edx, 0xffffffff
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [rbp]
cmp eax, 0x103
je 0x1400dc39b
test eax, eax
js 0x1400dc37b
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x1400dc391
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, str.q_r_
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.1400dbc10
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.1400dbcc0
mov ecx, 7
int 0x29
ud2

Function at 0x1400dd9e0
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 [0x14022f180]
test ecx, ecx
je 0x1400ddab1
dec ecx
call fcn.1401381a4
cmp rax, 1
jbe 0x1400dda11
add rax, 8
jmp 0x1400ddaa8
je 0x1400ddaa6
movzx eax, byte [0x140320188]
mov edx, 0x10
xor ecx, ecx
call fcn.14010b930
test rax, rax
je 0x1400ddae4
mov rbx, rax
mov rsi, rax
lea rax, [0x14022f168]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x14022f180]
test ecx, ecx
je 0x1400ddac4
dec ecx
call fcn.1401381a4
mov rdi, rax
mov ecx, dword [0x14022f180]
test ecx, ecx
je 0x1400ddad4
dec ecx
add rbx, 8
mov rdx, rsi
call fcn.1401381ac
test rdi, rdi
je 0x1400ddaa1
mov rax, qword [rdi + 8]
test rax, rax
je 0x1400dda94
lock dec qword [rax]
jne 0x1400dda94
mov rcx, qword [rdi + 8]
call fcn.1400dd130
mov edx, 8
mov rcx, rdi
call fcn.1400436f0
mov rax, rbx
jmp 0x1400ddaa8
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x14022f168]
call fcn.1400dba40
mov ecx, eax
jmp 0x1400dd9fd
lea rcx, [0x14022f168]
call fcn.1400dba40
mov ecx, eax
jmp 0x1400dda57
lea rcx, [0x14022f168]
call fcn.1400dba40
mov ecx, eax
jmp 0x1400dda6b
mov ecx, 8
mov edx, 0x10
call fcn.140032df0
int3