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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
movaps xmmword [rsp + 0x60], xmm6
mov rax, qword [rdx + 0x48]
cmp byte [rax + 0x182], 1
jne 0x18002bedf
cmp byte [rax + 0x183], 0
je 0x18002bedf
mov rsi, qword [rsp + 0xe8]
mov rdi, qword [rsp + 0xe0]
mov r10, qword [rax + 0x138]
mov rbx, qword [r10 + 0x20]
lea r13, [rbx + rbx]
cmp r13, rsi
jbe 0x18002bef9
cmp qword [rax + 0x168], 1
jne 0x18002bf0d
mov rbx, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 2
lea rcx, [rsp + 0x30]
call fcn.18005f830
test byte [rsp + 0x30], 1
je 0x18002bf74
mov rax, qword [rsp + 0x38]
mov qword [rbx + 8], rax
mov eax, 1
jmp 0x18002bf9e
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.18005f830
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
call fcn.18005f830
jmp 0x18002bfa0
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x48], r9
shl rbx, 4
xor r15d, r15d
mov rax, r13
shr rax, 0x3d
jne 0x18002c063
movabs rax, 0x7ffffffffffffff8
cmp rbx, rax
ja 0x18002c063
mov rbp, rdx
test rbx, rbx
je 0x18002bfb6
movzx eax, byte [0x1801bc1b1]
mov r15d, 8
mov edx, 8
mov r12, rcx
mov rcx, rbx
call fcn.18000b6f0
test rax, rax
je 0x18002c063
mov r14, rax
mov r15, r13
jmp 0x18002bfc2
cmp rsi, 3
jae 0x18002c06e
movsd xmm6, qword [rsp + 0x34]
shl rsi, 3
lea rdx, [rsp + 0x50]
mov rcx, rdi
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
movlps qword [rbx + 4], xmm6
xor eax, eax
mov dword [rbx], eax
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r12, rcx
mov r14d, 8
xor r15d, r15d
lea r8, [rbx - 8]
mov rcx, r14
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov qword [r14 + rbx - 8], 0
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
lea rcx, [rsp + 0x30]
mov rdx, rbp
mov r8, qword [rsp + 0x40]
mov r9, qword [rsp + 0x48]
call fcn.18005f830
test byte [rsp + 0x30], 1
je 0x18002c015
mov rax, qword [rsp + 0x38]
mov qword [r12 + 8], rax
mov dword [r12], 1
jmp 0x18002c039
shl rsi, 3
mov rbx, qword [rsp + 0x34]
mov rcx, rdi
mov rdx, r14
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
mov qword [r12 + 4], rbx
mov dword [r12], 0
shl r15, 3
mov r8d, 8
mov rcx, r14
mov rdx, r15
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.18000b700
mov rcx, r15
mov rdx, rbx
call fcn.1801121a0
lea r8, [0x180133298]
mov edx, 2
mov rcx, rsi
call fcn.1801128a0
int3
Function at 0x180056190
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov rsi, r8
mov rdi, rdx
cmp r9, 8
jb 0x18005620b
mov rbx, r9
shr rbx, 3
and r9, 0xfffffffffffffff8
lea rdx, [rcx + r9]
mov r14, rbx
shl r14, 4
sub r14, rbx
sub r14, rbx
lea r8, [rcx + r14]
mov r15, r9
mov r9, rbx
call fcn.180056190
mov r12, rax
lea rdx, [rdi + r15]
lea r8, [rdi + r14]
mov rcx, rdi
mov r9, rbx
call fcn.180056190
mov rdi, rax
add r15, rsi
add r14, rsi
mov rcx, rsi
mov rdx, r15
mov r8, r14
mov r9, rbx
call fcn.180056190
mov rsi, rax
mov rcx, r12
movzx r11d, byte [rcx]
movzx ebx, byte [rcx + 1]
movzx edx, byte [rdi]
movzx r8d, byte [rdi + 1]
xor r9d, r9d
cmp bl, r8b
setb r9b
xor eax, eax
cmp r11b, dl
setb al
cmove eax, r9d
movzx r9d, byte [rsi]
movzx r10d, byte [rsi + 1]
xor ebp, ebp
cmp bl, r10b
setb bpl
xor ebx, ebx
cmp r11b, r9b
setb bl
cmove ebx, ebp
cmp al, bl
jne 0x180056272
xor ecx, ecx
cmp r8b, r10b
setb cl
xor r8d, r8d
cmp dl, r9b
setb r8b
cmove r8d, ecx
xor al, r8b
cmovne rdi, rsi
mov rcx, rdi
mov rax, rcx
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

Function at 0x180056290
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov r12, r8
mov rdi, rdx
mov rbx, rcx
cmp r9, 8
jb 0x18005630a
shr r9, 3
mov r14, r9
shl r14, 7
lea rdx, [rbx + r14]
imul r15, r9, 0xe0
lea r8, [rbx + r15]
mov rcx, rbx
mov rsi, r12
mov r12, r9
call fcn.180056290
mov rbx, rax
lea rdx, [rdi + r14]
lea r8, [rdi + r15]
mov rcx, rdi
mov r9, r12
call fcn.180056290
mov rdi, rax
add r14, rsi
add r15, rsi
mov rcx, rsi
mov rdx, r14
mov r8, r15
mov r9, r12
call fcn.180056290
mov r12, rax
mov qword [rsp + 0x38], rdi
mov rbp, qword [rbx + 8]
mov rsi, qword [rbx + 0x10]
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
mov r13, rsi
sub r13, r8
mov qword [rsp + 0x48], r8
cmovb r8, rsi
mov rcx, rbp
mov qword [rsp + 0x50], rdx
call sub.VCRUNTIME140.dll_memcmp
cdqe
test eax, eax
cmovne r13, rax
movzx r15d, byte [rbx + 0x18]
movzx ecx, byte [rdi + 0x18]
mov eax, r15d
mov byte [rsp + 0x2f], cl
sub al, cl
xor r14d, r14d
cmp al, 0xff
sete r14b
xor eax, eax
test r13, r13
sets al
cmovne r14d, eax
mov rdx, qword [r12 + 8]
mov r13, qword [r12 + 0x10]
mov rdi, r12
mov r12, rsi
sub r12, r13
cmovae rsi, r13
mov rcx, rbp
mov qword [rsp + 0x30], rdx
mov r8, rsi
call sub.VCRUNTIME140.dll_memcmp
cdqe
test eax, eax
cmovne r12, rax
mov qword [rsp + 0x40], rdi
movzx ebp, byte [rdi + 0x18]
sub r15b, bpl
xor eax, eax
cmp r15b, 0xff
sete al
xor ecx, ecx
test r12, r12
sets cl
cmovne eax, ecx
cmp r14b, al
jne 0x180056410
mov rax, qword [rsp + 0x48]
mov rsi, rax
sub rsi, r13
cmovb r13, rax
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x30]
mov r8, r13
call sub.VCRUNTIME140.dll_memcmp
cdqe
test eax, eax
cmovne rsi, rax
movzx ecx, byte [rsp + 0x2f]
sub cl, bpl
xor eax, eax
cmp cl, 0xff
sete al
xor ecx, ecx
test rsi, rsi
sets cl
cmovne eax, ecx
xor r14b, al
mov rbx, qword [rsp + 0x38]
cmovne rbx, qword [rsp + 0x40]
mov rax, rbx
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x180059fd0
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 0x18005a012
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x18005a01a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x18005a02b
jmp 0x18005a042
xor r10d, r10d
jmp 0x18005a0cd
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x18005a042
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x18005a059
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 0x18005a079
add r11, r8
jmp 0x18005a1a9
mov rcx, qword [rax + 0x18]
xor rcx, rsi
mov rdi, qword [rax + 0x10]
mov r9, qword [rax]
add r9, rdi
mov r11, qword [rax + 8]
add r11, rcx
rol rdi, 0xd
xor rdi, r9
rol rcx, 0x10
rol r9, 0x20
xor rcx, r11
add r11, rdi
rol rdi, 0x11
add r9, rcx
xor rdi, r11
rol rcx, 0x15
mov qword [rax + 0x10], rdi
xor rcx, r9
rol r11, 0x20
mov qword [rax + 0x18], rcx
mov qword [rax + 8], r11
xor r9, rsi
mov qword [rax], r9
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x18005a142
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
mov rbx, qword [rdx + r10]
xor rdi, rbx
add rcx, rsi
rol rsi, 0xd
add r9, rdi
xor rsi, rcx
rol rdi, 0x10
xor rdi, r9
rol rcx, 0x20
add r9, rsi
add rcx, rdi
rol rsi, 0x11
xor rsi, r9
rol rdi, 0x15
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x18005a0f0
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x18005a15f
mov r9d, dword [rdx + r10]
mov r8d, 4
mov ecx, r8d
or ecx, 1
cmp ecx, r11d
jb 0x18005a170
jmp 0x18005a18b
xor r9d, r9d
xor r8d, r8d
mov ecx, r8d
or ecx, 1
cmp ecx, r11d
jae 0x18005a18b
lea rcx, [rdx + r8]
movzx esi, word [r10 + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8d, r11d
jae 0x18005a1a5
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 0x1800d21c0
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rbx, r8
sub rbx, rdx
movabs rax, 0x7ffffffffffffffc
cmp rbx, rax
ja 0x1800d2385
mov rdi, rdx
mov rsi, rcx
cmp r8, rdx
je 0x1800d22ad
movzx eax, byte [0x1801bc1b1]
mov r14d, 4
mov edx, 4
mov rcx, rbx
call fcn.18000b6f0
test rax, rax
je 0x1800d2388
mov rcx, rbx
shr rcx, 3
cmp rbx, 0x80
jae 0x1800d22cc
xor edx, edx
mov r8, rdx
or r8, 1
test bl, 8
je 0x1800d2259
mov r9d, dword [rdi + rdx*8]
mov r10d, dword [rdi + rdx*8 + 4]
cmp r9d, r10d
mov r11d, r10d
cmovb r11d, r9d
cmova r10d, r9d
mov dword [rax + rdx*8], r11d
mov dword [rax + rdx*8 + 4], r10d
mov rdx, r8
cmp rcx, r8
je 0x1800d22b4
nop
mov r8d, dword [rdi + rdx*8]
mov r9d, dword [rdi + rdx*8 + 4]
cmp r8d, r9d
mov r10d, r9d
cmovb r10d, r8d
cmova r9d, r8d
mov dword [rax + rdx*8], r10d
mov dword [rax + rdx*8 + 4], r9d
mov r8d, dword [rdi + rdx*8 + 8]
mov r9d, dword [rdi + rdx*8 + 0xc]
cmp r8d, r9d
mov r10d, r9d
cmovb r10d, r8d
cmova r9d, r8d
mov dword [rax + rdx*8 + 8], r10d
mov dword [rax + rdx*8 + 0xc], r9d
add rdx, 2
cmp rcx, rdx
jne 0x1800d2260
jmp 0x1800d22b4
mov eax, 4
xor ecx, ecx
mov qword [rsi], rcx
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rcx
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea r8, [rax + rcx*8]
add r8, 0xfffffffffffffff8
xor edx, edx
cmp r8, rax
jb 0x1800d222a
lea r8, [rax + rcx*8]
add r8, 0xfffffffffffffffc
mov r9, rax
add r9, 4
cmp r8, r9
jb 0x1800d222a
lea r8, [rcx - 1]
shr r8, 0x3d
jne 0x1800d222a
movabs rdx, 0xffffffffffffffe
and rdx, rcx
xor r8d, r8d
movdqa xmm0, xmmword [0x18012f430]
nop dword [rax]
movdqu xmm1, xmmword [rdi + r8*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 + r8*8], xmm2
add r8, 2
cmp rdx, r8
jne 0x1800d2320
cmp rcx, rdx
jne 0x1800d222a
jmp 0x1800d22b4
xor r14d, r14d
mov rcx, r14
mov rdx, rbx
call fcn.1801121a0
int3
Function at 0x1800d95a0
Capabilities:
Encode data using xor

Disassembly:
push rsi
sub rsp, 0x60
mov rsi, rcx
movzx eax, byte [0x1801bc1b1]
mov ecx, 0x1818
mov edx, 4
call fcn.18000b6f0
test rax, rax
je 0x1800d96bb
xor ecx, ecx
lea rdx, [0x18016c0e0]
movdqa xmm0, xmmword [0x18012f430]
nop dword [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 0x1800d95e0
movabs rcx, 0xe01ef000e0100
mov qword [rax + 0x1810], rcx
mov rcx, rax
add rcx, 0x1818
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0x303
mov qword [rsp + 0x38], rcx
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x20]
call fcn.1800d0b50
mov rax, qword [rsp + 0x58]
test rax, rax
mov qword [rsp + 0x30], rax
movups xmm0, xmmword [rsp + 0x48]
movaps xmmword [rsp + 0x20], xmm0
sete byte [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.1800d7810
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rax, rsi
add rsp, 0x60
pop rsi
ret
mov ecx, 4
mov edx, 0x1818
call fcn.1801121a0
int3

Function at 0x1800d97b0
Capabilities:
Encode data using xor

Disassembly:
push rsi
sub rsp, 0x60
mov rsi, rcx
movzx eax, byte [0x1801bc1b1]
mov ecx, 0x200
mov edx, 4
call fcn.18000b6f0
test rax, rax
je 0x1800d98ba
xor ecx, ecx
lea rdx, [0x18016d948]
movdqa xmm0, xmmword [0x18012f430]
nop dword [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 0x1800d97f0
mov rcx, rax
add rcx, 0x200
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0x40
mov qword [rsp + 0x38], rcx
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x20]
call fcn.1800d0b50
mov rax, qword [rsp + 0x58]
test rax, rax
mov qword [rsp + 0x30], rax
movups xmm0, xmmword [rsp + 0x48]
movaps xmmword [rsp + 0x20], xmm0
sete byte [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.1800d7810
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rax, rsi
add rsp, 0x60
pop rsi
ret
mov ecx, 4
mov edx, 0x200
call fcn.1801121a0
int3
Function at 0x1800df710
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
test rdx, rdx
je 0x1800df782
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
mov r15, qword [sym.imp.bcrypt.dll_BCryptGenRandom]
mov r12, qword [sym.imp.ADVAPI32.dll_SystemFunction036]
jmp 0x1800df748
add rdi, rbx
sub rsi, rbx
je 0x1800df782
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
xor ecx, ecx
mov rdx, rdi
mov r8d, ebx
mov r9d, 2
call r15
cmp eax, 0xbfffffff
jbe 0x1800df740
mov ebp, eax
mov rcx, rdi
mov edx, ebx
call r12
test al, al
jne 0x1800df740
and ebp, 0x7fffffff
jmp 0x1800df784
xor ebp, ebp
mov eax, ebp
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x1800e2050
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aeskeygenassist xmm0, xmmword [rdx], 2
movdqa xmmword [rcx], xmm0
ret

Function at 0x1800e9a30
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 + 0x3d0], rcx
mov qword [rbp + 0x3d8], 0
mov qword [rbp + 0x3e0], 2
mov qword [rbp + 0x3e8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3c8], rax
xor esi, esi
xor edi, edi
xor ebx, ebx
cmp r8, 0x201
jae 0x1800e9ad0
jmp 0x1800e9abf
jae 0x1800e9b9e
cmp r8, 0x201
jae 0x1800e9ad0
mov r14d, 0x200
lea r15, [rbp - 0x58]
mov r12, r8
jmp 0x1800e9b36
sub r8, rbx
sub rdi, rbx
cmp rdi, r8
jae 0x1800e9b0e
mov qword [rsp + 0x20], 2
mov r9d, 2
lea rcx, [rbp + 0x3d8]
mov rdx, rbx
call fcn.180111250
mov rsi, qword [rbp + 0x3d8]
mov rax, qword [rbp + 0x3e0]
mov qword [rbp + 0x3c8], rax
mov eax, 0xffffffff
cmp rsi, rax
mov ebx, 0xffffffff
cmovb rbx, rsi
mov qword [rbp + 0x3e8], rbx
mov rdi, rsi
mov r14, rbx
mov r15, qword [rbp + 0x3c8]
mov r12, rbx
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov ecx, r12d
mov rdx, r15
call qword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov r13d, eax
test eax, eax
jne 0x1800e9b5f
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x1800e9c0a
mov r8d, r13d
cmp r12, r8
jne 0x1800e9ab0
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1800e9c3e
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x1800e9abf
jmp 0x1800e9ad0
cmp r14, r8
jb 0x1800e9c58
lea rcx, [rbp + 0x3a8]
mov rdx, r15
call fcn.1800ec8b0
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3d0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
je 0x1800e9bf3
mov rcx, qword [rbp + 0x3e0]
add rdx, rdx
mov r8d, 2
call fcn.18000b700
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 + 0x3d0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
jne 0x1800e9bde
jmp 0x1800e9bf3
lea rcx, [0x1801adc98]
lea r8, str.std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.1801124b0
jmp 0x1800e9c6d
lea rax, str.std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r14
mov r8, rax
call fcn.1801128a0
ud2
Function at 0x1800f0000
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov eax, 0x10c8
call fcn.18010c670
sub rsp, rax
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x1030], xmm6
mov qword [rbp + 0x1028], 0xfffffffffffffffe
mov rsi, rdx
mov qword [rbp + 0x1020], rcx
mov qword [rbp + 0xfd8], rcx
mov qword [rbp + 0xfe0], rdx
lea rcx, [rbp - 0x50]
mov r8d, 0x1000
xor edx, edx
call sub.VCRUNTIME140.dll_memset
xorps xmm6, xmm6
lea rbx, [0x1800f6010]
lea r12, [rbp + 0xfb0]
mov rdi, qword [sym.imp.kernel32.dll_WriteFileEx]
mov r15, qword [sym.imp.kernel32.dll_SleepEx]
mov qword [rbp + 0x1018], rsi
mov rax, qword [rbp + 0x1020]
mov qword [rbp + 0x1010], rax
mov r8d, 0x1000
lea rcx, [rbp + 0xfd8]
lea rdx, [rbp - 0x50]
call fcn.1800f5f30
mov r14, rdx
test rax, rax
jne 0x1800f019c
test r14, r14
je 0x1800f016c
cmp r14, 0x1000
ja 0x1800f0240
xor r13d, r13d
nop dword [rax + rax]
cmp r13, r14
ja 0x1800f0217
mov r8d, r14d
sub r8d, r13d
lea rdx, [r13 - 0x50]
add rdx, rbp
mov dword [rbp + 0xff4], 0
movaps xmmword [rbp + 0xfb0], xmm6
mov qword [rbp + 0xfc0], 0
lea rax, [rbp + 0xff4]
mov qword [rbp + 0xfc8], rax
mov qword [rsp + 0x20], rbx
mov rcx, rsi
mov r9, r12
call rdi
test eax, eax
je 0x1800f0166
nop word cs:[rax + rax]
mov ecx, 0xffffffff
mov edx, 1
call r15
cmp dword [rbp + 0xff4], 1
jne 0x1800f0130
cmp dword [rbp + 0xff8], 0
jne 0x1800f016c
mov eax, dword [rbp + 0xffc]
add r13, rax
cmp r13, r14
jne 0x1800f00d0
jmp 0x1800f007b
call qword [sym.imp.kernel32.dll_GetLastError]
mov rdi, qword [sym.imp.kernel32.dll_CloseHandle]
mov rcx, qword [rbp + 0x1020]
call rdi
mov rcx, rsi
call rdi
movaps xmm6, xmmword [rbp + 0x1030]
add rsp, 0x10c8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov eax, r14d
and eax, 3
cmp eax, 1
jne 0x1800f016c
mov rax, r14
dec rax
mov qword [rbp + 0xfe8], rax
mov rax, qword [r14 - 1]
mov qword [rbp + 0x1000], rax
mov rax, qword [r14 + 7]
mov qword [rbp + 0x1008], rax
mov rax, qword [rax]
test rax, rax
je 0x1800f01db
mov rcx, qword [rbp + 0x1000]
call rax
mov rcx, qword [rbp + 0x1000]
mov rax, qword [rbp + 0x1008]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1800f01fb
mov r8, qword [rax + 0x10]
call fcn.18000b700
mov edx, 0x18
mov r8d, 8
mov rcx, qword [rbp + 0xfe8]
call fcn.18000b700
jmp 0x1800f016c
mov qword [rbp + 0x1018], rsi
mov rax, qword [rbp + 0x1020]
mov qword [rbp + 0x1010], rax
lea r8, str.std_src_syspalwindowspipe.rs
mov rcx, r13
mov rdx, r14
call fcn.180112910
jmp 0x1800f0269
mov qword [rbp + 0x1018], rsi
mov rax, qword [rbp + 0x1020]
mov qword [rbp + 0x1010], rax
lea r8, str.std_src_syspalwindowspipe.rs
mov edx, 0x1000
mov rcx, r14
call fcn.1801128a0
ud2
Function at 0x1800f42a0
Capabilities:
Delete file

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x70
lea rbp, [rsp + 0x70]
mov r8, rdx
mov rdx, rcx
lea rcx, [rbp - 0x18]
call fcn.1800fc7d0
mov rax, qword [rbp - 0x18]
mov rsi, qword [rbp - 0x10]
mov rcx, rax
neg rcx
jo 0x1800f42fb
mov rcx, qword [rbp - 8]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], rcx
lea rcx, [rbp - 0x48]
lea rdx, [rbp - 0x30]
mov r8b, 1
call fcn.1800fdc30
mov rdi, qword [rbp - 0x48]
mov rsi, qword [rbp - 0x40]
mov rax, rdi
neg rax
jno 0x1800f4306
mov rax, rsi
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
mov rcx, rsi
call qword [sym.imp.kernel32.dll_DeleteFileW]
test eax, eax
je 0x1800f4330
test rdi, rdi
je 0x1800f435c
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
call fcn.18000b700
xor eax, eax
jmp 0x1800f42fe
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
test rdi, rdi
je 0x1800f42fe
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
mov rsi, rax
call fcn.18000b700
jmp 0x1800f42fb
xor eax, eax
jmp 0x1800f42fe
Function at 0x1800f47f0
Capabilities:
Copy file

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x90
lea rbp, [rsp + 0x80]
mov qword [rbp + 8], 0xfffffffffffffffe
mov rsi, r9
mov rdi, r8
mov r8, rdx
mov rdx, rcx
lea rcx, [rbp - 0x38]
call fcn.1800fc7d0
mov rax, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x30]
mov rcx, rax
neg rcx
jo 0x1800f4862
mov rcx, qword [rbp - 0x28]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
mov qword [rbp - 0x10], rcx
lea rcx, [rbp - 0x50]
lea rdx, [rbp - 0x20]
mov r8b, 1
call fcn.1800fdc30
mov rcx, qword [rbp - 0x50]
mov rdx, qword [rbp - 0x48]
mov rax, rcx
neg rax
jno 0x1800f4875
mov eax, 1
add rsp, 0x90
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov qword [rbp], rcx
mov qword [rbp - 8], rdx
lea rcx, [rbp - 0x38]
mov rdx, rdi
mov r8, rsi
call fcn.1800fc7d0
mov rax, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x30]
mov rcx, rax
neg rcx
jo 0x1800f48cc
mov rcx, qword [rbp - 0x28]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
mov qword [rbp - 0x10], rcx
lea rcx, [rbp - 0x50]
lea rdx, [rbp - 0x20]
mov r8b, 1
call fcn.1800fdc30
mov rsi, qword [rbp - 0x50]
mov rdx, qword [rbp - 0x48]
mov rax, rsi
neg rax
jno 0x1800f48ff
mov rcx, qword [rbp - 8]
mov r14, qword [rbp]
mov eax, 1
test r14, r14
je 0x1800f4867
add r14, r14
mov r8d, 2
mov rsi, rdx
mov rdx, r14
call fcn.18000b700
mov eax, 1
mov rdx, rsi
jmp 0x1800f4867
mov qword [rbp - 0x20], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r8, [0x1800f4a10]
lea r9, [rbp - 0x20]
mov rcx, qword [rbp - 8]
mov rbx, rcx
mov rdi, rdx
call qword [sym.imp.kernel32.dll_CopyFileExW]
test eax, eax
mov r14, qword [rbp]
je 0x1800f4984
mov rdx, qword [rbp - 0x20]
test rsi, rsi
je 0x1800f495e
add rsi, rsi
mov r8d, 2
mov rcx, rdi
mov rdi, rdx
mov rdx, rsi
call fcn.18000b700
mov rdx, rdi
test r14, r14
je 0x1800f497d
add r14, r14
mov r8d, 2
mov rcx, rbx
mov rsi, rdx
mov rdx, r14
call fcn.18000b700
mov rdx, rsi
xor eax, eax
jmp 0x1800f4867
call qword [sym.imp.kernel32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
test rsi, rsi
je 0x1800f49b3
add rsi, rsi
mov r8d, 2
mov rcx, rdi
mov rdi, rdx
mov rdx, rsi
call fcn.18000b700
mov rdx, rdi
mov rcx, rbx
mov eax, 1
test r14, r14
jne 0x1800f48de
jmp 0x1800f4867
Function at 0x1800f4a30
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xb8
lea rbp, [rsp + 0x80]
mov rsi, rcx
mov rax, qword [rbp + 0x70]
mov qword [rbp - 8], r9
lea rcx, [rbp]
mov qword [rbp], rax
movups xmm0, xmmword [0x1801af900]
movaps xmmword [rbp + 0x10], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
xor r8d, r8d
test r9b, 1
cmove rcx, r8
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x1800f4ac6
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rbp + 0x10]
cmp eax, 0x103
je 0x1800f4af3
test eax, eax
js 0x1800f4ad2
mov rdx, qword [rbp + 0x18]
xor eax, eax
jmp 0x1800f4ae9
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xb8
pop rsi
pop rbp
ret
mov dword [rbp + 0x28], 0
mov byte [rbp + 0x2c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x30]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x28]
lea rdx, [rbp - 0x38]
call fcn.1800ec4b0
mov qword [rbp + 8], rax
lea rcx, [rbp + 8]
call fcn.1800e4ba0
mov ecx, 7
int 0x29
ud2