joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140139d10
Capabilities:
Encrypt data using curve25519

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x60]
sub rsp, 0x160
movups xmm2, xmmword [rdx]
mov rbx, rcx
lea rcx, [rbp - 0x70]
movups xmm0, xmmword [rdx + 0x10]
lea rdx, [rsp + 0x70]
movd eax, xmm2
movups xmmword [rbp - 0x80], xmm0
and al, 0xf8
psrldq xmm0, 8
movups xmmword [rsp + 0x70], xmm2
mov byte [rsp + 0x70], al
movq rax, xmm0
shr rax, 0x38
and al, 0x3f
or al, 0x40
mov byte [rbp - 0x71], al
call fcn.14013d7e0
mov ecx, dword [rbp - 0x48]
mov edx, dword [rbp - 0x20]
lea eax, [rcx + rdx]
sub edx, ecx
mov ecx, dword [rbp - 0x44]
mov dword [rsp + 0x48], edx
mov edx, dword [rbp - 0x1c]
mov dword [rsp + 0x20], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov ecx, dword [rbp - 0x40]
mov dword [rsp + 0x4c], edx
mov edx, dword [rbp - 0x18]
mov dword [rsp + 0x24], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov ecx, dword [rbp - 0x3c]
mov dword [rsp + 0x50], edx
mov edx, dword [rbp - 0x14]
mov dword [rsp + 0x28], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov ecx, dword [rbp - 0x38]
mov dword [rsp + 0x54], edx
mov edx, dword [rbp - 0x10]
mov dword [rsp + 0x2c], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov ecx, dword [rbp - 0x34]
mov dword [rsp + 0x58], edx
mov edx, dword [rbp - 0xc]
mov dword [rsp + 0x30], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov ecx, dword [rbp - 0x30]
mov dword [rsp + 0x5c], edx
mov edx, dword [rbp - 8]
mov dword [rsp + 0x34], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov ecx, dword [rbp - 0x2c]
mov dword [rsp + 0x60], edx
mov edx, dword [rbp - 4]
mov dword [rsp + 0x38], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov ecx, dword [rbp - 0x28]
mov dword [rsp + 0x64], edx
mov edx, dword [rbp]
mov dword [rsp + 0x3c], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov ecx, dword [rbp - 0x24]
mov dword [rsp + 0x68], edx
mov edx, dword [rbp + 4]
mov dword [rsp + 0x40], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov dword [rsp + 0x6c], edx
lea rcx, [rbp + 0x30]
lea rdx, [rsp + 0x48]
mov dword [rsp + 0x44], eax
call fcn.14013a2f0
lea r8, [rbp + 0x30]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x20]
call fcn.14013a570
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14013be40
mov edx, 0x20
lea rcx, [rsp + 0x70]
call fcn.14006c630
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rbp
ret
Function at 0x140143910
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push r14
sub rsp, 0x28
mov qword [rsp + 0x58], rdi
mov rsi, rdx
mov rdi, qword [rsp + 0x78]
mov r14, r9
mov qword [rsp + 0x68], r13
mov rbx, rcx
shl rsi, 5
mov r13, r8
mov qword [rsp + 0x20], r15
mov r15, rdx
mov r10, rcx
test rsi, rsi
je 0x140143988
mov r9, rsi
movzx eax, byte [r10]
lea r10, [r10 + 4]
mov dword [rdi], eax
movzx ecx, byte [r10 - 3]
shl ecx, 8
or ecx, eax
mov dword [rdi], ecx
movzx edx, byte [r10 - 2]
shl edx, 0x10
or edx, ecx
mov dword [rdi], edx
movzx eax, byte [r10 - 1]
shl eax, 0x18
or eax, edx
mov dword [rdi], eax
add rdi, 4
sub r9, 1
jne 0x140143950
mov qword [rsp + 0x60], r12
cmp r13, 1
jbe 0x1401439ba
mov rbp, r15
lea r12, [r8 - 1]
shl rbp, 7
nop
mov rdx, rdi
mov r8, r15
sub rdx, rbp
mov rcx, rdi
call fcn.1401434b0
add rdi, rbp
sub r12, 1
jne 0x1401439a0
mov rdx, r13
mov r8, r15
shl rdx, 7
mov rcx, r14
add rdx, 0xffffffffffffff80
imul rdx, r15
add rdx, qword [rsp + 0x78]
call fcn.1401434b0
xor ebp, ebp
test r13, r13
je 0x140143b24
mov rdi, qword [rsp + 0x70]
mov rbx, r15
shl rbx, 7
mov r12, r13
nop dword [rax]
nop word [rax + rax]
mov eax, dword [rbx + r14 - 0x40]
xor edx, edx
div r13
mov r10, rbp
mov eax, edx
imul rax, r15
shl rax, 7
add rax, qword [rsp + 0x78]
test rsi, rsi
je 0x140143b07
cmp rsi, 0x10
jb 0x140143ad0
lea rcx, [rsi - 1]
lea rcx, [rax + rcx*4]
lea rdx, [rdi - 4]
lea rdx, [rdx + rsi*4]
cmp rdi, rcx
ja 0x140143a4d
cmp rdx, rax
jae 0x140143ad0
lea rcx, [r14 - 4]
lea rcx, [rcx + rsi*4]
cmp rdi, rcx
ja 0x140143a5f
cmp rdx, r14
jae 0x140143ad0
mov rcx, r14
lea rdx, [rdi + 0x10]
sub rcx, rdi
nop dword [rax]
movdqu xmm0, xmmword [rax]
add r10, 0x10
movdqu xmm1, xmmword [rcx + rdx - 0x10]
lea rdx, [rdx + 0x40]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax + 0x10]
movdqu xmmword [rdx - 0x50], xmm1
movdqu xmm1, xmmword [rcx + rdx - 0x40]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax + 0x20]
movdqu xmmword [rdx - 0x40], xmm1
movdqu xmm1, xmmword [rcx + rdx - 0x30]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax + 0x30]
add rax, 0x40
movdqu xmmword [rdx - 0x30], xmm1
movdqu xmm1, xmmword [rcx + rdx - 0x20]
pxor xmm1, xmm0
movdqu xmmword [rdx - 0x20], xmm1
cmp r10, rsi
jb 0x140143a70
cmp r10, rsi
jae 0x140143b07
mov r9, r14
lea rdx, [rdi + r10*4]
sub r9, rdi
mov r8, rsi
sub r8, r10
nop word [rax + rax]
mov ecx, dword [r9 + rdx]
lea rdx, [rdx + 4]
xor ecx, dword [rax]
lea rax, [rax + 4]
mov dword [rdx - 4], ecx
sub r8, 1
jne 0x140143af0
mov r8, r15
mov rdx, rdi
mov rcx, r14
call fcn.1401434b0
sub r12, 1
jne 0x140143a00
mov rbx, qword [rsp + 0x50]
mov r15, qword [rsp + 0x20]
mov r13, qword [rsp + 0x68]
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x58]
test rsi, rsi
je 0x140143b68
nop dword [rax]
mov ecx, dword [r14 + rbp*4]
mov eax, ecx
mov byte [rbx], cl
lea rbx, [rbx + 4]
shr eax, 8
inc rbp
mov byte [rbx - 3], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
mov byte [rbx - 2], al
mov byte [rbx - 1], cl
cmp rbp, rsi
jb 0x140143b40
add rsp, 0x28
pop r14
pop rsi
pop rbp
pop rbx
ret
Function at 0x140143f50
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
add qword [rcx], r8
mov r14, rcx
mov rsi, qword [rcx + 8]
mov r15, r8
mov rdi, qword [rcx + 0x10]
mov r13, rdx
mov rbp, qword [rcx + 0x18]
mov rbx, qword [rcx + 0x20]
mov ecx, dword [rcx + 0x28]
test ecx, ecx
je 0x140144069
mov r12d, 8
mov eax, ecx
sub r12d, ecx
lea rcx, [r14 + 0x38]
add rcx, rax
cmp r8, r12
jae 0x140143fb8
call fcn.140174c80
add dword [r14 + 0x28], r15d
jmp 0x140144162
mov r8, r12
call fcn.140174c80
movzx eax, byte [r14 + 0x3e]
sub r15, r12
movzx ecx, byte [r14 + 0x3f]
add r13, r12
shl rcx, 8
or rcx, rax
movzx eax, byte [r14 + 0x3d]
shl rcx, 8
or rcx, rax
movzx eax, byte [r14 + 0x3c]
shl rcx, 8
or rcx, rax
movzx eax, byte [r14 + 0x3b]
shl rcx, 8
or rcx, rax
movzx eax, byte [r14 + 0x3a]
shl rcx, 8
or rcx, rax
movzx eax, byte [r14 + 0x39]
shl rcx, 8
or rcx, rax
movzx eax, byte [r14 + 0x38]
shl rcx, 8
or rcx, rax
mov eax, dword [r14 + 0x30]
xor rbx, rcx
test eax, eax
jle 0x140144066
nop word [rax + rax]
add rsi, rdi
add rbp, rbx
rol rdi, 0xd
xor rdi, rsi
rol rbx, 0x10
xor rbx, rbp
rol rsi, 0x20
add rbp, rdi
add rsi, rbx
rol rdi, 0x11
rol rbx, 0x15
xor rdi, rbp
xor rbx, rsi
rol rbp, 0x20
sub rax, 1
jne 0x140144030
xor rsi, rcx
mov r12d, r15d
mov rdx, r13
and r12d, 7
sub rdx, r12
add rdx, r15
cmp r13, rdx
je 0x14014413d
mov r9d, dword [r14 + 0x30]
lea r8, [r13 + 6]
nop word [rax + rax]
movzx eax, byte [r8]
movzx ecx, byte [r8 + 1]
shl rcx, 8
or rcx, rax
movzx eax, byte [r8 - 1]
shl rcx, 8
or rcx, rax
movzx eax, byte [r8 - 2]
shl rcx, 8
or rcx, rax
movzx eax, byte [r8 - 3]
shl rcx, 8
or rcx, rax
movzx eax, byte [r8 - 4]
shl rcx, 8
or rcx, rax
movzx eax, byte [r8 - 5]
shl rcx, 8
or rcx, rax
movzx eax, byte [r8 - 6]
shl rcx, 8
or rcx, rax
xor rbx, rcx
test r9d, r9d
jle 0x140144129
mov rax, r9
add rsi, rdi
add rbp, rbx
rol rdi, 0xd
xor rdi, rsi
rol rbx, 0x10
xor rbx, rbp
rol rsi, 0x20
add rbp, rdi
add rsi, rbx
rol rdi, 0x11
rol rbx, 0x15
xor rdi, rbp
xor rbx, rsi
rol rbp, 0x20
sub rax, 1
jne 0x1401440f3
add r8, 8
xor rsi, rcx
lea rax, [r8 - 6]
cmp rax, rdx
jne 0x140144090
test r12d, r12d
je 0x14014414e
lea rcx, [r14 + 0x38]
mov r8, r12
call fcn.140174c80
mov dword [r14 + 0x28], r12d
mov qword [r14 + 8], rsi
mov qword [r14 + 0x10], rdi
mov qword [r14 + 0x18], rbp
mov qword [r14 + 0x20], rbx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140165f60
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov r9d, dword [rdx + 8]
mov rsi, rdx
cmp r9d, dword [r8 + 8]
mov rbx, r8
mov rdi, rcx
cmovge rbx, rdx
cmovge rsi, r8
mov edx, dword [rbx + 8]
call fcn.1400c4690
test rax, rax
jne 0x140165fa5
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
xor eax, eax
cmp dword [rsi + 8], eax
jle 0x140165fd3
mov r9d, eax
nop
mov rcx, qword [rbx]
lea r9, [r9 + 8]
mov rdx, qword [rsi]
inc eax
mov r8, qword [r9 + rdx - 8]
xor r8, qword [r9 + rcx - 8]
mov rcx, qword [rdi]
mov qword [r9 + rcx - 8], r8
cmp eax, dword [rsi + 8]
jl 0x140165fb0
mov ecx, dword [rbx + 8]
cmp eax, ecx
jge 0x14016600d
movsxd rcx, eax
lea r8, [rcx*8]
nop word [rax + rax]
mov rcx, qword [rbx]
lea r8, [r8 + 8]
mov rdx, qword [rdi]
inc eax
mov rcx, qword [r8 + rcx - 8]
mov qword [r8 + rdx - 8], rcx
mov ecx, dword [rbx + 8]
cmp eax, ecx
jl 0x140165ff0
mov dword [rdi + 8], ecx
mov rcx, rdi
call fcn.1400c4500
mov rbx, qword [rsp + 0x30]
mov eax, 1
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14016dad0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
mov rbx, qword [rcx]
mov edi, r9d
mov ebp, r8d
mov r14, rdx
mov rsi, rcx
mov r11d, r9d
movzx eax, byte [rbx]
lea r10d, [rax - 0x30]
cmp r10b, 9
ja 0x14016db68
xor r9d, r9d
nop dword [rax + rax]
movzx ecx, al
lea r8d, [r9 - 0x30]
add r8d, ecx
mov eax, 0x66666667
imul r11d
inc rbx
lea r9d, [r8 + r8*4]
mov r11d, edx
mov qword [rsi], rbx
sar r11d, 2
add r9d, r9d
mov eax, r11d
shr eax, 0x1f
add r11d, eax
cmp r9d, edi
jg 0x14016db54
test r11d, r11d
je 0x14016db54
movzx eax, byte [rbx]
cmp al, 0x30
jb 0x14016db54
cmp al, 0x39
jbe 0x14016db10
cmp r8d, ebp
jl 0x14016db68
cmp r8d, edi
jg 0x14016db68
mov dword [r14], r8d
mov eax, 1
jmp 0x14016db6a
xor eax, eax
mov rbx, qword [rsp + 0x10]
mov rbp, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
pop r14
ret
Function at 0x14016ed10
Capabilities:
Encode data using xor

Disassembly:
mov rax, rcx
neg rax
and eax, 7
dec rax
cmp rax, 7
ja case.default.0x14016ed38
lea r8, [0x140000000]
mov eax, dword [r8 + rax*4 + 0x16ee7c]
add rax, r8
jmp rax
movzx eax, byte [rcx]
cmp al, dl
je 0x14016ee78
test al, al
je 0x14016ee78
inc rcx
movzx eax, byte [rcx]
cmp al, dl
je 0x14016ee78
test al, al
je 0x14016ee78
inc rcx
movzx eax, byte [rcx]
cmp al, dl
je 0x14016ee78
test al, al
je 0x14016ee78
inc rcx
movzx eax, byte [rcx]
cmp al, dl
je 0x14016ee78
test al, al
je 0x14016ee78
inc rcx
movzx eax, byte [rcx]
cmp al, dl
je 0x14016ee78
test al, al
je 0x14016ee78
inc rcx
movzx eax, byte [rcx]
cmp al, dl
je 0x14016ee78
test al, al
je 0x14016ee78
inc rcx
movzx eax, byte [rcx]
cmp al, dl
je 0x14016ee78
test al, al
je 0x14016ee78
inc rcx
movzx eax, byte [rcx]
cmp al, dl
je 0x14016ee78
test al, al
je 0x14016ee78
inc rcx
movzx r9d, dl
movabs rax, 0x101010101010101
mov rdx, qword [rcx]
movabs r10, 0xfefefefefefefeff
imul r9, rax
mov rax, rdx
movabs r11, 0x8080808080808080
xor rax, r9
lea r8, [rax + r10]
not rax
and r8, rax
lea rax, [rdx + r10]
not rdx
and rax, rdx
or r8, rax
and r8, r11
jne 0x14016ee6a
nop word [rax + rax]
mov rdx, qword [rcx + 8]
add rcx, 8
mov rax, rdx
xor rax, r9
lea r8, [rax + r10]
not rax
and r8, rax
lea rax, [rdx + r10]
not rdx
and rax, rdx
or r8, rax
and r8, r11
je 0x14016ee40
bsf rax, r8
cdqe
sar rax, 3
add rax, rcx
ret
mov rax, rcx
ret

Function at 0x1401710d0
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov ecx, 1
call fcn.140173b70
mov rdx, rdi
xor ecx, ecx
mov rbx, qword [rax]
call fcn.140173b70
mov r8d, 1
mov rdx, rbx
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x140171117
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140176014
mov rbx, qword [rsp + 0x30]
or eax, 0xffffffff
add rsp, 0x20
pop rdi
ret
Function at 0x140171780
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov edi, edx
mov rsi, rcx
mov rdx, rcx
xor ecx, ecx
call fcn.140173b70
mov rcx, qword [rax]
call fcn.14018bfbc
mov ebx, eax
test eax, eax
jne 0x1401718d5
mov r8d, dword [0x14027c87c]
not r8d
and r8d, edi
test r8b, 2
je 0x1401718d5
xor edi, edi
mov word [rbp + 0x7b], 0x100
xor eax, eax
mov qword [rbp + 0xf], rdi
mov qword [rbp + 0x17], rax
lea rcx, [rbp + 0x77]
mov qword [rbp + 0x1f], rax
xor r9d, r9d
mov qword [rbp + 0x27], rax
xor r8d, r8d
mov qword [rbp + 0x2f], rax
mov dl, 1
mov qword [rbp + 0x37], rax
mov qword [rbp + 0x3f], rax
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
mov qword [rbp + 0x7f], rdi
mov qword [rbp + 7], rdi
mov dword [rbp + 0x77], edi
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
movsxd rcx, eax
call fcn.140171010
test rax, rax
je 0x1401718a8
mov rax, qword [rbp + 0x7f]
lea r9, [rbp + 7]
xor r8d, r8d
mov qword [rbp + 0x3f], rax
lea rdx, [rbp + 0x17]
mov dword [rbp + 0x17], 0x10000000
lea ecx, [rbx + 1]
mov qword [rbp + 0x1b], 2
mov dword [rbp + 0x33], edi
mov dword [rbp + 0x37], 5
call qword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
test eax, eax
jne 0x1401718a8
mov rdx, rsi
lea rcx, [rbp + 0xf]
call fcn.140173bd0
mov rcx, qword [rbp + 7]
lea edx, [rbx + 1]
mov qword [rsp + 0x30], rdi
lea r8d, [rbx + 4]
mov qword [rsp + 0x28], rcx
xor r9d, r9d
mov rcx, qword [rax]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
lea rcx, [rbp + 0xf]
call fcn.140173ba0
mov rcx, qword [rbp + 0x7f]
test rcx, rcx
je 0x1401718c4
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov qword [rbp + 0x7f], rdi
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x1401718d3
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, ebx
mov rbx, qword [rsp + 0xc0]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret

Function at 0x140171a90
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
call fcn.14018acc8
cdqe
add rsp, 0x28
ret
Function at 0x140171aa0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x50
xor eax, eax
mov rbx, rcx
mov qword [r11 - 0x38], rax
xor ecx, ecx
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
mov dword [rsp + 0x40], eax
call fcn.140173b70
lea r8, [rsp + 0x20]
xor edx, edx
mov rsi, qword [rax]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
movsxd rcx, eax
call fcn.140171010
xor edi, edi
mov rcx, rsi
test rax, rax
sete dil
call rbx
mov ebp, eax
test eax, eax
jne 0x140171b7c
test edi, edi
jne 0x140171b7c
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea r8, [rsp + 0x20]
xor edx, edx
mov rcx, rsi
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
movsxd rcx, eax
call fcn.140171010
test rax, rax
jne 0x140171b7c
mov rcx, qword gs:[0x58]
mov ebx, 0x2f80
add rbx, qword [rcx]
nop dword [rax]
mov rax, qword [rbx]
test rax, rax
jne 0x140171b4d
call fcn.140176084
cmp dword [rax], 5
jne 0x140171b7c
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 2
ja 0x140171b93
lea r8, [rsp + 0x20]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
movsxd rcx, eax
call fcn.140171010
test rax, rax
je 0x140171b40
mov eax, ebp
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
or eax, 0xffffffff
jmp 0x140171b7e
mov rdx, rcx
lea rcx, [0x1401885a0]
jmp 0x140171aa0

Function at 0x140171ba0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov rdx, rcx
lea rcx, [0x14018bfe8]
jmp 0x140171aa0
Function at 0x140171c70
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x50
xor eax, eax
mov rbx, rcx
mov qword [r11 - 0x38], rax
xor ecx, ecx
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
mov dword [rsp + 0x40], eax
call fcn.140173b70
lea r8, [rsp + 0x20]
xor edx, edx
mov rsi, qword [rax]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
movsxd rcx, eax
call fcn.140171010
xor edi, edi
mov rcx, rsi
test rax, rax
sete dil
call rbx
mov ebp, eax
test eax, eax
jne 0x140171b7c
test edi, edi
jne 0x140171b7c
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea r8, [rsp + 0x20]
xor edx, edx
mov rcx, rsi
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
movsxd rcx, eax
call fcn.140171010
test rax, rax
jne 0x140171b7c
mov rcx, qword gs:[0x58]
mov ebx, 0x2f80
add rbx, qword [rcx]
nop dword [rax]
mov rax, qword [rbx]
test rax, rax
jne 0x140171b4d
call fcn.140176084
cmp dword [rax], 5
jne 0x140171b7c
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 2
ja 0x140171b93
lea r8, [rsp + 0x20]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
movsxd rcx, eax
call fcn.140171010
test rax, rax
je 0x140171b40
mov eax, ebp
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
or eax, 0xffffffff
jmp 0x140171b7e
mov rdx, rcx
lea rcx, [0x1401885a0]
jmp 0x140171aa0

Function at 0x1401720a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
sub rsp, 0x20
cmp byte [rcx], 0
mov rsi, rcx
jne 0x1401720db
mov rax, qword gs:[0x58]
mov edx, 0x2f80
mov rcx, qword [rax]
mov rax, qword [rdx + rcx]
test rax, rax
jne 0x1401720cd
call fcn.140176084
mov dword [rax], 2
xor eax, eax
add rsp, 0x20
pop rsi
ret
mov rdx, rsi
xor ecx, ecx
call fcn.140173b70
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
call fcn.140171010
cmp eax, 0xffffffff
je 0x1401720d3
test al, 0x10
jne 0x14017212b
mov rax, qword gs:[0x58]
mov edx, 0x2f80
mov rcx, qword [rax]
mov rax, qword [rdx + rcx]
test rax, rax
jne 0x14017211d
call fcn.140176084
mov dword [rax], reloc.WS2_32.dll_sendto
xor eax, eax
add rsp, 0x20
pop rsi
ret
mov edx, 1
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rdi
lea ecx, [rdx + 0x27]
call fcn.1401760a4
mov edx, 1
mov ecx, 0x128
mov rdi, rax
call fcn.1401760a4
mov rcx, rsi
mov rbx, rax
call fcn.1401726e0
mov qword [rbx], rax
mov rax, rdi
mov qword [rdi], rbx
mov rbx, qword [rsp + 0x30]
mov qword [rdi + 0x10], 0xffffffffffffffff
mov dword [rdi + 0x18], 0x128
mov dword [rdi + 0x1c], 0x128
mov dword [rdi + 8], 8
mov dword [rdi + 0x20], 1
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
Function at 0x1401721a0
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x380
mov r14, qword [rcx]
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
or rbx, 0xffffffffffffffff
cmp rcx, rbx
jne 0x14017227a
mov rdx, qword [r14]
lea r8, [rsp + 0x20]
sub r8, rdx
nop word [rax + rax]
movzx eax, byte [rdx]
mov byte [r8 + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1401721e0
lea rcx, [rsp + 0x20]
mov rax, rbx
inc rax
cmp byte [rcx + rax], 0
jne 0x1401721f7
cdqe
cmp byte [rsp + rax + 0x1f], 0x2f
je 0x140172225
lea rcx, [rsp + 0x20]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140172211
movzx eax, word [0x1401a6168]
mov word [rcx], ax
lea rcx, [rsp + 0x20]
dec rcx
nop dword [rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140172230
movzx eax, word [0x1401ab98c]
lea rdx, [rsp + 0x20]
mov word [rcx], ax
xor ecx, ecx
call fcn.140173b70
lea rdx, [rsp + 0x130]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rcx, rax
call fcn.140171010
mov qword [rdi + 0x10], rax
cmp rax, 0xffffffffffffffff
jne 0x1401722d2
xor eax, eax
jmp 0x140172371
lea rdx, [rsp + 0x130]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
movsxd rcx, eax
call fcn.140171010
test rax, rax
jne 0x1401722d2
mov rax, qword gs:[0x58]
mov ebx, 0x2f80
add rbx, qword [rax]
mov rax, qword [rbx]
test rax, rax
jne 0x1401722b3
call fcn.140176084
cmp dword [rax], 0x12
jne 0x1401722cb
mov rax, qword [rbx]
test rax, rax
jne 0x1401722c5
call fcn.140176084
mov dword [rax], 0
xor eax, eax
jmp 0x140172371
test byte [rsp + 0x130], 0x10
lea rdx, [rsp + 0x15c]
mov ecx, 4
mov qword [rsp + 0x390], r15
mov eax, 8
mov qword [r14 + 8], 0
cmovne eax, ecx
xor ecx, ecx
mov byte [r14 + 0x120], al
mov eax, pe_nt_image_headers64
mov word [r14 + 0x10], ax
call fcn.1401737c0
mov r8d, 0x104
lea rcx, [r14 + 0x14]
mov rdx, qword [rax]
call fcn.140173a60
nop dword [rax]
inc rbx
cmp byte [r14 + rbx + 0x14], 0
jne 0x140172330
mov rax, qword gs:[0x58]
mov edx, 0x2f80
mov word [r14 + 0x12], bx
mov rcx, qword [rax]
mov rax, qword [rdx + rcx]
test rax, rax
jne 0x14017235f
call fcn.140176084
mov r15, qword [rsp + 0x390]
mov dword [rax], 0
lea rax, [r14 + 8]
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r14
ret
Function at 0x140172b00
Capabilities:
Timestomp file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rbx, rdx
or edi, 0xffffffff
xor esi, esi
xor r9d, r9d
mov qword [rsp + 0x30], rsi
mov edx, 0x100
mov dword [rsp + 0x28], 0x2000080
lea r8d, [rdi + 4]
mov dword [rsp + 0x20], 3
call fcn.140173d90
mov rcx, rax
call fcn.140171060
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140172bab
test rbx, rbx
jne 0x140172b6b
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
jmp 0x140172b86
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.140173e60
lea rcx, [rbx + 8]
lea rdx, [rsp + 0x78]
call fcn.140173e60
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x78]
lea r8, [rsp + 0x70]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFileTime]
movsxd rcx, eax
call fcn.140171010
test rax, rax
cmovne edi, esi
lea rcx, [rsp + 0x40]
call fcn.140173d50
mov rbx, qword [rsp + 0x60]
mov eax, edi
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x140173410
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edi, edx
mov r8d, ecx
xor ebx, ebx
xor edx, edx
lea ecx, [rbx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, rax
call fcn.140171060
mov rsi, rax
test rax, rax
jne 0x140173454
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
test edi, edi
je 0x1401734ad
cmp edi, 9
je 0x14017348c
cmp edi, 0x16
je 0x14017348c
mov rax, qword gs:[0x58]
mov edx, 0x2f80
mov rcx, qword [rax]
mov rax, qword [rdx + rcx]
test rax, rax
jne 0x140173481
call fcn.140176084
mov dword [rax], reloc.WS2_32.dll_shutdown
or ebx, 0xffffffff
jmp 0x1401734ad
or edx, 0xffffffff
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
movsxd rcx, eax
call fcn.140171010
mov ecx, ebx
or ebx, 0xffffffff
test rax, rax
cmove ecx, ebx
mov ebx, ecx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140173780
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
mov rax, qword gs:[0x58]
mov rdx, rcx
mov ecx, 0x3380
add rcx, 0x20
add rcx, qword [rax]
call fcn.140173bd0
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
add rsp, 0x28
ret

Function at 0x140175d9c
Capabilities:
Allocate thread local storage

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
lea r9, [0x140232700]
xor ecx, ecx
lea r8, [0x1402326f8]
lea rdx, [0x140232700]
call fcn.140175bc4
mov rbx, rax
test rax, rax
je 0x140175ddc
mov rcx, rax
call fcn.14017464c
mov rcx, rdi
call rbx
jmp 0x140175de2
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret