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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov r8, rdx
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.140237c80
mov rax, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
test rax, rax
je 0x14022dcd7
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x38]
lea rdx, [rsp + 0x20]
mov r8b, 1
call fcn.14022fc70
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
test rdi, rdi
je 0x14022dcd7
mov rcx, rdi
xor edx, edx
call qword [sym.imp.kernel32.dll_CreateDirectoryW]
test eax, eax
je 0x14022dcab
test rsi, rsi
je 0x14022dca7
add rsi, rsi
mov r8d, 2
mov rcx, rdi
mov rdx, rsi
call fcn.1401047d0
xor esi, esi
jmp 0x14022dcd7
call qword [sym.imp.kernel32.dll_GetLastError]
mov ebx, eax
shl rbx, 0x20
or rbx, 2
test rsi, rsi
je 0x14022dcd4
add rsi, rsi
mov r8d, 2
mov rcx, rdi
mov rdx, rsi
call fcn.1401047d0
mov rsi, rbx
mov rax, rsi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret

Function at 0x14022e3e0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x14069eb30]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x14022e424
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x14022e48a
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x14022e4c1
test eax, eax
js 0x14022e49b
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14022e4b4
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.140225c50
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.14021b530
mov ecx, 7
int 0x29
ud2

Function at 0x140230420
Capabilities:
Create pipe
Generate random numbers via winapi

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x148
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0xb0], xmm6
mov qword [rbp + 0xa8], 0xfffffffffffffffe
mov qword [rbp + 0x28], rcx
mov byte [rbp + 0xa5], dl
movzx eax, dl
mov ecx, 0x40080002
sub ecx, eax
mov dword [rbp + 0x24], ecx
xor edi, edi
mov r15d, 8
mov sil, 1
xorps xmm6, xmm6
mov r12, qword [sym.imp.bcrypt.dll_BCryptGenRandom]
xor eax, eax
mov qword [rbp - 0x10], rax
nop
Function at 0x140236a70
Capabilities:
Generate random numbers via winapi

Disassembly:
sub rsp, 0x38
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
js 0x140236aa8
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
add rsp, 0x38
ret
call fcn.140236ac0
nop
add rsp, 0x38
ret

Function at 0x140236ac0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
mov edx, 0x10
call qword [sym.imp.advapi32.dll_SystemFunction036]
test al, al
je 0x140236b03
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
add rsp, 0x80
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
lea rax, [fcn.1402247e0]
mov qword [rbp - 0x28], rax
lea rax, str.fallback_RNG_broken:
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 1
mov qword [rbp - 0x40], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
lea rdx, str.library_std_src_syswindows_rand.rs
lea rcx, [rbp - 0x60]
call fcn.14026c8f0
ud2

Function at 0x140237160
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
mov r14, rdx
mov rsi, rcx
movzx eax, byte [0x14071e481]
mov ecx, 0x10
mov edx, 8
call fcn.1401047c0
test rax, rax
je 0x14023723f
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x1402372f0]
xor edi, edi
xor ecx, ecx
mov rdx, rsi
mov r9, rax
call qword [sym.imp.kernel32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x140237231
mov rcx, qword [rbx]
mov qword [rbp - 0x18], rbx
mov rax, qword [rbx + 8]
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x10], rax
call qword [rax]
mov rax, qword [rbp - 0x10]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140237208
mov r8, qword [rax + 0x10]
mov rcx, qword [rbp - 0x20]
call fcn.1401047d0
mov edx, 0x10
mov r8d, 8
mov rcx, qword [rbp - 0x18]
call fcn.1401047d0
call qword [sym.imp.kernel32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov edi, 1
mov rax, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], rdi
mov ecx, 8
mov edx, 0x10
call fcn.14026c6b0
ud2
Function at 0x14024df00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x14024df7a
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x14024df70
cmp r11, r10
ja 0x14024e013
cmp r10, rdx
ja 0x14024e027
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x14024df72
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x14024df50
jmp 0x14024dfe7
ja 0x14024df7a
mov r11, r10
cmp rax, r8
jne 0x14024df22
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14024dfeb
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x14024dfc0
mov r8, r10
sub ecx, r9d
jns 0x14024dfde
jmp 0x14024dfed
cmp r10, rdx
je 0x14024dff9
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14024dfed
xor al, 1
cmp r8, rdx
jne 0x14024dfa0
jmp 0x14024dfed
xor eax, eax
jmp 0x14024dfed
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x1406a3431]
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.14026c9a0
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.14026cf10
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14026ce90
ud2

Function at 0x140252064
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x1402520ae
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1402520ae
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1402520ae
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1402520ae
cmp dword [rcx + 0x84], 0xe
jbe 0x1402520ae
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1402520b0
xor al, al
add rsp, 0x28
ret

Function at 0x140258340
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140258368
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140258368
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14026a600
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov qword [rbp], 0xfffffffffffffffe
lea rcx, str.api_ms_win_core_synch_l1_2_0.dll
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x14026a661
mov rdi, rax
lea rdx, [0x14065f11e]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14026a661
mov rsi, rax
lea rdx, [0x14065f12c]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14026a661
mov rdi, rax
xor ebx, ebx
jmp 0x14026a6e7
lea rcx, [0x14065f0b8]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x14026a75b
mov rsi, rax
lea rdx, [0x14065f0c2]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14026a75b
mov rdi, rax
lea rdx, [0x14065f0d5]
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14026a75b
mov rbx, rax
lea rdx, [0x14065f0e9]
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14026a75b
mov rsi, rax
lea rcx, [rbp - 0x18]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rdi
test eax, eax
jne 0x14026a75b
mov rdi, qword [rbp - 0x18]
movzx eax, byte [0x14071e481]
mov ecx, 0x18
mov edx, 8
call fcn.1401047c0
test rax, rax
je 0x14026a762
mov rcx, rax
mov qword [rax], rbx
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rdi
xor eax, eax
lock cmpxchg qword [0x14071e8b0], rcx
je 0x14026a74f
mov rsi, rax
cmp qword [rcx], 0
mov qword [rbp - 8], rcx
je 0x14026a738
mov rax, qword [rbp - 8]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.kernel32.dll_CloseHandle]
mov edx, 0x18
mov r8d, 8
mov rcx, qword [rbp - 8]
call fcn.1401047d0
mov rcx, rsi
mov rax, rcx
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop rbp
ret
call fcn.14026a5c0
ud2
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], rbx
mov ecx, 8
mov edx, 0x18
call fcn.14026c6b0
ud2
Function at 0x140001788
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400017d2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400017d2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400017d2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400017d2
cmp dword [rcx + 0x84], 0xe
jbe 0x1400017d2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400017d4
xor al, al
add rsp, 0x28
ret

Function at 0x140008210
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000800c
Function at 0x1400167f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rdi, r8
mov rbx, rdx
xor ebp, ebp
xor r9d, r9d
mov qword [rsp + 0x30], rbp
xor r8d, r8d
mov dword [rsp + 0x28], 0x80000000
mov edx, 0x40000000
mov dword [rsp + 0x20], 5
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14001685a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x577
lea rcx, str.Error__d_at_line__d__n
mov edx, eax
call fcn.140001010
jmp 0x1400168e8
cmp rbx, 0x100000
jl 0x1400168a3
nop dword [rax]
nop word [rax + rax]
lea r9, [rsp + 0x78]
mov qword [rsp + 0x20], rbp
mov r8d, 0x100000
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400168fd
mov eax, dword [rsp + 0x78]
add rdi, rax
sub rbx, rax
cmp rbx, 0x100000
jge 0x140016870
test rbx, rbx
je 0x1400168df
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rbp
mov r8d, ebx
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400168df
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x58d
mov edx, eax
lea rcx, str.Error__d_at_line__d__n
call fcn.140001010
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x580
jmp 0x1400168d1
Function at 0x140016920
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push r14
sub rsp, 0x40
mov rsi, r8
mov rbx, rdx
xor r14d, r14d
xor r9d, r9d
mov qword [rsp + 0x30], r14
xor r8d, r8d
mov dword [rsp + 0x28], 0x8000000
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x140016990
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x53a
lea rcx, str.Error__d_at_line__d__n
mov edx, eax
call fcn.140001010
mov rax, rbp
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop r14
pop rsi
pop rbp
ret
mov qword [rsp + 0x60], rdi
mov rdi, r14
cmp rbx, 0x100000
jl 0x1400169f6
nop dword [rax]
nop word [rax + rax]
lea r9, [rsp + 0x78]
mov qword [rsp + 0x20], r14
mov r8d, 0x100000
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140016a44
mov ecx, dword [rsp + 0x78]
add rdi, rcx
cmp ecx, 0x100000
jne 0x140016a5e
add rsi, 0x100000
sub rbx, 0x100000
cmp rbx, 0x100000
jge 0x1400169b0
test rbx, rbx
je 0x140016a6a
lea r9, [rsp + 0x78]
mov qword [rsp + 0x20], r14
mov r8d, ebx
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140016a52
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x55e
mov edx, eax
lea rcx, str.Error__d_at_line__d__n
call fcn.140001010
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, 0xffffffffffffffff
jmp 0x140016a76
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x546
jmp 0x140016a24
mov eax, dword [rsp + 0x78]
add rdi, rax
cmp rax, rbx
je 0x140016a6a
lea rcx, str.Incomplete_file_reading__n
call fcn.140001010
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rdi
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop r14
pop rsi
pop rbp
ret

Function at 0x140018a20
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
movsxd rsi, ecx
lea rbp, [0x146028d80]
imul rdi, rsi, 0x200168
cmp dword [rdi + rbp + 0x200114], 0
jne 0x140018aef
mov r8d, dword [rdi + rbp + 0x200118]
lea rdx, [rbp + 0x100110]
mov qword [rsp + 0x60], rbx
add rdx, rdi
lea rbx, [rbp + 0x110]
mov dword [rdi + rbp + 0x200114], r8d
add rbx, rdi
mov rcx, rbx
call fcn.140019090
mov eax, dword [rdi + rbp + 0x200114]
lea rdx, [rsp + 0x40]
xor ecx, ecx
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x30], rcx
lea rax, [rbp + 0x200140]
add rax, rdi
mov dword [rdi + rbp + 0x200118], ecx
vpxor xmm0, xmm0, xmm0
mov qword [rsp + 0x28], rax
lea r8d, [rcx + 1]
mov dword [rsp + 0x20], ecx
xor r9d, r9d
vmovups ymmword [rax], ymm0
mov rcx, qword [rdi + rbp + 8]
mov qword [rsp + 0x48], rbx
vzeroupper
call qword [sym.imp.WS2_32.dll_WSASend]
mov rbx, qword [rsp + 0x60]
test eax, eax
je 0x140018aef
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x140018aef
mov ecx, esi
call fcn.140018bc0
mov rsi, qword [rsp + 0x70]
mov byte [rdi + rbp + 1], 0
mov rbp, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x140018b10
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
sub rsp, 0x50
lea r10, [0x146028d80]
movsxd rbx, ecx
imul rcx, rbx, 0x200168
xor r8d, r8d
mov eax, 0x100
mov qword [rsp + 0x30], r8
xor r9d, r9d
vpxor xmm0, xmm0, xmm0
mov edx, dword [rcx + r10 + 0x200110]
sub eax, edx
add rdx, rcx
mov dword [rsp + 0x40], eax
lea rax, [0x146028d90]
add rdx, rax
lea rax, [r10 + 0x200120]
mov qword [rsp + 0x48], rdx
add rax, rcx
lea rdx, [r10 + 0x200160]
mov qword [rsp + 0x28], rax
add rdx, rcx
mov qword [rsp + 0x20], rdx
mov dword [rdx], r8d
lea r8d, [r9 + 1]
vmovups ymmword [rax], ymm0
mov rcx, qword [rcx + r10 + 8]
lea rdx, [rsp + 0x40]
vzeroupper
call qword [sym.imp.WS2_32.dll_WSARecv]
test eax, eax
je 0x140018baf
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x140018baf
mov ecx, ebx
call fcn.140018bc0
add rsp, 0x50
pop rbx
ret
Function at 0x140021180
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x1400211b4
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x1400211a0
ret
Function at 0x140027b50
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140027c1c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x140027c1c
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 0x140027c35
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x140027c0c
cmp byte [rax], 0x5c
jne 0x140027c06
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x140027c06
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140027bf2
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x140027c03
test r8b, 0x10
jne 0x140027c06
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x140027c06
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140023670
test edi, edi
jne 0x140027b70
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.140023660
int3
Function at 0x14002d5e0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14002d7bf
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.14002cd60
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x14002d784
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x14]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x15]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x16]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x17]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14002d6fc
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14002d773
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x14002d739
mov r10, qword [rdx]
cmp r10, rax
je 0x14002d733
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x14002d773
cmp r9, rdx
je 0x14002d74f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x14002d799
cmp r9, rdx
jne 0x14002d740
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x14002d680
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x14002d773
lea rcx, str.invalid_hash_bucket_count
call fcn.140099420
int3

Function at 0x140038a10
Capabilities:
Hash data using fnv

Disassembly:
test r8, r8
jne 0x140038a19
mov rax, rcx
ret
movsx rax, byte [rdx]
movabs r9, 0x100000001b3
imul rcx, r9
dec r8
xor rcx, rax
inc rdx
jmp fcn.140038a10
Function at 0x14004a950
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x14004a981
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
je 0x14004a9fb
mov rdi, r14
mov rcx, rbx
call fcn.14001e6a0
test rax, rax
jle 0x14004a9d3
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.1400c42e0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14004a9eb
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x14004a9f3
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x14004a995
sub r14, rdi
jmp 0x14004aadf
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x14004aa12
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14004aa14
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14004aa46
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1400c42e0
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14004aadc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14004aa81
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x14004aabd
nop word [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.1400aebc4
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14004aadc
cmp rbp, rax
ja 0x14004aa90
test rbp, rbp
je 0x14004aadc
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.1400aebc4
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x30]
mov rax, r14
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14004f500
Capabilities:
Load windows common language runtime

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
cmp qword [0x14013b360], 0
jne 0x14004f5f2
xor ebx, ebx
lea r8, [rsp + 0x48]
lea rdx, [0x14010dfc8]
mov qword [rsp + 0x48], rbx
lea rcx, [0x14010dfb8]
call qword [sym.imp.mscoree.dll_CLRCreateInstance]
lea rdi, [0x14013b360]
test eax, eax
js 0x14004f5b5
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x40], rbx
lea r8, [0x14010dfa8]
lea rdx, str.v4.0.30319
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov ebx, eax
test eax, eax
js 0x14004f5a6
mov rcx, qword [rsp + 0x40]
lea r8, [0x14010df98]
mov r9, rdi
lea rdx, [0x14010df88]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov ebx, eax
test eax, eax
js 0x14004f59b
mov rcx, qword [0x14013b360]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x10]
test ebx, ebx
jns 0x14004f5f2
cmp qword [0x14013b360], 0
jne 0x14004f5f2
lea r9, [0x14010df98]
mov qword [rsp + 0x20], rdi
lea r8, [0x14010df88]
xor edx, edx
lea rcx, str.v2.0.50727
call qword [sym.imp.mscoree.dll_CorBindToRuntime]
test eax, eax
js 0x14004f5ff
mov rcx, qword [0x14013b360]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov al, 1
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
xor r9d, r9d
lea r8, [0x14010d8d8]
lea rdx, [0x14010d8f0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rbx, qword [rsp + 0x50]
xor al, al
add rsp, 0x30
pop rdi
ret