joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401e81df
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
call fcn.1401e78ba
cmp eax, 1
je 0x1401e8215
mov eax, eax
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
cmp eax, 2
jne 0x1401e822a
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp 0x1402e4ce0
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp 0x1402e3280
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp 0x140430450
movups xmm2, xmmword [rcx]
mov eax, dword [r8 + 0xf0]
movups xmm0, xmmword [r8]
movups xmm1, xmmword [r8 + 0x10]
lea r8, [r8 + 0x20]
xorps xmm2, xmm0
aesenc xmm2, xmm1
dec eax
movups xmm1, xmmword [r8]
lea r8, [r8 + 0x10]
jne 0x1402e329a
aesenclast xmm2, xmm1
pxor xmm0, xmm0
pxor xmm1, xmm1
movups xmmword [rdx], xmm2
pxor xmm2, xmm2
ret
mov qword [rsp + 8], rdi
mov qword [rsp + 0x10], rsi
mov rax, rsp
mov rdi, rcx
mov rsi, rdx
mov rdx, r8
lea rsp, [rsp - 0xb8]
movaps xmmword [rsp + 0x10], xmm6
movaps xmmword [rsp + 0x20], xmm7
movaps xmmword [rsp + 0x30], xmm8
movaps xmmword [rsp + 0x40], xmm9
movaps xmmword [rsp + 0x50], xmm10
movaps xmmword [rsp + 0x60], xmm11
movaps xmmword [rsp + 0x70], xmm12
movaps xmmword [rsp + 0x80], xmm13
movaps xmmword [rsp + 0x90], xmm14
movaps xmmword [rsp + 0xa0], xmm15
movdqu xmm0, xmmword [rdi]
call fcn.1402e4f40
call fcn.1402e45c0
movdqu xmmword [rsi], xmm0
movaps xmm6, xmmword [rsp + 0x10]
movaps xmm7, xmmword [rsp + 0x20]
movaps xmm8, xmmword [rsp + 0x30]
movaps xmm9, xmmword [rsp + 0x40]
movaps xmm10, xmmword [rsp + 0x50]
movaps xmm11, xmmword [rsp + 0x60]
movaps xmm12, xmmword [rsp + 0x70]
movaps xmm13, xmmword [rsp + 0x80]
movaps xmm14, xmmword [rsp + 0x90]
movaps xmm15, xmmword [rsp + 0xa0]
lea rsp, [rsp + 0xb8]
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
ret
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x420
lea r12, [rsp + 0x60]
lea rdi, [rsp + 0x20]
mov rbp, rcx
mov rsi, rdx
mov rcx, r12
mov rdx, r8
mov rbx, r8
call fcn.1403bb4f0
mov rdx, rbp
mov rcx, rdi
mov r8d, 1
call fcn.1403bbac0
mov edx, dword [rbx + 0xf0]
mov r8, rdi
mov rcx, r12
call fcn.1403bb2e0
mov r8, rdi
mov edx, 1
mov rcx, rsi
call fcn.1403bb570
nop
add rsp, 0x420
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x1401e82b4
Capabilities:
Encode data using base64

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x660
vmovaps xmmword [rsp + 0x650], xmm6
mov rsi, rcx
mov rax, r8
shr rax, 0x3d
jne 0x1401e8378
movzx ebx, r9b
shl rbx, 7
sub rbx, 0xffffffffffffff80
shl r8, 3
cmp r8, rbx
jne 0x1401e8378
mov rdi, rdx
vxorps xmm0, xmm0, xmm0
vmovups ymmword [rsp + 0x114], ymm0
vmovups ymmword [rsp + 0x100], ymm0
vmovups ymmword [rsp + 0xe0], ymm0
vmovups ymmword [rsp + 0xc0], ymm0
vmovups ymmword [rsp + 0xa0], ymm0
vmovups ymmword [rsp + 0x80], ymm0
vmovups ymmword [rsp + 0x60], ymm0
vmovups ymmword [rsp + 0x40], ymm0
vzeroupper
call fcn.1401e78ba
cmp eax, 3
je 0x1401e835e
mov eax, eax
lea r8, [rsp + 0x40]
mov rcx, rdi
mov edx, ebx
cmp eax, 2
jne 0x1401e836f
call fcn.1402e4c00
jmp 0x1401e8374
lea r8, [rsp + 0x40]
mov rcx, rdi
mov edx, ebx
call fcn.1404304c0
jmp 0x1401e8374
call fcn.1402e4050
test eax, eax
je 0x1401e8392
mov dword [rsi], 2
vmovaps xmm6, xmmword [rsp + 0x650]
add rsp, 0x660
pop rbx
pop rdi
pop rsi
ret
lea rdi, [rsp + 0x358]
lea rdx, [rsp + 0x40]
mov r8d, 0xf4
mov rcx, rdi
call sub.msvcrt.dll_memcpy
vxorps xmm6, xmm6, xmm6
lea r8, [rsp + 0x450]
vmovaps xmmword [r8], xmm6
lea rbx, [rsp + 0x40]
mov rcx, rbx
mov rdx, rdi
call fcn.1401e81df
vmovaps xmm0, xmmword [rbx]
lea rdx, [rsp + 0x30]
vmovaps xmmword [rdx], xmm0
lea rcx, [rsp + 0x20]
call fcn.1401e7e04
xor eax, eax
cmp rax, 0x100
je 0x1401e83fb
vmovups xmmword [rsp + rax + 0x40], xmm6
add rax, 0x10
jmp 0x1401e83e7
lea rcx, [rsp + 0x250]
lea rdx, [rsp + 0x40]
mov r8d, 0x100
call sub.msvcrt.dll_memcpy
call fcn.1401e7deb
test al, al
je 0x1401e8459
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rdx, rax
shld rdx, rcx, 1
shld rcx, rax, 1
sar rax, 0x3f
movabs r8, 0xc200000000000000
and r8, rax
xor r8, rdx
mov qword [rsp + 0x250], r8
mov qword [rsp + 0x258], rcx
jmp 0x1401e8485
mov rax, qword [0x140626fd0]
mov eax, dword [rax + 4]
not eax
lea rcx, [rsp + 0x250]
lea rdx, [rsp + 0x20]
test eax, 0x10400000
jne 0x1401e8480
call fcn.1402ef1a0
jmp 0x1401e8485
call fcn.1402ee780
lea rdi, [rsp + 0x450]
lea rdx, [rsp + 0x250]
mov r8d, 0x100
mov rcx, rdi
call sub.msvcrt.dll_memcpy
lea rcx, [rsp + 0x550]
lea rdx, [rsp + 0x358]
mov r8d, 0xf4
call sub.msvcrt.dll_memcpy
lea rcx, [rsp + 0x4c]
mov r8d, 0x200
mov rdx, rdi
call sub.msvcrt.dll_memcpy
and dword [rsi], 0
add rsi, 4
lea rdx, [rsp + 0x40]
mov r8d, 0x20c
mov rcx, rsi
call sub.msvcrt.dll_memcpy
jmp 0x1401e837e
Function at 0x1401f3b40
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 0x1401f3b9b
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x1401f3b9b
movzx eax, byte [r8 + rcx]
cmp eax, 0x49
je 0x1401f3bb9
cmp eax, 0x42
jne 0x1401f3b9b
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x1401f3c66
cmp byte [r8 + r11], 0x5f
jne 0x1401f3c66
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x1401f3cca
mov rcx, rsi
xor edx, edx
call fcn.1401ef570
mov edi, eax
add dil, dil
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
vzeroupper
ret
inc rcx
mov qword [rsi + 0x10], rcx
mov rcx, rsi
xor edx, edx
call fcn.1401ef570
test al, al
jne 0x1401f3d4e
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1401f3bf5
lea rdx, [0x1405abeca]
mov r8d, 1
call fcn.1400b42e0
test al, al
jne 0x1401f3d4e
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x1401f3baa
xor r14d, r14d
lea rbx, [0x1405b642a]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x1401f3c24
cmp byte [rax + rcx], 0x45
je 0x1401f3d70
sub r14, 1
jb 0x1401f3c49
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1401f3c49
mov r8d, 2
mov rdx, rbx
call fcn.1400b42e0
test al, al
jne 0x1401f3d4e
mov rcx, rsi
call fcn.1401f0e60
test al, al
jne 0x1401f3d4e
mov rax, qword [rsi]
test rax, rax
jne 0x1401f3c10
jmp 0x1401f3baa
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r9b, 1
cmp r11, r10
jae 0x1401f3d15
movzx edx, byte [r8 + r11]
cmp dl, 0x5f
je 0x1401f3cbe
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x1401f3ca8
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x1401f3c9b
add dl, 0xa9
jmp 0x1401f3ca6
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x1401f3d15
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x1401f3d15
movzx edx, bl
add rax, rdx
jae 0x1401f3c70
jmp 0x1401f3d15
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x1401f3d15
cmp rax, rcx
jae 0x1401f3d12
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x1401f3d68
cmp qword [rsi + 0x20], 0
je 0x1401f3d61
vmovups ymm0, ymmword [rsi]
vmovups ymmword [rsp + 0x20], ymm0
mov qword [rsi + 0x10], rax
mov dword [rsi + 0x18], ecx
mov rcx, rsi
vzeroupper
call fcn.1401f3b40
vmovups ymm0, ymmword [rsp + 0x20]
vmovups ymmword [rsi], ymm0
jmp 0x1401f3bac
mov r9b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1401f3d56
mov eax, r9d
xor al, 1
movzx eax, al
lea r8, [rax + rax*8]
add r8, 0x10
lea rax, str.invalid_syntaxrecursion_limit_reachedfor___::closureshim_as_mut_const___dyn___unsafe_extern__
lea rdx, [0x1405ac200]
test r9b, r9b
cmovne rdx, rax
call fcn.1400b42e0
test al, al
je 0x1401f3d56
mov dil, 2
jmp 0x1401f3baa
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x1401f3baa
mov dil, 1
xor r9d, r9d
jmp 0x1401f3d17
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x1401f3baa
Function at 0x1401feff4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov rdi, rdx
mov rsi, rcx
lea rbx, [rsp + 0x28]
mov rcx, rbx
call fcn.1401faea9
mov al, byte [rbx]
cmp al, 0x14
jne 0x1401ff05c
lea rbx, [rsp + 0x28]
movzx r8d, word [rbx + 2]
mov rcx, rbx
mov rdx, rdi
mov cl, byte [rsp + 0x29]
movzx edx, word [rsp + 0x2a]
mov r8d, dword [rsp + 0x3c]
mov dword [rsi + 0x1c], r8d
vmovups xmm0, xmmword [rsp + 0x2c]
vmovups xmmword [rsi + 0xc], xmm0
mov byte [rsi + 8], al
mov byte [rsi + 9], cl
mov word [rsi + 0xa], dx
Function at 0x140262e64
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 0x140262e90
xor eax, eax
jmp 0x140262e95
call fcn.1401338db
nop
add rsp, 0x38
ret
Function at 0x140264790
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
cmp qword [rcx], 0
je 0x140264815
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 0x140264856
cmp dword [rsp + 0x2c], 0
je 0x14026483a
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x14026487e
mov edi, eax
inc eax
mov dword [rsi + 0x18], eax
mov rax, qword [0x1406ba188]
nop
mov qword [rsi + 8], rax
lock cmpxchg qword [0x1406ba188], rsi
jne 0x1402647f0
mov byte [0x1406ba180], 1
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
jmp 0x14026484c
call sub.KERNEL32.dll_TlsAlloc
mov dword [rsp + 0x28], eax
cmp eax, 0xffffffff
je 0x1402648cc
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x14026483f
mov edi, dword [rsp + 0x28]
jmp 0x14026484c
mov edi, dword [rsi + 0x18]
jmp 0x14026484a
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, [0x1405bf470]
lea r9, str.library_std_src_syswindows_thread_local_key.rs
lea rcx, [rsp + 0x28]
lea r8, [rsp + 0x30]
call fcn.140264ef0
ud2
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.failed_to_write_whole_buffer
mov qword [rsp + 0x40], rax
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x48], xmm0
lea rdx, str.library_std_src_syswindows_thread_local_key.rs
lea rcx, [rsp + 0x30]
call fcn.1400b2c00
ud2
lea rax, str.out_of_TLS_indexes
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
lea rax, str.failed_to_write_whole_buffer
mov qword [rsp + 0x40], rax
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x48], xmm0
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x30]
call fcn.140264f30
ud2
Function at 0x140264db0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x30
mov ecx, dword [0x1404a45c8]
test ecx, ecx
je 0x140264e9a
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x140264dde
mov rsi, rax
cmp qword [rax + 8], 0
jne 0x140264e89
mov ecx, dword [0x1404a45c8]
test ecx, ecx
je 0x140264ead
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140264e8f
mov rsi, rax
test rax, rax
jne 0x140264e4d
movzx eax, byte [0x1406ba220]
mov ecx, 0x18
mov edx, 8
call fcn.140087770
test rax, rax
je 0x140264ed3
mov rsi, rax
lea rax, [0x1404a45b0]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x1404a45c8]
test ecx, ecx
je 0x140264ec0
dec ecx
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
mov rcx, qword [rsi + 8]
mov rax, qword [rsi + 0x10]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rax
mov qword [rsi + 8], 1
mov qword [rsi + 0x10], 0
test rcx, rcx
je 0x140264e89
test rax, rax
je 0x140264e89
lock dec qword [rax]
jne 0x140264e89
lea rcx, [rsp + 0x28]
call fcn.140264740
add rsi, 0x10
jmp 0x140264e91
xor esi, esi
mov rax, rsi
add rsp, 0x30
pop rsi
ret
lea rcx, [0x1404a45b0]
call fcn.140264790
mov ecx, eax
jmp 0x140264dc5
lea rcx, [0x1404a45b0]
call fcn.140264790
mov ecx, eax
jmp 0x140264dee
lea rcx, [0x1404a45b0]
call fcn.140264790
mov ecx, eax
jmp 0x140264e45
mov ecx, 8
mov edx, 0x18
call fcn.1400a9a20
ud2

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

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x1404a45e8]
test ecx, ecx
je 0x14026554f
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x1402654d9
mov rsi, rax
cmp byte [rax + 8], 0
jne 0x14026553e
lea rcx, [0x1404a45d0]
call fcn.140264790
mov ecx, eax
jmp 0x1402654c5

Function at 0x140265b00
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
vmovups xmm0, xmmword [0x1405beaa0]
vmovaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov rcx, rdx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call sub.ntdll.dll_NtWriteFile
cmp eax, 0x103
jne 0x140265b75
mov rcx, rdi
mov edx, 0xffffffff
call sub.KERNEL32.dll_WaitForSingleObject
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x140265bab
test eax, eax
js 0x140265b86
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x140265b9e
mov ecx, eax
call sub.ntdll.dll_RtlNtStatusToDosError
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
lea rax, [0x1405beb00]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.140264bd0
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.140264000
mov ecx, 7
int 0x29
ud2
Function at 0x140266080
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x1404a45a8]
test ecx, ecx
je 0x14026613d
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x1402660b0
cmp qword [rax + 8], 0
je 0x1402660b0
add rax, 0x10
jmp 0x140266137
mov ecx, dword [0x1404a45a8]
test ecx, ecx
je 0x140266150
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140266135
mov rsi, rax
test rax, rax
jne 0x14026611b
movzx eax, byte [0x1406ba220]
mov ecx, 0x20
mov edx, 8
call fcn.140087770
test rax, rax
je 0x140266173
mov rsi, rax
lea rax, [0x1404a4590]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x1404a45a8]
test ecx, ecx
je 0x140266163
dec ecx
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
mov qword [rsi + 8], 1
lea rax, [rsi + 0x10]
mov qword [rsi + 0x10], 0
mov byte [rsi + 0x18], 0
jmp 0x140266137
xor eax, eax
add rsp, 0x20
pop rsi
ret
lea rcx, [0x1404a4590]
call fcn.140264790
mov ecx, eax
jmp 0x140266095
lea rcx, [0x1404a4590]
call fcn.140264790
mov ecx, eax
jmp 0x1402660c0
lea rcx, [0x1404a4590]
call fcn.140264790
mov ecx, eax
jmp 0x140266113
mov ecx, 8
mov edx, 0x20
call fcn.1400a9a20
ud2
Function at 0x140267cd0
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
add al, 0
invalid
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], 2
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x38], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rsp + 0x20], rax
xor edi, edi
mov ebx, 0xffffffff
invalid
invalid
push qword [rcx]
test byte [rbp + 0x31], 0xf6
cmp r8, 0x201
jae 0x140267d50
jmp 0x140267d3f
jae case.0x140263722.417
cmp r8, 0x201
jae 0x140267d50
mov r15d, 0x200
lea r12, [rsp + 0x68]
mov r13, r8
jmp 0x140267d97
sub r8, r14
sub rsi, r14
test byte [rcx + rdi - 0x3a], 0x73
invalid
lea rcx, [rsp + 0x30]
mov rdx, r14
call fcn.140266960
mov rax, qword [rsp + 0x30]
and al, 0x30
mov qword [rsp + 0x20], rax
mov rdi, qword [rsp + 0x38]
mov edi, dword [rsp + 0x38]
cmp rdi, rbx
mov r14d, 0xffffffff
cmovb r14, rdi
mov qword [rsp + 0x40], r14
je 0x140267dac
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 0x140267dbc
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x140267e49
mov r8d, ebp
cmp r13, r8
jne 0x140267d30
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x140267e69
add r13, r13
cmp r13, rbx
cmovae r13, rbx
mov r8, r13
cmp r8, 0x201
jb 0x140267d3f
jmp 0x140267d50
cmp r15, r8
jb 0x140267e83
add byte [rax], al
invalid
lea rcx, [rsp + 0x48]
mov rdx, r12
call fcn.1402680a0
vmovups ymm0, ymmword [rsp + 0x48]
cld
adc byte [rsp + 0x48], al
and al, 0x48
mov rax, qword [rsp + 0x28]
vmovups ymmword [rax], ymm0
test rdi, rdi
je 0x140267e31
mov edx, 2
mov rcx, qword [rsp + 0x20]
vzeroupper
call fcn.140087800
nop
add rsp, 0x468
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
vzeroupper
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov rcx, qword [rsp + 0x28]
mov qword [rcx], rax
mov byte [rcx + 0x18], 2
test rdi, rdi
jne 0x140267e1f
jmp 0x140267e31
lea rcx, str.internal_error:_entered_unreachable_code_root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_rustls_webpki_0.101.7_src_calendar.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.1400b45f0
jmp 0x140267e98
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, r15
mov r8, rax
call fcn.1400b3dd0
in al, 0xff
ud2
Function at 0x14026b8f0
Capabilities:
Read file via mapping

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xc8
mov rax, r8
mov rsi, rcx
mov dword [rsp + 0x38], 0
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 7
mov qword [rsp + 0x54], 0
mov word [rsp + 0x5c], 0
mov byte [rsp + 0x58], 1
lea r8, [rsp + 0x38]
mov rcx, rdx
mov rdx, rax
call fcn.140283de0
mov rdi, rdx
test rax, rax
je 0x14026b982
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x88]
mov qword [rsp + 0x88], rdi
call fcn.140263f60
mov qword [rsi], 0
add rsp, 0xc8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [rsp + 0x38]
mov rdx, rdi
call fcn.140284040
cmp dword [rsp + 0x38], 2
jne 0x14026b9b1
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x80], 2
jmp 0x14026b9e7
vmovups ymm0, ymmword [rsp + 0x38]
vmovups ymm1, ymmword [rsp + 0x58]
vmovups ymmword [rsp + 0x80], ymm0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xc0], rax
vmovups ymmword [rsp + 0xa0], ymm1
cmp qword [rsp + 0x80], 2
jne 0x14026ba16
lea rcx, [rsp + 0x88]
vzeroupper
call fcn.140263f60
mov qword [rsi], 0
mov rcx, rdi
add rsp, 0xc8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp fcn.1403001e4
mov r12, qword [rsp + 0xb8]
test rdi, rdi
je 0x14026ba77
mov qword [rsp + 0x80], 0
vzeroupper
call sub.KERNEL32.dll_GetCurrentProcess
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x80]
mov rcx, rax
mov rdx, rdi
mov r8, rax
call sub.KERNEL32.dll_DuplicateHandle
test eax, eax
je 0x14026baf6
mov rbx, qword [rsp + 0x80]
jmp 0x14026ba79
xor ebx, ebx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rbx
xor edx, edx
mov r8d, 2
xor r9d, r9d
vzeroupper
call sub.KERNEL32.dll_CreateFileMappingA
test rax, rax
je 0x14026bae5
mov r14, rax
mov qword [rsp + 0x20], r12
mov rcx, rax
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call sub.KERNEL32.dll_MapViewOfFile
mov r15, rax
mov rcx, r14
call fcn.1403001e4
test r15, r15
je 0x14026bae5
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r12
mov qword [rsi], 1
jmp 0x14026bb22
mov qword [rsi], 0
mov rcx, rbx
call fcn.1403001e4
jmp 0x14026bb22
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x38], 1
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], rax
call fcn.140263f60
mov qword [rsi], 0
mov rcx, rdi
call fcn.1403001e4
jmp 0x14026b971
Function at 0x1402850a0
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
lea rcx, [rsp + 0xa8]
call fcn.1402664e0
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140285207
mov qword [rsp + 0x38], rsi
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 2
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x50], xmm0
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 0x140285160
jmp 0x14028513f
jae 0x14028521d
cmp r8, 0x201
jae 0x140285160
mov edi, 0x200
lea rbp, [rsp + 0xa8]
mov r12, r8
jmp 0x1402851a7
sub r8, r13
sub r14, r13
cmp r14, r8
jae 0x140285187
lea rcx, [rsp + 0x48]
mov rdx, r13
call fcn.140266960
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rbx, qword [rsp + 0x50]
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 0x1402851ce
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x140285247
mov r8d, r15d
cmp r12, r8
jne 0x140285130
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x1402852d8
add r12, r12
cmp r12, rsi
cmovae r12, rsi
mov r8, r12
cmp r8, 0x201
jb 0x14028513f
jmp 0x140285160
lea rcx, [rsp + 0xb0]
call fcn.140263f60
mov byte [rsi + 0x18], 2
jmp 0x1402852ac
cmp rdi, r8
jb 0x1402852f2
lea rcx, [rsp + 0x88]
mov rdx, rbp
call fcn.1402680a0
vmovups ymm0, ymmword [rsp + 0x88]
vmovups ymmword [rsp + 0x60], ymm0
jmp 0x14028525e
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x78], 2
mov rsi, qword [rsp + 0x38]
test rbx, rbx
je 0x14028527a
mov edx, 2
mov rcx, qword [rsp + 0x28]
vzeroupper
call fcn.140087800
cmp byte [rsp + 0x78], 2
jne 0x1402852c4
mov byte [rsi + 0x18], 2
lea rcx, [rsp + 0x60]
vzeroupper
call fcn.140263f60
cmp qword [rsp + 0x40], 0
je 0x1402852ac
mov edx, 2
mov rcx, qword [rsp + 0x30]
vzeroupper
call fcn.140087800
nop
add rsp, 0x4a8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
vzeroupper
ret
vmovups ymm0, ymmword [rsp + 0x60]
vmovups ymmword [rsi], ymm0
cmp qword [rsp + 0x40], 0
jne 0x14028529a
jmp 0x1402852ac
lea rcx, str.internal_error:_entered_unreachable_code_root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_rustls_webpki_0.101.7_src_calendar.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.1400b45f0
jmp 0x140285307
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rdi
mov r8, rax
call fcn.1400b3dd0
ud2
Function at 0x140287310
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
vmovups xmm0, xmmword [0x1405beaa0]
vmovaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov rcx, rdx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call sub.ntdll.dll_NtReadFile
cmp eax, 0x103
jne 0x14028737e
mov rcx, rdi
mov edx, 0xffffffff
call sub.KERNEL32.dll_WaitForSingleObject
mov eax, dword [rsp + 0x60]
cmp eax, 0xc0000011
jne 0x14028738f
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rsi], xmm0
jmp 0x1402873c6
cmp eax, 0x103
je 0x1402873d0
test eax, eax
js 0x1402873ac
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
mov qword [rsi], 0
jmp 0x1402873c6
mov ecx, eax
call sub.ntdll.dll_RtlNtStatusToDosError
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
add rsp, 0xa8
pop rdi
pop rsi
ret
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
lea rax, [0x1405beb00]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.140264bd0
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.140264000
mov ecx, 7
int 0x29
ud2