joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400073d0
Capabilities:
Create directory

Disassembly:
sub rsp, 0x68
lea rax, [0x14000c9f0]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x48], rax
sub rax, 0x10
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x38]
mov dword [rsp + 0x38], 0x40001
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x20], 0x18
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov r8d, eax
xor eax, eax
test r8d, r8d
jne 0x140007434
call qword [sym.imp.KERNEL32.dll_GetLastError]
add rsp, 0x68
ret

Function at 0x140007439
Capabilities:
Create directory

Disassembly:
sub rsp, 0x28
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140007454
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
add rsp, 0x28
ret

Function at 0x14000745b
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x78
xor r8d, r8d
xor r9d, r9d
mov dword [0x140051ea0], 0x68
lea rax, [rsp + 0x58]
mov rdx, rcx
xor ecx, ecx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x48], rax
lea rax, [0x140051ea0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x4000000
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov r8d, eax
xor eax, eax
test r8d, r8d
je 0x1400074cc
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x58]
add rsp, 0x78
ret

Function at 0x1400074d1
Capabilities:
Create process on windows

Disassembly:
mov dword [rcx], 0x70
mov qword [rcx + 0x40], 0
jmp qword [sym.imp.SHELL32.dll_ShellExecuteExW]

Function at 0x140007715
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push r12
sub rsp, 0x20
mov qword [rsp + 0x30], rcx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov r12d, eax
cmp eax, 0xffffffff
je 0x14000773e
mov edx, eax
mov rcx, qword [rsp + 0x30]
and edx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, r12d
add rsp, 0x20
pop r12
ret

Function at 0x140007748
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push r13
push r12
push rbx
sub rsp, 0x20
mov r12, rcx
mov ebx, edx
call fcn.140007715
mov r13d, eax
cmp eax, 0xffffffff
jne 0x140007767
xor ebx, ebx
jmp 0x14000779b
mov rcx, r12
test bl, 1
je 0x140007793
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x14000778c
and ebx, 4
jne 0x140007763
mov edx, r13d
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x14000779b
mov ebx, 1
jmp 0x14000779b
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x140007775
mov eax, ebx
add rsp, 0x20
pop rbx
pop r12
pop r13
ret
Function at 0x1400077a7
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x40
mov dword [rsp + 0x58], edx
mov ebx, r8d
mov qword [rsp + 0x50], rcx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov rcx, qword [rsp + 0x50]
mov edx, dword [rsp + 0x58]
cmp eax, 0xffffffff
jne 0x1400077ce
xor eax, eax
mov dword [rsp + 0x28], eax
xor r9d, r9d
mov r8d, 1
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
add rsp, 0x40
pop rbx
ret

Function at 0x1400077f4
Capabilities:
Get common file path

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x38
mov ebx, 0x65
movabs rdi, 0x610073006e
mov r12, rcx
mov rsi, rdx
dec ebx
je 0x140007849
mov qword [rsp + 0x28], rdi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x1a
xor edx, edx
xor r8d, r8d
div ecx
mov r9, r12
mov rcx, rsi
add word [rsp + 0x2c], dx
lea rdx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x140007812
jmp 0x140007853
mov word [r12], 0
xor r12d, r12d
mov rax, r12
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop r12
ret

Function at 0x140007860
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x20], 0
mov ebx, r8d
lea r9, [rsp + 0x3c]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140007889
xor eax, eax
cmp dword [rsp + 0x3c], ebx
sete al
add rsp, 0x40
pop rbx
ret

Function at 0x14000788f
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x20], 0
mov ebx, r8d
lea r9, [rsp + 0x3c]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400078b8
xor eax, eax
cmp dword [rsp + 0x3c], ebx
sete al
add rsp, 0x40
pop rbx
ret

Function at 0x140007965
Capabilities:
Move file

Disassembly:
sub rsp, 0x28
mov r8d, 5
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov rax, qword [0x14000d1c0]
inc dword [rax + 0x10]
add rsp, 0x28
ret

Function at 0x140007a7d
Capabilities:
Query or enumerate registry value

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x40
mov r12, r8
mov r8d, dword [rsp + 0x80]
mov dword [rsp + 0x30], 0x2000
mov rbx, r9
test r8d, r8d
je 0x140007aa6
mov r8d, 0x200
or r8d, 0x20019
lea r9, [rsp + 0x38]
call fcn.1400079e1
test eax, eax
je 0x140007ac2
mov word [rbx], 0
jmp 0x140007b0c
lea rax, [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
xor r8d, r8d
mov rdx, r12
lea r9, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
mov esi, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov word [rbx + 0x1ffe], 0
test esi, esi
jne 0x140007abb
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
ja 0x140007abb
add rsp, 0x40
pop rbx
pop rsi
pop r12
ret
Function at 0x140007d55
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
test ecx, ecx
je 0x140007d80
mov rcx, qword [0x14000a040]
cmp rcx, 0xffffffffffffffff
je 0x140007d70
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14000a040], 0xffffffffffffffff
jmp 0x140007e1e
cmp dword [0x140049420], 0
je 0x140007e1e
cmp word [0x14004d440], 0
je 0x140007e14
cmp qword [0x14000a040], 0xffffffffffffffff
je 0x140007ddc
lea rdx, [0x14000c3f6]
lea rcx, [0x140048420]
call sub.KERNEL32.dll_lstrcatW
lea rcx, [0x140048420]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [0x14000a040]
lea rdx, [0x140048420]
lea r8d, [rax + rax]
add rsp, 0x28
jmp fcn.14000788f
lea rcx, [0x14004d440]
mov r8d, 4
mov edx, 0x40000000
call fcn.1400077a7
mov qword [0x14000a040], rax
mov rcx, rax
cmp rax, 0xffffffffffffffff
je 0x140007e1e
mov r9d, 2
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp qword [0x14000a040], 0xffffffffffffffff
jne 0x140007da1
add rsp, 0x28
ret

Function at 0x140008142
Capabilities:
Get file attributes

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rdx, rcx
lea rcx, [0x14004dea0]
call fcn.140007be7
lea rcx, [0x14004dea0]
call fcn.14000760c
mov rbx, rax
test rax, rax
jne 0x140008170
xor eax, eax
jmp 0x1400081ef
mov rcx, rax
call fcn.140007c78
mov rax, qword [0x14000d1e0]
test byte [rax], 0x80
je 0x140008192
mov ax, word [rbx]
test ax, ax
je 0x14000816c
cmp ax, 0x5c
je 0x14000816c
lea rsi, [0x14004dea0]
mov rdi, qword [sym.imp.KERNEL32.dll_lstrlenW]
sub rbx, rsi
sar rbx, 1
mov rcx, rsi
call rdi
cdqe
cmp rax, rbx
jle 0x1400081ce
mov rcx, rsi
call fcn.140008114
test rax, rax
je 0x1400081c4
test byte [rax], 0x10
je 0x14000816c
mov rcx, rsi
call fcn.1400075a5
jmp 0x1400081a6
lea rcx, [0x14004dea0]
call fcn.140007c02
lea rcx, [0x14004dea0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
inc eax
setne al
movzx eax, al
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
Function at 0x140008489
Capabilities:
Get common file path

Disassembly:
push r12
sub rsp, 0x260
mov edx, 0x104
lea r12, [rsp + 0x24]
mov qword [rsp + 0x270], rcx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov r9, qword [rsp + 0x270]
lea edx, [rax - 1]
cmp edx, 0x103
ja 0x1400084ce
cmp word [rsp + rdx*2 + 0x24], 0x5c
sete dl
movzx edx, dl
jmp 0x1400084d5
xor eax, eax
mov edx, 1
mov eax, eax
add rdx, rdx
add rax, rax
lea rcx, [r12 + rax]
lea rax, [0x14000c3e0]
lea r8, [rax + rdx]
lea rdx, str._s_S.dll
call qword [sym.imp.USER32.dll_wsprintfW]
mov r8d, 8
xor edx, edx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
add rsp, 0x260
pop r12
ret
Function at 0x14000bd60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x68
mov rax, qword [rsp + 0x98]
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x58], r9
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x48], rdx
mov word [rsp + 0x46], cx
movzx eax, word [rsp + 0x46]
sar eax, 8
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x3c], 0
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x30]
cmp rax, qword [rsp + 0x50]
jae 0x14000be58
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov ax, word [rax + rcx*2]
mov word [rsp + 0x2e], ax
mov eax, dword [rsp + 0x3c]
movzx ecx, byte [rsp + 0x2f]
add eax, ecx
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x40]
movzx ecx, byte [rsp + 0x2e]
cmp eax, ecx
jge 0x14000bde6
jmp 0x14000be58
mov eax, dword [rsp + 0x40]
movzx ecx, byte [rsp + 0x2e]
cmp eax, ecx
jne 0x14000be3d
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
cmp eax, dword [rsp + 0x28]
jge 0x14000be3b
mov rax, qword [rsp + 0x58]
movsxd rcx, dword [rsp + 0x24]
movzx eax, byte [rax + rcx]
movzx ecx, word [rsp + 0x46]
and ecx, 0xff
cmp eax, ecx
jne 0x14000be2c
mov byte [rsp + 0x67], 0
jmp 0x14000bf25
jmp 0x14000be2e
mov eax, dword [rsp + 0x24]
add eax, 1
mov dword [rsp + 0x24], eax
jmp 0x14000bdfb
jmp 0x14000be3d
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
jmp 0x14000bda5
movzx eax, word [rsp + 0x46]
mov dword [rsp + 0x20], eax
mov byte [rsp + 0x1f], 1
mov qword [rsp + 0x10], 0
mov rax, qword [rsp + 0x10]
cmp rax, qword [rsp + 0x98]
jae 0x14000bf1b
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x10]
movzx eax, byte [rax + rcx]
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 0xc]
and eax, 0x80
cmp eax, 0
je 0x14000bed5
mov eax, dword [rsp + 0xc]
and eax, 0x7f
shl eax, 8
mov rcx, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x10]
mov r8, rdx
add r8, 1
mov qword [rsp + 0x10], r8
movzx ecx, byte [rcx + rdx + 1]
or eax, ecx
mov dword [rsp + 4], eax
jmp 0x14000bedd
mov eax, dword [rsp + 0xc]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
mov dword [rsp + 8], eax
mov ecx, dword [rsp + 8]
mov eax, dword [rsp + 0x20]
sub eax, ecx
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x14000befc
jmp 0x14000bf1b
mov al, byte [rsp + 0x1f]
xor al, 0xff
and al, 1
mov byte [rsp + 0x1f], al
mov rax, qword [rsp + 0x10]
add rax, 1
mov qword [rsp + 0x10], rax
jmp 0x14000be6f
mov al, byte [rsp + 0x1f]
and al, 1
mov byte [rsp + 0x67], al
mov al, byte [rsp + 0x67]
and al, 1
add rsp, 0x68
ret

Function at 0x14002aa90
Capabilities:
Create directory

Disassembly:
sub rsp, 0x28
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x20]
call fcn.140001f90
mov rcx, rax
call qword [sym.imp.ucrtbased.dll__mkdir]
cmp eax, 0
sete al
and al, 1
add rsp, 0x28
ret
Function at 0x140033e80
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x20
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov qword [rsp], 0
mov rax, qword [rsp]
cmp rax, qword [rsp + 0x18]
jae 0x140033ee0
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp]
movzx eax, byte [rax + rcx]
xor rax, qword [rsp + 8]
mov qword [rsp + 8], rax
movabs rax, 0x100000001b3
imul rax, qword [rsp + 8]
mov qword [rsp + 8], rax
mov rax, qword [rsp]
add rax, 1
mov qword [rsp], rax
jmp 0x140033e9b
mov rax, qword [rsp + 8]
add rsp, 0x20
ret

Function at 0x140056bb0
Capabilities:
Write file on windows

Disassembly:
push rbp
sub rsp, 0xb0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x28], 0xfffffffffffffffe
mov qword [rbp + 0x20], rdx
mov qword [rbp + 0x18], rcx
mov rax, qword [rbp + 0x18]
mov qword [rbp - 0x50], rax
cmp qword [rax + 8], 0
jne 0x140056be4
jmp 0x140056c69
mov rcx, qword [rbp + 0x20]
call fcn.140003560
mov qword [rbp + 0x10], rax
mov rcx, qword [rbp + 0x20]
call fcn.140029ff0
mov rcx, rax
mov rax, qword [rbp - 0x50]
mov qword [rbp + 8], rcx
mov r9, qword [rax + 8]
mov r8, qword [rbp + 0x10]
mov rcx, qword [rbp + 8]
mov edx, 1
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp rax, qword [rbp + 0x10]
je 0x140056c69
mov rax, qword [sym.imp.ucrtbased.dll__errno]
call rax
mov rdx, qword [rbp - 0x50]
mov eax, dword [rax]
mov dword [rbp - 0x5c], eax
add rdx, 0x10
lea rcx, [rbp - 0x48]
mov qword [rbp - 0x58], rcx
call fcn.140055980
mov r8, qword [rbp - 0x58]
lea rdx, str.Failed_writing_to_file
lea rcx, [rbp - 0x20]
call fcn.140055930
jmp 0x140056c5b
mov edx, dword [rbp - 0x5c]
lea rcx, [rbp - 0x20]
call fcn.140045220
jmp 0x140056c69
add rsp, 0xb0
pop rbp
ret

Function at 0x14005b0e0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x58
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rcx
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x50]
call fcn.140003560
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x40], 0
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x2c], eax
mov rcx, qword [rsp + 0x50]
call fcn.140029ff0
mov r8d, dword [rsp + 0x2c]
mov rdx, rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x10]
lea r9, [rsp + 0x40]
xor eax, eax
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rsp + 0x3c], eax
add rsp, 0x58
ret

Function at 0x140068e40
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov r9d, 2
lea r8, [rsp + 0x40]
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x140068e7d
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov edx, eax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.140068de0
add rsp, 0x58
ret
Function at 0x14006a4f0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140065c10
movzx eax, al
test eax, eax
jne 0x14006a510
mov ecx, 7
call fcn.140069aa0
nop
mov byte [rsp + 0x20], 0
call fcn.140065b70
mov byte [rsp + 0x21], al
cmp dword [0x14008a028], 1
jne 0x14006a534
mov ecx, 7
call fcn.140069aa0
nop
jmp 0x14006a58c
cmp dword [0x14008a028], 0
jne 0x14006a587
mov dword [0x14008a028], 1
lea rdx, [0x1400746a8]
lea rcx, [0x140074690]
call sub.ucrtbased.dll__initterm_e
test eax, eax
je 0x14006a568
mov eax, 0xff
jmp 0x14006a691
lea rdx, [0x140074688]
lea rcx, [0x140074658]
call sub.ucrtbased.dll__initterm
mov dword [0x14008a028], 2
jmp 0x14006a58c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140065be0
call fcn.14006a970
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x14006a5e9
mov rcx, qword [rsp + 0x30]
call fcn.140065ae0
movzx eax, al
test eax, eax
je 0x14006a5e9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140074630]
nop
call fcn.14006a980
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14006a61d
mov rcx, qword [rsp + 0x38]
call fcn.140065ae0
movzx eax, al
test eax, eax
je 0x14006a61d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call sub.ucrtbased.dll__register_thread_local_exe_atexit_callback
nop
call fcn.14006a4b0
mov dword [rsp + 0x28], eax
call fcn.1400699b0
movzx eax, al
test eax, eax
jne 0x14006a63c
mov ecx, dword [rsp + 0x28]
call sub.ucrtbased.dll_exit
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14006a64b
call sub.ucrtbased.dll__cexit
nop
xor edx, edx
mov cl, 1
call fcn.140065c60
mov eax, dword [rsp + 0x28]
jmp 0x14006a691
add rsp, 0x68
ret
Function at 0x14002c590
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1400d3400]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rsi, rcx
mov rdx, qword [rcx]
xor r8d, r8d
mov edx, dword [rdx + 0x98]
lea rcx, [rsp + 0x20]
call fcn.1400360b0
nop
cmp byte [rsp + 0x40], 0
je 0x14002c704
mov rsi, qword [rsi + 8]
add rsi, 0x148
mov r8d, 0xfde9
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.1400469c0
mov r8, rax
mov r9, qword [rax + 0x10]
mov rdx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x14002c60a
mov rdx, qword [rax]
movabs rbx, 0xcbf29ce484222325
xor ecx, ecx
test r9, r9
je 0x14002c643
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
xor rbx, rax
imul rbx, r10
inc rcx
cmp rcx, r9
jb 0x14002c630
mov r9, rbx
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.14001dd60
mov rdi, qword [rax + 8]
test rdi, rdi
je 0x14002c6ca
mov rcx, qword [rsi + 0x30]
and rcx, rbx
shl rcx, 4
mov rdx, qword [rsi + 0x18]
add rdx, rcx
mov rax, qword [rdx]
cmp qword [rdx + 8], rdi
jne 0x14002c693
cmp rax, rdi
jne 0x14002c689
mov rax, qword [rsi + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x14002c69e
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
jmp 0x14002c69e
cmp rax, rdi
jne 0x14002c69e
mov rax, qword [rdi]
mov qword [rdx], rax
mov rdx, qword [rdi]
dec qword [rsi + 0x10]
mov rax, qword [rdi + 8]
mov qword [rax], rdx
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
lea rcx, [rdi + 0x10]
call fcn.14000ba30
mov edx, 0x40
mov rcx, rdi
call fcn.140076b20
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14002c704
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c6fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c737
call fcn.140076b20
nop
cmp byte [rsp + 0x40], 0
je 0x14002c715
lea rcx, [rsp + 0x20]
call fcn.14000d810
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140076c40
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.14007d368
nop
int3
add rcx, 8
jmp 0x14002c590
Function at 0x14002fda0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
mov ebp, 0xfffd
nop word [rax + rax]
movzx ecx, word [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp ax, 9
ja 0x14002fe83
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14002fe83
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x14002fea1
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx + 0x10]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx]
cmp rcx, rax
je 0x14002fe73
cmp word [rcx], 0x5c
jne 0x14002fe6c
lea rdx, [rcx + 2]
cmp rdx, rax
je 0x14002fe6c
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14002fe57
movzx eax, word [rdx]
sub ax, 0x28
cmp ax, 1
jbe 0x14002fe69
test r8b, 0x10
jne 0x14002fe6c
movzx eax, word [rdx]
sub ax, 0x7b
test bp, ax
jne 0x14002fe6c
mov rcx, rdx
lea rax, [rcx + 2]
mov qword [rbx], rax
mov rcx, rbx
call fcn.140033ff0
test edi, edi
jne 0x14002fdd0
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
mov rcx, rbx
call fcn.140032030
int3
Function at 0x1400303c0
Capabilities:
Hash data using fnv

Disassembly:
mov rcx, qword [rcx + 8]
mov rdx, qword [rcx + 0xa0]
mov ecx, dword [rcx + 0x98]
jmp 0x140052860
mov rax, rsp
mov qword [rax + 0x10], rbx
mov dword [rax + 8], ecx
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0x90
movaps xmmword [rax - 0x28], xmm6
mov rdi, rdx
mov ebx, ecx
lea r14, [0x1400da0b0]
mov qword [rbp + 0x17], r14
mov byte [rbp + 0x1f], 0
mov rcx, r14
call fcn.1400580b0
test eax, eax
jne 0x140052a21
cmp dword [0x1400da0fc], 0x7fffffff
je 0x140052a2c
mov byte [rbp + 0x1f], 1
lea r8, [0x1400da070]
mov qword [rbp + 0x27], r8
movzx edx, bl
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movabs rcx, 0x100000001b3
imul rdx, rcx
movzx eax, byte [rbp + 0x68]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rbp + 0x69]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rbp + 0x6a]
xor rdx, rax
imul rdx, rcx
mov rcx, qword [0x1400da0a0]
and rcx, rdx
shl rcx, 4
add rcx, qword [0x1400da088]
mov rax, qword [rcx + 8]
mov rdx, qword [0x1400da078]
cmp rax, rdx
je 0x140052940
mov rcx, qword [rcx]
cmp ebx, dword [rax + 0x10]
je 0x140052942
nop dword [rax]
cmp rax, rcx
je 0x140052940
mov rax, qword [rax + 8]
cmp ebx, dword [rax + 0x10]
jne 0x140052930
jmp 0x140052942
xor eax, eax
test rax, rax
cmove rax, rdx
cmp rax, rdx
je 0x1400529e1
lea rdx, [rbp + 0x67]
mov rcx, r8
call fcn.140054d30
mov dword [rbp - 0x19], 1
mov qword [rbp - 0x11], rdi
mov qword [rbp - 9], rax
movups xmm6, xmmword [rbp - 0x19]
movups xmmword [rbp - 1], xmm6
mov ecx, 0x18
call fcn.140076ae4
test rax, rax
je 0x140052994
movups xmm0, xmmword [rbp - 9]
movups xmmword [rax], xmm0
unpckhpd xmm6, xmm6
movsd qword [rax + 0x10], xmm6
mov qword [rbp + 0x77], rax
lea rcx, [rbp - 0x11]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14004c430]
xor edx, edx
xor ecx, ecx
call fcn.140089cec
mov qword [rbp - 0x19], rax
test rax, rax
je 0x140052a0f
cmp dword [rbp - 0x11], 0
je 0x140052a04
movaps xmm0, xmmword [rbp - 0x19]
movdqa xmmword [rbp - 9], xmm0
lea rcx, [rbp - 9]
call fcn.1400585f4
test eax, eax
jne 0x140052a04
mov rcx, r14
mov rbx, qword [rsp + 0xb8]
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x90
pop r14
pop rdi
pop rbp
jmp fcn.1400580b8
mov ecx, 1
call fcn.14005832c
nop
mov dword [rbp - 0x11], 0
mov ecx, 6
call fcn.14005832c
nop
mov ecx, 5
call fcn.14005832c
int3
mov dword [0x1400da0fc], 0x7ffffffe
mov ecx, 6
call fcn.14005832c
int3
Function at 0x140030a80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1400d3400]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rsi, rcx
mov rdx, qword [rcx]
xor r8d, r8d
mov edx, dword [rdx + 0x98]
lea rcx, [rsp + 0x20]
call fcn.1400360b0
nop
cmp byte [rsp + 0x40], 0
je 0x14002c704
mov rsi, qword [rsi + 8]
add rsi, 0x148
mov r8d, 0xfde9
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.1400469c0
mov r8, rax
mov r9, qword [rax + 0x10]
mov rdx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x14002c60a
mov rdx, qword [rax]
movabs rbx, 0xcbf29ce484222325
xor ecx, ecx
test r9, r9
je 0x14002c643
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
xor rbx, rax
imul rbx, r10
inc rcx
cmp rcx, r9
jb 0x14002c630
mov r9, rbx
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.14001dd60
mov rdi, qword [rax + 8]
test rdi, rdi
je 0x14002c6ca
mov rcx, qword [rsi + 0x30]
and rcx, rbx
shl rcx, 4
mov rdx, qword [rsi + 0x18]
add rdx, rcx
mov rax, qword [rdx]
cmp qword [rdx + 8], rdi
jne 0x14002c693
cmp rax, rdi
jne 0x14002c689
mov rax, qword [rsi + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x14002c69e
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
jmp 0x14002c69e
cmp rax, rdi
jne 0x14002c69e
mov rax, qword [rdi]
mov qword [rdx], rax
mov rdx, qword [rdi]
dec qword [rsi + 0x10]
mov rax, qword [rdi + 8]
mov qword [rax], rdx
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
lea rcx, [rdi + 0x10]
call fcn.14000ba30
mov edx, 0x40
mov rcx, rdi
call fcn.140076b20
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14002c704
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c6fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c737
call fcn.140076b20
nop
cmp byte [rsp + 0x40], 0
je 0x14002c715
lea rcx, [rsp + 0x20]
call fcn.14000d810
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140076c40
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.14007d368
nop
int3
add rcx, 8
jmp 0x14002c590
Function at 0x140035090
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
movabs rax, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x1400350d4
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x1400350c0
ret