joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18008d888
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1802de230]
mov r10d, 8
mov qword [rsp + 0x30], rcx
mov r9, qword [rax + 0x1a80]
movsxd rcx, dword [r9 + 0xc0]
mov rax, qword [r9 + 0xc8]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, [rsp + 0x30]
not r8d
movzx eax, byte [rcx]
inc rcx
movzx edx, r8b
xor rdx, rax
shr r8d, 8
lea rax, [0x1801ddcd0]
xor r8d, dword [rax + rdx*4]
sub r10, 1
jne 0x18008d8c0
not r8d
lea rdx, [rsp + 0x30]
lea rcx, [r9 + 0xc0]
mov dword [rsp + 0x30], r8d
call fcn.1800936c4
add rsp, 0x28
ret

Function at 0x18008d900
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1802de230]
mov r10d, 4
mov dword [rsp + 0x30], ecx
mov r9, qword [rax + 0x1a80]
movsxd rcx, dword [r9 + 0xc0]
mov rax, qword [r9 + 0xc8]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, [rsp + 0x30]
not r8d
movzx eax, byte [rcx]
inc rcx
movzx edx, r8b
xor rdx, rax
shr r8d, 8
lea rax, [0x1801ddcd0]
xor r8d, dword [rax + rdx*4]
sub r10, 1
jne 0x18008d937
not r8d
lea rdx, [rsp + 0x30]
lea rcx, [r9 + 0xc0]
mov dword [rsp + 0x30], r8d
call fcn.1800936c4
add rsp, 0x28
ret

Function at 0x180092774
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
push rbp
push rdi
sub rsp, 0x20
mov rbx, qword [0x1802de230]
cmp byte [rbx + 0x3048], 0
je 0x180092834
cmp qword [rbx + 0x3050], 0
lea rbp, [rax + 0x10]
lea rdi, [rbx + 0x3058]
je 0x180092826
mov r9d, dword [rdi + 4]
test r9d, r9d
jns 0x1800927df
mov eax, r9d
mov rcx, rdi
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.180094038
mov rcx, qword [rsp + 0x40]
and dword [rdi], 0
mov rdx, rcx
mov rcx, rdi
mov r8, rbp
call fcn.180084374
mov eax, dword [rdi]
mov edx, 1
mov r9, qword [rbx + 0x3050]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x1802de213]
movsxd r8, eax
mov rax, qword [rbx + 0x3060]
test rax, rax
cmovne rcx, rax
call fcn.1801a2038
jmp 0x180092834
mov rdx, rcx
mov r8, rbp
mov rcx, rdi
call fcn.180084374
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret

Function at 0x180092e48
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x1802de230]
mov rbx, rcx
and dword [rax + 0x3014], 0
test rcx, rcx
je 0x180092eaf
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.180092ebc
lea rdx, [0x1801ddb18]
mov rcx, rbx
mov rdi, rax
call fcn.1800838f4
mov rbx, rax
test rax, rax
je 0x180092eaf
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call fcn.1801a2038
mov rcx, rbx
call fcn.1801a2a48
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x18018eb84
Capabilities:
Set console window title

Disassembly:
sub rsp, 0xb8
mov rax, qword [0x1802ac070]
xor rax, rsp
mov qword [rsp + 0xa0], rax
cmp byte [0x1802e18dd], 0
je 0x18018ebad
xor al, al
jmp 0x18018edb7
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [0x1802de3a8], rax
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [0x1802de398], rax
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [0x1802de388], rax
call qword [sym.imp.KERNEL32.dll_AllocConsole]
test eax, eax
je 0x18018ebfb
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_AttachConsole]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [0x1802de3b0], rax
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [0x1802de3a0], rax
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [0x1802de390], rax
mov edx, 3
mov rcx, qword [0x1802de3b0]
call qword [sym.imp.KERNEL32.dll_SetConsoleMode]
mov edx, 0xe1
mov rcx, qword [0x1802de390]
call qword [sym.imp.KERNEL32.dll_SetConsoleMode]
movabs rax, 0xfa46d8e234b8ff32
mov qword [rsp + 0x20], rax
movabs rax, 0x57833363b9e43884
mov qword [rsp + 0x28], rax
movabs rax, 0xb70852093afb99c0
mov qword [rsp + 0x30], rax
movabs rax, 0x1dfdb44e73d290f5
mov qword [rsp + 0x38], rax
movabs rax, 0x1486f676ad15e01e
mov qword [rsp + 0x40], rax
movabs rax, 0x991d730500a4f223
mov qword [rsp + 0x48], rax
movabs rax, 0x6d3cb6760d2131b
mov qword [rsp + 0x50], rax
movabs rax, 0xca8907dc02602ed4
mov qword [rsp + 0x58], rax
movabs rax, 0x952faa8744cd8c69
mov qword [rsp + 0x60], rax
movabs rax, 0x22d1133ec09051f6
mov qword [rsp + 0x68], rax
movabs rax, 0x972872291adbedb3
mov qword [rsp + 0x70], rax
movabs rax, 0x3d8993201cb6b0d8
mov qword [rsp + 0x78], rax
movabs rax, 0x7cf2d613de7a8c7d
mov qword [rsp + 0x80], rax
movabs rax, 0xf66e1d6a6384814a
mov qword [rsp + 0x88], rax
movabs rax, 0x26bea41506f27677
mov qword [rsp + 0x90], rax
movabs rax, 0xca8907dc02602e8c
mov qword [rsp + 0x98], rax
movdqa xmm0, xmmword [rsp + 0x20]
pxor xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x20], xmm0
movdqa xmm1, xmmword [rsp + 0x30]
pxor xmm1, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x30], xmm1
movdqa xmm0, xmmword [rsp + 0x40]
pxor xmm0, xmmword [rsp + 0x80]
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [rsp + 0x50]
pxor xmm1, xmmword [rsp + 0x90]
movdqa xmmword [rsp + 0x50], xmm1
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov byte [0x1802e18dd], 1
mov al, 1
jmp 0x18018edb7
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.180195e30
add rsp, 0xb8
ret
Function at 0x1801906f0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.180190910
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x1801907f7
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x180190754
mov rax, qword [0x1802ac008]
cmp qword [rsp + 0x20], rax
ja 0x180190754
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x180190716
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.180198e70
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x180190783
jmp 0x1801907f7
cmp dword [rsp + 0x50], 0x10000
jne 0x1801907da
cmp qword [rsp + 0x48], 0x10000
jb 0x1801907da
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1801907c8
mov rax, qword [rsp + 0x28]
jmp 0x1801907f9
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1801907f2
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.180190910
mov qword [rsp + 0x20], rax
jmp 0x180190716
xor eax, eax
add rsp, 0x68
ret

Function at 0x180190800
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.180190950
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x180190903
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x18019085b
mov rax, qword [0x1802ac008]
cmp qword [rsp + 0x20], rax
ja 0x18019085b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18019081d
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.180198e70
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18019088a
jmp 0x180190903
cmp dword [rsp + 0x50], 0x10000
jne 0x1801908e1
cmp qword [rsp + 0x48], 0x10000
jb 0x1801908e1
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1801908cf
mov rax, qword [rsp + 0x28]
jmp 0x180190905
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1801908fe
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.180190950
mov qword [rsp + 0x20], rax
jmp 0x18019081d
xor eax, eax
add rsp, 0x68
ret
Function at 0x1801909a0
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.180190f30
mov qword [rsp + 0x28], 0
cmp qword [0x1802dc968], 0
jne 0x1801909e8
cmp qword [0x1802dc960], 0
je 0x1801909e8
mov rax, qword [0x1802dc960]
mov qword [0x1802dc968], rax
cmp qword [0x1802dc968], 0
je 0x180190a8e
mov rax, qword [0x1802dc968]
cmp qword [rax + 0x10], 0
je 0x180190a8e
mov rax, qword [0x1802dc968]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x180190a8e
mov rax, qword [0x1802dc968]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x180190a8e
mov rax, qword [0x1802dc968]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x180190a54
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x180190a5b
xor eax, eax
jmp 0x180190c09
mov rax, qword [0x1802dc968]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call fcn.180198e70
mov rax, qword [rsp + 0x28]
jmp 0x180190c09
mov rax, qword [0x1802dc960]
mov qword [0x1802dc968], rax
jmp 0x180190ab0
mov rax, qword [0x1802dc968]
mov rax, qword [rax + 8]
mov qword [0x1802dc968], rax
cmp qword [0x1802dc968], 0
je 0x180190afd
cmp qword [0x1802dc968], 0
je 0x180190afb
mov rax, qword [0x1802dc968]
cmp qword [rax + 0x10], 0
je 0x180190afb
mov rax, qword [0x1802dc968]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x180190afb
mov rax, qword [0x1802dc968]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x180190afb
jmp 0x180190a2c
jmp 0x180190a9e
mov rcx, qword [rsp + 0x60]
call fcn.180192db0
and eax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.180190c10
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x180190c07
mov rax, qword [rsp + 0x48]
mov qword [0x1802dc968], rax
mov rax, qword [0x1802dc968]
mov dword [rax], 0x52727464
mov rax, qword [0x1802dc968]
mov qword [rax + 0x10], 0
mov rax, qword [0x1802dc968]
mov rcx, qword [0x1802dc960]
mov qword [rax + 8], rcx
mov rax, qword [0x1802dc968]
mov qword [0x1802dc960], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x1802dc968]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x180190bb8
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x180190bf2
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x180190bae
mov rax, qword [0x1802dc968]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x180190a2c
xor eax, eax
add rsp, 0x58
ret
Function at 0x1801b2ac8
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1801b2ae8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1801a11a0
or eax, 0xffffffff
jmp 0x1801b2aea
xor eax, eax
add rsp, 0x28
ret
Function at 0x141464058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1414641df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x141464089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14146406f
add dl, dl
jne 0x141464096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1414640f6
xor eax, eax
add dl, dl
jne 0x1414640a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1414641ad
add dl, dl
jne 0x1414640b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1414640c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1414640d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1414640dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1414640ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14146407e
mov eax, 1
add dl, dl
jne 0x141464106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141464113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1414640fb
sub eax, ebx
mov ebx, 1
jne 0x14146414c
mov ecx, 1
add dl, dl
jne 0x14146412e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14146413b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141464123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14146407e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141464168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141464175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14146415d
cmp eax, 0x7d00
jae 0x14146419b
cmp eax, 0x500
jb 0x141464196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14146407e
cmp eax, 0x7f
ja 0x14146419e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14146407e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1414641d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14146407e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140003040
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 0x140003082
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x14000308a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x14000309b
jmp 0x1400030b2
xor r10d, r10d
jmp 0x14000313d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x1400030b2
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x1400030c9
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 0x1400030e9
add r11, r8
jmp 0x14000321b
mov r11, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r9
rol r9, 0xd
xor r11, rsi
xor r9, rcx
rol rcx, 0x20
mov rdi, qword [rax + 8]
add rdi, r11
rol r11, 0x10
xor r11, rdi
add rcx, r11
rol r11, 0x15
xor r11, rcx
add rdi, r9
rol r9, 0x11
mov qword [rax + 0x18], r11
xor r9, rdi
rol rdi, 0x20
mov qword [rax + 0x10], r9
mov qword [rax + 8], rdi
xor rcx, rsi
mov qword [rax], rcx
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x1400031b2
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
add rcx, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r10]
xor rsi, rcx
rol rcx, 0x20
xor rdi, rbx
add r9, rdi
rol rdi, 0x10
xor rdi, r9
add rcx, rdi
rol rdi, 0x15
add r9, rsi
rol rsi, 0x11
xor rsi, r9
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x140003160
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x1400031d0
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x1400031e2
jmp 0x1400031fd
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x1400031fd
lea rcx, [rdx + r8]
movzx esi, word [r10 + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x140003217
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 0x140007ba0
Capabilities:
Encode data using xor

Disassembly:
push rsi
sub rsp, 0x20
mov rax, rdx
cmp qword [r8], 0
mov rdx, qword [r8 + 8]
je 0x140007bdb
xor esi, esi
movabs rax, 0x8000000000000004
cmp rdx, rax
jl 0x140007d3f
test rdx, rdx
je 0x140007d3f
mov rcx, qword [r8 + 0x10]
xor esi, esi
jmp 0x140007d34
mov r9, rcx
mov rcx, qword [r8 + 0x10]
cmp qword [r8 + 0x18], rax
jne 0x140007bfe
test rax, rax
je 0x140007c05
cmp rax, 8
jae 0x140007c0d
xor r10d, r10d
xor r8d, r8d
jmp 0x140007d10
xor esi, esi
jmp 0x140007d2f
mov sil, 1
jmp 0x140007d2f
cmp rax, 0x20
jae 0x140007c1e
xor r10d, r10d
xor r8d, r8d
jmp 0x140007ca5
mov r8, rax
and r8, 0xffffffffffffffe0
pxor xmm0, xmm0
xor r10d, r10d
pxor xmm1, xmm1
movdqu xmm2, xmmword [r9 + r10]
movdqu xmm3, xmmword [r9 + r10 + 0x10]
movdqu xmm4, xmmword [rcx + r10]
pxor xmm4, xmm2
por xmm0, xmm4
movdqu xmm2, xmmword [rcx + r10 + 0x10]
pxor xmm2, xmm3
por xmm1, xmm2
add r10, 0x20
cmp r8, r10
jne 0x140007c30
por xmm1, xmm0
pshufd xmm0, xmm1, 0xee
por xmm0, xmm1
pshufd xmm1, xmm0, 0x55
por xmm1, xmm0
movdqa xmm0, xmm1
psrld xmm0, 0x10
por xmm0, xmm1
movdqa xmm1, xmm0
psrlw xmm1, 8
por xmm1, xmm0
movd r10d, xmm1
cmp r8, rax
je 0x140007d28
test al, 0x18
je 0x140007d10
mov r11, r8
mov r8, rax
and r8, 0xfffffffffffffff8
movzx r10d, r10b
movd xmm0, r10d
nop dword [rax + rax]
mov r10, qword [rcx + r11]
xor r10, qword [r9 + r11]
movq xmm1, r10
por xmm0, xmm1
add r11, 8
cmp r8, r11
jne 0x140007cc0
pshufd xmm1, xmm0, 0x55
por xmm1, xmm0
movdqa xmm0, xmm1
psrld xmm0, 0x10
por xmm0, xmm1
movdqa xmm1, xmm0
psrlw xmm1, 8
por xmm1, xmm0
movd r10d, xmm1
cmp r8, rax
je 0x140007d28
nop word [rax + rax]
movzx r11d, byte [rcx + r8]
xor r11b, byte [r9 + r8]
lea rsi, [r8 + 1]
or r10b, r11b
mov r8, rsi
cmp rax, rsi
jne 0x140007d10
test r10b, r10b
sete sil
test rdx, rdx
je 0x140007d3f
mov r8d, 1
call fcn.140003240
mov eax, esi
add rsp, 0x20
pop rsi
ret

Function at 0x140008390
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 0x140008402
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 0x1400083c8
add rdi, rbx
sub rsi, rbx
je 0x140008402
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 0x1400083c0
mov ebp, eax
mov rcx, rdi
mov edx, ebx
call r12
test al, al
jne 0x1400083c0
and ebp, 0x7fffffff
jmp 0x140008404
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 0x140008d90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov eax, 0x400
xor ecx, ecx
jmp 0x140008deb
movzx r10d, byte [rdx + r10]
movzx r11d, byte [rdx + r11]
movzx ecx, byte [rdx + rcx]
shl ecx, 0x10
shl r10d, 8
or r10d, ecx
or r10d, r11d
shl r10d, 8
movzx ecx, byte [rdx + r9]
or ecx, r10d
xor dword [rsi + rax*4], ecx
inc r9
inc rax
mov rcx, r9
cmp rax, 0x412
je 0x140008e44
cmp rcx, r8
jb 0x140008df2
xor ecx, ecx
cmp rcx, r8
jae 0x140008fe8
lea r10, [rcx + 1]
cmp r10, r8
jae 0x140008e20
lea r11, [r10 + 1]
cmp r11, r8
jae 0x140008e2c
lea r9, [r11 + 1]
cmp r9, r8
jb 0x140008db0
jmp 0x140008e3c
xor r10d, r10d
lea r11, [r10 + 1]
cmp r11, r8
jb 0x140008e0d
xor r11d, r11d
lea r9, [r11 + 1]
cmp r9, r8
jb 0x140008db0
xor r9d, r9d
jmp 0x140008db0
xor edi, edi
mov rcx, rsi
xor edx, edx
xor r8d, r8d
call fcn.140008420
mov r8d, edx
mov dword [rsi + 0x1000], eax
mov dword [rsi + 0x1004], edx
mov rcx, rsi
mov edx, eax
call fcn.140008420
mov r8d, edx
mov dword [rsi + 0x1008], eax
mov dword [rsi + 0x100c], edx
mov rcx, rsi
mov edx, eax
call fcn.140008420
mov r8d, edx
mov dword [rsi + 0x1010], eax
mov dword [rsi + 0x1014], edx
mov rcx, rsi
mov edx, eax
call fcn.140008420
mov r8d, edx
mov dword [rsi + 0x1018], eax
mov dword [rsi + 0x101c], edx
mov rcx, rsi
mov edx, eax
call fcn.140008420
mov r8d, edx
mov dword [rsi + 0x1020], eax
mov dword [rsi + 0x1024], edx
mov rcx, rsi
mov edx, eax
call fcn.140008420
mov r8d, edx
mov dword [rsi + 0x1028], eax
mov dword [rsi + 0x102c], edx
mov rcx, rsi
mov edx, eax
call fcn.140008420
mov r8d, edx
mov dword [rsi + 0x1030], eax
mov dword [rsi + 0x1034], edx
mov rcx, rsi
mov edx, eax
call fcn.140008420
mov r8d, edx
mov dword [rsi + 0x1038], eax
mov dword [rsi + 0x103c], edx
mov rcx, rsi
mov edx, eax
call fcn.140008420
mov r8d, edx
mov dword [rsi + 0x1040], eax
mov dword [rsi + 0x1044], edx
nop word [rax + rax]
lea rbx, [rdi + 1]
mov rcx, rsi
mov edx, eax
call fcn.140008420
mov r8d, edx
mov dword [rsi + rdi*8], eax
mov dword [rsi + rdi*8 + 4], edx
mov rdi, rbx
cmp rbx, 0x80
jne 0x140008f30
mov edi, 0x80
nop dword [rax]
mov rcx, rsi
mov edx, eax
call fcn.140008420
mov r8d, edx
mov dword [rsi + rdi*8], eax
mov dword [rsi + rdi*8 + 4], edx
inc rdi
cmp rdi, 0x100
jne 0x140008f60
mov edi, 0x100
nop word cs:[rax + rax]
mov rcx, rsi
mov edx, eax
call fcn.140008420
mov r8d, edx
mov dword [rsi + rdi*8], eax
mov dword [rsi + rdi*8 + 4], edx
inc rdi
cmp rdi, 0x180
jne 0x140008f90
mov edi, 0x180
nop word cs:[rax + rax]
mov rcx, rsi
mov edx, eax
call fcn.140008420
mov r8d, edx
mov dword [rsi + rdi*8], eax
mov dword [rsi + rdi*8 + 4], edx
inc rdi
cmp rdi, 0x200
jne 0x140008fc0
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
lea rax, str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_blowfish_0.7.0_srclib.rs
mov rdx, r8
mov r8, rax
call fcn.140023d20
int3
Function at 0x14000b5d0
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 0x14000b670
jmp 0x14000b65f
jae 0x14000b72f
cmp r8, 0x201
jae 0x14000b670
mov r14d, 0x200
lea r15, [rbp - 0x58]
mov r12, r8
jmp 0x14000b6c7
sub r8, rbx
sub rdi, rbx
cmp rdi, r8
jae 0x14000b69f
lea rcx, [rbp + 0x3d8]
mov rdx, rbx
call fcn.140022ee0
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 0x14000b6f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14000b79b
mov r8d, r13d
cmp r12, r8
jne 0x14000b650
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14000b7cf
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x14000b65f
jmp 0x14000b670
cmp r14, r8
jb 0x14000b7e9
lea rcx, [rbp + 0x3a8]
mov rdx, r15
call fcn.14000dd60
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 0x14000b784
mov rcx, qword [rbp + 0x3e0]
add rdx, rdx
mov r8d, 2
call fcn.140003240
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 0x14000b76f
jmp 0x14000b784
lea rcx, str.internal_error:_entered_unreachable_code_rustc_129f3b9964af4d4a709d1383930ade12dfe7c081library_alloc_src_vecmod.rs
lea r8, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.140023c90
jmp 0x14000b7fe
lea rax, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r14
mov r8, rax
call fcn.140023fe0
ud2