joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000978c
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1400097bc
xor eax, eax
jmp 0x14000987f
mov rbp, rbx
cmp word [rax], si
je 0x1400097e1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400097c8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400097c4
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1400096dc
movsxd r14, eax
test eax, eax
jne 0x14000981f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400097b5
mov rcx, r14
call fcn.140007154
mov rdi, rax
test rax, rax
jne 0x140009838
xor ecx, ecx
call fcn.140007118
jmp 0x140009814
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1400096dc
test eax, eax
jne 0x140009869
mov rcx, rdi
call fcn.140007118
jmp 0x140009873
xor ecx, ecx
call fcn.140007118
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14000cacc
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1400079e0
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14000cb56
cmp byte [rbp - 0x21], r15b
je 0x14000cb51
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14000cb8c
call fcn.140009f94
test eax, eax
jne 0x14000cb78
cmp byte [rbp - 0x21], r15b
je 0x14000cb70
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14000cb8c
cmp byte [rbp - 0x21], r15b
je 0x14000cb89
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140007e58
test eax, eax
jne 0x14000cc2c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400079e0
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14000cbcb
cmp byte [rbp - 0x21], r15b
je 0x14000cc00
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14000cc00
call fcn.140009f94
test eax, eax
jne 0x14000cbec
cmp byte [rbp - 0x21], r15b
je 0x14000cbe5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14000cc00
cmp byte [rbp - 0x21], r15b
je 0x14000cbfd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140007e58
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14000cc2c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14000cc2f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14000cc3d
mov rcx, rdi
call fcn.140007118
cmp byte [rbp + 0x3f], r15b
je 0x14000cc4c
mov rcx, qword [rbp + 0x27]
call fcn.140007118
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x4131ad
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push rsi
sub rsp, 0x10
xorps xmm0, xmm0
movaps xmmword [rsp], xmm0
mov eax, dword [rdx + 0x10]
mov r9d, dword [rdx]
add r9d, eax
xor r10d, r10d
test r10, r10
je 0x4131d3
mov r11d, dword [rdx + r10]
mov rsi, r10
jmp 0x4131d8
mov r11d, r9d
xor esi, esi
mov dword [rsp + rsi], r11d
add r10, 4
cmp r10, 0x10
jne 0x4131c5
movdqa xmm0, xmmword [rsp]
pxor xmm0, xmmword [rcx]
aesenc xmm0, xmmword [rcx + 0x10]
aesenc xmm0, xmmword [rcx + 0x20]
aesenc xmm0, xmmword [rcx + 0x30]
aesenc xmm0, xmmword [rcx + 0x40]
aesenc xmm0, xmmword [rcx + 0x50]
aesenc xmm0, xmmword [rcx + 0x60]
aesenc xmm0, xmmword [rcx + 0x70]
aesenc xmm0, xmmword [rcx + 0x80]
aesenc xmm0, xmmword [rcx + 0x90]
aesenc xmm0, xmmword [rcx + 0xa0]
aesenc xmm0, xmmword [rcx + 0xb0]
inc eax
aesenc xmm0, xmmword [rcx + 0xc0]
mov dword [rdx + 0x10], eax
aesenc xmm0, xmmword [rcx + 0xd0]
aesenclast xmm0, xmmword [rcx + 0xe0]
movdqu xmmword [r8], xmm0
add rsp, 0x10
pop rsi
ret
Function at 0x413b40
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x413b76
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x413b7e
mov esi, dword [rdx]
mov r9d, 4
jmp 0x413b83
xor r10d, r10d
jmp 0x413c31
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x413ba6
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x413bbd
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x413bdd
add r11, r8
jmp 0x413d01
mov r11, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r9
rol r9, 0xd
xor r11, rsi
xor r9, rcx
rol rcx, 0x20
mov rdi, qword [rax + 8]
add rdi, r11
rol r11, 0x10
xor r11, rdi
add rcx, r11
rol r11, 0x15
xor r11, rcx
add rdi, r9
rol r9, 0x11
mov qword [rax + 0x18], r11
xor r9, rdi
rol rdi, 0x20
mov qword [rax + 0x10], r9
mov qword [rax + 8], rdi
xor rcx, rsi
mov qword [rax], rcx
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x413ca5
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
add rcx, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r10]
xor rsi, rcx
rol rcx, 0x20
xor rdi, rbx
add r9, rdi
rol rdi, 0x10
xor rdi, r9
add rcx, rdi
rol rdi, 0x15
add r9, rsi
rol rsi, 0x11
xor rsi, r9
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x413c53
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x413cb7
mov r9d, dword [rdx + r10]
mov r8d, 4
jmp 0x413cbd
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x413ce3
lea rcx, [r8 + r10]
movzx esi, word [rdx + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x413cfd
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x41d08f
Capabilities:
Impersonate user

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xc8
mov r8, qword [rcx + 0x10]
test r8, r8
je 0x41d241
mov rdi, rcx
mov r14, qword [rcx + 0x28]
test r14, r14
je 0x41d241
mov rbx, qword [rdi + 0x40]
test rbx, rbx
je 0x41d241
mov rdx, qword [rdi + 8]
lea rsi, [rsp + 0x38]
mov rcx, rsi
call fcn.00429c40
mov rdx, qword [rdi + 0x20]
lea r15, [rsp + 0x50]
mov rcx, r15
mov r8, r14
call fcn.00429c40
mov rdx, qword [rdi + 0x38]
lea rdi, [rsp + 0x68]
mov rcx, rdi
mov r8, rbx
call fcn.00429c40
lea r12, [rsp + 0x30]
mov qword [r12], 0
mov rdx, qword [r15 + 8]
mov r8, qword [r15 + 0x10]
lea rbx, [rsp + 0x80]
mov rcx, rbx
call fcn.00426dcc
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea r14, [rsp + 0x98]
mov rcx, r14
call fcn.00426dcc
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
lea r15, [rsp + 0xb0]
mov rcx, r15
call fcn.00426dcc
mov rsi, qword [rbx + 8]
mov rdi, qword [r14 + 8]
mov rbx, qword [r15 + 8]
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 0
mov rcx, rsi
mov rdx, rdi
mov r8, rbx
mov r9d, 3
call sub.ADVAPI32.dll_LogonUserW
test eax, eax
je 0x41d19c
mov rcx, qword [rsp + 0x30]
call sub.ADVAPI32.dll_ImpersonateLoggedOnUser
mov rcx, qword [rsp + 0x30]
call fcn.0048219c
cmp qword [rsp + 0xb0], 0
je 0x41d1b8
mov rcx, qword [0x004a30e8]
xor edx, edx
mov r8, rbx
call sub.KERNEL32.dll_HeapFree
cmp qword [rsp + 0x98], 0
je 0x41d1d4
mov rcx, qword [0x004a30e8]
xor edx, edx
mov r8, rdi
call sub.KERNEL32.dll_HeapFree
cmp qword [rsp + 0x80], 0
je 0x41d1f0
mov rcx, qword [0x004a30e8]
xor edx, edx
mov r8, rsi
call sub.KERNEL32.dll_HeapFree
cmp qword [rsp + 0x68], 0
je 0x41d20b
mov r8, qword [rsp + 0x70]
mov rcx, qword [0x004a30e8]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
cmp qword [rsp + 0x50], 0
je 0x41d226
mov r8, qword [rsp + 0x58]
mov rcx, qword [0x004a30e8]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
cmp qword [rsp + 0x38], 0
je 0x41d241
mov r8, qword [rsp + 0x40]
mov rcx, qword [0x004a30e8]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
nop
add rsp, 0xc8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x426d06
Capabilities:
Create process on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rdi, rdx
mov rsi, rcx
mov rdx, qword [rcx + 0x10]
cmp rdx, qword [rcx]
jne 0x426d2c
mov rcx, rsi
call fcn.004368e8
mov rdx, qword [rsi + 0x10]
mov rbx, qword [rsi + 8]
mov byte [rbx + rdx], 0
inc rdx
mov qword [rsi + 0x10], rdx
mov r15, qword [rdi]
mov rdx, qword [rdi + 0x10]
cmp rdx, r15
jne 0x426d56
mov rcx, rdi
call fcn.004368e8
mov r15, qword [rdi]
mov rdx, qword [rdi + 0x10]
mov r14, qword [rdi + 8]
mov byte [r14 + rdx], 0
inc rdx
mov qword [rdi + 0x10], rdx
mov dword [rsp + 0x28], 6
mov qword [rsp + 0x20], 0
xor ecx, ecx
xor edx, edx
mov r8, rbx
mov r9, r14
call sub.SHELL32.dll_ShellExecuteA
test r15, r15
je 0x426d9c
mov rcx, qword [0x004a30e8]
xor edx, edx
mov r8, r14
call sub.KERNEL32.dll_HeapFree
cmp qword [rsi], 0
je 0x426dbf
mov r8, qword [rsi + 8]
mov rcx, qword [0x004a30e8]
xor edx, edx
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp sub.KERNEL32.dll_HeapFree
nop
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x42895f
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aeskeygenassist xmm0, xmmword [rdx], 2
movdqa xmmword [rcx], xmm0
ret
Function at 0x42e7c0
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 0x42e850
cmp r11, r10
ja 0x42e8c6
cmp r10, rdx
ja 0x42e8d8
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x42e852
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x42e830
jmp 0x42e8b4
ja 0x42e85a
mov r11, r10
cmp rax, r8
jne 0x42e7f4
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 0x42e890
mov rdi, r8
sub ecx, edx
jns 0x42e8ab
jmp 0x42e8b6
cmp r8, rsi
je 0x42e8e7
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x42e8b6
xor al, 1
cmp rdi, rsi
jne 0x42e870
jmp 0x42e8b6
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.0042c2c0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.0042b640
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.0042cee0
int3

Function at 0x4309e4
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
movzx r15d, byte [rdx + 0x48]
lea rcx, [rdx + r15]
mov r8d, 0x48
sub r8, r15
xor r14d, r14d
xor edx, edx
call sub.ntdll.dll_memset
mov byte [rbx + 0x48], 0
mov byte [rbx + r15], 6
or byte [rbx + 0x47], 0x80
mov rax, qword [rbx + r14*8]
xor qword [rdi + r14*8], rax
lea rax, [r14 + 1]
mov r14, rax
cmp rax, 9
jne 0x430a21
mov rdx, qword [rdi + 0xc8]
mov rcx, rdi
call fcn.00433df2
xor eax, eax
mov rcx, qword [rdi + rax*8]
mov qword [rsi + rax*8], rcx
inc rax
cmp rax, 8
jne 0x430a47
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x431727
Capabilities:
Encrypt data using aes via x86 extensions

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

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rcx, str.api_ms_win_core_synch_l1_2_0.dll
call sub.KERNEL32.dll_GetModuleHandleA
test rax, rax
je 0x43f5ca
mov rdi, rax
lea rdx, str.WaitOnAddress
mov rcx, rax
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x43f5ca
mov rsi, rax
lea rdx, str.WakeByAddressSingle
mov rcx, rdi
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x43f5ca
mov r14, rax
xor edi, edi
jmp 0x43f64e
lea rcx, str.ntdll.dll
call sub.KERNEL32.dll_GetModuleHandleA
test rax, rax
je 0x43f6b3
mov rsi, rax
lea rdx, str.NtCreateKeyedEvent
mov rcx, rax
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x43f6b3
mov rbx, rax
lea rdx, str.NtReleaseKeyedEvent
mov rcx, rsi
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x43f6b3
mov rdi, rax
lea rdx, str.NtWaitForKeyedEvent
mov rcx, rsi
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x43f6b3
mov rsi, rax
lea rcx, [rsp + 0x20]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rbx
test eax, eax
jne 0x43f6b3
mov r14, qword [rsp + 0x20]
mov al, byte [0x004a3120]
mov edx, 0x18
xor ecx, ecx
call fcn.0046e140
test rax, rax
je 0x43f6cb
mov rbx, rax
mov qword [rax], rdi
mov qword [rax + 8], rsi
mov qword [rax + 0x10], r14
xor eax, eax
lock cmpxchg qword [0x004a3040], rbx
je 0x43f6a6
mov rsi, rax
cmp qword [rbx], 0
je 0x43f692
mov rcx, qword [rbx + 0x10]
call fcn.0048219c
mov rcx, qword [0x004a30e8]
xor edx, edx
mov r8, rbx
call sub.KERNEL32.dll_HeapFree
mov rbx, rsi
mov rax, rbx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.parking_lot_requires_either_NT_Keyed_Events__WinXP__or_WaitOnAddress_WakeByAddress__Win8__cargo_registry_src_index.crates.io_6f17d22bba15001f_parking_lot_core_0.9.9_src_thread_parker_windows_mod.rs
lea r8, [0x004914f8]
mov edx, 0x5b
call fcn.0043f6db
mov ecx, 8
mov edx, 0x18
call fcn.004289f0
int3
Function at 0x43f824
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov ecx, dword [0x00484698]
test ecx, ecx
je 0x43f90b
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x43f853
mov rsi, rax
cmp qword [rax + 8], 0
jne 0x43f8f9
mov ecx, dword [0x00484698]
test ecx, ecx
je 0x43f91e
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x43f8ff
mov rsi, rax
test rax, rax
jne 0x43f8be
mov al, byte [0x004a3120]
mov edx, 0x40
xor ecx, ecx
call fcn.0046e140
test rax, rax
je 0x43f944
mov rsi, rax
lea rax, [0x00484680]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x00484698]
test ecx, ecx
je 0x43f931
dec ecx
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
lea rdi, [rsp + 0x20]
mov rcx, rdi
call fcn.0043eef0
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movups xmm2, xmmword [rdi + 0x20]
movups xmmword [rsi + 0x18], xmm1
movups xmmword [rsi + 0x28], xmm2
mov rax, qword [rdi + 0x30]
mov qword [rsi + 0x38], rax
cmp qword [rsi + 8], 0
movups xmmword [rsi + 8], xmm0
je 0x43f8f9
lock dec qword [0x004a3030]
add rsi, 8
jmp 0x43f901
xor esi, esi
mov rax, rsi
add rsp, 0x58
pop rdi
pop rsi
ret
lea rcx, [0x00484680]
call fcn.0044ad50
mov ecx, eax
jmp 0x43f83a
lea rcx, [0x00484680]
call fcn.0044ad50
mov ecx, eax
jmp 0x43f863
lea rcx, [0x00484680]
call fcn.0044ad50
mov ecx, eax
jmp 0x43f8b6
mov ecx, 8
mov edx, 0x40
call fcn.004289f0
int3

Function at 0x446460
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.0042b0c0
cmp rax, rcx
je 0x446485
cmp rdx, 4
jae 0x446488
xor eax, eax
xor r8d, r8d
jmp 0x446520
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x00485de0]
movdqa xmm3, xmmword [0x00485df0]
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 0x4464b0
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x446537
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x446520
ret
Function at 0x447400
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 0x44745b
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x44745b
movzx eax, byte [r8 + rcx]
cmp eax, 0x49
je 0x447476
cmp eax, 0x42
jne 0x44745b
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x447526
cmp byte [r8 + r11], 0x5f
jne 0x447526
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x44758e
mov rcx, rsi
xor edx, edx
call fcn.00442ed0
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.00442ed0
test al, al
jne 0x447621
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x4474b2
lea rdx, [0x00491c8b]
mov r8d, 1
call fcn.0042b6c0
test al, al
jne 0x447621
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x44746a
xor r14d, r14d
lea rbx, [0x00491ff9]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x4474e4
cmp byte [rax + rcx], 0x45
je 0x447643
sub r14, 1
jb 0x447509
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x447509
mov r8d, 2
mov rdx, rbx
call fcn.0042b6c0
test al, al
jne 0x447621
mov rcx, rsi
call fcn.004446f0
test al, al
jne 0x447621
mov rax, qword [rsi]
test rax, rax
jne 0x4474d0
jmp 0x44746a
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r9b, 1
cmp r11, r10
jae 0x4475e8
movzx edx, byte [r8 + r11]
cmp dl, 0x5f
je 0x447582
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x44756c
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x44755b
add dl, 0xa9
jmp 0x44756a
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x4475e8
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x4475e8
movzx edx, bl
add rax, rdx
jae 0x447530
jmp 0x4475e8
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x4475e8
cmp rax, rcx
jae 0x4475e5
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x44763b
cmp qword [rsi + 0x20], 0
je 0x447634
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.00447400
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x44746c
mov r9b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x447629
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, [0x00491fd8]
test r9b, r9b
cmovne rdx, rax
call fcn.0042b6c0
test al, al
je 0x447629
mov dil, 2
jmp 0x44746a
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x44746a
mov dil, 1
xor r9d, r9d
jmp 0x4475ea
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x44746a