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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x340
mov rax, qword [0x1401006f0]
xor rax, rsp
mov qword [rsp + 0x338], rax
mov rdi, rcx
mov rcx, qword [rcx]
test rcx, rcx
je 0x140007e59
xor r9d, r9d
xor r8d, r8d
mov edx, 0x14b
call qword [sym.imp.USER32.dll_SendMessageW]
lea r8, [rsp + 0x58]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x140007dbf
mov rcx, qword [rsp + 0x58]
lea r8, [rsp + 0x60]
mov r9d, 0x2b8
xor edx, edx
mov dword [rsp + 0x20], 0x4209
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov rcx, qword [rdi]
xor r8d, r8d
mov r9, rax
mov edx, 0x402
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x140188d30]
mov rdx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov byte [rsp + 0x40], 0
or qword [rsp + 0x38], 0xffffffffffffffff
and dword [rsp + 0x30], 0
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x68]
lea rdx, [rsp + 0x70]
lea r8d, [r9 + 1]
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.140006f2c
and qword [rsp + 0x50], 0
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jne 0x140007deb
mov rdx, qword [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
call fcn.140007450
test al, al
jne 0x140007e51
call fcn.1400a1e60
xor ebx, ebx
mov esi, eax
bt esi, ebx
jae 0x140007e4a
lea r9d, [rbx + 0x41]
lea r8, str._c:_
lea rcx, [rsp + 0x320]
mov edx, 0xa
call fcn.140022b7c
mov byte [rsp + 0x40], 1
or qword [rsp + 0x38], 0xffffffffffffffff
mov dword [rsp + 0x30], 2
and qword [rsp + 0x28], 0
or dword [rsp + 0x20], 0xffffffff
lea rdx, [rsp + 0x320]
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
call fcn.140006f2c
inc ebx
cmp ebx, 0x20
jl 0x140007df4
mov rcx, rdi
call fcn.140007a28
mov rcx, qword [rsp + 0x338]
xor rcx, rsp
call fcn.1400c6350
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140007e80
Capabilities:
Check if file exists
Get file attributes
Get graphical window text

Disassembly:
push rbx
mov eax, 0x1030
call fcn.1400d8110
sub rsp, rax
mov rax, qword [0x1401006f0]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov rbx, rcx
mov rcx, qword [rcx]
lea rdx, [rsp + 0x20]
mov r8d, 0x800
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rcx, [rsp + 0x20]
call fcn.1400535ac
mov rcx, qword [rbx]
lea r9, [rsp + 0x20]
or r8, 0xffffffffffffffff
mov edx, 0x158
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 0xffffffffffffffff
je 0x140007f15
mov rcx, qword [rbx]
xor r9d, r9d
mov r8, rax
mov edx, 0x14e
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rbx
call fcn.140007bb4
cmp byte [0x140148965], 0
mov rcx, rbx
je 0x140007f0e
call fcn.140007878
jmp 0x140007f64
call fcn.140007398
jmp 0x140007f64
cmp byte [0x140148965], 0
je 0x140007f2c
lea rcx, [rsp + 0x20]
call fcn.140061f20
test al, al
je 0x140007f53
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140007f53
test al, 0x10
jne 0x140007f53
lea rdx, [rsp + 0x20]
lea rcx, [0x140155380]
call fcn.14005110c
jmp 0x140007f64
lea rdx, [rsp + 0x20]
lea rcx, [0x140155380]
call fcn.140051250
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.1400c6350
add rsp, 0x1030
pop rbx
ret

Function at 0x140007f80
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x300
mov rax, qword [0x1401006f0]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov rbx, qword [rsp + 0x340]
mov r11, r9
mov eax, r8d
mov r10, rdx
cmp r8d, 0x4e
jne 0x14000807e
cmp dword [rbx + 0x10], 0xfffffcd9
je 0x140007fea
cmp dword [rbx + 0x10], 0xfffffcda
jne 0x140007fe3
cmp dword [rbx + 0x228], 2
jne 0x140007fe3
lea rcx, [0x14014aae8]
call fcn.140007e80
xor eax, eax
jmp 0x14000808f
mov rax, qword [rbx + 0x48]
mov ebp, dword [rbx + 0x18]
mov ecx, dword [rax]
cmp ecx, 4
jne 0x140007ffe
mov rsi, qword [rax + 8]
jmp 0x140008002
lea rsi, [rax + 0x10]
xor edi, edi
cmp ecx, 4
lea eax, [rdi + 8]
cmove edi, eax
test bpl, 1
je 0x140008041
mov eax, edi
lea r8, [rsp + 0x30]
mov r9d, 0x2b8
bts eax, 9
xor edx, edx
mov rcx, rsi
mov dword [rsp + 0x20], eax
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x140008041
lea rax, [rsp + 0x40]
mov qword [rbx + 0x28], rax
test bpl, 6
je 0x140008074
or edi, 0x4001
lea r8, [rsp + 0x30]
mov r9d, 0x2b8
xor edx, edx
mov rcx, rsi
mov dword [rsp + 0x20], edi
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov r11d, dword [rsp + 0x38]
mov dword [rbx + 0x38], r11d
mov dword [rbx + 0x34], r11d
bts dword [rbx + 0x18], 0x1c
jmp 0x140007fe3
mov r9, rbx
mov r8, r11
mov edx, eax
mov rcx, r10
call qword [sym.imp.USER32.dll_DefWindowProcW]
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.1400c6350
mov rbx, qword [rsp + 0x320]
add rsp, 0x300
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400080b4
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
cmp dword [rcx + 8], 0
movsxd rdi, r8d
mov rsi, rdx
mov rbx, rcx
jne 0x1400080e1
lea rcx, str.comctl32.dll
call fcn.1400a1a14
mov dword [rbx + 8], eax
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400080ef
call qword [sym.imp.USER32.dll_DestroyWindow]
and qword [rsp + 0x58], 0
or qword [rbx + 0x10], 0xffffffffffffffff
mov rax, qword [0x140134b80]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], 0xdc
mov dword [rsp + 0x30], 0x3c
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea rdx, str.ComboBoxEx32
mov r9d, 0x44200046
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
xor r9d, r9d
mov edx, 0x408
lea r8d, [r9 + 4]
mov rcx, rax
mov qword [rbx], rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x407
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x14000817b
mov rcx, rax
call fcn.1400a3368
mov rcx, rbx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
jmp fcn.140007cec
Function at 0x14001b3a8
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov esi, edx
xor edx, edx
mov r8d, 0xf0
mov rbx, rcx
call fcn.1400c7170
xor r11d, r11d
mov qword [rbx + 0x110], r11
mov byte [rbx + 0x118], r11b
mov rcx, qword [rbx + 0xf8]
lea rax, [0x1400e14d0]
mov eax, dword [r11 + rax]
mov dword [r11 + rcx], eax
add r11, 4
cmp r11, 0x20
jl 0x14001b3dd
mov rax, qword [rbx + 0xf8]
bts edi, 0xd
xor dword [rax], 0x2080020
mov rax, qword [rbx + 0xf8]
shl edi, 0x10
xor dword [rax + 8], esi
mov rax, qword [rbx + 0xf8]
mov rbx, qword [rsp + 0x30]
xor dword [rax + 0xc], edi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140022900
Capabilities:
Accept command line arguments

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbp
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push r13
sub rsp, 0x30
mov dil, dl
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
mov r12b, 1
jmp 0x14002296b
mov bpl, 1
test r12b, r12b
jne 0x140022951
mov rdx, qword [rsp + 0x20]
mov rcx, rsi
test dil, dil
je 0x14002294c
call fcn.1400227d8
mov bpl, al
jmp 0x140022951
call fcn.1400224b4
mov rcx, qword [rsp + 0x20]
call fcn.1400c7040
test dil, dil
je 0x140022965
test bpl, bpl
je 0x14002297d
xor r12b, r12b
mov rcx, r13
lea rdx, [rsp + 0x20]
call fcn.1400201a8
mov r13, rax
test rax, rax
jne 0x14002292d
test dil, dil
jne 0x14002298a
mov rcx, rsi
call fcn.140020b60
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
add rsp, 0x30
pop r13
ret

Function at 0x1400229a8
Capabilities:
Query environment variable

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov rsi, rcx
lea rcx, [0x1400e1b40]
call fcn.1400c8c14
mov rbx, rax
test rax, rax
je 0x140022a3c
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
and qword [rsp + 0x28], rax
and qword [rsp + 0x30], rax
and qword [rsp + 0x38], rax
and qword [rsp + 0x40], rax
mov rdx, rcx
lea rcx, [rsp + 0x28]
call fcn.14000bfac
nop
mov r8, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
mov rdx, rdi
mov rcx, rbx
call fcn.140087fd4
mov rdx, rdi
mov rcx, rsi
call fcn.140022898
mov byte [rsi + 0xa421], 0
test rdi, rdi
je 0x140022a3c
mov rcx, rdi
call fcn.1400c7040
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x140022a4c
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x830
mov rax, qword [0x1401006f0]
xor rax, rsp
mov qword [rsp + 0x820], rax
xor ebp, ebp
mov rdi, rcx
mov word [rcx], bp
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x20]
mov r8d, 0x400
mov rcx, rax
mov ebx, ebp
call fcn.140080710
mov rsi, rax
cmp rax, rbp
je 0x140022afc
cmp ebx, ebp
jne 0x140022aab
mov ebx, 1
jmp 0x140022ad9
movzx edx, word [rsp + 0x20]
lea rcx, [0x14015b3c0]
call fcn.140020480
cmp al, bpl
jne 0x140022ad9
cmp ebx, 1
jne 0x140022ad7
movzx eax, word [rsp + 0x20]
mov word [rdi], ax
movzx eax, word [rsp + 0x22]
mov word [rdi + 2], ax
inc ebx
lea rdx, [rsp + 0x20]
mov r8d, 0x400
mov rcx, rsi
call fcn.140080710
mov rsi, rax
cmp rax, rbp
jne 0x140022aa0
cmp ebx, 2
jne 0x140022afc
mov word [rdi], bp
mov rcx, qword [rsp + 0x820]
xor rcx, rsp
call fcn.1400c6350
lea r11, [rsp + 0x830]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14002346c
Capabilities:
Check if file exists
Get file attributes
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x1060
call fcn.1400d8110
sub rsp, rax
mov rax, qword [0x1401006f0]
xor rax, rsp
mov qword [rsp + 0x1050], rax
xor ebx, ebx
cmp dword [0x140167830], ebx
je 0x14002363e
lea rdi, [0x1401575c0]
lea rdx, [0x140166802]
xor r9d, r9d
mov rcx, rdi
mov r8b, 1
call fcn.140018388
cmp eax, 1
jne 0x14002363e
cmp dword [0x14015f3e0], 3
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x30], rbx
mov r9b, al
lea r8, [rsp + 0x30]
mov rcx, rdi
jne 0x1400234f3
lea rdx, [rsp + 0x40]
call fcn.1400151b0
jmp 0x1400234fd
lea rdx, [rsp + 0x38]
call fcn.14001508c
cmp qword [rsp + 0x30], rbx
je 0x14002363e
lea rdx, [rsp + 0x50]
lea rcx, [0x140167808]
mov r8d, 0x800
call fcn.140080da0
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002355e
lea rdx, [rsp + 0x50]
xor r9d, r9d
movabs r8, 0x7fffffff7fffffff
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call fcn.14000b91c
cmp al, 0x43
je 0x140023554
cmp al, 0x4e
jne 0x14002355e
mov rcx, qword [rsp + 0x38]
jmp 0x140023639
lea rdx, [0x1400e1c4c]
lea rcx, [rsp + 0x50]
call fcn.14003c204
mov rdi, rax
cmp rax, rbx
jne 0x140023597
mov ecx, 0x1f6
call fcn.140076080
lea r8, [rsp + 0x50]
lea rcx, [0x140166802]
mov rdx, rax
call fcn.1400b1ef4
jmp 0x140023554
mov eax, dword [0x14015f3e0]
cmp eax, 3
jne 0x1400235f3
mov rdx, rdi
mov ecx, 0xff
call fcn.1400c8ff8
mov rdx, rdi
mov ecx, 0xfe
call fcn.1400c8ff8
cmp qword [rsp + 0x30], rbx
jbe 0x140023622
mov rax, qword [rsp + 0x40]
mov rdx, rdi
movzx ecx, word [rax + rbx*2]
call fcn.1400c8ff8
mov r11, qword [rsp + 0x40]
mov rdx, rdi
movzx ecx, byte [r11 + rbx*2 + 1]
call fcn.1400c8ff8
inc rbx
cmp rbx, qword [rsp + 0x30]
jb 0x1400235c3
jmp 0x140023622
cmp eax, 2
jne 0x14002360b
mov rcx, qword [rsp + 0x38]
mov r8d, dword [rsp + 0x30]
mov rdx, rcx
call qword [sym.imp.USER32.dll_CharToOemBuffA]
mov r8, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov r9, rdi
mov edx, 1
call fcn.1400c8f54
mov rcx, rdi
call fcn.1400c8d40
mov rcx, qword [rsp + 0x38]
call fcn.1400c72ec
mov rcx, qword [rsp + 0x40]
call fcn.1400c72ec
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.1400c6350
mov rbx, qword [rsp + 0x1070]
add rsp, 0x1060
pop rdi
ret
Function at 0x140027820
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x44b0
call fcn.1400d8110
sub rsp, rax
mov rax, qword [0x1401006f0]
xor rax, rsp
mov qword [rsp + 0x44a0], rax
mov bl, cl
mov dil, dl
mov esi, 0x800
lea rcx, [rsp + 0xa0]
mov r8b, 1
mov rdx, rsi
call fcn.1400619f4
lea rcx, [rsp + 0xa0]
mov rdx, rsi
call fcn.14006119c
lea rdx, str.Settings.reg
lea rcx, [rsp + 0xa0]
mov r8, rsi
call fcn.1400805dc
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x10a0]
mov r8, rsi
call fcn.1400805a0
xor ebp, ebp
cmp bl, bpl
je 0x1400278cb
lea r8d, [rbp + 1]
lea rdx, str.ExportedSettings
lea rcx, [0x1400e04f4]
call fcn.14006d35c
jmp 0x140027924
lea rdx, [rsp + 0xa0]
lea rcx, str.Settings.reg
mov r9b, 1
mov r8, rsi
mov byte [rsp + 0x20], bpl
call fcn.140061ae0
lea rcx, [rsp + 0xa0]
call fcn.14003c3d4
cmp al, bpl
jne 0x140027924
cmp dil, bpl
je 0x140027908
xor al, al
jmp 0x140027ac1
mov rcx, rbp
movzx eax, word [rsp + rcx + 0x10a0]
add rcx, 2
mov word [rsp + rcx + 0x9e], ax
cmp ax, bp
jne 0x14002790b
cmp dil, bpl
jne 0x140027961
mov al, bl
neg al
sbb ecx, ecx
add ecx, 0x5b5
call fcn.140076080
mov rcx, qword [0x14014aae0]
lea r9, str..reg
lea r8, [rsp + 0xa0]
mov rdx, rax
mov byte [rsp + 0x20], bl
call fcn.14001bf00
cmp al, bpl
je 0x140027901
cmp bl, bpl
jne 0x140027972
lea rcx, [0x1400e04f4]
call fcn.14006d734
lea rax, str._e___s__HKEY_CURRENT_USERSoftwareWinRAR
lea r8, [0x1400e2630]
cmp bl, bpl
lea r9, [rsp + 0xa0]
lea rcx, [rsp + 0x20a0]
mov edx, 0x900
cmovne r8, rax
call fcn.140022b7c
mov esi, 0x70
lea rcx, [rsp + 0x30]
mov r8, rsi
xor edx, edx
call fcn.1400c7170
mov rax, qword [0x14014aae0]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rax
lea rax, str.regedit
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x20a0]
mov dword [rsp + 0x34], 0x40
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x60], 1
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp eax, ebp
setne sil
cmp sil, bpl
je 0x140027a25
mov rcx, qword [rsp + 0x98]
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp bl, bpl
je 0x140027a3d
lea rdx, str.ExportedSettings
lea rcx, [0x1400e04f4]
call fcn.14006cfb8
cmp sil, bpl
je 0x140027a9f
cmp bl, bpl
jne 0x140027a4c
call fcn.1400274fc
neg bl
sbb ecx, ecx
add ecx, 0x461
call fcn.140076080
lea r9, [rsp + 0xa0]
lea rcx, [rsp + 0x32a0]
mov r8, rax
mov edx, 0x900
call fcn.140022b7c
mov ecx, 0x2fb
call fcn.140076080
mov rcx, qword [0x14014aae0]
lea rdx, [rsp + 0x32a0]
mov r8, rax
xor r9d, r9d
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x140027abe
cmp dil, bpl
jne 0x140027abe
mov ecx, 0x201
call fcn.140076080
lea rdx, [rsp + 0x20a0]
mov rcx, rax
call fcn.1400b189c
mov al, sil
mov rcx, qword [rsp + 0x44a0]
xor rcx, rsp
call fcn.1400c6350
lea r11, [rsp + 0x44b0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140027aec
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [rcx + 4], 0
mov r8, rcx
jne 0x140027b33
xor r9d, r9d
mov r10d, r9d
mov r11d, 8
mov edx, r10d
mov ecx, r10d
shr edx, 1
mov eax, edx
mov r10d, edx
xor eax, 0xedb88320
and cl, 1
cmovne r10d, eax
sub r11, 1
jne 0x140027b01
inc r9d
mov dword [r8], r10d
add r8, 4
cmp r9d, 0x100
jb 0x140027af8
repz ret

Function at 0x140027bac
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov r10, r8
mov rbx, rdx
mov r11d, ecx
lea rsi, [0x14010ced0]
test r8, r8
je 0x140027bf5
test bl, 7
je 0x140027bf5
movzx ecx, byte [rbx]
movzx eax, r11b
inc rbx
xor rcx, rax
mov eax, r11d
mov r11d, dword [rsi + rcx*4]
shr eax, 8
xor r11d, eax
sub r10, 1
jne 0x140027bd0
cmp r10, 8
jb 0x140027ca2
mov rdi, r10
shr rdi, 3
mov rax, rdi
imul rax, rax, 0xfffffffffffffff8
add r10, rax
xor r11d, dword [rbx]
mov r9d, dword [rbx + 4]
add rbx, 8
mov eax, r9d
shr eax, 0x10
movzx edx, al
mov eax, r9d
mov r8d, dword [rsi + rdx*4 + 0x400]
shr eax, 0x18
movzx ecx, al
mov eax, r9d
xor r8d, dword [rsi + rcx*4]
shr eax, 8
movzx ecx, al
mov eax, r11d
xor r8d, dword [rsi + rcx*4 + 0x800]
shr eax, 0x18
movzx ecx, al
mov eax, r11d
xor r8d, dword [rsi + rcx*4 + 0x1000]
shr eax, 0x10
movzx ecx, al
mov eax, r11d
xor r8d, dword [rsi + rcx*4 + 0x1400]
shr eax, 8
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 0x140027c10
test r10, r10
je 0x140027cc7
movzx ecx, byte [rbx]
movzx eax, r11b
inc rbx
xor rcx, rax
mov eax, r11d
mov r11d, dword [rsi + rcx*4]
shr eax, 8
xor r11d, eax
sub r10, 1
jne 0x140027ca7
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov eax, r11d
ret

Function at 0x140027cfc
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov r8, rcx
xor r9d, r9d
mov r10d, 0x100
mov r11, r9
mov ebx, 8
mov rdx, r11
mov cl, r11b
movabs r11, 0xc96c5795d7870f42
shr rdx, 1
mov rax, rdx
xor rax, r11
and cl, 1
mov r11, rdx
cmovne r11, rax
sub rbx, 1
jne 0x140027d15
mov qword [r8], r11
inc r9
add r8, 8
sub r10, 1
jne 0x140027d0d
mov rbx, qword [rsp + 8]
ret
Function at 0x140027dc8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov r10, r8
mov r11, rdx
mov r9, rcx
lea rdi, [0x140108ed0]
test r8, r8
je 0x140027e0f
test r11b, 7
je 0x140027e0f
movzx ecx, byte [r11]
movzx eax, r9b
inc r11
xor rcx, rax
mov rax, r9
mov r9, qword [rdi + rcx*8]
shr rax, 8
xor r9, rax
sub r10, 1
jne 0x140027de7
mov rax, r10
shr rax, 3
lea rbx, [r11 + rax*8]
jmp 0x140027eac
mov r8, qword [r11]
xor r8, r9
mov rax, r8
shr rax, 0x30
movzx edx, al
mov rax, r8
mov r9, qword [rdi + rdx*8 + 0x800]
shr rax, 0x38
xor r9, qword [rdi + rax*8]
mov rax, r8
shr rax, 0x28
movzx ecx, al
mov rax, r8
xor r9, qword [rdi + rcx*8 + 0x1000]
shr rax, 0x20
movzx ecx, al
mov rax, r8
xor r9, qword [rdi + rcx*8 + 0x1800]
shr rax, 0x18
movzx ecx, al
mov rax, r8
xor r9, qword [rdi + rcx*8 + 0x2000]
shr rax, 0x10
movzx ecx, al
mov rax, r8
xor r9, qword [rdi + rcx*8 + 0x2800]
shr rax, 8
movzx ecx, al
movzx eax, r8b
xor r9, qword [rdi + rcx*8 + 0x3000]
xor r9, qword [rdi + rax*8 + 0x3800]
add r11, 8
cmp r11, rbx
jb 0x140027e1f
and r10d, 7
jbe 0x140027edd
movzx ecx, byte [r11]
movzx eax, r9b
inc r11
xor rcx, rax
mov rax, r9
mov r9, qword [rdi + rcx*8]
shr rax, 8
xor r9, rax
sub r10, 1
jne 0x140027ebb
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
mov rax, r9
ret

Function at 0x140028028
Capabilities:
Encode data using xor

Disassembly:
mov r10, rdx
mov r9, rcx
test r8, r8
je 0x1400280da
mov eax, 0x1234
add word [r9 + 0xc00], ax
mov dx, word [r9 + 0xc00]
mov rax, rdx
shr rax, 1
movzx eax, al
movzx ecx, word [r9 + rax*4 + 0x6ec]
mov rax, rdx
xor word [r9 + 0xc02], cx
shr rax, 1
movzx eax, al
movzx ecx, word [r9 + rax*4 + 0x6ee]
sub word [r9 + 0xc04], cx
movzx eax, word [r9 + 0xc04]
mov ecx, 1
xor ax, dx
mov word [r9 + 0xc00], ax
movzx eax, word [r9 + 0xc06]
ror ax, cl
xor ax, word [r9 + 0xc02]
ror ax, cl
xor word [r9 + 0xc00], ax
mov word [r9 + 0xc06], ax
movzx eax, word [r9 + 0xc00]
shr ax, 8
xor byte [r10], al
inc r10
sub r8, 1
jne 0x140028037
repz ret

Function at 0x1400280dc
Capabilities:
Encode data using add xor sub operations

Disassembly:
mov r8, rcx
lea r9, [rdx + 1]
mov r10d, 4
movzx eax, byte [r9 - 1]
mov edx, dword [r8 + rax*4 + 0x6ec]
xor dword [r8 + 0xbec], edx
movzx eax, byte [r9]
add r9, 4
mov ecx, dword [r8 + rax*4 + 0x6ec]
xor dword [r8 + 0xbf0], ecx
movzx eax, byte [r9 - 3]
mov ecx, dword [r8 + rax*4 + 0x6ec]
xor dword [r8 + 0xbf4], ecx
movzx eax, byte [r9 - 2]
mov ecx, dword [r8 + rax*4 + 0x6ec]
xor dword [r8 + 0xbf8], ecx
sub r10, 1
jne 0x1400280e9
repz ret
Function at 0x1400284c8
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x200
mov rax, qword [0x1401006f0]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
mov rbp, qword [rsp + 0x260]
mov r14d, 0x40
mov r13, r9
mov r12, r8
mov rbx, rdx
mov rsi, rcx
cmp rdx, r14
jbe 0x14002854c
lea rcx, [rsp + 0x100]
call fcn.14007f768
lea rcx, [rsp + 0x100]
mov r8, rbx
mov rdx, rsi
call fcn.14007f9f4
lea rdx, [rsp + 0x1b0]
lea rcx, [rsp + 0x100]
call fcn.14007fab8
lea rsi, [rsp + 0x1b0]
lea ebx, [r14 - 0x20]
xor edi, edi
mov dl, 0x36
mov r8, rdi
cmp rbx, rdi
jbe 0x14002857e
lea rax, [rsp + 0x170]
mov r9, rsi
sub r9, rax
lea rcx, [rsp + r8 + 0x170]
inc r8
mov al, byte [r9 + rcx]
xor al, dl
mov byte [rcx], al
cmp r8, rbx
jb 0x140028566
cmp rbx, r14
jae 0x140028596
mov r8, r14
lea rcx, [rsp + rbx + 0x170]
sub r8, rbx
call fcn.1400c7170
lea rcx, [rsp + 0x20]
call fcn.14007f768
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x20]
mov r8, r14
call fcn.14007f9f4
lea rcx, [rsp + 0x20]
mov r8, r13
mov rdx, r12
call fcn.14007f9f4
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0x20]
call fcn.14007fab8
lea rcx, [rsp + 0x90]
call fcn.14007f768
mov dl, 0x5c
cmp rbx, rdi
jbe 0x14002860d
lea rax, [rsp + 0x170]
sub rsi, rax
lea rcx, [rsp + rdi + 0x170]
inc rdi
mov al, byte [rsi + rcx]
xor al, dl
mov byte [rcx], al
cmp rdi, rbx
jb 0x1400285f6
cmp rbx, r14
jae 0x140028625
mov r8, r14
lea rcx, [rsp + rbx + 0x170]
sub r8, rbx
call fcn.1400c7170
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x90]
mov r8, r14
call fcn.14007f9f4
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0x90]
mov r8d, 0x20
call fcn.14007f9f4
lea rcx, [rsp + 0x90]
mov rdx, rbp
call fcn.14007fab8
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.1400c6350
add rsp, 0x200
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14002868c
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x120
mov rax, qword [0x1401006f0]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov rdi, qword [rsp + 0x180]
mov rsi, qword [rsp + 0x188]
mov rbp, qword [rsp + 0x190]
mov rax, r8
mov r8d, 0x40
mov r12, rcx
cmp r9, r8
mov r13, rdx
lea rcx, [rsp + 0xa0]
cmovb r8, r9
mov rdx, rax
mov rbx, r9
call fcn.1400c6bb0
lea rax, [rsp + 0x58]
lea r9, [rbx + 4]
lea r8, [rsp + 0xa0]
mov rdx, r13
mov rcx, r12
mov qword [rsp + 0x20], rax
mov byte [rsp + rbx + 0xa0], 0
mov byte [rsp + rbx + 0xa1], 0
mov byte [rsp + rbx + 0xa2], 0
mov byte [rsp + rbx + 0xa3], 1
call fcn.1400284c8
mov r14d, 0x20
lea rcx, [rsp + 0x78]
lea rdx, [rsp + 0x58]
mov r8, r14
call fcn.1400c6bb0
mov r11d, dword [rsp + 0x198]
lea eax, [r14 - 0x10]
dec r11d
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rbp
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], r11d
lea rsi, [rsp + 0x40]
lea rdi, [rsp + 0x30]
lea ebp, [rax - 0xd]
cmp dword [rdi], 0
jbe 0x1400287dd
mov ebx, dword [rdi]
lea rax, [rsp + 0xf0]
lea r8, [rsp + 0x58]
mov r9, r14
mov rdx, r13
mov rcx, r12
mov qword [rsp + 0x20], rax
call fcn.1400284c8
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0xf0]
mov r8, r14
call fcn.1400c6bb0
xor r11d, r11d
mov rcx, r14
mov al, byte [rsp + r11 + 0x58]
inc r11
xor byte [rsp + r11 + 0x77], al
sub rcx, 1
jne 0x1400287c4
sub rbx, 1
jne 0x140028789
mov rcx, qword [rsi]
lea rdx, [rsp + 0x78]
mov r8, r14
call fcn.1400c6bb0
add rdi, 4
add rsi, 8
sub rbp, 1
jne 0x140028782
lea edx, [rbp + 0x44]
lea rcx, [rsp + 0xa0]
call fcn.1400798a8
lea rcx, [rsp + 0x78]
mov rdx, r14
call fcn.1400798a8
lea rcx, [rsp + 0x58]
mov rdx, r14
call fcn.1400798a8
lea rcx, [rsp + 0xf0]
mov rdx, r14
call fcn.1400798a8
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.1400c6350
add rsp, 0x120
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret