joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140031ef0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov eax, 0x1030
call fcn.140055f20
sub rsp, rax
mov rax, qword [0x140081ee0]
xor rax, rsp
mov qword [rsp + 0x1020], rax
cmp word [rcx], 0
mov r14, r8
mov rdi, rdx
mov rbx, rcx
je 0x14003210c
call fcn.140032140
or r15, 0xffffffffffffffff
mov rsi, r15
inc rsi
cmp word [rbx + rsi*2], 0
jne 0x140031f3a
mov rcx, rbx
call fcn.140032174
test al, al
je 0x140031ffc
mov rcx, rbx
call fcn.140032140
test al, al
je 0x140031f9d
lea rax, [rsi + 4]
cmp r14, rax
jbe 0x14003210c
mov r8d, 4
lea rdx, [0x14006f6a8]
mov rcx, rdi
call fcn.14005e00c
sub rdi, rbx
movzx eax, word [rbx]
mov word [rdi + rbx + 8], ax
lea rbx, [rbx + 2]
test ax, ax
jne 0x140031f85
mov al, 1
jmp 0x14003210e
mov ebp, 0x5c
cmp word [rbx], bp
jne 0x14003210c
add rbx, 2
cmp word [rbx], bp
jne 0x14003210c
lea rax, [rsi + 6]
cmp r14, rax
jbe 0x14003210c
lea r8d, [rbp - 0x58]
mov rcx, rdi
lea rdx, [0x14006f6a8]
call fcn.14005e00c
movabs rax, 0x43004e0055
mov qword [rdi + 8], rax
sub rdi, rbx
movzx eax, word [rbx]
mov word [rdi + rbx + 0xe], ax
lea rbx, [rbx + 2]
test ax, ax
jne 0x140031fe9
jmp 0x140031f96
lea rdx, [rsp + 0x20]
mov ecx, 0x7ff
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
dec eax
cmp eax, 0x7fe
ja 0x14003210c
movzx eax, word [rbx]
mov ebp, 0x5c
cmp eax, ebp
je 0x1400320c1
cmp eax, 0x2f
je 0x1400320c1
mov edx, 0x800
lea rcx, [rsp + 0x20]
call fcn.140030e78
lea rax, [rsp + 0x20]
inc r15
cmp word [rax + r15*2], 0
jne 0x140032046
lea rax, [rsi + 4]
add rax, r15
cmp r14, rax
jbe 0x14003210c
mov r8d, 4
lea rdx, [0x14006f6a8]
mov rcx, rdi
call fcn.14005e00c
lea rax, [rsp + 0x20]
mov rdx, rdi
sub rdx, rax
lea rcx, [rsp + 0x20]
movzx eax, word [rcx]
mov word [rdx + rcx + 8], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x140032086
cmp word [rbx], 0x2e
jne 0x1400320ae
movzx eax, word [rbx + 2]
cmp eax, ebp
je 0x1400320aa
cmp eax, 0x2f
jne 0x1400320ae
add rbx, 4
mov r8, r14
mov rdx, rbx
mov rcx, rdi
call fcn.140046120
jmp 0x140031f96
lea rax, [rsi + 6]
cmp r14, rax
jbe 0x14003210c
mov r8d, 4
lea rdx, [0x14006f6a8]
mov rcx, rdi
call fcn.14005e00c
lea rcx, [rdi + 8]
mov r8d, 2
lea rdx, [rsp + 0x20]
call fcn.14005e00c
sub rdi, rbx
movzx eax, word [rbx]
mov word [rdi + rbx + 0xc], ax
lea rbx, [rbx + 2]
test ax, ax
jne 0x1400320f6
jmp 0x140031f96
xor al, al
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.140055f90
mov rbx, qword [rsp + 0x1078]
add rsp, 0x1030
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14003622c
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
and dword [rcx + 4], 0
mov eax, 0x8000
and dword [rcx], 0
mov ebp, r8d
cmp r8d, eax
mov r14, rcx
mov rcx, qword [rcx + 0x10]
mov rbx, r9
cmovb eax, r8d
mov rdi, rdx
mov r8d, eax
call fcn.140059180
xor sil, sil
cmp ebp, 1
jbe 0x14003628b
lea rcx, [rdi + 1]
lea edx, [rbp - 1]
xor sil, byte [rcx]
inc rcx
sub rdx, 1
jne 0x14003627f
mov edx, 8
mov rcx, r14
call fcn.140023e04
and dword [rbx + 0x28], 0
cmp sil, byte [rdi]
jne 0x1400362fd
mov r8d, ebp
mov rdx, rdi
mov rcx, r14
call fcn.1400361e0
mov edi, eax
test eax, eax
je 0x1400362fd
mov edx, 1
mov rcx, rbx
call fcn.1400358bc
movsxd rcx, dword [rbx + 0x28]
mov rdx, rcx
inc ecx
mov dword [rbx + 0x28], ecx
imul rcx, rdx, 0x38
add rcx, qword [rbx]
lea rax, [rcx + 0xc]
mov dword [rcx], 0x28
mov dword [rax], edi
mov qword [rcx + 0x18], rax
lea rax, [rcx + 0x24]
mov qword [rcx + 0x30], rax
mov eax, 3
mov dword [rcx + 0x20], eax
mov dword [rcx + 8], eax
jmp 0x140036381
mov edx, 1
mov rcx, rbx
call fcn.1400358bc
movsxd rax, dword [rbx + 0x28]
xor r8d, r8d
mov rcx, rax
inc eax
mov dword [rbx + 0x28], eax
imul rdx, rcx, 0x38
add rdx, qword [rbx]
lea rax, [rdx + 0xc]
mov dword [rdx], 0x16
mov qword [rdx + 0x18], rax
lea rax, [rdx + 0x24]
mov qword [rdx + 0x30], rax
mov eax, 3
mov dword [rdx + 0x20], eax
mov dword [rdx + 8], eax
cmp dword [rbx + 0x28], r8d
jle 0x140036381
xor ecx, ecx
mov rdx, qword [rbx]
cmp qword [rcx + rdx + 0x18], 0
jne 0x140036360
lea rax, [rdx + 0xc]
add rax, rcx
mov qword [rcx + rdx + 0x18], rax
cmp qword [rcx + rdx + 0x30], 0
jne 0x140036374
lea rax, [rdx + 0x24]
add rax, rcx
mov qword [rcx + rdx + 0x30], rax
inc r8d
add rcx, 0x38
cmp r8d, dword [rbx + 0x28]
jl 0x140036349
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
Function at 0x14003ee34
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
cmp r9d, dword [0x140095880]
lea r15, [0x140094880]
mov ebx, r9d
lea rbp, [0x140095080]
mov r14, r8
mov rdi, rdx
mov rsi, rcx
je 0x14003eec0
mov rcx, r15
call fcn.140017dac
xor r10d, r10d
mov r9, rbp
mov r8d, pe_nt_image_headers64
movzx eax, r10b
mov rdx, qword [r15 + rax*8]
test ebx, ebx
je 0x14003eeaa
mov r11, rbx
mov rax, rdx
movzx ecx, dl
shr rax, 8
mov rdx, qword [r15 + rcx*8]
xor rdx, rax
sub r11, 1
jne 0x14003ee93
mov qword [r9], rdx
inc r10
add r9, 8
sub r8, 1
jne 0x14003ee84
mov dword [0x140095880], ebx
or rbp, 0xffffffffffffffff
cmp qword [rsi + 0x10078], 0
jne 0x14003eedf
mov ecx, 0x400001
call fcn.140055df0
mov qword [rsi + 0x10078], rax
mov r12, qword [rsi + 0x10078]
cmp rdi, r14
jae 0x14003effc
mov r15d, 0x400000
cmp rbp, 0xffffffffffffffff
jne 0x14003effc
mov rcx, qword [rsi + 0x20]
xor r8d, r8d
mov rdx, rdi
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rcx, qword [rsi + 0x20]
mov r8, r14
sub r8, rdi
mov rdx, r12
cmp r8, r15
mov rax, qword [rcx]
cmova r8, r15
call qword [rax + 0x10]
mov dword [rsp + 0x78], eax
mov r15d, eax
cmp eax, ebx
jl 0x14003effc
mov r8, rbx
mov rdx, r12
xor ecx, ecx
call fcn.140017bec
mov r8, rax
xor r9d, r9d
mov rax, qword [rsp + 0x80]
sub r15d, ebx
mov r10, qword [rax + 0x60]
cmp r8, r10
je 0x14003efa0
lea ecx, [r9 + rbx]
movzx ecx, byte [rcx + r12]
lea rax, [0x140094880]
xor rcx, r8
movzx edx, cl
movzx ecx, byte [r9 + r12]
inc r9d
mov rdx, qword [rax + rdx*8]
lea rax, [0x140095080]
xor rdx, qword [rax + rcx*8]
mov rax, r8
shr rax, 8
mov r8, rdx
xor r8, rax
cmp r9d, r15d
jbe 0x14003ef5a
jmp 0x14003efe1
mov rbp, qword [rsp + 0x80]
lea rdx, [r9 + r12]
mov r8, rbx
mov r14d, r9d
mov rcx, qword [rbp + 0x30]
call fcn.140059180
mov eax, dword [rsi + 0x100b0]
cmp ebx, eax
jae 0x14003efd8
mov rcx, qword [rbp + 0x30]
sub eax, ebx
mov r8d, eax
add rcx, rbx
xor edx, edx
call fcn.140058f40
lea rbp, [r14 + rdi]
mov r14, qword [rsp + 0x70]
cmp dword [rsp + 0x78], ebx
je 0x14003effc
mov ecx, r15d
mov r15d, 0x400000
add rdi, rcx
cmp rdi, r14
jb 0x14003eef5
mov rax, rbp
mov rbx, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14003fe84
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r15
lea rbp, [rsp - 0x1f60]
mov eax, 0x2060
call fcn.140055f20
sub rsp, rax
mov rax, qword [0x140081ee0]
xor rax, rsp
mov qword [rbp + 0x1f50], rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
cmp rdx, rcx
je 0x14003feca
mov rdx, rcx
mov rcx, rdi
call fcn.140046158
lea rax, [rsp + 0x38]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareWinRARGeneral
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor r15d, r15d
test eax, eax
jne 0x14003ffbc
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rbx + rcx*2], r15w
jne 0x14003ff00
mov eax, 0x7ff
lea r9, [rsp + 0x40]
sub eax, ecx
lea rdx, str.LanguageFolder
mov rcx, qword [rsp + 0x38]
add eax, eax
mov dword [rsp + 0x30], eax
xor r8d, r8d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xf50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14003ffb1
mov r8d, 0x800
mov word [rsp + 0x50], r15w
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0xf50]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edx, 0x800
lea rcx, [rsp + 0x50]
call fcn.140030e78
mov rcx, rbx
call fcn.1400327bc
mov rdx, rax
lea rcx, [rsp + 0x50]
mov r8d, 0x800
call fcn.140046120
lea rcx, [rsp + 0x50]
call fcn.140021dec
test al, al
je 0x14003ffb1
mov r8, rsi
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140046158
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x1f50]
xor rcx, rsp
call fcn.140055f90
add rsp, 0x2060
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14003ffdc
Capabilities:
Check os version

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x1068]
mov eax, 0x1150
call fcn.140055f20
sub rsp, rax
mov rax, qword [0x140081ee0]
xor rax, rsp
mov qword [rbp + 0x1040], rax
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
call fcn.1400401d0
lea rdx, [rbp + 0x40]
mov r15d, 2
test rbx, rbx
je 0x140040046
sub rdx, rbx
movzx eax, word [rbx]
mov word [rdx + rbx], ax
add rbx, r15
test ax, ax
jne 0x140040035
jmp 0x140040054
mov r8d, 0x800
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov r8d, 0x800
lea rdx, str.rarlng.dll
lea rcx, [rbp + 0x40]
call fcn.1400328b8
mov r8d, 0x800
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x40]
call fcn.14003fe84
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x30], r15d
jne 0x1400400b8
cmp dword [rsp + 0x24], 5
ja 0x1400400a7
jne 0x1400400b8
cmp word [rbp + 0x34], r15w
jb 0x1400400b8
mov r8d, r15d
lea rcx, [rbp + 0x40]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x1400400c2
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
mov qword [0x1400947e0], rax
setne cl
mov byte [rdi], cl
test cl, cl
mov rax, qword [0x1400947e0]
cmove rax, rsi
mov qword [0x1400947e8], rsi
mov qword [0x1400947e0], rax
mov rcx, qword [rbp + 0x1040]
xor rcx, rsp
call fcn.140055f90
lea r11, [rsp + 0x1150]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140040b20
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
lea r11, [rcx + 0x18]
mov r10, rcx
movdqu xmm2, xmmword [rcx + 8]
test r8, r8
je 0x140040b9d
movsxd rcx, dword [r10 + 4]
mov rax, rdx
add rdx, 0x10
movdqu xmm3, xmmword [rax]
mov rax, rcx
add rax, rax
dec ecx
movdqu xmm1, xmmword [r11 + rax*8]
pxor xmm1, xmm3
test ecx, ecx
jle 0x140040b73
movsxd rax, ecx
shl rax, 4
add rax, r11
movdqu xmm0, xmmword [rax]
dec ecx
lea rax, [rax - 0x10]
aesdec xmm1, xmm0
test ecx, ecx
jg 0x140040b60
cmp byte [r10 + 1], 0
movdqu xmm0, xmmword [r11]
aesdeclast xmm1, xmm0
je 0x140040b88
pxor xmm1, xmm2
mov rax, r9
movdqa xmm2, xmm3
add r9, 0x10
movdqu xmmword [rax], xmm1
sub r8, 1
jne 0x140040b31
movdqu xmmword [r10 + 8], xmm2
ret
Function at 0x14004101c
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov rdi, r9
mov rbx, r8
mov r10, rdx
movdqu xmm1, xmmword [rcx + 8]
test r8, r8
je 0x14004109e
mov rax, r10
add r10, 0x10
cmp byte [rcx + 1], 0
movdqu xmm0, xmmword [rax]
je 0x14004104e
pxor xmm0, xmm1
movdqu xmm1, xmmword [rcx + 0x18]
movsxd r8, dword [rcx + 4]
pxor xmm1, xmm0
cmp r8d, 1
jle 0x14004107c
lea rdx, [rcx + 0x28]
lea r9d, [r8 - 1]
movdqu xmm0, xmmword [rdx]
lea rdx, [rdx + 0x10]
aesenc xmm1, xmm0
sub r9, 1
jne 0x140041069
mov rax, r8
add rax, rax
movdqu xmm0, xmmword [rcx + rax*8 + 0x18]
mov rax, rdi
add rdi, 0x10
aesenclast xmm1, xmm0
movdqu xmmword [rax], xmm1
sub rbx, 1
jne 0x140041039
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
movdqu xmmword [rcx + 8], xmm1
ret

Function at 0x1400410b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rax, qword [0x140081ee0]
xor rax, rsp
mov qword [rsp + 0x10], rax
mov edi, 1
mov r11, rcx
cmp dword [rcx + 4], edi
jle 0x14004117c
lea r9, [rsp]
sub r9, rcx
lea rbx, [rcx + 0x28]
sub r9, 0x2a
lea r15, [0x140000000]
xor r10d, r10d
lea rsi, [rbx + 2]
mov ebp, 4
lea r14, [r9 + r10]
movzx eax, byte [rsi + 1]
lea rdx, [r10 + rax*4]
movzx eax, byte [rsi - 1]
mov r8b, byte [rdx + r15 + 0x9a6c0]
lea rcx, [r10 + rax*4]
movzx eax, byte [rsi - 2]
xor r8b, byte [rcx + r15 + 0x99ec0]
lea rcx, [r10 + rax*4]
movzx eax, byte [rsi]
xor r8b, byte [rcx + r15 + 0x99ac0]
lea rcx, [r10 + rax*4]
xor r8b, byte [rcx + r15 + 0x9a2c0]
mov byte [r14 + rsi], r8b
lea rsi, [rsi + 4]
sub rbp, 1
jne 0x14004110e
inc r10
cmp r10, 4
jl 0x140041101
movups xmm0, xmmword [rsp]
inc edi
sub r9, 0x10
movdqu xmmword [rbx], xmm0
add rbx, 0x10
cmp edi, dword [r11 + 4]
jl 0x1400410fe
mov rcx, qword [rsp + 0x10]
xor rcx, rsp
call fcn.140055f90
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x1400411a4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x30
mov rax, qword [0x140081ee0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r14d, dword [rcx + 4]
xor r10d, r10d
movups xmm0, xmmword [rdx]
sub r14d, 6
xor ebx, ebx
movups xmm1, xmmword [rdx + 0x10]
xor r9d, r9d
movsxd r8, r14d
lea r12d, [r10 + 4]
mov rsi, rcx
lea r15d, [r10 + 1]
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm1
test r14d, r14d
jle 0x14004124b
xor edx, edx
xor r11d, r11d
cmp r10d, dword [rsi + 4]
jg 0x140041399
cmp r9, r8
jge 0x140041237
lea rdi, [rbp - 0x30]
lea rdi, [rdi + r9*4]
cmp rdx, r12
jge 0x14004123a
mov eax, dword [rdi]
lea rcx, [r11 + rdx]
add rdi, r12
mov dword [rsi + rcx*4 + 0x18], eax
add rdx, r15
add r9, r15
add ebx, r15d
cmp r9, r8
jl 0x140041217
cmp rdx, r12
jne 0x140041246
add r10d, r15d
add r11, r12
xor ebx, ebx
xor edx, edx
cmp r9, r8
jl 0x140041200
cmp r10d, dword [rsi + 4]
jg 0x140041399
movsxd r11, ebx
lea r13, [0x1400978a0]
lea rbx, [0x140097aa0]
movsxd rdi, r10d
movzx ecx, byte [rbp + r8*4 - 0x33]
mov al, byte [rbp - 0x30]
xor al, byte [rcx + r13]
mov byte [rbp - 0x30], al
movzx eax, byte [rbp + r8*4 - 0x32]
mov al, byte [rax + r13]
xor byte [rbp - 0x2f], al
movzx eax, byte [rbp + r8*4 - 0x31]
mov al, byte [rax + r13]
xor byte [rbp - 0x2e], al
movzx eax, byte [rbp + r8*4 - 0x34]
mov al, byte [rax + r13]
xor byte [rbp - 0x2d], al
mov al, byte [rbx]
add rbx, r15
xor byte [rbp - 0x30], al
cmp r14d, 8
je 0x1400412d6
cmp r8, r15
jle 0x140041344
lea rcx, [rbp - 0x2c]
lea r9, [r8 - 1]
mov rdx, r12
mov al, byte [rcx - 4]
xor byte [rcx], al
add rcx, r15
sub rdx, r15
jne 0x1400412c2
sub r9, r15
jne 0x1400412bf
jmp 0x140041344
lea rcx, [rbp - 0x2c]
mov r9d, 3
mov rdx, r12
mov al, byte [rcx - 4]
xor byte [rcx], al
add rcx, r15
sub rdx, r15
jne 0x1400412e3
sub r9, r15
jne 0x1400412e0
movzx eax, byte [rbp - 0x24]
mov al, byte [rax + r13]
xor byte [rbp - 0x20], al
movzx eax, byte [rbp - 0x23]
mov al, byte [rax + r13]
xor byte [rbp - 0x1f], al
movzx eax, byte [rbp - 0x22]
mov al, byte [rax + r13]
xor byte [rbp - 0x1e], al
movzx eax, byte [rbp - 0x21]
mov al, byte [rax + r13]
xor byte [rbp - 0x1d], al
cmp r8, 5
jle 0x140041344
lea rcx, [rbp - 0x1c]
lea r9, [r8 - 5]
mov rdx, r12
mov al, byte [rcx - 4]
xor byte [rcx], al
add rcx, r15
sub rdx, r15
jne 0x140041332
sub r9, r15
jne 0x14004132f
xor edx, edx
test r14d, r14d
jle 0x14004138f
cmp r10d, dword [rsi + 4]
jg 0x140041399
cmp rdx, r8
jge 0x14004137c
lea r9, [rbp - 0x30]
lea r9, [r9 + rdx*4]
cmp r11, r12
jge 0x14004137f
mov eax, dword [r9]
lea rcx, [r11 + rdi*4]
add r9, r12
mov dword [rsi + rcx*4 + 0x18], eax
add r11, r15
add rdx, r15
cmp rdx, r8
jl 0x14004135e
cmp r11, r12
jne 0x14004138a
add r10d, r15d
add rdi, r15
xor r11d, r11d
cmp rdx, r8
jl 0x14004134b
cmp r10d, dword [rsi + 4]
jle 0x140041269
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140055f90
mov rbx, qword [rsp + 0x80]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400423a4
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x30
mov rsi, qword [rsp + 0x78]
xor ebx, ebx
mov rbp, qword [rsp + 0x70]
mov r12, r9
mov r14d, r8d
mov r15d, edx
mov rdi, rcx
test edx, edx
jne 0x1400423e8
mov r8, rsi
mov rcx, rbp
call fcn.140058f40
mov qword [rsp + 0x28], rsi
mov r9, r12
mov r8d, r14d
mov qword [rsp + 0x20], rbp
mov edx, r15d
mov rcx, rdi
call fcn.1400420fc
test al, al
jne 0x1400424b0
test r14d, r14d
jne 0x140042466
cmp qword [rdi + 0x38], rsi
je 0x140042441
mov rcx, qword [rdi + 0x30]
call fcn.140055de8
mov rcx, 0xffffffffffffffff
lea eax, [r14 + 4]
mul rsi
cmovo rax, rcx
mov rcx, rax
call fcn.140055df0
mov qword [rdi + 0x30], rax
mov qword [rdi + 0x38], rsi
mov r8, rbx
test rsi, rsi
je 0x140042466
movzx edx, word [r8 + r12]
mov rax, qword [rdi + 8]
mov rcx, qword [rdi + 0x30]
mov eax, dword [rax + rdx*4]
mov dword [rcx + r8*4], eax
add r8, 2
cmp r8, rsi
jb 0x140042449
mov ecx, dword [rdi + 0x14]
mov rax, qword [rdi + 0x28]
imul ecx, r14d
add ecx, r15d
mov edx, dword [rax + rcx*4]
mov rax, qword [rdi + 8]
mov r8d, dword [rax + rdx*4]
test rsi, rsi
je 0x1400424b0
dec rsi
shr rsi, 1
inc rsi
mov rax, qword [rdi + 0x30]
mov ecx, dword [rbx + rax]
lea rbx, [rbx + 8]
mov rax, qword [rdi]
add ecx, r8d
movzx ecx, word [rax + rcx*4]
xor word [rbp], cx
lea rbp, [rbp + 2]
sub rsi, 1
jne 0x14004248d
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret
Function at 0x140043424
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
mov eax, 0x1040
call fcn.140055f20
sub rsp, rax
mov rax, qword [0x140081ee0]
xor rax, rsp
mov qword [rsp + 0x1030], rax
xor r14d, r14d
mov rbx, rdx
mov rsi, rcx
cmp byte [rdx], r14b
je 0x140043542
lea rdi, [rcx + 0x2022]
mov rcx, rdi
call fcn.1400327bc
mov rbp, rax
cmp rax, rdi
jbe 0x14004349e
mov rcx, rdi
mov word [rax - 2], r14w
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [r14 + 0x5c]
mov word [rbp - 2], cx
cmp eax, 0xffffffff
je 0x14004349e
bt eax, 0xa
jae 0x14004349e
mov byte [rbx], r14b
lea rdx, str.System_Volume_Information_
mov rcx, rdi
call fcn.140059860
test rax, rax
je 0x1400434b5
mov byte [rbx], r14b
cmp byte [rbx], r14b
je 0x140043542
mov rcx, qword [rsi + 0x51b8]
test rcx, rcx
je 0x1400434e4
mov r9b, 1
mov byte [rsp + 0x20], 1
xor r8d, r8d
mov rdx, rdi
call fcn.140013da8
test al, al
je 0x1400434e4
mov byte [rbx], r14b
cmp byte [rbx], r14b
je 0x140043542
mov rcx, qword [rsi + 0x4198]
test rcx, rcx
je 0x1400434fd
mov rdx, rdi
call fcn.1400461bc
mov rcx, qword [rsi + 0x41a0]
test rcx, rcx
je 0x140043514
mov edx, dword [rsi + 0x41b0]
call fcn.1400433f4
mov r8d, 0x800
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140030ef4
lea rdx, [rsp + 0x30]
mov ecx, 0x54
call fcn.1400013b0
lea rcx, [0x140094860]
call fcn.14001bf78
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.140055f90
lea r11, [rsp + 0x1040]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140043710
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov r10, qword [0x14009aad0]
xor ebx, ebx
mov bpl, r9b
mov r14b, r8b
mov rsi, rdx
mov rdi, rcx
test r10, r10
jne 0x1400437b1
cmp byte [0x14009aac8], bl
jne 0x1400437b1
lea rcx, str.Crypt32.dll
call fcn.1400469a8
mov qword [0x14009aac0], rax
test rax, rax
je 0x14004379a
lea rdx, str.CryptProtectMemory
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14009aac0]
lea rdx, str.CryptUnprotectMemory
mov qword [0x14009aad0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r9, rax
mov qword [0x14009aad8], rax
jmp 0x1400437a1
mov r9, qword [0x14009aad8]
mov r10, qword [0x14009aad0]
mov byte [0x14009aac8], 1
jmp 0x1400437b8
mov r9, qword [0x14009aad8]
mov rax, rsi
mov rcx, rsi
and eax, 0xf
mov r8d, ebx
sub rcx, rax
test bpl, bpl
setne r8b
test r14b, r14b
je 0x140043811
test r10, r10
je 0x14004382b
mov edx, ecx
mov rcx, rdi
call r10
test eax, eax
jne 0x140043846
lea rdx, str.CryptProtectMemory_failed
lea rbx, [0x140094860]
mov rcx, rbx
call fcn.14001bc8c
mov rcx, rbx
call fcn.14001bf78
mov edx, 2
mov rcx, rbx
call fcn.14001bc60
jmp 0x140043846
test r9, r9
je 0x14004382b
mov edx, ecx
mov rcx, rdi
call r9
test eax, eax
jne 0x140043846
lea rdx, str.CryptUnprotectMemory_failed
jmp 0x1400437eb
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
test rsi, rsi
je 0x140043846
add al, 0x4b
lea ecx, [rbx + rax]
xor byte [rbx + rdi], cl
inc rbx
cmp rbx, rsi
jb 0x140043838
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
Function at 0x14004521c
Capabilities:
Hash data using sha1

Disassembly:
and dword [rcx + 0x18], 0
and dword [rcx + 0x14], 0
mov dword [rcx], 0x67452301
mov dword [rcx + 4], 0xefcdab89
mov dword [rcx + 8], 0x98badcfe
mov dword [rcx + 0xc], 0x10325476
mov dword [rcx + 0x10], 0xc3d2e1f0
ret

Function at 0x14004538c
Capabilities:
Hash data using sha256

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rsi, qword [rcx + 0x20]
lea rbp, [rcx + 0x30]
mov edi, dword [rcx + 0x20]
mov r14, rdx
shl rsi, 3
mov rbx, rcx
and edi, 0x3f
mov qword [rcx + 0x28], rbp
mov byte [rdi + rcx + 0x30], 0x80
jmp 0x1400453da
and edi, 0x3f
jne 0x1400453d5
mov rcx, rbx
call fcn.14004558c
mov byte [rdi + rbx + 0x30], 0
inc edi
cmp edi, 0x38
jne 0x1400453c8
lea edx, [rdi - 0x30]
mov rcx, rsi
shl rsi, 8
shr rcx, 0x38
mov byte [rdi + rbx + 0x30], cl
inc edi
sub rdx, 1
jne 0x1400453e4
mov rcx, rbx
call fcn.14004558c
xor r8d, r8d
xor r9d, r9d
mov eax, r8d
mov ecx, 3
and eax, 3
inc r8d
sub ecx, eax
mov rax, r9
shr rax, 2
inc r9
shl ecx, 3
mov edx, dword [rbx + rax*4]
shr edx, cl
mov byte [r14], dl
inc r14
cmp r8d, 0x20
jb 0x140045409
mov dword [rbx], 0x6a09e667
xor ecx, ecx
mov dword [rbx + 4], 0xbb67ae85
mov dword [rbx + 8], 0x3c6ef372
mov dword [rbx + 0xc], 0xa54ff53a
mov dword [rbx + 0x10], 0x510e527f
mov dword [rbx + 0x14], 0x9b05688c
mov dword [rbx + 0x18], 0x1f83d9ab
mov dword [rbx + 0x1c], 0x5be0cd19
and qword [rbx + 0x20], 0
call fcn.14004558c
mov edx, 0x40
mov rcx, rbp
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
jmp fcn.1400438bc

Function at 0x1400454a4
Capabilities:
Hash data using sha256

Disassembly:
and qword [rcx + 0x20], 0
mov dword [rcx], 0x6a09e667
mov dword [rcx + 4], 0xbb67ae85
mov dword [rcx + 8], 0x3c6ef372
mov dword [rcx + 0xc], 0xa54ff53a
mov dword [rcx + 0x10], 0x510e527f
mov dword [rcx + 0x14], 0x9b05688c
mov dword [rcx + 0x18], 0x1f83d9ab
mov dword [rcx + 0x1c], 0x5be0cd19
ret

Function at 0x1400454e4
Capabilities:
Hash data using murmur3

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov ebx, dword [rcx + 0x20]
mov rsi, r8
add qword [rcx + 0x20], r8
and ebx, 0x3f
mov r14, rdx
mov rbp, rcx
test r8, r8
je 0x140045568
mov eax, 0x40
mov rdi, rsi
sub rax, rbx
cmp rsi, rax
cmova rdi, rax
cmp rdi, 0x40
jne 0x140045533
mov qword [rbp + 0x28], r14
jmp 0x14004554a
lea rax, [rbp + 0x30]
mov r8, rdi
lea rcx, [rax + rbx]
mov qword [rbp + 0x28], rax
mov rdx, r14
call fcn.140059180
add r14, rdi
add rbx, rdi
sub rsi, rdi
cmp rbx, 0x40
jne 0x140045563
xor ebx, ebx
mov rcx, rbp
call fcn.14004558c
test rsi, rsi
jne 0x140045515
xor ecx, ecx
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
jmp fcn.14004558c