joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001c230
Capabilities:
Encode data using base64

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x10], 0xfffffffffffffffe
mov rsi, rcx
mov r15, qword [rcx + 0x30]
movzx ecx, byte [rcx + 0x158]
shr r15, cl
mov rdi, r15
test r15, r15
mov qword [rbp - 0x28], r15
je 0x14001c442
mov rax, r15
shr rax, 0x3d
jne 0x14001c480
lea r14, [r15*4]
test r14, r14
je 0x14001c2b4
movzx eax, byte [0x1401c6201]
mov edx, 4
mov rcx, r14
call fcn.140003a20
mov rbx, rax
test rax, rax
je 0x14001c487
cmp r15, 8
jae 0x14001c2bf
xor eax, eax
jmp 0x14001c310
mov ebx, 4
cmp r15, 8
jb 0x14001c2b0
mov rax, r15
and rax, 0xfffffffffffffff8
movdqa xmm0, xmmword [0x14011eea0]
xor ecx, ecx
movdqa xmm1, xmmword [0x14011eeb0]
movdqa xmm2, xmmword [str._b_b_b_b]
movdqa xmm3, xmm0
paddd xmm3, xmm1
movdqu xmmword [rbx + rcx*4], xmm0
movdqu xmmword [rbx + rcx*4 + 0x10], xmm3
add rcx, 8
paddd xmm0, xmm2
cmp rax, rcx
jne 0x14001c2e0
cmp r15, rax
je 0x14001c31f
nop word cs:[rax + rax]
mov dword [rbx + rax*4], eax
lea rcx, [rax + 1]
mov rax, rcx
cmp r15, rcx
jne 0x14001c310
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], 0
lea r14, [rbp - 0x20]
mov r15d, edi
lea rax, [rdi - 0x80000000]
cmp rax, 0xffffffff80000001
jb 0x14001c3e4
dec r15d
mov rcx, qword [rsi + 0x158]
and ecx, 0x3f
mov r8, qword [rsi + 0x160]
mov r9, qword [rsi + 0x20]
mov rdx, qword [rsi + 0x30]
nop dword [rax]
sub rdi, 1
jb 0x14001c3ed
mov eax, edi
shl rax, cl
add rax, r8
cmp rax, rdx
jae 0x14001c426
mov rax, qword [r9 + rax*8]
shr rax, 0x2a
cmp eax, 0x3ffffe
ja 0x14001c370
mov qword [rbp], rbx
mov byte [rbp + 0xf], 0
mov rcx, r14
mov rdx, rsi
mov r8d, r15d
mov r9d, edi
call fcn.140073060
mov dword [rsi + 0x170], r15d
test r15d, r15d
jne 0x14001c33a
mov qword [rbp], rbx
mov byte [rbp + 0xf], 0
lea rcx, str.match_states_should_be_a_proper_subset_of_all_states
lea r8, [0x14011f1e8]
mov edx, 0x34
call fcn.14011b5b0
jmp 0x14001c4cd
test rdi, rdi
jne 0x14001c496
movdqu xmm0, xmmword [rbp - 0x20]
movdqu xmm1, xmmword [rbp - 0x10]
movdqa xmmword [rbp - 0x40], xmm1
movdqa xmmword [rbp - 0x50], xmm0
mov qword [rbp], rbx
mov byte [rbp + 0xf], 1
lea rcx, [rbp - 0x50]
mov rdx, rsi
call fcn.140073150
nop
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
mov qword [rbp], rbx
mov byte [rbp + 0xf], 0
lea r8, [0x14011f460]
mov rcx, rax
call fcn.14011b770
jmp 0x14001c4cd
mov qword [rbp - 0x20], 4
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], 0
mov qword [rbp], 4
mov byte [rbp + 0xf], 0
lea rcx, [0x14011efa8]
lea r8, [0x14011f490]
mov edx, 0x2b
call fcn.14011b6d0
jmp 0x14001c4cd
call fcn.14010d2d0
ud2
mov ecx, 4
mov rdx, r14
call fcn.14011b3d0
ud2
dec rdi
mov qword [rbp - 0x50], rdi
mov qword [rbp], rbx
mov byte [rbp + 0xf], 0
lea rax, [0x14011f198]
mov qword [rsp + 0x20], rax
lea rcx, [0x14011f10e]
lea r9, [0x14011ef58]
lea r8, [rbp - 0x50]
mov edx, 0x15
call fcn.14011ba40
ud2
Function at 0x140073150
Capabilities:
Encode data using base64

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov qword [rbp], 0xfffffffffffffffe
mov rsi, rdx
mov rbx, qword [rcx]
mov qword [rbp - 8], rcx
mov r14, qword [rcx + 0x10]
mov r15d, 4
test r14, r14
mov qword [rbp - 0x18], rbx
je 0x1400731c2
mov rax, r14
shr rax, 0x3d
jne 0x1400732e7
lea rdi, [r14*4]
test rdi, rdi
je 0x1400731c2
movzx eax, byte [0x1401c6201]
mov edx, 4
mov rcx, rdi
call fcn.140003a20
test rax, rax
je 0x1400732ee
mov r15, rax
jmp 0x1400731c4
xor edi, edi
mov rcx, r15
mov rdx, rbx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov r8, qword [rsi + 0x30]
movzx ecx, byte [rsi + 0x158]
shr r8, cl
test r8, r8
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x10], r15
je 0x140073245
mov rax, qword [rbp - 8]
mov rcx, qword [rax + 0x18]
and ecx, 0x3f
xor eax, eax
jmp 0x140073208
inc rax
cmp rax, r8
je 0x140073245
mov r9, rax
shl r9, cl
cmp rax, r14
je 0x1400732bf
mov edx, dword [r15 + rax*4]
cmp edx, r9d
je 0x140073200
mov r10d, edx
mov edx, edx
shr rdx, cl
cmp rdx, r14
jae 0x1400732ab
mov edx, dword [r15 + rdx*4]
cmp edx, r9d
jne 0x140073220
cmp rax, r14
jae 0x1400732d3
mov dword [rbx + rax*4], r10d
jmp 0x140073200
mov rdx, qword [rbp - 8]
lea r8, [rdx + 0x18]
mov rcx, rsi
call fcn.14001f550
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x140073271
shl rdx, 2
mov r8d, 4
mov rcx, qword [rbp - 0x10]
call fcn.140003a30
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
test rdx, rdx
mov rcx, qword [rbp - 0x18]
je 0x14007329d
shl rdx, 2
mov r8d, 4
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
jmp fcn.140003a30
nop
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
lea r8, [0x140128d40]
mov rcx, rdx
mov rdx, r14
call fcn.14011b770
jmp 0x1400732fb
lea r8, [0x140128d28]
mov rcx, r14
mov rdx, r14
call fcn.14011b770
jmp 0x1400732fb
lea r8, [0x140128d58]
mov rcx, rax
mov rdx, r14
call fcn.14011b770
jmp 0x1400732fb
call fcn.14010d2d0
jmp 0x1400732fb
mov ecx, 4
mov rdx, rdi
call fcn.14011b3d0
ud2
Function at 0x14007e150
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
cmp edx, 0x1ff
jg 0x14007e1f1
dec edx
cmp edx, 0x3f
ja case.0x14007e17f.64
lea rax, [0x14012a7d0]
movsxd rdx, dword [rax + rdx*4]
add rdx, rax
jmp rdx
movzx eax, byte [rcx]
test rax, rax
je 0x14007e1c1
lea ecx, [rax - 1]
mov edx, 1
xor r9d, r9d
shld r9, rdx, cl
mov r10d, ecx
shr r10b, 7
movzx r10d, r10b
xor r11d, r11d
shl rdx, cl
test cl, 0x40
cmovne r9, rdx
cmovne rdx, r11
shl r10, 4
or qword [r8 + r10], rdx
or qword [r8 + r10 + 8], r9
mov r10d, eax
shr r10d, 7
mov edx, 1
xor r9d, r9d
mov ecx, eax
shld r9, rdx, cl
shl rdx, cl
xor ecx, ecx
test al, 0x40
cmovne r9, rdx
cmovne rdx, rcx
shl r10, 4
add r8, r10
jmp 0x14007e311
cmp edx, 0x1fff
jle 0x14007e211
cmp edx, 0x7fff
jle case.0x14007e17f.64
cmp edx, 0x8000
je case.0x14007e17f.64
cmp edx, 0x20000
jmp case.0x14007e17f.64
cmp edx, 0x7ff
xor edx, edx
mov r9d, 1
lea r10, [0x14012a2d8]
xor r11d, r11d
jmp 0x14007e26d
xor esi, esi
mov ecx, eax
shld rsi, r9, cl
shr cl, 7
movzx edi, cl
mov ebx, 1
mov ecx, eax
shl rbx, cl
test al, 0x40
cmovne rsi, rbx
cmovne rbx, rdx
shl rdi, 4
or qword [r8 + rdi], rbx
or qword [r8 + rdi + 8], rsi
movzx eax, ax
cmp eax, 0xff
jae case.0x14007e17f.1
mov ecx, r11d
movzx esi, r11w
cmp esi, 0x100
mov edi, 0xff
cmovae edi, esi
mov r11d, edi
inc r11d
mov ebx, ecx
nop word [rax + rax]
cmp di, bx
je 0x14007e2c0
mov eax, ebx
lea ebx, [rax + 1]
cmp byte [rsi + r10], 0
sete bpl
movzx r14d, bl
cmp byte [r14 + r10], 0
setne r14b
xor r14b, bpl
jne 0x14007e290
mov r11d, ebx
jmp 0x14007e2cc
mov ax, 0xff
cmp esi, 0x100
jae 0x14007e323
test cl, cl
je 0x14007e230
dec cl
xor esi, esi
shld rsi, r9, cl
mov ebx, ecx
shr bl, 7
movzx edi, bl
mov ebx, 1
shl rbx, cl
test cl, 0x40
cmovne rsi, rbx
cmovne rbx, rdx
shl rdi, 4
or qword [r8 + rdi], rbx
or qword [r8 + rdi + 8], rsi
jmp 0x14007e230
mov edx, 0x3600
xor r9d, r9d
or qword [r8], rdx
or qword [r8 + 8], r9
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
lea rcx, str.assertion_failed:_b2___256
lea r8, str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_regex_automata_0.4.4_srcutillook.rs
mov edx, 0x1b
call fcn.14011b6d0
ud2
Function at 0x1400c80a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rdx
mov rsi, rcx
mov r15, qword [rdx]
mov rbx, qword [rdx + 8]
mov r8, qword [r15 + 0xa0]
mov r14, qword [rdx + 0x10]
mov rcx, rbx
mov rdx, r14
call fcn.1400b7640
cmp eax, 0x5c
jne 0x1400c80ef
mov rcx, rsi
mov rdx, rdi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.1400c4030
lea rcx, [rsp + 0x20]
mov rdx, rdi
call fcn.1400b8180
mov r8, qword [r15 + 0xa0]
mov rcx, rbx
mov rdx, r14
call fcn.1400b7640
mov dword [rsp + 0x50], eax
mov byte [rsp + 0x54], 0
mov byte [rsp + 0x88], 2
mov rcx, rdi
call fcn.1400b7760
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
movups xmm2, xmmword [rsp + 0x40]
movups xmm3, xmmword [rsp + 0x50]
movups xmmword [rsi + 8], xmm0
movups xmmword [rsi + 0x18], xmm1
movups xmmword [rsi + 0x28], xmm2
movups xmmword [rsi + 0x38], xmm3
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rsi + 0x48], xmm0
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rsi + 0x58], xmm0
movups xmm0, xmmword [rsp + 0x80]
movups xmmword [rsi + 0x68], xmm0
mov dword [rsi], 0x22
add rsp, 0x90
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1400dc930
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rbx, r8
mov rsi, rcx
mov r14, r8
sub r14, rdx
shr r14, 3
sub rbx, rdx
je 0x1400dc991
movabs rax, 0x7ffffffffffffff9
cmp rbx, rax
jae 0x1400dcad4
mov rdi, rdx
movzx eax, byte [0x1401c6201]
mov edx, 4
mov rcx, rbx
call fcn.140003a20
test rax, rax
je 0x1400dcadb
cmp rbx, 0x80
jae 0x1400dc99d
xor ecx, ecx
jmp 0x1400dca3a
xor ecx, ecx
mov eax, 4
jmp 0x1400dcabc
lea rdx, [rax + r14*8]
add rdx, 0xfffffffffffffff8
xor ecx, ecx
cmp rdx, rax
jb 0x1400dca3a
lea rdx, [rax + r14*8]
add rdx, 0xfffffffffffffffc
mov r8, rax
add r8, 4
cmp rdx, r8
jb 0x1400dca3a
lea rdx, [r14 - 1]
shr rdx, 0x3d
jne 0x1400dca3a
mov rcx, r14
and rcx, 0xfffffffffffffffe
xor edx, edx
movdqa xmm0, xmmword [0x140124260]
nop
movdqu xmm1, xmmword [rdi + rdx*8]
pshufd xmm2, xmm1, 0xe8
pshufd xmm1, xmm1, 0xed
movdqa xmm3, xmm2
pxor xmm3, xmm0
movdqa xmm4, xmm1
pxor xmm4, xmm0
pcmpgtd xmm4, xmm3
movdqa xmm3, xmm4
pandn xmm3, xmm1
movdqa xmm5, xmm4
pandn xmm5, xmm2
pand xmm2, xmm4
por xmm2, xmm3
pand xmm4, xmm1
por xmm4, xmm5
punpckldq xmm2, xmm4
movdqu xmmword [rax + rdx*8], xmm2
add rdx, 2
cmp rcx, rdx
jne 0x1400dc9e0
cmp r14, rcx
je 0x1400dcab9
mov rdx, rcx
or rdx, 1
test bl, 8
je 0x1400dca69
mov r8d, dword [rdi + rcx*8]
mov r9d, dword [rdi + rcx*8 + 4]
cmp r8d, r9d
mov r10d, r9d
cmovb r10d, r8d
cmova r9d, r8d
mov dword [rax + rcx*8], r10d
mov dword [rax + rcx*8 + 4], r9d
mov rcx, rdx
cmp r14, rdx
je 0x1400dcab9
nop
mov edx, dword [rdi + rcx*8]
mov r8d, dword [rdi + rcx*8 + 4]
cmp edx, r8d
mov r9d, r8d
cmovb r9d, edx
cmova r8d, edx
mov dword [rax + rcx*8], r9d
mov dword [rax + rcx*8 + 4], r8d
mov edx, dword [rdi + rcx*8 + 8]
mov r8d, dword [rdi + rcx*8 + 0xc]
cmp edx, r8d
mov r9d, r8d
cmovb r9d, edx
cmova r8d, edx
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], r8d
add rcx, 2
cmp r14, rcx
jne 0x1400dca70
mov rcx, r14
mov qword [rsi], rax
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], rcx
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.14010d2d0
ud2
mov ecx, 4
mov rdx, rbx
call fcn.14011b3d0
ud2
Function at 0x1400e1040
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
mov rsi, rcx
movzx eax, byte [0x1401c6201]
mov ecx, 0x1818
mov edx, 4
call fcn.140003a20
test rax, rax
je 0x1400e115e
xor ecx, ecx
lea rdx, [0x14015d210]
movdqa xmm0, xmmword [0x140124260]
nop word cs:[rax + rax]
movdqu xmm1, xmmword [rcx + rdx]
pshufd xmm2, xmm1, 0xe8
pshufd xmm1, xmm1, 0xed
movdqa xmm3, xmm2
pxor xmm3, xmm0
movdqa xmm4, xmm1
pxor xmm4, xmm0
pcmpgtd xmm4, xmm3
movdqa xmm3, xmm4
pandn xmm3, xmm1
movdqa xmm5, xmm4
pandn xmm5, xmm2
pand xmm2, xmm4
por xmm2, xmm3
pand xmm4, xmm1
por xmm4, xmm5
punpckldq xmm2, xmm4
movdqu xmmword [rax + rcx], xmm2
add rcx, 0x10
cmp rcx, 0x1810
jne 0x1400e1090
movabs rcx, 0xe01ef000e0100
mov qword [rax + 0x1810], rcx
mov rcx, rax
add rcx, 0x1818
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 0x303
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rcx
lea rcx, [rbp - 0x38]
lea rdx, [rbp - 0x20]
call fcn.1400d9d10
mov rax, qword [rbp - 0x28]
test rax, rax
mov qword [rbp - 0x10], rax
movups xmm0, xmmword [rbp - 0x38]
movaps xmmword [rbp - 0x20], xmm0
sete byte [rbp - 8]
lea rcx, [rbp - 0x20]
call fcn.1400e7600
movaps xmm0, xmmword [rbp - 0x20]
movaps xmm1, xmmword [rbp - 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rax, rsi
add rsp, 0x68
pop rsi
pop rbp
ret
mov ecx, 4
mov edx, 0x1818
call fcn.14011b3d0
ud2

Function at 0x1400e12d0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
mov rsi, rcx
movzx eax, byte [0x1401c6201]
mov ecx, 0x200
mov edx, 4
call fcn.140003a20
test rax, rax
je 0x1400e13dd
xor ecx, ecx
lea rdx, [0x14015ea78]
movdqa xmm0, xmmword [0x140124260]
nop word cs:[rax + rax]
movdqu xmm1, xmmword [rcx + rdx]
pshufd xmm2, xmm1, 0xe8
pshufd xmm1, xmm1, 0xed
movdqa xmm3, xmm2
pxor xmm3, xmm0
movdqa xmm4, xmm1
pxor xmm4, xmm0
pcmpgtd xmm4, xmm3
movdqa xmm3, xmm4
pandn xmm3, xmm1
movdqa xmm5, xmm4
pandn xmm5, xmm2
pand xmm2, xmm4
por xmm2, xmm3
pand xmm4, xmm1
por xmm4, xmm5
punpckldq xmm2, xmm4
movdqu xmmword [rax + rcx], xmm2
add rcx, 0x10
cmp rcx, 0x200
jne 0x1400e1320
mov rcx, rax
add rcx, 0x200
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 0x40
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rcx
lea rcx, [rbp - 0x38]
lea rdx, [rbp - 0x20]
call fcn.1400d9d10
mov rax, qword [rbp - 0x28]
test rax, rax
mov qword [rbp - 0x10], rax
movups xmm0, xmmword [rbp - 0x38]
movaps xmmword [rbp - 0x20], xmm0
sete byte [rbp - 8]
lea rcx, [rbp - 0x20]
call fcn.1400e7600
movaps xmm0, xmmword [rbp - 0x20]
movaps xmm1, xmmword [rbp - 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rax, rsi
add rsp, 0x68
pop rsi
pop rbp
ret
mov ecx, 4
mov edx, 0x200
call fcn.14011b3d0
ud2
Function at 0x1400eef90
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3e0], rcx
mov qword [rbp + 0x3c8], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x3d0], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor edi, edi
xor ebx, ebx
xor r12d, r12d
cmp r8, 0x201
jae 0x1400ef020
jmp 0x1400ef00f
jae 0x1400ef0e0
cmp r8, 0x201
jae 0x1400ef020
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x1400ef078
sub r8, r12
sub rbx, r12
cmp rbx, r8
jae 0x1400ef04f
lea rcx, [rbp + 0x3c8]
mov rdx, r12
call fcn.14011a530
mov rax, qword [rbp + 0x3c8]
mov qword [rbp + 0x3e8], rax
mov rdi, qword [rbp + 0x3d0]
mov eax, 0xffffffff
cmp rdi, rax
mov r12d, 0xffffffff
cmovb r12, rdi
mov qword [rbp + 0x3d8], r12
mov rbx, rdi
mov rsi, r12
mov r13, qword [rbp + 0x3e8]
mov r15, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, r15d
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r14d, eax
test eax, eax
jne 0x1400ef0a1
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400ef148
mov r8d, r14d
cmp r15, r8
jne 0x1400ef000
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400ef16b
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x1400ef00f
jmp 0x1400ef020
cmp rsi, r8
jb 0x1400ef185
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.1400f2c60
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3e0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
test rdi, rdi
je 0x1400ef131
add rdi, rdi
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rdi
call fcn.140003a30
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3e0]
mov qword [rsi], rax
mov byte [rsi + 0x18], 2
test rdi, rdi
jne 0x1400ef119
jmp 0x1400ef131
lea rcx, [0x14019ec90]
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.14011b6d0
jmp 0x1400ef19a
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.14011bb60
ud2
Function at 0x1400ef2f0
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x4a8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x420], 0xfffffffffffffffe
mov rsi, rcx
lea rcx, [rbp - 0x60]
call fcn.140103f50
mov rax, qword [rbp - 0x60]
mov qword [rbp + 0x408], rax
test rax, rax
je 0x1400ef476
mov qword [rbp + 0x400], rsi
mov rax, qword [rbp - 0x58]
mov qword [rbp + 0x418], rax
mov qword [rbp + 0x3e8], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x3f0], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x410], rax
xor edi, edi
xor ebx, ebx
xor r13d, r13d
cmp r8, 0x201
jae 0x1400ef3b0
jmp 0x1400ef39f
jae 0x1400ef488
cmp r8, 0x201
jae 0x1400ef3b0
mov r15d, 0x200
lea r14, [rbp - 0x60]
mov r12, r8
jmp 0x1400ef408
sub r8, r13
sub rbx, r13
cmp rbx, r8
jae 0x1400ef3df
lea rcx, [rbp + 0x3e8]
mov rdx, r13
call fcn.14011a530
mov rax, qword [rbp + 0x3e8]
mov qword [rbp + 0x410], rax
mov rdi, qword [rbp + 0x3f0]
mov eax, 0xffffffff
cmp rdi, rax
mov r13d, 0xffffffff
cmovb r13, rdi
mov qword [rbp + 0x3f8], r13
mov rbx, rdi
mov r15, r13
mov r14, qword [rbp + 0x410]
mov r12, r13
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbp + 0x408]
mov rdx, r14
mov r8d, r12d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
test eax, eax
jne 0x1400ef437
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400ef55b
mov r8d, esi
cmp r12, r8
jne 0x1400ef390
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400ef585
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x1400ef39f
jmp 0x1400ef3b0
lea rcx, [rbp - 0x58]
call fcn.1400e9240
mov byte [rsi + 0x18], 2
jmp 0x1400ef51a
cmp r15, r8
jb 0x1400ef59f
lea rcx, [rbp + 0x3a0]
mov rdx, r14
call fcn.1400f2c60
movups xmm0, xmmword [rbp + 0x3a0]
movups xmm1, xmmword [rbp + 0x3b0]
movaps xmmword [rbp + 0x3d0], xmm1
movaps xmmword [rbp + 0x3c0], xmm0
test rdi, rdi
je 0x1400ef4d9
add rdi, rdi
mov r8d, 2
mov rcx, qword [rbp + 0x410]
mov rdx, rdi
call fcn.140003a30
cmp byte [rbp + 0x3d8], 2
jne 0x1400ef531
mov rsi, qword [rbp + 0x400]
mov byte [rsi + 0x18], 2
lea rcx, [rbp + 0x3c0]
call fcn.1400e9240
mov rdx, qword [rbp + 0x418]
test rdx, rdx
je 0x1400ef51a
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp + 0x408]
call fcn.140003a30
mov rax, rsi
add rsp, 0x4a8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
movaps xmm0, xmmword [rbp + 0x3c0]
movaps xmm1, xmmword [rbp + 0x3d0]
mov rsi, qword [rbp + 0x400]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x418]
test rdx, rdx
jne 0x1400ef505
jmp 0x1400ef51a
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x3c0], rax
mov byte [rbp + 0x3d8], 2
test rdi, rdi
jne 0x1400ef4c1
jmp 0x1400ef4d9
lea rcx, [0x14019ec90]
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.14011b6d0
jmp 0x1400ef5b4
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, r15
mov r8, rax
call fcn.14011bb60
ud2
Function at 0x1400f64e0
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov eax, 0x10b8
call fcn.140114900
sub rsp, rax
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x1020], xmm6
mov qword [rbp + 0x1018], 0xfffffffffffffffe
mov qword [rbp + 0x1008], rdx
mov r12, rcx
lea r13, [rbp - 0x50]
mov r8d, 0x1000
mov rcx, r13
xor edx, edx
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0xfe8]
xorps xmm6, xmm6
lea rbx, [rbp + 0xffc]
lea rsi, [0x1400fcdb0]
lea r15, [rbp + 0xfb0]
mov r14, qword [sym.imp.KERNEL32.dll_WriteFileEx]
mov rdi, qword [sym.imp.KERNEL32.dll_SleepEx]
mov qword [rbp + 0x1010], r12
mov r9d, 0x1000
mov rdx, r12
mov r8, r13
call case.0x1400f4458.248
cmp qword [rbp + 0xfe8], 0
jne 0x1400f66b7
mov r12, qword [rbp + 0xff0]
test r12, r12
je 0x1400f6683
cmp r12, 0x1000
ja 0x1400f66d9
xor r13d, r13d
nop word cs:[rax + rax]
mov r8d, r12d
sub r8d, r13d
lea rdx, [r13 - 0x50]
add rdx, rbp
mov dword [rbp + 0xffc], 0
movaps xmmword [rbp + 0xfb0], xmm6
mov qword [rbp + 0xfc0], 0
mov qword [rbp + 0xfc8], rbx
mov qword [rsp + 0x20], rsi
mov rcx, qword [rbp + 0x1008]
mov r9, r15
call r14
test eax, eax
je 0x1400f6657
nop word [rax + rax]
mov ecx, 0xffffffff
mov edx, 1
call rdi
cmp dword [rbp + 0xffc], 0
je 0x1400f6600
movsxd rax, dword [rbp + 0x1000]
test rax, rax
jne 0x1400f665d
mov eax, dword [rbp + 0x1004]
add r13, rax
cmp r13, r12
je 0x1400f6640
jbe 0x1400f65b0
jmp 0x1400f66c5
mov r12, qword [rbp + 0x1010]
lea r13, [rbp - 0x50]
lea rcx, [rbp + 0xfe8]
jmp 0x1400f6565
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0xfe0], rax
mov qword [rbp + 0xfd8], 1
lea rcx, [rbp + 0xfe0]
call fcn.1400e9240
mov rsi, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x1010]
call rsi
mov rcx, qword [rbp + 0x1008]
call rsi
movaps xmm6, xmmword [rbp + 0x1020]
add rsp, 0x10b8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, [rbp + 0xff0]
call fcn.1400e9240
jmp 0x1400f6683
lea r8, str.library_std_src_syswindowspipe.rs
mov rcx, r13
mov rdx, r12
call fcn.14011bbe0
jmp 0x1400f66ed
lea r8, str.library_std_src_syswindowspipe.rs
mov edx, 0x1000
mov rcx, r12
call fcn.14011bb60
ud2
Function at 0x1400f9f30
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x1401a0e38]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x1400f9f74
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x1400f9fd3
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0xc0000011
jne 0x1400f9fe2
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
jmp 0x1400fa01a
cmp eax, 0x103
je 0x1400fa024
test eax, eax
js 0x1400f9fff
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
mov qword [rsi], 0
jmp 0x1400fa01a
mov ecx, eax
call qword [sym.imp.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, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.1400f2890
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.1400e9850
mov ecx, 7
int 0x29
ud2