joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001d490
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5cd0], 0
lea rbx, [rcx + 0x5cd8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001d537
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001d4ea
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14001f8d0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140007e50
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5cd0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5ce0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140240918]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001d53f
mov rcx, rbx
call fcn.140007e50
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001d9c0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140240920]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001da23
mov qword [rsp], rbx
lea rbx, [0x140147d20]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001da03
cmp byte [r8], r9b
jne 0x14001da03
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x14001d9f0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c40]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x14001da57
mov r10, qword [r10 + 0x5c48]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14001da5e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x14001da44
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x140055570
Capabilities:
Create thread

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1401ee7c0]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov ecx, 1
call fcn.1400f8f20
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140056750]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140055601
cmp dword [rsp + 0x38], 0
je 0x1400555f5
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400555f5
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400f8f00
add rsp, 0x68
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x140056870
Capabilities:
Create thread

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1401ee7c0]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov ecx, 1
call fcn.1400f8f20
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400592e0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140056901
cmp dword [rsp + 0x38], 0
je 0x1400568f5
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400568f5
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400f8f00
add rsp, 0x68
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x140068330
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x1a0
mov rax, qword [0x1401ee7c0]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov qword [rsp + 0x40], rdx
mov rbx, rdx
movabs r10, 0x100000001b3
mov qword [rsp + 0x40], r8
movabs rcx, 0xcbf29ce484222325
mov rax, r8
shr rax, 8
xor r9d, r9d
movzx edx, al
movzx eax, r8b
xor rax, rcx
imul rax, r10
xor rdx, rax
mov rax, r8
imul rdx, r10
shr rax, 0x10
movzx ecx, al
mov rax, r8
xor rdx, rcx
shr rax, 0x18
imul rdx, r10
movzx ecx, al
mov rax, r8
xor rdx, rcx
shr rax, 0x20
imul rdx, r10
movzx ecx, al
mov rax, r8
xor rdx, rcx
shr rax, 0x28
imul rdx, r10
movzx ecx, al
mov rax, r8
xor rdx, rcx
shr rax, 0x30
imul rdx, r10
movzx ecx, al
mov rax, r8
xor rdx, rcx
shr rax, 0x38
mov rcx, qword [0x140240f70]
imul rdx, r10
xor rdx, rax
imul rdx, r10
and rcx, rdx
mov rdx, qword [0x140240f48]
shl rcx, 4
add rcx, qword [0x140240f58]
mov rax, qword [rcx + 8]
cmp rax, rdx
je 0x140068432
mov rcx, qword [rcx]
cmp r8, qword [rax + 0x10]
je 0x14006842f
nop dword [rax]
cmp rax, rcx
je 0x140068432
mov rax, qword [rax + 8]
cmp r8, qword [rax + 0x10]
jne 0x140068420
mov r9, rax
test r9, r9
mov rax, rdx
cmovne rax, r9
cmp rax, rdx
je 0x1400684a5
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x28]
call fcn.1400692d0
lea rcx, [rsp + 0x50]
mov rdx, qword [rax]
add rdx, 0x18
call fcn.1400684d0
cmp byte [rsp + 0x50], 0
je 0x14006848e
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1400686a0
lea rcx, [rsp + 0x170]
call fcn.1400028b0
lea rcx, [rsp + 0x58]
call fcn.140055510
jmp 0x1400684ad
lea rcx, [rsp + 0x170]
call fcn.1400028b0
lea rcx, [rsp + 0x58]
call fcn.140055510
mov rcx, rbx
call fcn.140066380
mov rax, rbx
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1400f8f00
add rsp, 0x1a0
pop rbx
ret
Function at 0x140068b10
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x38
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x140068b45
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x60], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x30], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.14004c8c0
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140068cb4
mov qword [rsp + 0x68], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rbp
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x14]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x15]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x16]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x17]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x140068c29
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140068ca3
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x140068c66
mov r10, qword [rdx]
cmp r10, rax
je 0x140068c60
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x140068ca3
cmp r9, rdx
je 0x140068c7f
nop dword [rax + rax]
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x140068cd8
cmp r9, rdx
jne 0x140068c70
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x140068bb0
mov rbp, qword [rsp + 0x68]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], 0
call fcn.140068a30
mov r14, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x60]
add rsp, 0x38
pop rdi
pop rsi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140068ca3
Function at 0x140071a60
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x140071a88
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x140071aae
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140071ab0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140071b09
test ecx, ecx
jle 0x140071ae9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140071b09
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140071b09
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x140071b30
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140071b52
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140071b68
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140071b84
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140071b86
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140071bc2
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140071c5e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140071bfd
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x140071c3e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x140071c5e
cmp rbx, rax
ja 0x140071c10
test rbx, rbx
je 0x140071c5e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x140072090
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1401ee7c0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400720bd
xor eax, eax
jmp 0x140072229
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400720f7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x1400720f7
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140072229
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14007221c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14007213a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140072165
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140072221
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400721d4
sub eax, 1
je 0x1400721d4
cmp eax, 2
jne 0x14007221c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140072221
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140072202
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14007221c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140072221
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400f8f00
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140072520
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1401ee7c0]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400725f3
cmp byte [rcx + 0x71], 0
je 0x1400725f3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x1400725ef
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400725b4
sub eax, 1
je 0x1400725b8
cmp eax, 2
jne 0x1400725ef
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400f8f00
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400725e6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x1400725ef
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14007259c
xor al, al
jmp 0x14007259c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400f8f00
add rsp, 0x60
pop rbx
ret

Function at 0x14007eb40
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x280
mov rax, qword [0x1401ee7c0]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xorps xmm0, xmm0
test eax, eax
js 0x14007ebf5
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14007eba0
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140063660
nop
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
lea r8, [rdx + rcx*2]
lea rdx, [rsp + 0x40]
cmova rdx, qword [rsp + 0x40]
mov rcx, rbx
call fcn.140063030
nop
lea rcx, [rsp + 0x40]
call fcn.14004f810
jmp 0x14007ec1a
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0
xor r8d, r8d
lea rdx, [0x14014695f]
mov rcx, rbx
call fcn.140003540
mov rax, rbx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400f8f00
add rsp, 0x280
pop rbx
ret
Function at 0x140092e40
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x1401ee7c0]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, qword [rdx]
mov rbx, rcx
xor edx, edx
mov dword [rsp + 0x20], 0x130
lea rcx, [rsp + 0x24]
mov r8d, Ordinal_301
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140092eaf
mov rax, qword [rbx + 8]
mov ecx, dword [rax]
cmp dword [rsp + 0x28], ecx
je 0x140092ed2
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140092e91
xor al, al
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400f8f00
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rdi
ret
mov al, 1
jmp 0x140092eb1

Function at 0x140092f20
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x180
mov rax, qword [0x1401ee7c0]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rdi, qword [rdx]
mov rbx, rcx
xor edx, edx
mov dword [rsp + 0x40], 0x130
lea rcx, [rsp + 0x44]
mov r8d, Ordinal_301
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140092fa9
mov rax, qword [rbx + 8]
lea r8, [rsp + 0x6c]
mov rax, qword [rax]
sub r8, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140092f93
inc rax
test ecx, ecx
jne 0x140092f80
test edx, edx
je 0x140092fcc
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140092f71
xor al, al
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1400f8f00
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x180
pop rdi
ret
mov eax, dword [rsp + 0x48]
xorps xmm0, xmm0
mov rcx, qword [rbx + 0x10]
xorps xmm1, xmm1
movups xmmword [rsp + 0x20], xmm0
mov r8, 0xffffffffffffffff
movdqu xmmword [rsp + 0x30], xmm1
mov dword [rcx], eax
lea rax, [rsp + 0x6c]
inc r8
cmp byte [rax + r8], 0
jne 0x140092ff3
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x20]
call fcn.140003540
mov rcx, qword [rbx + 0x10]
lea rdx, [rsp + 0x20]
add rcx, 8
call fcn.140003290
lea rcx, [rsp + 0x20]
call fcn.1400028b0
mov al, 1
jmp 0x140092fab
Function at 0x14009c370
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x14009c452
call fcn.1400ae1f0
test al, al
jne 0x14009c452
mov qword [rsp + 0x30], rsi
xor esi, esi
mov qword [rsp + 0x38], rdi
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rbx + rdi], sil
jne 0x14009c3a2
mov r8, rdi
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov rcx, rbx
call fcn.1400b8730
test rax, rax
je 0x14009c3e7
sub rax, rbx
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov r8, rax
mov rcx, rbx
call fcn.1400b8730
mov rsi, rax
test rax, rax
je 0x14009c3e7
inc rsi
mov rcx, rbx
sub rcx, rsi
add rdi, rcx
test rsi, rsi
cmovne rbx, rsi
lea rsi, [rbx + rdi]
mov edi, 0x1505
cmp rbx, rsi
jae 0x14009c41b
nop dword [rax]
movzx ecx, byte [rbx]
call fcn.1400a7690
imul rdi, rdi, 0x21
movsx rcx, al
inc rbx
xor rdi, rcx
cmp rbx, rsi
jb 0x14009c400
mov rsi, qword [rsp + 0x30]
mov rcx, rdi
movabs rax, 0x410410410410411
mul rdi
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
imul rcx, rcx, 0x3f
sub rdi, rcx
mov rax, rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x1400a2be0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
cmp byte [rcx + 0xa8f], 0
mov rbp, r9
mov r14, r8
movsxd rsi, edx
mov rdi, rcx
je 0x1400a2ca9
cmp qword [rcx + 0x258], 0
je 0x1400a2c5e
mov qword [rsp + 0x40], rbx
call fcn.140098ed0
mov dl, 1
mov rcx, rdi
movzx ebx, al
call fcn.140099020
mov rcx, qword [rdi + 0x1d0]
mov r9, rbp
mov qword [rsp + 0x20], rcx
mov r8, r14
mov rcx, rdi
mov edx, esi
call qword [rdi + 0x258]
movzx edx, bl
mov rcx, rdi
call fcn.140099020
mov rbx, qword [rsp + 0x40]
jmp 0x1400a2ca9
mov ecx, esi
test edx, edx
je 0x1400a2c6e
sub ecx, 1
je 0x1400a2c6e
cmp ecx, 1
jne 0x1400a2ca9
mov r9, qword [rdi + 0x1c8]
lea rax, [0x1401006e8]
mov edx, 2
lea rcx, [rsi + rsi*2]
add rcx, rax
lea r8d, [rdx - 1]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov r9, qword [rdi + 0x1c8]
mov r8d, 1
mov rdx, rbp
mov rcx, r14
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x1400a57e0
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
call sub.api_ms_win_crt_stdio_l1_1_0.dll__read
cdqe
add rsp, 0x28
ret
Function at 0x1400ab0b0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r14, rcx
mov ebx, 1
mov edx, ebx
xor ecx, ecx
xor ebp, ebp
call qword [case.0x14009da9b.1]
mov rdi, rax
test rax, rax
je 0x1400ab12d
nop word [rax + rax]
mov r8d, ebx
mov rdx, rdi
mov rcx, r14
mov rbp, rdi
mov esi, ebx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ebx, eax
test eax, eax
je 0x1400ab158
cmp ebx, esi
je 0x1400ab158
cmp ebx, 0x8000
ja 0x1400ab158
cmp ebx, esi
jb 0x1400ab153
mov edx, ebx
mov rcx, rdi
call qword [case.0x14009da9b.1]
mov rdi, rax
test rax, rax
jne 0x1400ab0f0
mov rcx, rbp
call qword [case.0x14009da9b.0]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov rax, rdi
jmp 0x1400ab138
mov rcx, rdi
jmp 0x1400ab130
Function at 0x1400b8ee0
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rbx, rcx
movaps xmmword [rsp + 0x50], xmm6
lea rcx, [rsp + 0x30]
mov rdi, rdx
call fcn.14009c760
mov rcx, rbx
movups xmm6, xmmword [rax]
call case.0x14009da9b.2
mov rcx, rdi
mov rsi, rax
call case.0x14009da9b.2
mov r8d, 1
mov rdx, rax
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x1400b8f90
nop dword [rax]
nop word [rax + rax]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x20], xmm6
call fcn.14009c760
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
call fcn.14009c7f0
cmp rax, 0x3e8
ja 0x1400b8fc1
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8d, 1
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
je 0x1400b8f40
test rsi, rsi
je 0x1400b8f9d
mov rcx, rsi
call case.0x14009da9b.0
test rbx, rbx
je 0x1400b8faa
mov rcx, rbx
call case.0x14009da9b.0
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop rdi
ret
test rsi, rsi
je 0x1400b8fce
mov rcx, rsi
call case.0x14009da9b.0
test rbx, rbx
je 0x1400b8fdb
mov rcx, rbx
call case.0x14009da9b.0
mov eax, 1
jmp 0x1400b8fac