joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400011a9
Capabilities:
Inject thread

Disassembly:
jmp 0x140001620
push rdi
sub rsp, 0x70
lea rax, str.C:UsersCAR0041Projectsmalwaredevdll_injectionStardustFanClub.dll
mov qword [rsp + 0x40], rax
lea rax, str.Notepad.exe
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.14000104b
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x140001682
mov rcx, qword [rsp + 0x48]
call fcn.14000104b
mov dword [rsp + 0x50], eax
lea rdx, str.Error_finding_process._If_it_is_not_open__please_open_it._n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001041
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
jmp 0x14000164c
mov r8d, dword [rsp + 0x50]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x140001768
cmp qword [rsp + 0x58], 0xffffffffffffffff
je 0x140001768
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8d, 0x104
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x40]
call sub.ucrtbased.dll_strlen
inc rax
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x140001750
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rsp + 0x58], 0
je 0x140001764
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor eax, eax
jmp 0x14000176e
jmp 0x14000176c
xor eax, eax
add rsp, 0x70
pop rdi
ret

Function at 0x1400011b3
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400047b0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400047d0
xor al, al
jmp 0x140004851
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400047e3
xor al, al
jmp 0x140004851
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14000480d
xor al, al
jmp 0x140004851
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140004821
xor al, al
jmp 0x140004851
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140004833
xor al, al
jmp 0x140004851
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14000484f
xor al, al
jmp 0x140004851
mov al, 1
add rsp, 0x38
ret
Function at 0x140001530
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140001530
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x190
lea rdi, [rsp + 0x20]
mov ecx, 0x5c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1a0]
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov dword [rsp + 0x20], 0
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x1400015d8
mov dword [rsp + 0x40], 0x130
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1400015d8
mov rdx, qword [rsp + 0x1a0]
lea rcx, [rsp + 0x6c]
call qword [sym.imp.ucrtbased.dll__stricmp]
test eax, eax
jne 0x1400015c5
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x20], eax
jmp 0x1400015d8
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1400015a4
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x20]
mov edi, eax
mov rcx, rsp
lea rdx, [0x14000aea0]
call fcn.140001226
mov eax, edi
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.14000113b
add rsp, 0x190
pop rdi
ret
Function at 0x140001620
Capabilities:
Create thread
Inject thread

Disassembly:
jmp 0x140001620
push rdi
sub rsp, 0x70
lea rax, str.C:UsersCAR0041Projectsmalwaredevdll_injectionStardustFanClub.dll
mov qword [rsp + 0x40], rax
lea rax, str.Notepad.exe
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.14000104b
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x140001682
mov rcx, qword [rsp + 0x48]
call fcn.14000104b
mov dword [rsp + 0x50], eax
lea rdx, str.Error_finding_process._If_it_is_not_open__please_open_it._n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001041
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
jmp 0x14000164c
mov r8d, dword [rsp + 0x50]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x140001768
cmp qword [rsp + 0x58], 0xffffffffffffffff
je 0x140001768
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8d, 0x104
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x40]
call sub.ucrtbased.dll_strlen
inc rax
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x140001750
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rsp + 0x58], 0
je 0x140001764
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor eax, eax
jmp 0x14000176e
jmp 0x14000176c
xor eax, eax
add rsp, 0x70
pop rdi
ret
Function at 0x140002690
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140001271
movzx eax, al
test eax, eax
jne 0x1400026b0
mov ecx, 7
call fcn.140001230
nop
mov byte [rsp + 0x20], 0
call fcn.14000123a
mov byte [rsp + 0x21], al
cmp dword [0x14000e868], 1
jne 0x1400026d4
mov ecx, 7
call fcn.140001230
nop
jmp 0x14000272c
cmp dword [0x14000e868], 0
jne 0x140002727
mov dword [0x14000e868], 1
lea rdx, [0x14000a660]
lea rcx, [0x14000a330]
call sub.ucrtbased.dll__initterm_e
test eax, eax
je 0x140002708
mov eax, 0xff
jmp 0x140002831
lea rdx, [0x14000a220]
lea rcx, [section..rdata]
call sub.ucrtbased.dll__initterm
mov dword [0x14000e868], 2
jmp 0x14000272c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140001221
call fcn.1400011d1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140002789
mov rcx, qword [rsp + 0x30]
call fcn.1400010ff
movzx eax, al
test eax, eax
je 0x140002789
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140012020]
nop
call fcn.1400011f4
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x1400027bd
mov rcx, qword [rsp + 0x38]
call fcn.1400010ff
movzx eax, al
test eax, eax
je 0x1400027bd
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call sub.ucrtbased.dll__register_thread_local_exe_atexit_callback
nop
call fcn.1400028e0
mov dword [rsp + 0x28], eax
call fcn.1400011b3
movzx eax, al
test eax, eax
jne 0x1400027dc
mov ecx, dword [rsp + 0x28]
call sub.ucrtbased.dll_exit
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1400027eb
call sub.ucrtbased.dll__cexit
nop
xor edx, edx
mov cl, 1
call fcn.1400010f0
mov eax, dword [rsp + 0x28]
jmp 0x140002831
add rsp, 0x68
ret
Function at 0x18000b536
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]
mov rax, rcx
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 0x18000bbef
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov rsi, r8
mov rdi, rcx
mov rax, qword [0x18013abf0]
mov al, byte [rax]
cmp al, 1
jne 0x18000bc25
mov rcx, rdi
mov r8, rsi
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r14
jmp 0x18000bc9c
xorps xmm0, xmm0
lea rbx, [rsp + 0x20]
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
mov rcx, rbx
call fcn.18000cc07
lea r14, [rsp + 0x68]
mov rcx, r14
mov rdx, rdi
mov r8, rbx
call fcn.180001d2f
movups xmm0, xmmword [r14]
movups xmmword [rsi], xmm0
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r14
ret
jmp fcn.18000b780
Function at 0x18000e980
Capabilities:
Encode data using xor

Disassembly:
test rdx, rdx
je 0x180007605
cmp rdx, 4
jae 0x180007608
xor eax, eax
xor r8d, r8d
jmp 0x1800076a0
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x18003a820]
movdqa xmm3, xmmword [0x18003a830]
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 0x180007630
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x1800076b7
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x1800076a0
ret
sub rdx, rcx
cmp rdx, 0x20
jb 0x1800075f0
jmp fcn.180007100
Function at 0x1800128c0
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 0x18001291b
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x18001291b
movzx eax, byte [r8 + rcx]
cmp eax, 0x49
je 0x180012936
cmp eax, 0x42
jne 0x18001291b
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x1800129e6
cmp byte [r8 + r11], 0x5f
jne 0x1800129e6
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x180012a4e
mov rcx, rsi
xor edx, edx
call fcn.1800115c0
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.1800115c0
test al, al
jne 0x180012ae1
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x180012972
lea rdx, [0x18013729c]
mov r8d, 1
call fcn.180005f00
test al, al
jne 0x180012ae1
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x18001292a
xor r14d, r14d
lea rbx, [0x180137639]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x1800129a4
cmp byte [rax + rcx], 0x45
je 0x180012b03
sub r14, 1
jb 0x1800129c9
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1800129c9
mov r8d, 2
mov rdx, rbx
call fcn.180005f00
test al, al
jne 0x180012ae1
mov rcx, rsi
call fcn.180011d40
test al, al
jne 0x180012ae1
mov rax, qword [rsi]
test rax, rax
jne 0x180012990
jmp 0x18001292a
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r9b, 1
cmp r11, r10
jae 0x180012aa8
movzx edx, byte [r8 + r11]
cmp dl, 0x5f
je 0x180012a42
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x180012a2c
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x180012a1b
add dl, 0xa9
jmp 0x180012a2a
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x180012aa8
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x180012aa8
movzx edx, bl
add rax, rdx
jae 0x1800129f0
jmp 0x180012aa8
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x180012aa8
cmp rax, rcx
jae 0x180012aa5
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x180012afb
cmp qword [rsi + 0x20], 0
je 0x180012af4
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.1800128c0
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x18001292c
mov r9b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x180012ae9
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, [0x180137618]
test r9b, r9b
cmovne rdx, rax
call fcn.180005f00
test al, al
je 0x180012ae9
mov dil, 2
jmp 0x18001292a
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x18001292a
mov dil, 1
xor r9d, r9d
jmp 0x180012aaa
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x18001292a
Function at 0x18002a550
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x468
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 2
mov qword [rsp + 0x40], 0
mov r8d, 0x200
mov eax, 2
mov qword [rsp + 0x20], rax
xor edi, edi
mov ebx, 0xffffffff
xor esi, esi
xor r14d, r14d
cmp r8, 0x201
jae 0x18002a5d0
jmp 0x18002a5bf
jae 0x18002a675
cmp r8, 0x201
jae 0x18002a5d0
mov r15d, 0x200
lea r12, [rsp + 0x68]
mov r13, r8
jmp 0x18002a617
sub r8, r14
sub rsi, r14
cmp rsi, r8
jae 0x18002a5f7
lea rcx, [rsp + 0x30]
mov rdx, r14
call fcn.1800192d0
mov rdi, qword [rsp + 0x30]
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
cmp rdi, rbx
mov r14d, 0xffffffff
cmovb r14, rdi
mov qword [rsp + 0x40], r14
mov rsi, rdi
mov r15, r14
mov r12, qword [rsp + 0x20]
mov r13, r14
xor ecx, ecx
call sub.kernel32.dll_SetLastError
mov ecx, r13d
mov rdx, r12
call sub.kernel32.dll_GetCurrentDirectoryW
mov ebp, eax
test eax, eax
jne 0x18002a63c
call sub.kernel32.dll_GetLastError
test eax, eax
jne 0x18002a6d0
mov r8d, ebp
cmp r13, r8
jne 0x18002a5b0
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
jne 0x18002a6fa
add r13, r13
cmp r13, rbx
cmovae r13, rbx
mov r8, r13
cmp r8, 0x201
jb 0x18002a5bf
jmp 0x18002a5d0
cmp r15, r8
jb 0x18002a714
lea rcx, [rsp + 0x48]
mov rdx, r12
call fcn.18002b4c0
movups xmm0, xmmword [rsp + 0x48]
movups xmm1, xmmword [rsp + 0x58]
mov rsi, qword [rsp + 0x28]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
test rdi, rdi
je 0x18002a6b9
mov rcx, qword [0x180140080]
xor edx, edx
mov r8, qword [rsp + 0x20]
call fcn.18003779c
mov rax, rsi
add rsp, 0x468
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov rsi, qword [rsp + 0x28]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
test rdi, rdi
jne 0x18002a6a6
jmp 0x18002a6b9
lea rcx, str.internal_error:_entered_unreachable_code
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.180004d40
jmp 0x18002a729
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, r15
mov r8, rax
call fcn.180006d80
ud2
Function at 0x18002a760
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4a8
mov rsi, rcx
movabs rdi, 0x8000000000000000
lea rcx, [rsp + 0xa8]
call fcn.1800306f0
mov rax, qword [rsp + 0xa8]
cmp rax, rdi
jne 0x18002a7af
lea rcx, [rsp + 0xb0]
call fcn.1800155f0
mov qword [rsi], rdi
jmp 0x18002a993
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xb0]
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 0x18002a840
jmp 0x18002a81f
jae 0x18002a8e7
cmp r8, 0x201
jae 0x18002a840
mov edi, 0x200
lea rbp, [rsp + 0xa8]
mov r12, r8
jmp 0x18002a887
sub r8, r13
sub r14, r13
cmp r14, r8
jae 0x18002a867
lea rcx, [rsp + 0x48]
mov rdx, r13
call fcn.1800192d0
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 0x18002a8ae
call sub.kernel32.dll_GetLastError
test eax, eax
jne 0x18002a926
mov r8d, r15d
cmp r12, r8
jne 0x18002a810
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
jne 0x18002a9c5
add r12, r12
cmp r12, rsi
cmovae r12, rsi
mov r8, r12
cmp r8, 0x201
jb 0x18002a81f
jmp 0x18002a840
cmp rdi, r8
jb 0x18002a9df
lea rcx, [rsp + 0x88]
mov rdx, rbp
call fcn.18002b4c0
movabs rdi, 0x8000000000000000
movups xmm0, xmmword [rsp + 0x88]
movups xmm1, xmmword [rsp + 0x98]
movaps xmmword [rsp + 0x70], xmm1
movaps xmmword [rsp + 0x60], xmm0
jmp 0x18002a947
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x68], rax
movabs rdi, 0x8000000000000000
mov qword [rsp + 0x60], rdi
mov rsi, qword [rsp + 0x38]
test rbx, rbx
je 0x18002a964
mov rcx, qword [0x180140080]
xor edx, edx
mov r8, qword [rsp + 0x28]
call fcn.18003779c
cmp qword [rsp + 0x60], rdi
jne 0x18002a9aa
mov qword [rsi], rdi
lea rcx, [rsp + 0x68]
call fcn.1800155f0
cmp qword [rsp + 0x40], 0
je 0x18002a993
mov rcx, qword [0x180140080]
xor edx, edx
mov r8, qword [rsp + 0x30]
call fcn.18003779c
mov rax, rsi
add rsp, 0x4a8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movaps xmm0, xmmword [rsp + 0x60]
movaps xmm1, xmmword [rsp + 0x70]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
cmp qword [rsp + 0x40], 0
jne 0x18002a980
jmp 0x18002a993
lea rcx, str.internal_error:_entered_unreachable_code
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.180004d40
jmp 0x18002a9f4
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rdi
mov r8, rax
call fcn.180006d80
ud2
Function at 0x180030370
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
cmp qword [rcx], 0
je 0x1800303f5
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 0x180030436
cmp dword [rsp + 0x2c], 0
je 0x18003041a
call sub.kernel32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x18003045c
mov edi, eax
inc eax
mov dword [rsi + 0x18], eax
mov rax, qword [0x180140090]
nop
mov qword [rsi + 8], rax
lock cmpxchg qword [0x180140090], rsi
jne 0x1800303d0
mov byte [0x180140088], 1
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.kernel32.dll_InitOnceComplete
jmp 0x18003042c
call sub.kernel32.dll_TlsAlloc
mov dword [rsp + 0x28], eax
cmp eax, 0xffffffff
je 0x1800304a6
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x18003041f
mov edi, dword [rsp + 0x28]
jmp 0x18003042c
mov edi, dword [rsi + 0x18]
jmp 0x18003042a
mov edi, eax
mov ecx, dword [rsp + 0x28]
call sub.kernel32.dll_TlsFree
dec edi
mov eax, edi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov qword [rsp + 0x30], 0
lea rdx, [0x18013a808]
lea r9, str.library_std_src_syswindows_thread_local_key.rs
lea rcx, [rsp + 0x28]
lea r8, [rsp + 0x30]
call fcn.180017a80
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.called__Option::unwrap____on_a__None__value_rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrary_alloc_srccollections_btree_navigate.rsIndex_out_of_bounds
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.180004c90
lea rax, str.out_of_TLS_indexes
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
lea rax, str.called__Option::unwrap____on_a__None__value_rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrary_alloc_srccollections_btree_navigate.rsIndex_out_of_bounds
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x30]
call fcn.180017a30
int3