joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140096620
Capabilities:
Copy file

Disassembly:
push rdi
sub rsp, 0x80
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0xa0], rbx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbx, rdx
mov rdi, rcx
cmp qword [rcx + 0x10], 0
je 0x140096748
cmp qword [rdx + 0x10], 0
je 0x140096748
call fcn.1400120e0
test eax, eax
je 0x140096748
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.140096b10
nop
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.140096b10
nop
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
xor edi, edi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileExW]
test eax, eax
jne 0x1400966ed
call fcn.1400954f0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, eax
or rbx, rax
movabs rax, 0x932500000000
or rbx, rax
jmp 0x1400966f7
movabs rbx, 0x8000000000
cmp qword [rsp + 0x50], 8
jb 0x14009670a
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], rdi
mov word [rsp + 0x38], di
cmp qword [rsp + 0x70], 8
jb 0x140096730
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rdi
mov word [rsp + 0x58], di
mov rax, rbx
jmp 0x14009678b
mov edx, MsiPreviewDialogW
lea rcx, str..._file.cpp
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x140096764
inc rax
jmp 0x14009676b
lea rax, str..._file.cpp
mov rdx, rax
lea rcx, [0x14020c428]
call fcn.140005ff0
shl rax, 0x34
movabs rcx, 0x922500000057
or rax, rcx
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140108d90
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop rdi
ret
Function at 0x140096f10
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
push rsi
push rdi
push r14
sub rsp, 0x60
mov qword [r11 - 0x40], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rbp
mov rbp, r8
mov rsi, rcx
xor r14d, r14d
mov dword [r11 - 0x48], r14d
mov dword [r11 + 0x20], r14d
lea rdi, [0x14020c568]
mov rdx, rdi
cmp qword [0x14020c580], 8
cmovae rdx, qword [0x14020c568]
lea rax, [r11 + 0x20]
mov qword [r11 - 0x50], rax
mov qword [r11 - 0x58], r14
lea r9, [r11 - 0x48]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140097051
mov ecx, dword [rsp + 0x98]
test ecx, ecx
je 0x14009704c
mov eax, dword [rsp + 0x30]
dec eax
cmp eax, 1
ja 0x14009704c
mov byte [rsp + 0x88], r14b
lea rdx, [rcx + 2]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
lea r8, [rsp + 0x88]
lea rcx, [rsp + 0x40]
call fcn.1400640e0
nop
cmp qword [0x14020c580], 8
cmovae rdi, qword [0x14020c568]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
mov rbx, qword [rsp + 0x40]
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x14009702c
cmp word [rbx], ax
jne 0x140097011
mov r8d, r14d
jmp 0x140097020
or r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], 0
jne 0x140097015
mov rdx, rbx
mov rcx, rbp
call fcn.140007d00
nop
test rbx, rbx
je 0x140097048
mov rcx, rbx
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
mov eax, edi
jmp 0x140097051
mov eax, 0x65e
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1400ae6d0
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rcx, qword [rcx + 8]
cmp qword [rcx + 0x10], 2
jb 0x1400ae76d
cmp qword [rcx + 0x18], 8
jb 0x1400ae705
mov rax, qword [rcx]
jmp 0x1400ae708
mov rax, rcx
cmp word [rax + 2], 0x3a
jne 0x1400ae76d
mov r9d, 2
xor r8d, r8d
lea rdx, [rsp + 0x28]
call fcn.14000c580
nop
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
sete bl
cmp qword [rsp + 0x40], 8
jb 0x1400ae753
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x40], 7
xor eax, eax
mov qword [rsp + 0x38], rax
mov word [rsp + 0x28], ax
movzx eax, bl
jmp 0x1400ae76f
xor al, al
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140108d90
add rsp, 0x50
pop rbx
ret

Function at 0x1400afca0
Capabilities:
Reference sql statements

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x60
mov qword [r11 - 0x40], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, rcx
mov qword [r11 - 0x38], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
mov r8, rdx
lea rdx, str.SELECT_Component.ComponentId_FROM_Shortcut__Component_WHERE_Shortcut.Component___Component.Component_and_Shortcut.Target
lea rcx, [r11 - 0x30]
call fcn.14000d620
nop
lea r8, [0x140178008]
mov rdx, rax
mov rcx, rbx
call fcn.14000d5a0
mov dword [rsp + 0x20], 1
cmp qword [rsp + 0x50], 8
jb 0x1400afd11
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], rdi
mov word [rsp + 0x38], di
mov rax, rbx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140108d90
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x1400fc120
Capabilities:
Get system information on windows

Disassembly:
mov r11, rsp
sub rsp, 0x68
mov qword [r11 - 0x48], 0xfffffffffffffffe
mov eax, dword [0x14020ccc8]
test al, 1
jne 0x1400fc191
or eax, 1
mov dword [0x14020ccc8], eax
xor eax, eax
mov qword [r11 - 0x40], rax
mov qword [r11 - 0x38], rax
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x18], rax
lea rcx, [r11 - 0x40]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx ecx, word [rsp + 0x28]
test ecx, ecx
je 0x1400fc17e
mov eax, 2
xor edx, edx
cmp ecx, 9
cmovne eax, edx
jmp 0x1400fc183
mov eax, 1
cmp eax, 2
sete al
mov byte [0x14020cc28], al
jmp 0x1400fc198
movzx eax, byte [0x14020cc28]
add rsp, 0x68
ret
Function at 0x140101590
Capabilities:
Encode data using base64

Disassembly:
push rbx
push rdi
push r13
push r14
sub rsp, 0x28
mov r13, r9
mov rdi, r8
mov r14d, edx
mov rbx, rcx
test r8, r8
je 0x1401017a4
test r9, r9
je 0x1401017a4
mov ecx, edx
call fcn.140101500
cmp dword [r13], eax
jl 0x1401017a4
mov qword [rsp + 0x50], rbp
xor r8d, r8d
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x20], r15
mov eax, 0x55555556
mov esi, r8d
lea r10d, [r8 + 0x13]
mov r9d, r8d
imul r14d
mov r15d, edx
mov eax, 0x6bca1af3
lea rbp, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_..Base64Encoding.cpp
shr r15d, 0x1f
add r15d, edx
lea r12d, [r15*4]
imul r12d
mov r11d, edx
sar r11d, 5
mov eax, r11d
shr eax, 0x1f
add r11d, eax
js 0x1401016ea
cmp r8d, r11d
jne 0x140101644
imul ecx, r11d, 0x4c
mov eax, r12d
sub eax, ecx
cdq
and edx, 3
lea r10d, [rdx + rax]
sar r10d, 2
test r10d, r10d
jle 0x1401016d3
mov ebp, r10d
lea r12, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_..Base64Encoding.cpp
nop word [rax + rax]
movzx eax, byte [rbx + 2]
movzx ecx, byte [rbx + 1]
movzx edx, byte [rbx]
shl edx, 8
add rdi, 4
add rbx, 3
or edx, ecx
shl edx, 8
or edx, eax
shl edx, 8
mov eax, edx
shl edx, 6
shr eax, 0x1a
movzx ecx, al
movzx eax, byte [rcx + r12]
mov byte [rdi - 4], al
mov eax, edx
shl edx, 6
shr eax, 0x1a
movzx ecx, al
movzx eax, byte [rcx + r12]
mov byte [rdi - 3], al
mov eax, edx
shr eax, 0x1a
movzx ecx, al
movzx eax, byte [rcx + r12]
mov byte [rdi - 2], al
mov eax, edx
shr eax, 0x14
and eax, 0x3f
movzx eax, byte [rax + r12]
mov byte [rdi - 1], al
dec rbp
jne 0x140101660
lea r12d, [r15*4]
inc r9d
lea esi, [rsi + r10*4]
cmp r9d, r11d
jle 0x14010162d
lea rbp, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_..Base64Encoding.cpp
mov r12, qword [rsp + 0x60]
lea eax, [r15 + r15*2]
mov r15, qword [rsp + 0x20]
sub r14d, eax
je 0x140101786
lea r9d, [r14 + 1]
test r9d, r9d
je 0x140101786
test r14d, r14d
jle 0x14010171a
movzx r8d, byte [rbx]
inc rbx
shl r8d, 8
cmp r14d, 1
jle 0x14010172d
movzx eax, byte [rbx]
or r8d, eax
inc rbx
shl r8d, 8
cmp r14d, 2
jle 0x14010173d
movzx eax, byte [rbx]
or r8d, eax
shl r8d, 8
test r9d, r9d
jle 0x14010176c
mov edx, r9d
nop dword [rax]
mov eax, r8d
inc rdi
shl r8d, 6
shr eax, 0x1a
movzx ecx, al
movzx eax, byte [rcx + rbp]
mov byte [rdi - 1], al
dec rdx
jne 0x140101750
mov edx, 4
add esi, r9d
sub edx, r9d
test edx, edx
jle 0x140101784
mov ecx, edx
mov eax, 0x3d
rep stosb byte [rdi], al
add esi, edx
mov rbp, qword [rsp + 0x50]
mov dword [r13], esi
mov rsi, qword [rsp + 0x58]
mov eax, 1
add rsp, 0x28
pop r14
pop r13
pop rdi
pop rbx
ret
xor eax, eax
add rsp, 0x28
pop r14
pop r13
pop rdi
pop rbx
ret
Function at 0x1401025c0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rsi
mov rbx, rdx
lea rdi, [rcx + 8]
mov rcx, qword [rdi]
xor esi, esi
test rcx, rcx
je 0x1401025f3
mov qword [rdi], rsi
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x20], rdi
lea r9, [0x140149648]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140149668]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov rcx, qword [rdi]
mov qword [rsp + 0x50], rsi
test rcx, rcx
je 0x140102640
mov rax, qword [rcx]
lea r8, [rsp + 0x50]
lea rdx, [0x1401496c8]
call qword [rax]
mov rcx, qword [rsp + 0x50]
test eax, eax
cmovs rcx, rsi
mov qword [rsp + 0x50], rcx
mov rcx, qword [rsp + 0x50]
test rcx, rcx
jne 0x140102651
mov ebx, 0x80004002
jmp 0x140102669
cmp qword [rbx + 0x18], 8
jb 0x14010265b
mov rbx, qword [rbx]
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, rbx
call qword [rax + 0x28]
mov ebx, eax
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140102679
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140003060
Capabilities:
Write file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbp, qword [fcn.14006dbd0]
xor ebx, ebx
mov r12, rcx
mov rdi, rdx
test rdx, rdx
jle 0x1400030a2
nop
mov rsi, qword [r12 + rbx*8]
mov ecx, 1
add rbx, 1
call rbp
xor r8d, r8d
mov rcx, rax
mov rdx, rsi
call fcn.140002de0
cmp rbx, rdi
jne 0x140003080
mov ecx, 1
call rbp
mov r8d, 1
mov edx, 1
lea rcx, [0x1400701fc]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rbp
mov rcx, rax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp sub.msvcrt.dll_fflush

Function at 0x1400032c0
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
xor ebx, ebx
mov rbp, rcx
mov ecx, 0xfa0
call fcn.14000be00
mov rdi, rax
test rax, rax
je 0x1400033a5
lea r12, [rax + 0x10]
nop dword [rax]
mov rdx, qword [rdi]
test rdx, rdx
jg 0x140003303
sub rdx, 1
xor ecx, ecx
call fcn.14000d730
mov r9, rbp
mov r8d, 0xfa0
mov edx, 1
mov rcx, r12
call sub.msvcrt.dll_fread
mov rsi, rax
cmp rax, 0xfa0
je 0x1400033e0
mov rcx, rbp
call sub.msvcrt.dll_ferror
test eax, eax
jne 0x140003441
test rsi, rsi
js 0x140003428
mov rdx, rsi
mov rcx, rdi
call fcn.14000c4f0
mov rsi, rax
test rax, rax
je 0x140003410
mov rdx, qword [rax]
mov rcx, rbx
call fcn.14000ca50
lea rdx, [rsi + 0x10]
mov rbx, rax
mov rax, qword [rax]
lea rcx, [rbx + rax + 0x10]
mov rax, qword [rsi]
lea r8, [rax + 1]
call sub.msvcrt.dll_memcpy
mov rax, qword [rsi]
add qword [rbx], rax
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, rbx
xor edx, edx
call fcn.14000ca50
mov rbx, rax
mov rdx, 0xffffffffffffffff
xor ecx, ecx
call fcn.14000d730
mov r9, rbp
mov r8d, 0xfa0
mov edx, 1
mov ecx, 0x10
call sub.msvcrt.dll_fread
mov rsi, rax
cmp rax, 0xfa0
jne 0x140003328
jmp 0x140003398
mov rdx, qword [rdi]
mov rcx, rbx
call fcn.14000ca50
mov r8, qword [rdi]
mov rdx, r12
mov rbx, rax
mov rax, qword [rax]
add r8, 1
lea rcx, [rbx + rax + 0x10]
call sub.msvcrt.dll_memcpy
mov rax, qword [rdi]
add qword [rbx], rax
jmp 0x1400032f0
xor edx, edx
mov rcx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.14000ca50
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, rsi
call fcn.14000d590
jmp 0x140003341
mov rcx, rbp
call fcn.140002c60
nop
nop word [rax + rax]
Function at 0x140003450
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rdi, rcx
mov rsi, rdx
test rdx, rdx
js 0x140003590
mov rcx, rsi
call fcn.14000be00
mov rbx, rax
test rax, rax
je 0x1400035b8
mov rdx, qword [rax]
test rdx, rdx
jle 0x140003500
test rsi, rsi
js 0x140003514
lea rcx, [rbx + 0x10]
mov r9, rdi
mov r8, rsi
mov edx, 1
call sub.msvcrt.dll_fread
mov rcx, rdi
mov rbp, rax
cmp rsi, rax
je 0x140003530
call sub.msvcrt.dll_ferror
mov rcx, rdi
test eax, eax
jne 0x1400035f9
call sub.msvcrt.dll_fgetc
mov rdx, rdi
mov r12d, eax
mov ecx, eax
call sub.msvcrt.dll_ungetc
test r12d, r12d
jns 0x140003545
cmp rsi, rbp
jle 0x140003581
test rbp, rbp
js 0x1400035e0
mov rdx, rbp
mov rcx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.14000c4f0
sub rdx, 1
xor ecx, ecx
call fcn.14000d730
test rsi, rsi
jns 0x14000348e
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, rsi
call fcn.14000d590
jmp 0x14000348e
call sub.msvcrt.dll_fgetc
mov rdx, rdi
mov esi, eax
mov ecx, eax
call sub.msvcrt.dll_ungetc
test esi, esi
js 0x140003581
mov rcx, rdi
call fcn.1400032c0
mov rsi, rax
test rax, rax
je 0x1400035c8
mov rdx, qword [rax]
mov rcx, rbx
call fcn.14000ca50
lea rdx, [rsi + 0x10]
mov rbx, rax
mov rax, qword [rax]
lea rcx, [rbx + rax + 0x10]
mov rax, qword [rsi]
lea r8, [rax + 1]
call sub.msvcrt.dll_memcpy
mov rax, qword [rsi]
add qword [rbx], rax
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, rsi
call fcn.14000d590
mov rcx, rsi
call fcn.14000be00
mov rbx, rax
test rax, rax
jne 0x14000347d
mov rdx, 0xffffffffffffffff
jmp 0x140003504
xor edx, edx
mov rcx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.14000ca50
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, rbp
call fcn.14000d590
jmp 0x1400034ea
call fcn.140002c60
nop
nop
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
xor ecx, ecx
call qword [fcn.14006dbd0]
cmp rbx, rax
je 0x140003653
mov rsi, qword [0x14006f160]
mov rcx, rbx
call rsi
xor edx, edx
mov r8d, 2
mov rcx, rbx
mov rdi, rax
mov rbp, qword [0x14006f168]
call rbp
mov rcx, rbx
call rsi
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
mov rsi, rax
call rbp
test rsi, rsi
jg 0x140003668
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.1400032c0
mov rdx, rsi
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.140003450
Function at 0x140003600
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rdi, rcx
mov rsi, rdx
test rdx, rdx
js 0x140003590
mov rcx, rsi
call fcn.14000be00
mov rbx, rax
test rax, rax
je 0x1400035b8
mov rdx, qword [rax]
test rdx, rdx
jle 0x140003500
test rsi, rsi
js 0x140003514
lea rcx, [rbx + 0x10]
mov r9, rdi
mov r8, rsi
mov edx, 1
call sub.msvcrt.dll_fread
mov rcx, rdi
mov rbp, rax
cmp rsi, rax
je 0x140003530
call sub.msvcrt.dll_ferror
mov rcx, rdi
test eax, eax
jne 0x1400035f9
call sub.msvcrt.dll_fgetc
mov rdx, rdi
mov r12d, eax
mov ecx, eax
call sub.msvcrt.dll_ungetc
test r12d, r12d
jns 0x140003545
cmp rsi, rbp
jle 0x140003581
test rbp, rbp
js 0x1400035e0
mov rdx, rbp
mov rcx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.14000c4f0
sub rdx, 1
xor ecx, ecx
call fcn.14000d730
test rsi, rsi
jns 0x14000348e
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, rsi
call fcn.14000d590
jmp 0x14000348e
call sub.msvcrt.dll_fgetc
mov rdx, rdi
mov esi, eax
mov ecx, eax
call sub.msvcrt.dll_ungetc
test esi, esi
js 0x140003581
mov rcx, rdi
call fcn.1400032c0
mov rsi, rax
test rax, rax
je 0x1400035c8
mov rdx, qword [rax]
mov rcx, rbx
call fcn.14000ca50
lea rdx, [rsi + 0x10]
mov rbx, rax
mov rax, qword [rax]
lea rcx, [rbx + rax + 0x10]
mov rax, qword [rsi]
lea r8, [rax + 1]
call sub.msvcrt.dll_memcpy
mov rax, qword [rsi]
add qword [rbx], rax
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, rsi
call fcn.14000d590
mov rcx, rsi
call fcn.14000be00
mov rbx, rax
test rax, rax
jne 0x14000347d
mov rdx, 0xffffffffffffffff
jmp 0x140003504
xor edx, edx
mov rcx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.14000ca50
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, rbp
call fcn.14000d590
jmp 0x1400034ea
call fcn.140002c60
nop
nop
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
xor ecx, ecx
call qword [fcn.14006dbd0]
cmp rbx, rax
je 0x140003653
mov rsi, qword [0x14006f160]
mov rcx, rbx
call rsi
xor edx, edx
mov r8d, 2
mov rcx, rbx
mov rdi, rax
mov rbp, qword [0x14006f168]
call rbp
mov rcx, rbx
call rsi
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
mov rsi, rax
call rbp
test rsi, rsi
jg 0x140003668
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.1400032c0
mov rdx, rsi
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.140003450
Function at 0x140003d90
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
xor r8d, r8d
mov rsi, rcx
mov rbx, rdx
test rdx, rdx
je 0x140003daf
mov rcx, rdx
call sub.msvcrt.dll_strlen
mov r8, rax
mov rcx, rbx
mov r9, rsi
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp sub.msvcrt.dll_fflush

Function at 0x140003e60
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 2
call qword [fcn.14006dbd0]
mov r8d, 0x4b
mov edx, 1
lea rcx, str._GC__cannot_register_thread_local_variable__too_many_thread_local_variables
mov rbx, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, rbx
call sub.msvcrt.dll_fflush
mov ecx, 1
call sub.msvcrt.dll_exit
nop
ret

Function at 0x140011f50
Capabilities:
Encode data using xor

Disassembly:
xor edx, edx
test rcx, rcx
je 0x140011fab
mov r9, qword [rcx]
add rcx, 0x10
xor eax, eax
lea r8, [rcx + r9]
test r9, r9
jle 0x140011fab
nop dword [rax]
movzx edx, byte [rcx]
add rcx, 1
add rdx, rax
mov rax, rdx
shl rax, 0xa
add rax, rdx
mov rdx, rax
shr rdx, 6
xor rax, rdx
cmp r8, rcx
jne 0x140011f70
lea rdx, [rax + rax*8]
mov rax, rdx
shr rax, 0xb
xor rax, rdx
mov rdx, rax
shl rdx, 0xf
add rdx, rax
mov rax, rdx
ret
Function at 0x140013d40
Capabilities:
Hash data using murmur3

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
xor ebx, ebx
xor r13d, r13d
mov rdi, rdx
sar rdx, 0x3f
mov rbp, rcx
shr rdx, 0x3e
mov r12, rdi
lea rsi, [rdi - 1]
lea rax, [rdi + rdx]
and eax, 3
sub rax, rdx
sub r12, rax
cmp rdi, 3
jle 0x140013eb0
nop dword [rax]
cmp rdi, rbx
jle 0x140013e70
mov eax, dword [rbp + rbx]
add rbx, 4
imul eax, eax, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, r13d
rol eax, 0xd
lea r13d, [rax + rax*4 - 0x19ab949c]
cmp rbx, r12
jl 0x140013d88
mov rax, rdi
xor ebx, ebx
sar rax, 0x3f
shr rax, 0x3e
lea r14, [rdi + rax]
and r14d, 3
sub r14, rax
test r14, r14
jle 0x140013e2c
lea rsi, [rdi - 1]
jmp 0x140013df5
test r15, r15
js 0x140013e02
movzx eax, byte [rbp + r15]
shl ebx, 8
or ebx, eax
test r14, r14
je 0x140013e1d
sub r14, 1
lea r15, [r12 + r14]
cmp r15, rdi
jl 0x140013de0
mov rdx, rsi
mov rcx, r15
shl ebx, 8
call fcn.14000d730
movzx eax, byte [rbp + r15]
or ebx, eax
test r14, r14
jne 0x140013df5
imul ebx, ebx, 0xcc9e2d51
rol ebx, 0xf
imul ebx, ebx, 0x1b873593
xor r13d, edi
mov eax, r13d
xor eax, ebx
mov r13d, eax
shr r13d, 0x10
xor r13d, eax
imul r13d, r13d, 0x85ebca6b
mov edx, r13d
shr edx, 0xd
xor edx, r13d
imul edx, edx, 0xc2b2ae35
mov eax, edx
shr eax, 0x10
xor eax, edx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rbx
mov rdx, rsi
call fcn.14000d730
mov eax, dword [rbp + rbx]
add rbx, 4
imul eax, eax, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, r13d
rol eax, 0xd
lea r13d, [rax + rax*4 - 0x19ab949c]
cmp r12, rbx
jg 0x140013d88
jmp 0x140013dbb
xor r12d, r12d
jmp 0x140013dbb
push rbx
sub rsp, 0x20
xor edx, edx
mov rbx, rcx
test rcx, rcx
je 0x140013edb
mov rdx, qword [rcx]
test rdx, rdx
js 0x140013ef0
add rbx, 0x10
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x140013d40
lea rax, [rdx - 1]
mov r8, rdx
xor ecx, ecx
mov rdx, rax
call fcn.1400101c0
mov rdx, qword [rbx]
jmp 0x140013ed7
Function at 0x140013ec0
Capabilities:
Hash data using murmur3

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
xor ebx, ebx
xor r13d, r13d
mov rdi, rdx
sar rdx, 0x3f
mov rbp, rcx
shr rdx, 0x3e
mov r12, rdi
lea rsi, [rdi - 1]
lea rax, [rdi + rdx]
and eax, 3
sub rax, rdx
sub r12, rax
cmp rdi, 3
jle 0x140013eb0
nop dword [rax]
cmp rdi, rbx
jle 0x140013e70
mov eax, dword [rbp + rbx]
add rbx, 4
imul eax, eax, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, r13d
rol eax, 0xd
lea r13d, [rax + rax*4 - 0x19ab949c]
cmp rbx, r12
jl 0x140013d88
mov rax, rdi
xor ebx, ebx
sar rax, 0x3f
shr rax, 0x3e
lea r14, [rdi + rax]
and r14d, 3
sub r14, rax
test r14, r14
jle 0x140013e2c
lea rsi, [rdi - 1]
jmp 0x140013df5
test r15, r15
js 0x140013e02
movzx eax, byte [rbp + r15]
shl ebx, 8
or ebx, eax
test r14, r14
je 0x140013e1d
sub r14, 1
lea r15, [r12 + r14]
cmp r15, rdi
jl 0x140013de0
mov rdx, rsi
mov rcx, r15
shl ebx, 8
call fcn.14000d730
movzx eax, byte [rbp + r15]
or ebx, eax
test r14, r14
jne 0x140013df5
imul ebx, ebx, 0xcc9e2d51
rol ebx, 0xf
imul ebx, ebx, 0x1b873593
xor r13d, edi
mov eax, r13d
xor eax, ebx
mov r13d, eax
shr r13d, 0x10
xor r13d, eax
imul r13d, r13d, 0x85ebca6b
mov edx, r13d
shr edx, 0xd
xor edx, r13d
imul edx, edx, 0xc2b2ae35
mov eax, edx
shr eax, 0x10
xor eax, edx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rbx
mov rdx, rsi
call fcn.14000d730
mov eax, dword [rbp + rbx]
add rbx, 4
imul eax, eax, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, r13d
rol eax, 0xd
lea r13d, [rax + rax*4 - 0x19ab949c]
cmp r12, rbx
jg 0x140013d88
jmp 0x140013dbb
xor r12d, r12d
jmp 0x140013dbb
push rbx
sub rsp, 0x20
xor edx, edx
mov rbx, rcx
test rcx, rcx
je 0x140013edb
mov rdx, qword [rcx]
test rdx, rdx
js 0x140013ef0
add rbx, 0x10
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x140013d40
lea rax, [rdx - 1]
mov r8, rdx
xor ecx, ecx
mov rdx, rax
call fcn.1400101c0
mov rdx, qword [rbx]
jmp 0x140013ed7

Function at 0x140024510
Capabilities:
Encode data using xor

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, qword [rcx]
mov rdi, qword [rcx + 8]
mov rbx, rsi
cmp rdi, rsi
jge 0x140024532
lea rcx, [0x140072d60]
call fcn.140001cb0
sub rdi, rsi
mov r8, rdi
je 0x140024599
mov r9, qword [0x1400ac140]
mov rcx, qword [0x1400ac148]
cmp rdi, 0xffffffffffffffff
je 0x1400245a8
mov rax, 0xffffffffffffffff
xor edx, edx
div rdi
lea rax, [rcx + r9]
xor rcx, r9
ror r9, 9
mov rdi, rdx
mov r10, rcx
xor r9, rcx
ror rcx, 0x1c
shl r10, 0xe
xor r9, r10
add rdi, rax
jb 0x14002455a
add r8, 1
xor edx, edx
mov qword [0x1400ac140], r9
div r8
mov qword [0x1400ac148], rcx
lea rbx, [rdx + rsi]
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov rax, r9
mov rdx, r9
add r9, rcx
xor rax, rcx
ror rdx, 9
lea rbx, [r9 + rsi]
mov r8, rax
xor rdx, rax
ror rax, 0x1c
shl r8, 0xe
mov qword [0x1400ac148], rax
mov rax, rbx
xor rdx, r8
mov qword [0x1400ac140], rdx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret