joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002f8c0
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea r10, [rcx + 0x1aa8]
mov r8d, r9d
mov r11d, 8
shl r8d, 8
lea ecx, [r8 + r8]
mov edx, r8d
mov eax, ecx
mov r8d, ecx
xor eax, 0x1021
and edx, 0x8000
cmovne r8d, eax
sub r11, 1
jne 0x14002f8d7
mov dword [r10], r8d
inc r9d
add r10, 4
cmp r9d, 0x100
jb 0x14002f8ca
ret

Function at 0x140037904
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
mov eax, 0x1030
call fcn.1400f1270
sub rsp, rax
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov r15d, edx
lea rdx, [0x140113c88]
call fcn.14006a2ec
mov rbp, rax
xor eax, eax
test rbp, rbp
jne 0x140037956
lea eax, [rbp + 0x32]
jmp 0x140037aab
mov r14d, 0x1000
cmp r15d, 0x8000
jbe 0x140037a63
mov edx, r15d
xor r8d, r8d
shr edx, 3
mov rcx, rbp
add edx, r14d
call fcn.1400fc980
mov r12d, 1
lea rcx, [rsp + 0x20]
mov edx, r12d
mov r9, rbp
mov r8d, r14d
call fcn.1400fc644
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140037694
mov edx, r15d
xor r8d, r8d
shr edx, 2
mov rcx, rbp
add edx, r14d
mov esi, eax
call fcn.1400fc980
mov r9, rbp
lea rcx, [rsp + 0x20]
mov r8d, r14d
mov edx, r12d
call fcn.1400fc644
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140037694
lea edx, [r15 + r15]
xor r8d, r8d
shr edx, 2
mov rcx, rbp
add edx, r14d
mov edi, eax
call fcn.1400fc980
mov r9, rbp
lea rcx, [rsp + 0x20]
mov r8d, r14d
mov edx, r12d
call fcn.1400fc644
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140037694
lea edx, [r15 + r15*2]
xor r8d, r8d
shr edx, 2
mov rcx, rbp
add edx, r14d
mov ebx, eax
call fcn.1400fc980
mov r9, rbp
lea rcx, [rsp + 0x20]
mov r8d, r14d
mov edx, r12d
call fcn.1400fc644
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140037694
add eax, ebx
mov rcx, rbp
add eax, edi
add eax, esi
cdq
and edx, 3
lea ebx, [rdx + rax]
sar ebx, 2
call fcn.1400f866c
mov eax, ebx
jmp 0x140037aab
cmp r15d, r14d
jbe 0x140037a71
mov rax, r15
sub rax, r14
shr rax, 1
xor r8d, r8d
mov edx, eax
mov rcx, rbp
call fcn.1400fc980
mov r9, rbp
lea rcx, [rsp + 0x20]
mov r8, r14
mov edx, 1
call fcn.1400fc644
mov rcx, rbp
mov rbx, rax
call fcn.1400f866c
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140037694
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.1400f12e0
lea r11, [rsp + 0x1030]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14003b254
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push rbx
mov eax, 0x1080
call fcn.1400f1270
sub rsp, rax
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rsp + 0x1070], rax
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14003b29e
xor al, al
mov rcx, qword [rsp + 0x1070]
xor rcx, rsp
call fcn.1400f12e0
add rsp, 0x1080
pop rbx
ret
mov r8d, 0x800
lea rcx, [rsp + 0x60]
mov rdx, rbx
call fcn.14008e2e4
or rax, 0xffffffffffffffff
lea rcx, [rsp + 0x60]
xor ebx, ebx
inc rax
cmp word [rcx + rax*2], bx
jne 0x14003b2bc
lea rax, [rax*2 + 2]
cmp rax, 0x1002
jae 0x14003b31b
xor edx, edx
mov word [rsp + rax + 0x60], bx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x38]
call fcn.1400f24e0
mov eax, 0x14
mov dword [rsp + 0x28], 3
mov word [rsp + 0x40], ax
lea rcx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete al
jmp 0x14003b285
call fcn.1400f104c
int3

Function at 0x14003b324
Capabilities:
Get common file path

Disassembly:
mov edx, 0x10
jmp fcn.14003b384

Function at 0x14003b384
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
mov ebx, edx
lea rcx, [rsp + 0x58]
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderLocation]
xor ecx, ecx
test eax, eax
sete bl
test bl, bl
je 0x14003b3e9
mov rcx, qword [rsp + 0x50]
mov rdx, rdi
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov rcx, qword [rsp + 0x58]
cmp eax, 1
mov rdx, qword [rsp + 0x50]
sete bl
mov rax, qword [rcx]
call qword [rax + 0x28]
jmp 0x14003b3ec
mov word [rdi], cx
mov al, bl
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14003b878
Capabilities:
Enumerate pe sections
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movzx r8d, byte [rcx]
lea rdi, [0x140113fd0]
mov rbx, rcx
mov rdx, rdi
lea rcx, str.Setup.rar
call fcn.1400a03f8
movzx r8d, byte [rbx + 1]
lea rcx, str.Setup.zip
mov rdx, rdi
call fcn.1400a03f8
movzx r8d, byte [rbx + 2]
lea rcx, str.Setup.cab
mov rdx, rdi
call fcn.1400a03f8
movzx r8d, byte [rbx + 3]
lea rcx, str.Setup.arj
mov rdx, rdi
call fcn.1400a03f8
movzx r8d, byte [rbx + 4]
lea rcx, str.Setup.lz
mov rdx, rdi
call fcn.1400a03f8
movzx r8d, byte [rbx + 5]
lea rcx, str.Setup.lzh
mov rdx, rdi
call fcn.1400a03f8
movzx r8d, byte [rbx + 6]
lea rcx, str.Setup.ace
mov rdx, rdi
call fcn.1400a03f8
movzx r8d, byte [rbx + 7]
lea rcx, str.Setup.7z
mov rdx, rdi
call fcn.1400a03f8
movzx r8d, byte [rbx + 8]
lea rcx, str.Setup.tar
mov rdx, rdi
call fcn.1400a03f8
movzx r8d, byte [rbx + 9]
lea rcx, str.Setup.gz
mov rdx, rdi
call fcn.1400a03f8
movzx r8d, byte [rbx + 0xa]
lea rcx, str.Setup.uue
mov rdx, rdi
call fcn.1400a03f8
movzx r8d, byte [rbx + 0xb]
lea rcx, str.Setup.bz2
mov rdx, rdi
call fcn.1400a03f8
movzx r8d, byte [rbx + 0xc]
lea rcx, str.Setup.jar
mov rdx, rdi
call fcn.1400a03f8
movzx r8d, byte [rbx + 0xd]
lea rcx, str.Setup.iso
mov rdx, rdi
call fcn.1400a03f8
movzx r8d, byte [rbx + 0xe]
lea rcx, str.Setup.z
mov rdx, rdi
call fcn.1400a03f8
movzx r8d, byte [rbx + 0xf]
lea rcx, str.Setup.xz
mov rdx, rdi
call fcn.1400a03f8
movzx r8d, byte [rbx + 0x10]
lea rcx, str.Setup.zipx
mov rdx, rdi
call fcn.1400a03f8
movzx r8d, byte [rbx + 0x11]
lea rcx, str.Setup.001
mov rdx, rdi
call fcn.1400a03f8
movzx r8d, byte [rbx + 0x14]
lea rdi, str.SetupLinks
mov rcx, rdi
lea rdx, [0x140113fd8]
call fcn.1400a03f8
movzx r8d, byte [rbx + 0x15]
lea rdx, str.StartMenu
mov rcx, rdi
call fcn.1400a03f8
movzx r8d, byte [rbx + 0x16]
lea rdx, str.Programs
mov rcx, rdi
call fcn.1400a03f8
movzx r8d, byte [rbx + 0x17]
lea rdi, [0x14010f678]
mov rcx, rdi
lea rdx, str.ShellExt
call fcn.1400a03f8
movzx r8d, byte [rbx + 0x18]
lea rdx, str.CascadedMenu
mov rcx, rdi
call fcn.1400a03f8
movzx r8d, byte [rbx + 0x19]
lea rdx, str.MenuIcons
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1400a03f8
Function at 0x140040240
Capabilities:
Get common file path

Disassembly:
cmp dword [0x140148d08], 1
mov rax, rdx
jne 0x140040257
mov rdx, r8
mov rcx, rax
jmp fcn.1400c6754
lea rdx, [rcx + 0x1084]
mov rcx, rax
jmp fcn.14008e2e4

Function at 0x140040a84
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, qword [rbx + 0x60]
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_ScreenToClient]
mov rcx, qword [rbx + 0x60]
lea r9, [rsp + 0x20]
xor r8d, r8d
mov edx, 0x1012
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x12
movsx edi, ax
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x11
movsx ebx, ax
call qword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
mov eax, 1
test byte [rsp + 0x28], al
jne 0x140040b17
mov edx, 0x8000
test edx, edi
jne 0x140040b17
test edx, ebx
jne 0x140040b17
test edx, ecx
je 0x140040b19
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400f12e0
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x140040cf0
Capabilities:
Get file system object information

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x2258]
mov eax, 0x2350
call fcn.1400f1270
sub rsp, rax
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rbp + 0x2240], rax
mov rdi, rcx
mov ebx, 1
xor esi, esi
mov ecx, 0x3d4
call fcn.1400881f8
lea rdx, [rbp + 0x240]
sub rdx, rax
movzx ecx, word [rax]
mov word [rdx + rax], cx
lea rax, [rax + 2]
test cx, cx
jne 0x140040d43
cmp ebx, 1
jle 0x140040d8b
lea rcx, [rbp + 0x240]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], si
jne 0x140040d63
lea rcx, [rbp + 0x240]
mov r9d, ebx
lea rcx, [rcx + rax*2]
mov edx, 0x800
lea r8, [0x140115768]
call fcn.1400026d0
cmp ebx, 0x3e8
jg 0x140040daa
lea rdx, [rbp + 0x240]
mov rcx, rdi
call fcn.140040024
test al, al
je 0x140040daa
inc ebx
jmp 0x140040d2f
mov rcx, qword [rdi + 0x60]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
call qword [sym.imp.USER32.dll_SendMessageW]
xor r8d, r8d
lea rcx, [rbp + 0x1240]
mov edx, 0x800
mov rbx, rax
call fcn.1400c53e0
mov r9d, 0x2b8
mov dword [rsp + 0x20], 0x4001
lea r8, [rbp - 0x80]
xor edx, edx
lea rcx, [rbp + 0x1240]
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x48]
call fcn.1400f24e0
mov eax, dword [rbp - 0x78]
lea r9, [rsp + 0x30]
mov rcx, qword [rdi + 0x60]
xor r8d, r8d
mov dword [rsp + 0x54], eax
mov edx, 0x104d
lea rax, [rbp + 0x240]
mov dword [rsp + 0x30], 3
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x34], ebx
mov dword [rsp + 0x38], esi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 0x60]
call qword [sym.imp.USER32.dll_SetFocus]
mov rcx, qword [rdi + 0x60]
xor r9d, r9d
movsxd r8, ebx
mov edx, 0x1076
mov byte [rdi + 0x80], 1
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbp + 0x2240]
xor rcx, rsp
call fcn.1400f12e0
lea r11, [rsp + 0x2350]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140044138
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
mov eax, 0x2040
call fcn.1400f1270
sub rsp, rax
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rsp + 0x2030], rax
mov rbx, rcx
lea rdx, str.RestoreFolder
lea rcx, [0x14010f6e0]
mov r8d, 1
call fcn.14009f858
xor esi, esi
mov dword [rsp + 0x20], 0x800
lea r9, [0x14010f1a8]
test eax, eax
je 0x1400441df
lea r8, [rsp + 0x30]
lea rdx, str.LastFolder
lea rcx, [0x14010f6e0]
call fcn.14009f9e4
cmp word [rsp + 0x30], si
je 0x140044265
lea rcx, [rsp + 0x30]
call fcn.140069390
test al, al
je 0x140044265
lea rcx, [rbx + 0x1084]
mov r8d, 0x800
lea rdx, [rsp + 0x30]
call fcn.14008e2e4
jmp 0x140044265
lea r8, [rsp + 0x1030]
lea rdx, str.StartFolder
lea rcx, [0x14010f5f8]
call fcn.14009f9e4
mov r8d, 0x800
mov word [rsp + 0x30], si
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x1030]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0x7fe
ja 0x140044265
movzx eax, word [rsp + 0x30]
test ax, ax
je 0x140044265
cmp ax, word [0x14010f95c]
jne 0x140044242
movzx eax, word [rsp + 0x32]
cmp ax, word [0x14010f95e]
je 0x140044265
mov r8d, 0x800
lea rdx, [rsp + 0x30]
lea rcx, [rbx + 0x1084]
call fcn.14008e2e4
lea rcx, [rbx + 0x1084]
call fcn.14000ab8c
mov rcx, qword [rsp + 0x2030]
xor rcx, rsp
call fcn.1400f12e0
mov rbx, qword [rsp + 0x2058]
add rsp, 0x2040
pop rsi
ret
Function at 0x140045f3c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
xor r15d, r15d
mov rbx, rcx
test rcx, rcx
je 0x14004608f
or rdi, 0xffffffffffffffff
inc rdi
cmp word [rcx + rdi*2], r15w
jne 0x140045f67
test rdi, rdi
je 0x14004608f
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140046094
call qword [sym.imp.USER32.dll_EmptyClipboard]
lea rbp, [rdi*2 + 2]
mov ecx, 0x2002
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
test rax, rax
je 0x140045fe2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x140045fe2
lea r8, [rdi + 1]
mov rdx, rax
mov rcx, rbx
call fcn.140091000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rsi
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
mov rdx, rbp
mov ecx, 0x2002
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
test rax, rax
je 0x14004603b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r14, rax
test rax, rax
je 0x14004603b
lea r8, [rdi + 1]
mov rdx, rax
mov rcx, rbx
call fcn.140091000
mov rdx, r14
mov rcx, r14
call qword [sym.imp.USER32.dll_CharToOemA]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rsi
mov ecx, 7
call qword [sym.imp.USER32.dll_SetClipboardData]
mov rdx, rbp
mov ecx, 0x2002
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x140046089
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x140046089
sub rax, rbx
movzx ecx, word [rbx]
mov word [rax + rbx], cx
lea rbx, [rbx + 2]
test cx, cx
jne 0x140046062
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rdi
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x140046a90
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov bl, dl
mov rsi, rcx
call fcn.14006c514
cmp eax, 0x600
jb 0x140046ac6
mov rcx, qword [rsi]
movzx edx, bl
mov rax, qword [rcx]
call qword [rax + 0x20]
jmp 0x140046b54
mov rax, qword [rsi + 0x10]
mov byte [rax + 0xd0], bl
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x140046b54
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov rbp, 0xffffffffffffffff
lea ebx, [rax + 1]
mov eax, 2
movsxd rcx, ebx
mul rcx
cmovo rax, rbp
mov rcx, rax
call fcn.1400f1384
mov rcx, qword [rsi + 0x18]
mov r8d, ebx
mov rdx, rax
mov rdi, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [rsi + 0x18]
mov r9, rbp
xor r8d, r8d
mov edx, 0xb1
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsi + 0x18]
lea r9d, [rbp + 2]
mov edx, 0x102
lea r8d, [rbp + 9]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsi + 0x18]
mov rdx, rdi
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, rdi
call fcn.1400f0f3c
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140048eec
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rdi, rdx
lea r9, [0x14010f1a8]
mov esi, ecx
lea rdx, [0x140115d2c]
mov rcx, qword [str.Passwords]
lea r8, [rbp + 0xa0]
mov r12d, 0x80
mov dword [rsp + 0x20], r12d
call fcn.14009f9e4
xor r15d, r15d
lea rcx, [rbp + 0xa0]
cmp word [rbp + 0xa0], r15w
mov r14d, 0x100
mov edx, r14d
setne bl
call fcn.14008b8e8
test bl, bl
lea rcx, [rsp + 0x30]
lea ebx, [r12 - 0x4e]
mov r9d, esi
mov edx, ebx
je 0x140048fc2
lea r8, [0x140115d38]
call fcn.1400026d0
mov rcx, qword [str.Passwords]
lea r9, [0x14010f1a8]
mov r8, rdi
mov dword [rsp + 0x20], r12d
lea rdx, [rsp + 0x30]
call fcn.14009f9e4
cmp word [rdi], r15w
jne 0x14004903d
xor al, al
jmp 0x140049112
lea r8, str.PE_d
call fcn.1400026d0
mov r8, r14
lea rcx, [rbp - 0x60]
xor edx, edx
call fcn.1400f24e0
mov rcx, qword [str.Passwords]
lea r8, [rbp - 0x60]
xor r9d, r9d
mov dword [rsp + 0x20], r14d
lea rdx, [rsp + 0x30]
call fcn.14009f870
mov r8d, eax
test eax, eax
je 0x140048fbb
mov edx, r15d
test eax, eax
jle 0x14004901a
lea rcx, [rbp - 0x60]
lea eax, [rdx + 0x49]
inc edx
xor byte [rcx], al
inc rcx
cmp edx, r8d
jl 0x14004900b
mov r8, r12
lea rcx, [rbp - 0x60]
mov rdx, rdi
call fcn.140090e24
mov rdx, r14
mov word [rdi + 0xfe], r15w
lea rcx, [rbp - 0x60]
call fcn.14008b8e8
mov r9d, esi
lea r8, [0x140115d50]
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.1400026d0
mov rcx, qword [str.Passwords]
lea r14, [rdi + 0x100]
mov r12d, 0xc8
lea r9, [0x14010f1a8]
mov r8, r14
mov dword [rsp + 0x20], r12d
lea rdx, [rsp + 0x30]
call fcn.14009f9e4
mov r9d, esi
lea r8, [0x140115d58]
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.1400026d0
mov rcx, qword [str.Passwords]
lea r8, [rdi + 0x290]
lea r9, [0x14010f1a8]
mov dword [rsp + 0x20], 0x800
lea rdx, [rsp + 0x30]
call fcn.14009f9e4
mov r9d, esi
lea r8, [0x140115d60]
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.1400026d0
mov rcx, qword [str.Passwords]
lea rdx, [rsp + 0x30]
xor r8d, r8d
call fcn.14009f858
test eax, eax
lea rcx, [rdi + 0x1290]
mov r8d, r12d
mov rdx, r14
setne al
mov byte [rdi + 0x1420], al
cmp word [r14], r15w
jne 0x14004910b
mov rdx, rdi
call fcn.14008e2e4
mov al, 1
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1400f12e0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x140058cb8
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp dword [0x1401888d4], 2
mov edi, r8d
mov esi, edx
mov rbx, rcx
jl 0x140058d18
movdqa xmm0, xmmword [0x140116850]
movdqa xmm1, xmmword [0x140116840]
movdqa xmmword [0x1401760a0], xmm0
movdqa xmm0, xmmword [0x140116820]
movdqa xmmword [0x1401760b0], xmm1
movdqa xmm1, xmmword [0x140116830]
movdqa xmmword [0x1401760c0], xmm0
movdqa xmmword [0x1401760d0], xmm1
xor edx, edx
mov r8d, 0xf0
call fcn.1400f24e0
xor edx, edx
mov qword [rbx + 0x110], rdx
mov byte [rbx + 0x118], dl
mov rcx, qword [rbx + 0xf8]
lea rax, [0x140116800]
mov eax, dword [rdx + rax]
mov dword [rdx + rcx], eax
add rdx, 4
cmp rdx, 0x20
jl 0x140058d34
mov rax, qword [rbx + 0xf8]
bts edi, 0xd
shl edi, 0x10
xor dword [rax], 0x2080020
mov rax, qword [rbx + 0xf8]
xor dword [rax + 8], esi
mov rax, qword [rbx + 0xf8]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
xor dword [rax + 0xc], edi
add rsp, 0x20
pop rdi
ret

Function at 0x14005d288
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push r14
push r15
sub rsp, 0x20
xor r15d, r15d
mov sil, dl
mov word [rcx + 0xa422], r15w
mov rbx, rcx
mov byte [rcx + 0xa419], r15b
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
mov r14b, 1
jmp 0x14005d2ef
test r14b, r14b
jne 0x14005d2df
mov rdx, qword [rsp + 0x40]
mov rcx, rbx
test sil, sil
je 0x14005d2da
call fcn.14005d438
jmp 0x14005d2df
call fcn.14005cf8c
mov rcx, qword [rsp + 0x40]
call fcn.1400f8128
mov rcx, rbp
mov r14b, r15b
lea rdx, [rsp + 0x40]
call fcn.14005c90c
mov rbp, rax
test rax, rax
jne 0x14005d2c1
test sil, sil
jne 0x14005d30e
mov rcx, rbx
call fcn.14005d324
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rsi
ret
Function at 0x14005edc0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
lea rsi, [0x1401768f0]
mov r10, r8
mov rbx, rdx
mov r11d, ecx
test r8, r8
je 0x14005ee09
test bl, 7
je 0x14005ee09
movzx ecx, byte [rbx]
inc rbx
movzx eax, r11b
xor rcx, rax
mov eax, r11d
shr eax, 8
mov r11d, dword [rsi + rcx*4]
xor r11d, eax
sub r10, 1
jne 0x14005ede4
cmp r10, 8
jb 0x14005eeb3
mov rdi, r10
shr rdi, 3
imul rax, rdi, 0xfffffffffffffff8
add r10, rax
xor r11d, dword [rbx]
mov r9d, dword [rbx + 4]
add rbx, 8
mov eax, r9d
shr eax, 0x18
movzx edx, al
mov eax, r9d
shr eax, 0x10
movzx ecx, al
mov eax, r9d
shr eax, 8
mov r8d, dword [rsi + rdx*4]
xor r8d, dword [rsi + rcx*4 + 0x400]
movzx ecx, al
mov eax, r11d
shr eax, 0x18
xor r8d, dword [rsi + rcx*4 + 0x800]
movzx ecx, al
mov eax, r11d
shr eax, 0x10
xor r8d, dword [rsi + rcx*4 + 0x1000]
movzx ecx, al
mov eax, r11d
shr eax, 8
xor r8d, dword [rsi + rcx*4 + 0x1400]
movzx ecx, al
movzx eax, r9b
xor r8d, dword [rsi + rcx*4 + 0x1800]
xor r8d, dword [rsi + rax*4 + 0xc00]
movzx eax, r11b
mov r11d, r8d
xor r11d, dword [rsi + rax*4 + 0x1c00]
sub rdi, 1
jne 0x14005ee21
test r10, r10
je 0x14005eed8
movzx ecx, byte [rbx]
inc rbx
movzx eax, r11b
xor rcx, rax
mov eax, r11d
shr eax, 8
mov r11d, dword [rsi + rcx*4]
xor r11d, eax
sub r10, 1
jne 0x14005eeb8
mov rbx, qword [rsp + 8]
mov eax, r11d
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret

Function at 0x14005eeec
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
xor esi, esi
lea r14, [0x1401788f0]
mov r10, r8
mov r11, rdx
mov r9, rcx
test r8, r8
je 0x14005ef3e
test r11b, 7
je 0x14005ef3e
movzx ecx, byte [r11]
inc r11
movzx eax, r9b
xor rcx, rax
mov rax, r9
shr rax, 8
mov r9, qword [r14 + rcx*8]
xor r9, rax
sub r10, 1
jne 0x14005ef16
mov rax, r10
mov rdi, rsi
shr rax, 3
lea rbx, [rax*8 + 7]
shr rbx, 3
lea rcx, [r11 + rax*8]
cmp r11, rcx
cmova rbx, rsi
test rbx, rbx
je 0x14005f001
mov r8, qword [r11]
inc rdi
xor r8, r9
add r11, 8
mov rdx, r8
mov rax, r8
shr rax, 0x30
movzx ecx, al
mov rax, r8
shr rax, 0x28
shr rdx, 0x38
mov r9, qword [r14 + rdx*8]
xor r9, qword [r14 + rcx*8 + 0x800]
movzx ecx, al
mov rax, r8
shr rax, 0x20
xor r9, qword [r14 + rcx*8 + 0x1000]
movzx ecx, al
mov rax, r8
shr rax, 0x18
xor r9, qword [r14 + rcx*8 + 0x1800]
movzx ecx, al
mov rax, r8
shr rax, 0x10
xor r9, qword [r14 + rcx*8 + 0x2000]
movzx ecx, al
mov rax, r8
shr rax, 8
xor r9, qword [r14 + rcx*8 + 0x2800]
movzx ecx, al
movzx eax, r8b
xor r9, qword [r14 + rcx*8 + 0x3000]
xor r9, qword [r14 + rax*8 + 0x3800]
cmp rdi, rbx
jb 0x14005ef68
and r10d, 7
jbe 0x14005f029
movzx ecx, byte [r11]
inc r11
movzx eax, r9b
xor rcx, rax
mov rax, r9
shr rax, 8
mov r9, qword [r14 + rcx*8]
xor r9, rax
sub r10, 1
jne 0x14005f007
mov rbx, qword [rsp + 8]
mov rax, r9
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov r14, qword [rsp + 0x20]
ret