joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400190b0
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 0x1400190f4
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x1400190e0
ret
Function at 0x14001dfe0
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 0x14001e0c3
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14001e0c3
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 0x14001e0e1
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 0x14001e0b3
cmp word [rax], 0x5c
jne 0x14001e0ac
lea rdx, [rax + 2]
cmp rdx, rcx
je 0x14001e0ac
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14001e097
movzx ecx, word [rdx]
sub cx, 0x28
cmp cx, 1
jbe 0x14001e0a9
test r8b, 0x10
jne 0x14001e0ac
movzx ecx, word [rdx]
sub cx, 0x7b
test bp, cx
jne 0x14001e0ac
mov rax, rdx
add rax, 2
mov qword [rbx], rax
mov rcx, rbx
call fcn.14001a140
test edi, edi
jne 0x14001e010
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
call fcn.14001a130
int3
Function at 0x140032180
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x14007c040]
xor rax, rsp
mov qword [rsp + 0x88], rax
xor edi, edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], r8
mov r9, rdx
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx + 0x80]
call qword [0x14007f1e8]
mov rbx, rax
test rax, rax
jne 0x14003230d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.14002c620
nop
lea r8, [0x14007f620]
cmp qword [0x14007f638], 7
cmova r8, qword [0x14007f620]
mov r9, qword [0x14007f630]
mov rcx, rax
call fcn.140007880
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea r8, [0x14007f400]
cmp qword [0x14007f418], 7
cmova r8, qword [0x14007f400]
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova rdx, qword [rsp + 0x48]
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x1400322b5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400322b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140032356
call fcn.140034cb0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], di
mov rdx, qword [rsp + 0x80]
cmp rdx, 7
jbe 0x140032309
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140032304
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140032350
call fcn.140034cb0
xor al, al
jmp 0x14003232f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140034c90
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rdi
ret
call fcn.14003bcb4
nop
call fcn.14003bcb4
nop
int3
Function at 0x1400359bc
Capabilities:
Parse pe header

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

Function at 0x140041740
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x14007c040]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, [0x1400612e8]
mov rbp, rcx
call fcn.14004edb0
xor edi, edi
test rax, rax
je 0x140041826
mov ebx, edi
call fcn.1400421b4
mov r14d, dword [rax]
call fcn.1400421b4
mov r8d, 0x104
lea rcx, [rsp + 0x30]
mov rdx, rbp
mov dword [rax], edi
call fcn.14004ecfc
mov rsi, rax
test rax, rax
je 0x1400417b7
call fcn.1400421b4
mov dword [rax], r14d
jmp 0x1400417e1
call fcn.1400421b4
cmp dword [rax], 0x22
jne 0x14004181e
call fcn.1400421b4
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.14004ecfc
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x14004181e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x1400417e5
cmp rax, 3
je 0x140041800
mov rcx, rsi
call fcn.14004169c
test al, al
je 0x140041811
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x140041811
mov dil, 1
mov rcx, rbx
call fcn.1400400cc
mov al, dil
jmp 0x140041828
mov rcx, rbx
call fcn.1400400cc
xor al, al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140034c90
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x140041b60
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400419cb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400419cb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400419cb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400419cb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400419cb
cmp dword [rcx + 0x84], 0xe
jbe 0x1400419cb
cmp dword [rcx + 0xf8], 0
je 0x1400419cb
mov ecx, ebx
call fcn.140041a7c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140041858
nop
cmp dword [rbp + 0x20], 0
je 0x140041a19
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140041a24
int3
xor r8d, r8d
xor edx, edx
jmp 0x14004195c
Function at 0x140041ff8
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x14004202f
call fcn.1400421b4
mov dword [rax], SafeArrayUnaccessData
call fcn.14003bc94
xor eax, eax
jmp 0x1400420bd
mov rdx, r9
mov rcx, r8
call fcn.140041f94
mov rbx, rax
test rax, rax
je 0x1400420ba
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x140041ec0]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x1400420a7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140042128
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14004208e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14004209d
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.14004b2e8
jmp 0x1400420ba
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400420b7
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x140052640
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400526c7
mov rsi, rbx
cmp word [rax], bp
je 0x140052686
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140052670
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14005266c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14004b324
mov rdi, rax
test rax, rax
je 0x1400526b4
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140059d50
mov rbp, rdi
xor ecx, ecx
call fcn.14004b2e8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140055258
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.14004af88
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x1400552f9
cmp ebx, dword [rsp + 0x30]
je 0x1400552f2
test esi, esi
je 0x1400552f2
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1400552cd
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1400552da
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1400552b7
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1400552de
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400552fb
mov eax, 1
jmp 0x1400552fb
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140057140
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x14007c040]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x14005718a
call fcn.140042194
mov dword [rax], reloc.OLEAUT32.dll_SafeArrayDestroy
call fcn.1400421b4
mov dword [rax], SafeArrayDestroy
call fcn.14003bc94
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140034c90
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x140057195
lea eax, [rbx + 1]
jmp 0x140057177
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x140057175
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x140057177

Function at 0x1400595c0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400595e8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400595e8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400297c0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1400aa140]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rsi, rcx
mov r8, qword [rcx]
mov r8d, dword [r8 + 0x98]
lea rdx, [rsp + 0x20]
lea rcx, [0x1400af1d8]
call fcn.14002b040
nop
cmp byte [rsp + 0x40], 0
je 0x140029937
mov rsi, qword [rsi + 8]
add rsi, 0x1a0
mov r8d, 0xfde9
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.140046250
mov r10, rax
mov r8, qword [rax + 0x10]
mov rdx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x14002983f
mov rdx, qword [rax]
movabs rbx, 0xcbf29ce484222325
xor ecx, ecx
test r8, r8
je 0x140029873
movabs r9, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor rbx, rax
imul rbx, r9
inc rcx
cmp rcx, r8
jb 0x140029860
mov r9, rbx
mov r8, r10
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.14001d7d0
mov rdi, qword [rax + 8]
test rdi, rdi
je 0x1400298fd
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 0x1400298c6
cmp rax, rdi
jne 0x1400298bc
mov rax, qword [rsi + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x1400298d1
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
jmp 0x1400298d1
cmp rax, rdi
jne 0x1400298d1
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.14000b520
mov edx, 0x40
mov rcx, rdi
call fcn.1400748b0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x140029937
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029931
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002996a
call fcn.1400748b0
nop
cmp byte [rsp + 0x40], 0
je 0x140029948
lea rcx, [rsp + 0x20]
call fcn.14000d120
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400749d0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.140078a60
nop
add rcx, 8
jmp 0x1400297c0
Function at 0x140030310
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 0x1400303f3
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x1400303f3
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 0x140030411
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 0x1400303e3
cmp word [rax], 0x5c
jne 0x1400303dc
lea rdx, [rax + 2]
cmp rdx, rcx
je 0x1400303dc
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x1400303c7
movzx ecx, word [rdx]
sub cx, 0x28
cmp cx, 1
jbe 0x1400303d9
test r8b, 0x10
jne 0x1400303dc
movzx ecx, word [rdx]
sub cx, 0x7b
test bp, cx
jne 0x1400303dc
mov rax, rdx
add rax, 2
mov qword [rbx], rax
mov rcx, rbx
call fcn.1400346a0
test edi, edi
jne 0x140030340
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.140032590
int3
Function at 0x1400308e0
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 [0x1400aa140]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rsi, rcx
mov r8, qword [rcx]
mov r8d, dword [r8 + 0x98]
lea rdx, [rsp + 0x20]
lea rcx, [0x1400af1d8]
call fcn.14002b040
nop
cmp byte [rsp + 0x40], 0
je 0x140029937
mov rsi, qword [rsi + 8]
add rsi, 0x1a0
mov r8d, 0xfde9
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.140046250
mov r10, rax
mov r8, qword [rax + 0x10]
mov rdx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x14002983f
mov rdx, qword [rax]
movabs rbx, 0xcbf29ce484222325
xor ecx, ecx
test r8, r8
je 0x140029873
movabs r9, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor rbx, rax
imul rbx, r9
inc rcx
cmp rcx, r8
jb 0x140029860
mov r9, rbx
mov r8, r10
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.14001d7d0
mov rdi, qword [rax + 8]
test rdi, rdi
je 0x1400298fd
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 0x1400298c6
cmp rax, rdi
jne 0x1400298bc
mov rax, qword [rsi + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x1400298d1
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
jmp 0x1400298d1
cmp rax, rdi
jne 0x1400298d1
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.14000b520
mov edx, 0x40
mov rcx, rdi
call fcn.1400748b0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x140029937
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029931
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002996a
call fcn.1400748b0
nop
cmp byte [rsp + 0x40], 0
je 0x140029948
lea rcx, [rsp + 0x20]
call fcn.14000d120
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400749d0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.140078a60
nop
add rcx, 8
jmp 0x1400297c0
Function at 0x140030e20
Capabilities:
Hash data using fnv

Disassembly:
mov rcx, qword [rcx + 8]
mov rdx, qword [rcx + 0xa0]
mov ecx, dword [rcx + 0x98]
jmp 0x140051910
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rdi, rdx
mov ebx, ecx
lea r14, [0x1400af720]
mov qword [rbp - 0x20], r14
mov byte [rbp - 0x18], 0
mov rcx, r14
call fcn.140055c1c
test eax, eax
jne 0x140051ac0
cmp dword [0x1400af76c], 0x7fffffff
je 0x140051acb
mov byte [rbp - 0x18], 1
lea r8, [0x1400af6e0]
mov qword [rbp - 0x10], r8
movzx edx, bl
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movabs rcx, 0x100000001b3
imul rdx, rcx
movzx eax, byte [rbp + 0x21]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rbp + 0x22]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rbp + 0x23]
xor rdx, rax
imul rdx, rcx
mov rcx, qword [0x1400af710]
and rcx, rdx
shl rcx, 4
add rcx, qword [0x1400af6f8]
mov rax, qword [rcx + 8]
mov rdx, qword [0x1400af6e8]
cmp rax, rdx
je 0x1400519e6
mov rcx, qword [rcx]
cmp ebx, dword [rax + 0x10]
je 0x1400519e8
cmp rax, rcx
je 0x1400519e6
mov rax, qword [rax + 8]
cmp ebx, dword [rax + 0x10]
jne 0x1400519d6
jmp 0x1400519e8
xor eax, eax
test rax, rax
je 0x140051a88
cmp rax, rdx
je 0x140051a88
lea rdx, [rbp + 0x20]
mov rcx, r8
call fcn.140052b10
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x38], 1
mov eax, dword [rbp - 0x3c]
mov dword [rbp - 0x34], eax
mov qword [rbp - 0x30], rdi
mov ecx, 0x18
call fcn.140074874
test rax, rax
je 0x140051a3b
movups xmm0, xmmword [rbp - 0x40]
movups xmmword [rax], xmm0
movsd xmm1, qword [rbp - 0x30]
movsd qword [rax + 0x10], xmm1
mov qword [rbp + 0x30], rax
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14004b330]
xor edx, edx
xor ecx, ecx
call sub.msvcrt.dll__beginthreadex
mov qword [rbp - 0x50], rax
test rax, rax
je 0x140051aae
cmp dword [rbp - 0x48], 0
je 0x140051aa3
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x40], xmm0
lea rcx, [rbp - 0x40]
call fcn.14005625c
test eax, eax
jne 0x140051aa3
mov rcx, r14
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop r14
pop rdi
pop rbp
jmp fcn.140055c40
mov ecx, 1
call fcn.140055eb4
nop
mov dword [rbp - 0x48], 0
mov ecx, 6
call fcn.140055eb4
nop
mov ecx, 5
call fcn.140055eb4
int3
mov dword [0x1400af76c], 0x7ffffffe
mov ecx, 6
call fcn.140055eb4
int3
Function at 0x140035800
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 0x140035844
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140035830
ret
Function at 0x14003a8b0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
xor ebx, ebx
movabs rbp, 0x7fffffffffffffff
movabs r14, 0x7ffffffffd050f7f
nop
mov rcx, rsi
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x14003a928
lea rcx, [rsp + 0x58]
call fcn.140037b50
mov rax, qword [rsp + 0x58]
cmp rax, r14
jge 0x14003a90e
add rax, 0x2faf080
mov qword [rsp + 0x50], rax
jmp 0x14003a913
mov qword [rsp + 0x50], rbp
lea rcx, [rsp + 0x50]
call fcn.140022120
inc ebx
cmp ebx, 0xa
jl 0x14003a8e0
xor al, al
jmp 0x14003a997
mov rdx, qword [rdi + 0x10]
lea rbx, [rdi + 0x10]
mov ecx, 2
lea rdx, [rdx*2 + 2]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp qword [rdi + 0x18], 7
mov rsi, rax
jbe 0x14003a950
mov rdi, qword [rdi]
mov rcx, qword [rbx]
lea rbx, [rcx*2 + 2]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r8, rbx
mov rdx, rdi
mov rcx, rax
call sub.msvcrt.dll_memcpy
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, rsi
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetClipboardData]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov al, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x14003b540
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 0x14003b571
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 0x14003b5eb
mov rdi, r14
mov rcx, rbx
call fcn.140033090
test rax, rax
jle 0x14003b5c3
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call sub.msvcrt.dll_memcpy
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 0x14003b5db
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x14003b5e3
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x14003b585
sub r14, rdi
jmp 0x14003b6cf
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x14003b602
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14003b604
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14003b636
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call sub.msvcrt.dll_memcpy
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 0x14003b6cc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14003b671
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 0x14003b6ad
nop word [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call sub.msvcrt.dll_fread
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14003b6cc
cmp rbp, rax
ja 0x14003b680
test rbp, rbp
je 0x14003b6cc
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call sub.msvcrt.dll_fread
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