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

Disassembly:
push rbx
sub rsp, 0x30
lea rcx, [0x140082026]
call fcn.14004ea38
lea rax, [rsp + 0x58]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREAdobeAdobe_AcrobatTrunkInstaller_
mov rcx, 0xffffffff80000002
mov ebx, 1
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140005856
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140005856
and dword [rsp + 0x40], eax
lea r9, [rsp + 0x40]
and dword [rsp + 0x48], eax
lea rdx, str.SCAPackageLevel
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000584b
cmp dword [rsp + 0x40], 4
cmove ebx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x140005a44
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x40
mov bl, cl
lea rcx, [0x140082026]
call fcn.14004ea38
cmp byte [0x14007a1e3], 0
je 0x140005a70
test bl, bl
je 0x140005bd9
lea rax, [rbp - 0x10]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREAdobeAdobe_AcrobatTrunkInstaller_
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140005bd2
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x140005bd2
and dword [rbp + 0x20], eax
lea ebx, [rax + 4]
and dword [rbp + 0x18], eax
cmp byte [0x14007a1e3], al
mov dword [rbp + 0x28], ebx
jne 0x140005af8
lea rax, [rbp + 0x28]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x20]
lea rax, [rbp + 0x18]
lea rdx, str.bIsSingleClientApp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140005af8
cmp dword [rbp + 0x20], ebx
jne 0x140005af8
cmp dword [rbp + 0x18], eax
setne byte [0x14007a1e1]
cmp byte [0x14007a1e1], 0
je 0x140005bc8
mov rcx, qword [rbp - 0x10]
lea rax, [rbp + 0x28]
and dword [rbp + 0x18], 0
lea r9, [rbp + 0x20]
mov qword [rsp + 0x28], rax
lea rdx, str.bIsSCAcroAppInstalled
lea rax, [rbp + 0x18]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140005b46
cmp dword [rbp + 0x20], ebx
jne 0x140005b46
cmp dword [rbp + 0x18], eax
setne byte [0x14007a1e0]
mov rcx, qword [rbp - 0x10]
lea rax, [rbp + 0x28]
and dword [rbp + 0x18], 0
lea r9, [rbp + 0x20]
mov qword [rsp + 0x28], rax
lea rdx, str.SCAPackageLevel
lea rax, [rbp + 0x18]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140005b8b
mov eax, dword [section..data]
cmp dword [rbp + 0x20], ebx
cmove eax, dword [rbp + 0x18]
mov dword [section..data], eax
mov rcx, qword [rbp - 0x10]
lea rax, [rbp + 0x28]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x20]
lea rax, [rbp + 0x18]
xor r8d, r8d
lea rdx, str.IsAcrInstalledInRdrMode
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140005bc8
cmp dword [rbp + 0x20], ebx
jne 0x140005bc8
cmp dword [rbp + 0x18], eax
setne byte [0x14007a1e2]
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [0x14007a1e3], 1
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rbp
ret

Function at 0x14001d194
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rbx, rdx
lea rcx, [0x1400820cc]
call fcn.14004ea38
xor r9d, r9d
movabs r8, 0xcbf29ce484222325
test rbx, rbx
je 0x14001d1e0
movzx eax, byte [r9 + rdi]
movabs rcx, 0x100000001b3
xor r8, rax
inc r9
imul r8, rcx
cmp r9, rbx
jb 0x14001d1c2
mov rbx, qword [rsp + 0x30]
mov rax, r8
add rsp, 0x20
pop rdi
ret
Function at 0x140041c50
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
mov rbp, rsp
sub rsp, 0x38
lea rcx, [0x1400823eb]
call fcn.14004ea38
xor ebx, ebx
call fcn.14001bbdc
xor r8d, r8d
lea rdx, str.SOFTWAREPoliciesAdobeAcrobat_ReaderTrunkFeatureLockDown_
cmp eax, 1
mov r9d, 0x20019
lea rax, [rbp + 0x30]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
je 0x140041c99
lea rdx, str.SOFTWAREPoliciesAdobeAdobe_AcrobatTrunkFeatureLockDown_
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140041cf5
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x140041cf5
lea rax, [rbp + 0x28]
mov dword [rbp + 0x18], ebx
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x18]
lea rax, [rbp + 0x20]
mov dword [rbp + 0x20], ebx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.iMIPCloud
mov dword [rbp + 0x28], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140041ceb
cmp dword [rbp + 0x18], 4
cmove ebx, dword [rbp + 0x20]
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x38
pop rbx
pop rbp
ret
Function at 0x140006940
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x1400069d0
cmp r11, r10
ja 0x140006a46
cmp r10, rdx
ja 0x140006a58
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x1400069d2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x1400069b0
jmp 0x140006a34
ja 0x1400069da
mov r11, r10
cmp rax, r8
jne 0x140006974
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x140006a10
mov rdi, r8
sub ecx, edx
jns 0x140006a2b
jmp 0x140006a36
cmp r8, rsi
je 0x140006a67
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140006a36
xor al, 1
cmp rdi, rsi
jne 0x1400069f0
jmp 0x140006a36
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140004680
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140003c50
lea rcx, [0x14004f973]
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.140003ff0
int3

Function at 0x14000831e
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x140047018]
test ecx, ecx
je 0x140008337
dec ecx
add rsp, 0x28
jmp fcn.140045274
lea rcx, section..data
call fcn.140016330
mov ecx, eax
jmp 0x14000832e

Function at 0x140008347
Capabilities:
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rdx
mov rax, rcx
mov ecx, dword [rcx + 0x18]
test ecx, ecx
je 0x140008368
dec ecx
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp fcn.14004526c
mov rcx, rax
call fcn.140016330
mov ecx, eax
jmp 0x14000835b

Function at 0x14000c624
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov rax, rcx
mov ecx, dword [rcx + 0x18]
test ecx, ecx
je 0x14000c63d
dec ecx
add rsp, 0x28
jmp fcn.140045274
mov rcx, rax
call fcn.140016330
mov ecx, eax
jmp 0x14000c634
Function at 0x140011e10
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.1400037e0
cmp rax, rcx
je 0x140011e35
cmp rdx, 4
jae 0x140011e38
xor eax, eax
xor r8d, r8d
jmp 0x140011ed0
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x1400485b0]
movdqa xmm3, xmmword [0x1400485c0]
pxor xmm1, xmm1
nop dword [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 0x140011e60
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x140011ee7
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x140011ed0
ret
Function at 0x140012e50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov r8, qword [rcx]
test r8, r8
je 0x140012eab
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x140012eab
movzx eax, byte [r8 + rcx]
cmp eax, 0x49
je 0x140012ec6
cmp eax, 0x42
jne 0x140012eab
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x140012f76
cmp byte [r8 + r11], 0x5f
jne 0x140012f76
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x140012fde
mov rcx, rsi
xor edx, edx
call fcn.14000e840
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.14000e840
test al, al
jne 0x140013071
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140012f02
lea rdx, [0x14004c0a3]
mov r8d, 1
call fcn.140003cd0
test al, al
jne 0x140013071
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x140012eba
xor r14d, r14d
lea rbx, [0x14004c411]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x140012f34
cmp byte [rax + rcx], 0x45
je 0x140013093
sub r14, 1
jb 0x140012f59
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140012f59
mov r8d, 2
mov rdx, rbx
call fcn.140003cd0
test al, al
jne 0x140013071
mov rcx, rsi
call fcn.140010070
test al, al
jne 0x140013071
mov rax, qword [rsi]
test rax, rax
jne 0x140012f20
jmp 0x140012eba
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r9b, 1
cmp r11, r10
jae 0x140013038
movzx edx, byte [r8 + r11]
cmp dl, 0x5f
je 0x140012fd2
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x140012fbc
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x140012fab
add dl, 0xa9
jmp 0x140012fba
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x140013038
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x140013038
movzx edx, bl
add rax, rdx
jae 0x140012f80
jmp 0x140013038
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x140013038
cmp rax, rcx
jae 0x140013035
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x14001308b
cmp qword [rsi + 0x20], 0
je 0x140013084
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.140012e50
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x140012ebc
mov r9b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140013079
mov eax, r9d
xor al, 1
movzx eax, al
lea r8, [rax + rax*8]
add r8, 0x10
lea rax, str.invalid_syntaxrecursion_limit_reached_for_______::closureshim_as__mut_const___dyn___unsafe_extern__
lea rdx, [0x14004c3f0]
test r9b, r9b
cmovne rdx, rax
call fcn.140003cd0
test al, al
je 0x140013079
mov dil, 2
jmp 0x140012eba
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x140012eba
mov dil, 1
xor r9d, r9d
jmp 0x14001303a
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x140012eba
Function at 0x140016330
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
cmp qword [rcx], 0
je 0x1400163b5
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 0x1400163f6
cmp dword [rsp + 0x2c], 0
je 0x1400163da
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x14001640e
mov edi, eax
inc eax
mov dword [rsi + 0x18], eax
mov rax, qword [0x140056108]
nop
mov qword [rsi + 8], rax
lock cmpxchg qword [0x140056108], rsi
jne 0x140016390
mov byte [0x140056100], 1
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
jmp 0x1400163ec
call sub.KERNEL32.dll_TlsAlloc
mov dword [rsp + 0x28], eax
cmp eax, 0xffffffff
je 0x140016458
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x1400163df
mov edi, dword [rsp + 0x28]
jmp 0x1400163ec
mov edi, dword [rsi + 0x18]
jmp 0x1400163ea
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 rcx, [rsp + 0x28]
lea rdx, [rsp + 0x30]
call fcn.140016a40
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.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrary_std_src_threadlocal.rs
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.1400032b0
lea rax, str.out_of_TLS_indexes
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
lea rax, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrary_std_src_threadlocal.rs
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x30]
call fcn.140016a90
int3
Function at 0x140016910
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov ecx, dword [0x1400470e0]
test ecx, ecx
je 0x1400169f0
dec ecx
call fcn.140045274
cmp rax, 2
jb 0x140016944
mov rdi, rax
cmp qword [rax + 8], 0
je 0x140016944
add rdi, 0x10
jmp 0x1400169e6
mov ecx, dword [0x1400470e0]
test ecx, ecx
je 0x140016a03
dec ecx
call fcn.140045274
cmp rax, 1
je 0x1400169e4
mov rsi, rax
test rax, rax
jne 0x1400169b3
movzx eax, byte [0x140056128]
mov ecx, 0x18
mov edx, 8
call fcn.1400021a0
test rax, rax
je 0x140016a26
mov rsi, rax
lea rax, [0x1400470c8]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x1400470e0]
test ecx, ecx
je 0x140016a16
dec ecx
mov rdx, rsi
call fcn.14004526c
lea rdi, [rsi + 0x10]
mov rcx, qword [rsi + 0x10]
cmp qword [rsi + 8], 0
mov qword [rsi + 8], 1
mov qword [rsi + 0x10], 0
je 0x1400169e6
test rcx, rcx
je 0x1400169e6
lock dec qword [rcx]
jne 0x1400169e6
call fcn.1400162e0
jmp 0x1400169e6
xor edi, edi
mov rax, rdi
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x1400470c8]
call fcn.140016330
mov ecx, eax
jmp 0x140016926
lea rcx, [0x1400470c8]
call fcn.140016330
mov ecx, eax
jmp 0x140016954
lea rcx, [0x1400470c8]
call fcn.140016330
mov ecx, eax
jmp 0x1400169ab
mov ecx, 8
mov edx, 0x18
call fcn.140002760
int3
Function at 0x140017c80
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x1400470c0]
test ecx, ecx
je 0x140017d3d
dec ecx
call fcn.140045274
cmp rax, 2
jb 0x140017cb0
cmp qword [rax + 8], 0
je 0x140017cb0
add rax, 0x10
jmp 0x140017d37
mov ecx, dword [0x1400470c0]
test ecx, ecx
je 0x140017d50
dec ecx
call fcn.140045274
cmp rax, 1
je 0x140017d35
mov rsi, rax
test rax, rax
jne 0x140017d1b
movzx eax, byte [0x140056128]
mov ecx, 0x20
mov edx, 8
call fcn.1400021a0
test rax, rax
je 0x140017d73
mov rsi, rax
lea rax, [0x1400470a8]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x1400470c0]
test ecx, ecx
je 0x140017d63
dec ecx
mov rdx, rsi
call fcn.14004526c
mov qword [rsi + 8], 1
lea rax, [rsi + 0x10]
mov qword [rsi + 0x10], 0
mov byte [rsi + 0x18], 0
jmp 0x140017d37
xor eax, eax
add rsp, 0x20
pop rsi
ret
lea rcx, [0x1400470a8]
call fcn.140016330
mov ecx, eax
jmp 0x140017c95
lea rcx, [0x1400470a8]
call fcn.140016330
mov ecx, eax
jmp 0x140017cc0
lea rcx, [0x1400470a8]
call fcn.140016330
mov ecx, eax
jmp 0x140017d13
mov ecx, 8
mov edx, 0x20
call fcn.140002760
int3
Function at 0x1400339e0
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x498
mov rsi, rcx
movabs rdi, 0x8000000000000000
lea rcx, [rsp + 0x98]
call fcn.140018160
mov rax, qword [rsp + 0x98]
cmp rax, rdi
jne 0x140033a2f
mov rcx, qword [rsp + 0xa0]
call fcn.140015b70
mov qword [rsi], rdi
jmp 0x140033be5
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 2
mov qword [rsp + 0x58], 0
mov r8d, 0x200
mov eax, 2
mov qword [rsp + 0x28], rax
xor ebx, ebx
mov esi, 0xffffffff
xor r14d, r14d
xor r13d, r13d
cmp r8, 0x201
jae 0x140033ac0
jmp 0x140033a9f
jae 0x140033b6b
cmp r8, 0x201
jae 0x140033ac0
mov edi, 0x200
lea rbp, [rsp + 0x98]
mov r12, r8
jmp 0x140033b07
sub r8, r13
sub r14, r13
cmp r14, r8
jae 0x140033ae7
lea rcx, [rsp + 0x48]
mov rdx, r13
call fcn.1400185e0
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
cmp rbx, rsi
mov r13d, 0xffffffff
cmovb r13, rbx
mov qword [rsp + 0x58], r13
mov r14, rbx
mov rdi, r13
mov rbp, qword [rsp + 0x28]
mov r12, r13
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, qword [rsp + 0x30]
mov rdx, rbp
mov r8d, r12d
call sub.KERNEL32.dll_GetEnvironmentVariableW
mov r15d, eax
test eax, eax
jne 0x140033b32
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x140033c19
mov r8d, r15d
cmp r12, r8
jne 0x140033a90
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x140033c43
add r12, r12
cmp r12, rsi
cmovae r12, rsi
mov r8, r12
cmp r8, 0x201
jb 0x140033a9f
jmp 0x140033ac0
cmp rdi, r8
jb 0x140033c5d
lea rcx, [rsp + 0x78]
mov rdx, rbp
call fcn.1400198a0
movabs r14, 0x8000000000000000
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
movups xmm0, xmmword [rsp + 0x88]
movaps xmmword [rsp + 0x60], xmm0
test rbx, rbx
je 0x140033bb9
mov edx, 2
mov rcx, qword [rsp + 0x28]
call fcn.140002230
cmp rsi, r14
jne 0x140033bfa
mov rax, qword [rsp + 0x38]
mov qword [rax], r14
mov rcx, rdi
call fcn.140015b70
cmp qword [rsp + 0x40], 0
je 0x140033be5
mov edx, 2
mov rcx, qword [rsp + 0x30]
call fcn.140002230
nop
add rsp, 0x498
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsp + 0x38]
mov qword [rax], rsi
mov qword [rax + 8], rdi
movaps xmm0, xmmword [rsp + 0x60]
movups xmmword [rax + 0x10], xmm0
cmp qword [rsp + 0x40], 0
jne 0x140033bd6
jmp 0x140033be5
call sub.KERNEL32.dll_GetLastError
mov edi, eax
shl rdi, 0x20
or rdi, 2
movabs r14, 0x8000000000000000
mov rsi, r14
test rbx, rbx
jne 0x140033baa
jmp 0x140033bb9
lea rcx, str.internal_error:_entered_unreachable_code_home_kali_.cargo_registry_src_index.crates.io_6f17d22bba15001f_rayon_core_1.12.1_src_job.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.140003ff0
jmp 0x140033c72
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rdi
mov r8, rax
call fcn.140003c50
ud2
Function at 0x140034e80
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov ecx, dword [0x140047120]
test ecx, ecx
je 0x140034f60
dec ecx
call fcn.140045274
cmp rax, 2
jb 0x140034eb4
mov rdi, rax
cmp qword [rax + 8], 0
je 0x140034eb4
add rdi, 0x10
jmp 0x140034f56
mov ecx, dword [0x140047120]
test ecx, ecx
je 0x140034f73
dec ecx
call fcn.140045274
cmp rax, 1
je 0x140034f54
mov rsi, rax
test rax, rax
jne 0x140034f23
movzx eax, byte [0x140056128]
mov ecx, 0x18
mov edx, 8
call fcn.1400021a0
test rax, rax
je 0x140034f96
mov rsi, rax
lea rax, [0x140047108]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x140047120]
test ecx, ecx
je 0x140034f86
dec ecx
mov rdx, rsi
call fcn.14004526c
lea rdi, [rsi + 0x10]
mov rcx, qword [rsi + 0x10]
cmp qword [rsi + 8], 0
mov qword [rsi + 8], 1
mov qword [rsi + 0x10], 0
je 0x140034f56
test rcx, rcx
je 0x140034f56
lock dec qword [rcx]
jne 0x140034f56
call fcn.140034fb0
jmp 0x140034f56
xor edi, edi
mov rax, rdi
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x140047108]
call fcn.140016330
mov ecx, eax
jmp 0x140034e96
lea rcx, [0x140047108]
call fcn.140016330
mov ecx, eax
jmp 0x140034ec4
lea rcx, [0x140047108]
call fcn.140016330
mov ecx, eax
jmp 0x140034f1b
mov ecx, 8
mov edx, 0x18
call fcn.140002760
int3

Function at 0x140035560
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rsi
sub rsp, 0x80
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
mov edx, 0x10
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x140035596
mov rax, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
add rsp, 0x80
pop rsi
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x40], rax
lea rax, [0x1400345e0]
mov qword [rsp + 0x48], rax
lea rax, str.fallback_RNG_broken:
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 1
mov qword [rsp + 0x70], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 1
lea rdx, str.library_std_src_syswindows_rand.rs
lea rcx, [rsp + 0x50]
call fcn.1400032b0
ud2

Function at 0x14003b22f
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rax, rdx
mov rsi, rcx
lea rdx, [rsp + 0x2c]
mov rcx, rax
call sub.SHELL32.dll_CommandLineToArgvW
test rax, rax
je 0x14003b2cb
mov rdi, rax
lea rbx, [rsp + 0x30]
and qword [rbx], 0
mov qword [rbx + 8], 8
and qword [rbx + 0x10], 0
movsxd r12, dword [rsp + 0x2c]
shl r12, 3
xor r13d, r13d
lea r14, [rsp + 0x48]
cmp r12, r13
je 0x14003b2b0
mov r15, qword [rdi + r13]
mov rcx, r15
call sub.msvcrt.dll_wcslen
mov rcx, r14
mov rdx, r15
mov r8, rax
call fcn.14003aae9
mov rcx, rbx
mov rdx, r14
call fcn.14003b55f
add r13, 8
jmp 0x14003b280
mov rcx, rdi
call sub.KERNEL32.dll_LocalFree
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
mov rax, qword [rsp + 0x40]
mov qword [rsi + 0x10], rax
jmp 0x14003b2dc
and qword [rsi], 0
mov qword [rsi + 8], 8
and qword [rsi + 0x10], 0
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140043ab5
Capabilities:
Generate random numbers via winapi
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
mov ecx, dword [0x140047140]
test ecx, ecx
je 0x140043bc5
dec ecx
call fcn.140045274
cmp rax, 2
jb 0x140043af0
cmp qword [rax + 8], 0
je 0x140043af0
mov rcx, rax
add rcx, 0x10
mov rax, qword [rax + 0x10]
jmp 0x140043ba6
mov ecx, dword [0x140047140]
test ecx, ecx
je 0x140043bd8
dec ecx
call fcn.140045274
mov rdi, rax
cmp rax, 1
je 0x140043bbb
test rdi, rdi
jne 0x140043b5f
mov al, byte [0x140056128]
mov ecx, 0x20
mov edx, 8
call fcn.1400021a0
test rax, rax
je 0x140043bfe
mov rdi, rax
lea rax, [0x140047128]
mov qword [rdi], rax
and qword [rdi + 8], 0
mov ecx, dword [0x140047140]
test ecx, ecx
je 0x140043beb
dec ecx
mov rdx, rdi
call fcn.14004526c
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
movaps xmmword [rdx], xmm0
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
js 0x140043b8d
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x140043b92
call fcn.140035560
mov qword [rdi + 8], 1
lea rcx, [rdi + 0x10]
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rdx
mov rdx, qword [rcx + 8]
lea r8, [rax + 1]
mov qword [rcx], r8
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rdx
xor edi, edi
mov qword [rsi], rdi
add rsp, 0x38
pop rdi
pop rsi
ret
lea rcx, [0x140047128]
call fcn.140016330
mov ecx, eax
jmp 0x140043ace
lea rcx, [0x140047128]
call fcn.140016330
mov ecx, eax
jmp 0x140043b00
lea rcx, [0x140047128]
call fcn.140016330
mov ecx, eax
jmp 0x140043b57
mov ecx, 8
mov edx, 0x20
call fcn.140002760
int3