joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140020e70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov rdi, qword [rcx]
test rdi, rdi
je 0x140020ec2
mov r11, qword [rsi + 8]
mov r9, qword [rsi + 0x10]
cmp r9, r11
jae 0x140020ec2
movzx eax, byte [rdi + r9]
cmp eax, 0x49
je 0x140020edd
cmp eax, 0x42
jne 0x140020ec2
lea rcx, [r9 + 1]
mov qword [rsi + 0x10], rcx
cmp rcx, r11
jae 0x140020f1a
cmp byte [rdi + rcx], 0x5f
jne 0x140020f1a
lea rax, [r9 + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x140021012
mov rcx, rsi
xor edx, edx
call fcn.14001bf30
mov edi, eax
add dil, dil
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
inc r9
mov qword [rsi + 0x10], r9
mov rcx, rsi
xor edx, edx
call fcn.14001bf30
test al, al
jne 0x140020f15
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140020f8c
lea rdx, [0x141094e23]
mov r8d, 1
call fcn.140016cb0
test al, al
je 0x140020f8c
mov dil, 2
jmp 0x140020ed1
xor eax, eax
mov r10d, 0x3e
nop word cs:[rax + rax]
mov r8b, 1
cmp rcx, r11
jae 0x14002106c
movzx edx, byte [rdi + rcx]
cmp dl, 0x5f
je 0x140021006
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x140020f6f
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x140020f5e
add dl, 0xa9
jmp 0x140020f6d
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x14002106c
add dl, 0xe3
mov ebx, edx
inc rcx
mov qword [rsi + 0x10], rcx
mul r10
jo 0x14002106c
movzx edx, bl
add rax, rdx
jae 0x140020f30
jmp 0x14002106c
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x140020ed1
xor ebx, ebx
lea r14, [0x1410951fe]
nop word cs:[rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x140020fc4
cmp byte [rax + rcx], 0x45
je 0x1400210cd
sub rbx, 1
jb 0x140020fe9
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140020fe9
mov r8d, 2
mov rdx, r14
call fcn.140016cb0
test al, al
jne 0x140020f15
mov rcx, rsi
call fcn.1400210e0
test al, al
jne 0x140020f15
mov rax, qword [rsi]
test rax, rax
jne 0x140020fb0
jmp 0x140020ed1
inc rcx
mov qword [rsi + 0x10], rcx
inc rax
je 0x14002106c
cmp rax, r9
jae 0x140021069
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x1400210bd
cmp qword [rsi + 0x20], 0
je 0x1400210b6
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsi + 0x10], rax
mov dword [rsi + 0x18], ecx
mov rcx, rsi
call fcn.140020e70
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x140020ed3
mov r8b, 1
xor ebx, ebx
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1400210ac
lea rax, [0x1410951c9]
lea rdx, [0x1410951b0]
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
or r8, 0x10
call fcn.140016cb0
mov dil, 2
test al, al
jne 0x140020ed1
mov qword [rsi], 0
mov byte [rsi + 8], bl
xor edi, edi
jmp 0x140020ed1
mov bl, 1
xor r8d, r8d
mov rcx, qword [rsi + 0x20]
test rcx, rcx
jne 0x140021077
jmp 0x1400210ac
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x140020ed1
Function at 0x140028db0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
movzx ebx, byte [rdx + 0x38]
xor r15d, r15d
cmp bl, 1
setne dl
mov eax, 0
sbb eax, eax
mov r14, rcx
or al, dl
movzx ecx, al
cmp cl, 0xff
je 0x140028de3
test ecx, ecx
jne 0x140028e32
movzx r15d, byte [rdi + 0x3a]
cmp al, 0xff
je 0x140028df0
test ecx, ecx
jne 0x140028e32
mov rcx, rdi
call fcn.140028c90
movzx r10d, al
test bl, bl
jne 0x140028e39
lea rax, [rdi + 0x10]
xor esi, esi
cmp byte [rdi + 0x10], 6
cmove rax, rsi
je case.0x140028e26.2
movzx ecx, byte [rax]
mov esi, 6
lea rdx, [0x140028fac]
movsxd rcx, dword [rdx + rcx*4]
add rcx, rdx
jmp rcx
mov rsi, qword [rax + 0x10]
add rsi, 4
jmp case.0x140028e26.2
xor r10d, r10d
test bl, bl
je 0x140028e00
xor esi, esi
movzx eax, r15b
lea rcx, [r10 + rax]
add rcx, rsi
mov rdx, qword [rdi + 8]
cmp rdx, rcx
jb 0x140028f8e
mov r11, qword [rdi]
lea r9, [r11 + rcx]
movzx r8d, byte [rdi + 0x10]
cmp rdx, rcx
jne 0x140028e6b
xor edi, edi
jmp 0x140028ee8
add rsi, r10
add rsi, rax
sub rsi, rdx
inc rsi
lea rax, [rdx + r11]
dec rax
xor edi, edi
cmp r8b, 3
jae 0x140028eb0
nop word cs:[rax + rax]
cmp byte [rax], 0x5c
je 0x140028ecb
inc rsi
dec rax
cmp rsi, 1
jne 0x140028e90
jmp 0x140028ee8
movzx ebx, byte [rax]
cmp ebx, 0x2f
je 0x140028ecb
cmp ebx, 0x5c
je 0x140028ecb
inc rsi
dec rax
cmp rsi, 1
jne 0x140028eb0
jmp 0x140028ee8
neg rsi
add rcx, rsi
inc rcx
cmp rdx, rcx
jb 0x140028f9c
add r11, rcx
mov edi, 1
mov r9, r11
sub rdx, rcx
je 0x140028f12
mov al, 9
cmp rdx, 2
je 0x140028f16
cmp rdx, 1
jne 0x140028f26
cmp byte [r9], 0x2e
jne 0x140028f26
xor eax, eax
cmp r8b, 3
setae al
lea eax, [rax + rax*2]
add eax, 7
jmp 0x140028f26
mov al, 0xa
jmp 0x140028f26
cmp byte [r9], 0x2e
jne 0x140028f26
cmp byte [r9 + 1], 0x2e
sete al
xor al, 9
add rdi, rdx
mov qword [r14], rdi
mov qword [r14 + 8], r9
mov qword [r14 + 0x10], rdx
mov byte [r14 + 0x18], al
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, qword [rax + 0x10]
mov rax, qword [rax + 0x20]
lea rdx, [rax + 1]
test rax, rax
cmove rdx, rax
lea rsi, [rcx + rdx]
add rsi, 8
jmp case.0x140028e26.2
mov rcx, qword [rax + 0x10]
mov rax, qword [rax + 0x20]
lea rdx, [rax + 1]
test rax, rax
cmove rdx, rax
lea rsi, [rcx + rdx]
add rsi, 2
jmp case.0x140028e26.2
mov esi, 2
jmp case.0x140028e26.2
lea r8, [0x141096d68]
call fcn.140050e70
ud2
lea r8, [0x141096d80]
call fcn.140050e70
ud2
Function at 0x140038d50
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov r14, rcx
lea rcx, [rbp - 0x30]
call fcn.14002cb10
mov rdi, qword [rbp - 0x28]
test rdi, rdi
je 0x140038da3
mov rbx, qword [rbp - 0x30]
mov rsi, qword [rbp - 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140038e1c
mov qword [r14], rbx
mov qword [r14 + 8], rdi
mov qword [r14 + 0x10], rsi
jmp 0x140038e11
mov rdx, qword [rbp - 0x30]
mov eax, edx
and eax, 3
cmp eax, 1
jne 0x140038e09
lea rax, [rdx - 1]
mov qword [rbp - 0x18], rax
mov rcx, qword [rdx - 1]
mov qword [rbp - 0x10], rdx
mov rax, qword [rdx + 7]
call qword [rax]
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 7]
cmp qword [rax + 8], 0
mov rsi, qword [rbp - 0x18]
je 0x140038df7
mov r8, qword [rsi]
cmp qword [rax + 0x10], 0x11
jb 0x140038de8
mov r8, qword [r8 - 8]
mov rcx, qword [0x1410a8bd0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x1410a8bd0]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [r14 + 8], 0
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov qword [r14 + 8], 0
test rbx, rbx
je 0x140038e11
mov rcx, qword [0x1410a8bd0]
xor edx, edx
mov r8, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
jmp qword [sym.imp.KERNEL32.dll_HeapFree]
Function at 0x14003b3e0
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x60
lea rbp, [rsp + 0x60]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
mov rbx, rdx
mov r14, rcx
mov qword [rbp - 0x28], rdx
mov qword [rbp - 0x20], r8
mov rcx, qword [0x1410a8bd0]
test rcx, rcx
jne 0x14003b42d
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x14003b4ec
mov rcx, rax
mov qword [0x1410a8bd0], rax
mov r8d, 0x10
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x14003b4ec
mov rsi, rax
mov qword [rax], rbx
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x14003b910]
xor edi, edi
xor ecx, ecx
mov rdx, r14
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x14003b4de
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
mov qword [rbp - 0x18], rsi
call qword [rax]
mov rsi, qword [rbp - 0x18]
mov rax, qword [rsi + 8]
cmp qword [rax + 8], 0
je 0x14003b4b7
mov r8, qword [rsi]
cmp qword [rax + 0x10], 0x11
jb 0x14003b4a8
mov r8, qword [r8 - 8]
mov rcx, qword [0x1410a8bd0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x1410a8bd0]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov edi, 1
mov rax, rdi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov byte [rbp - 9], 1
mov ecx, 0x10
mov edx, 8
call fcn.140050ce0
ud2
Function at 0x14003bdf0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov eax, 0x1098
call fcn.140043240
sub rsp, rax
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x1000], xmm6
mov qword [rbp + 0xff8], 0xfffffffffffffffe
mov rsi, rdx
mov rbx, rcx
mov qword [rbp + 0xfb0], rcx
mov qword [rbp + 0xfb8], rdx
lea rdi, [rbp - 0x50]
mov r8d, 0x1000
mov rcx, rdi
xor edx, edx
call fcn.140044170
mov dword [rbp + 0xfe8], 0
xorps xmm6, xmm6
movaps xmmword [rbp + 0xfc0], xmm6
mov qword [rbp + 0xfd0], 0
lea rax, [rbp + 0xfe8]
mov qword [rbp + 0xfd8], rax
lea r13, [0x140031460]
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0xfc0]
mov qword [rbp + 0xfe0], rbx
mov rcx, rbx
mov rdx, rdi
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_ReadFileEx]
test eax, eax
je 0x14003bff5
mov r14, qword [sym.imp.KERNEL32.dll_SleepEx]
mov r15d, 0xffffffff
lea rbx, [rbp + 0xfc0]
mov ecx, 0xffffffff
mov edx, 1
call r14
cmp dword [rbp + 0xfe8], 1
jne 0x14003bec0
cmp dword [rbp + 0xfec], 0
jne 0x14003bffb
mov eax, dword [rbp + 0xff0]
test rax, rax
je 0x14003bffb
cmp eax, 0x1000
ja 0x14003c046
xor edi, edi
nop
cmp rdi, rax
ja 0x14003c02b
lea rdx, [rdi + rbp]
add rdx, 0xffffffffffffffb0
mov r12, rax
mov r8, rax
sub r8, rdi
cmp r8, r15
cmovae r8, r15
mov dword [rbp + 0xfe8], 0
movaps xmmword [rbp + 0xfc0], xmm6
mov qword [rbp + 0xfd0], 0
lea rax, [rbp + 0xfe8]
mov qword [rbp + 0xfd8], rax
mov qword [rsp + 0x20], r13
mov rcx, rsi
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_WriteFileEx]
test eax, eax
je 0x14003bff5
nop word cs:[rax + rax]
mov ecx, 0xffffffff
mov edx, 1
call r14
cmp dword [rbp + 0xfe8], 1
jne 0x14003bf70
cmp dword [rbp + 0xfec], 0
jne 0x14003bffb
mov eax, dword [rbp + 0xff0]
add rdi, rax
mov rax, r12
cmp rdi, r12
jne 0x14003bf00
mov dword [rbp + 0xfe8], 0
movaps xmmword [rbp + 0xfc0], xmm6
mov qword [rbp + 0xfd0], 0
lea rax, [rbp + 0xfe8]
mov qword [rbp + 0xfd8], rax
mov qword [rsp + 0x20], r13
mov rcx, qword [rbp + 0xfe0]
lea rdx, [rbp - 0x50]
mov r8d, 0x1000
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_ReadFileEx]
test eax, eax
jne 0x14003bec0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdi, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0xfe0]
call rdi
mov rcx, rsi
call rdi
movaps xmm6, xmmword [rbp + 0x1000]
add rsp, 0x1098
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea r8, [0x141097fa0]
mov rcx, rdi
mov qword [rbp + 0xfe0], rax
mov rdx, rax
call fcn.140051090
jmp 0x14003c061
lea r8, [0x141097fa0]
mov edx, 0x1000
mov qword [rbp + 0xfe0], rax
mov rcx, rax
call fcn.140050e80
ud2
Function at 0x14003c100
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 0x14003c13f
mov rax, qword [rbp - 0x20]
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, [0x14002a160]
mov qword [rbp - 0x28], rax
lea rax, [0x141098108]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
mov qword [rbp - 0x60], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 1
lea rdx, [0x141098140]
lea rcx, [rbp - 0x60]
call fcn.140050db0
ud2

Function at 0x14003de50
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rdi, rdx
cmp qword [rdx], 0
jne 0x14003df5d
mov rsi, rcx
mov rbx, qword [rdi + 0x28]
mov rax, qword [rbx]
test rax, rax
jne 0x14003de87
mov rdx, qword [rbx + 0x10]
lea rax, [rdx + 0xf]
cmp rax, 0xf
jbe 0x14003df22
xor eax, eax
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x14003df40
sub rax, rdx
add rdx, qword [rbx + 8]
mov rbx, qword [rdi + 0x20]
mov ecx, 0xffffffff
cmp rax, rcx
cmovae rax, rcx
mov dword [rsp + 0x30], 0
mov rcx, qword [rdi + 0x10]
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x30]
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14003dede
mov eax, dword [rsp + 0x30]
mov ecx, 2
test rax, rax
jne 0x14003defb
jmp 0x14003def0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x14003def6
cmp eax, 0x6d
jne 0x14003df12
mov byte [rsi + 1], 0
jmp 0x14003df06
mov ecx, 1
mov qword [rdi], rcx
mov qword [rdi + 8], rax
mov byte [rsi + 1], 1
xor eax, eax
mov byte [rsi], al
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov al, 1
jmp 0x14003df08
mov r8d, 0x10
mov rcx, rbx
call fcn.140050c20
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
jne 0x14003de94
mov r8d, 1
mov rcx, rbx
mov rdx, rax
call fcn.140050c20
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x10]
jmp 0x14003de94
mov qword [rsp + 0x40], 0
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140051f30
ud2

Function at 0x1400477ec
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140047618

Function at 0x100403a20
Capabilities:
Encode data using xor

Disassembly:
xor al, 0x6c
xor al, 0x64
xor al, 0x67
xor al, 0x41
xor al, 0x3e
xor al, 0x7d
xor al, 0xa2
xor al, 0x9a
xor al, 0xa3
xor al, 0x88
xor al, 0x9d
xor al, 0xa4
xor al, 0x71
xor al, 0x74
xor al, 0x59
xor al, 0x87
xchg dword [rbp*4 - 0x57cb58cc], esi
xor al, 0x99
xor al, 0xa1
xor al, 0x86
xor al, 0xa3
xor al, 0xa3
movabs dword [0xa73490345934a834], eax
xor al, 0xad
xor al, 0xa7
xor al, 0xa8
xor al, 0x99
cdq
xor al, 0xa1
xor al, 0x67
xor al, 0x66
xor al, 0x90
xor al, 0xa7
xor al, 0x9c
xor al, 0x99
xor al, 0xa0
xor al, 0xa0
xor al, 0x67
xor al, 0x66
xor al, 0x62
Function at 0x180008470
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x110
mov rax, qword [0x1800ec0f8]
xor rax, rsp
mov qword [rsp + 0x100], rax
lea rdi, [rcx + 0x10]
xor esi, esi
mov rcx, qword [0x1800ee3d8]
lea r8, [rsp + 0x30]
mov rdx, rdi
mov qword [rsp + 0x20], rsi
lea r9d, [rsi + 8]
call qword [sym.imp.kernel32.dll_ReadProcessMemory]
mov rcx, qword [0x1800ee3d8]
xor edx, edx
mov r9d, 0x3000
mov dword [rsp + 0x20], 4
mov r8d, 0xa8
call qword [sym.imp.kernel32.dll_VirtualAllocEx]
mov rdx, qword [rsp + 0x30]
lea r8, [rsp + 0x50]
mov rcx, qword [0x1800ee3d8]
mov r9d, 0xa8
mov rbx, rax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.kernel32.dll_ReadProcessMemory]
mov rcx, qword [0x1800ee3d8]
lea r8, [rsp + 0x50]
mov r9d, 0xa8
mov qword [rsp + 0x20], rsi
mov rdx, rbx
call qword [sym.imp.kernel32.dll_WriteProcessMemory]
mov rcx, qword [0x1800ee3d8]
lea r9d, [rsi + 8]
lea r8, [rsp + 0x38]
mov qword [rsp + 0x38], rbx
mov rdx, rdi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.kernel32.dll_WriteProcessMemory]
mov rcx, qword [0x1800ee3d8]
lea r9d, [rsi + 8]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], rsi
mov rdx, rdi
call qword [sym.imp.kernel32.dll_ReadProcessMemory]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.1800b1550
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1800102a0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1800ec0f8]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x180010373
cmp byte [rcx + 0x71], 0
je 0x180010373
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x18001036f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.msvcp140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x180010334
sub eax, 1
je 0x180010338
cmp eax, 2
jne 0x18001036f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800b1550
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x180010366
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.ucrtbase.dll_fwrite]
cmp rdi, rax
jne 0x18001036f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x18001031c
xor al, al
jmp 0x18001031c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800b1550
add rsp, 0x60
pop rbx
ret

Function at 0x1800138c0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1800ec0f8]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
mov rdi, rcx
mov ecx, 8
call fcn.1800b15a4
mov rdx, qword [rbx]
mov qword [rax], rdx
mov qword [rsp + 0x30], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x180014460]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbase.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x180013939
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1800b1550
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], 0
mov ecx, 6
call qword [sym.imp.msvcp140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x180013950
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1800ec0f8]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov ecx, 0x10
call fcn.1800b15a4
mov r8, qword [rbx]
mov qword [rax], r8
mov qword [rax + 8], rdi
mov qword [rsp + 0x30], rax
lea rbx, [rsi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1800144f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbase.dll__beginthreadex]
mov qword [rsi], rax
test rax, rax
je 0x1800139da
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1800b1550
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], 0
mov ecx, 6
call qword [sym.imp.msvcp140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x180034c50
Capabilities:
Hash data using murmur3

Disassembly:
and r8d, 0xf
mov r9, rdx
cmp r8, 4
jb 0x180034bee
mov r10d, r8d
shr r10, 2
imul rax, r10, 0xfffffffffffffffc
add r8, rax
nop dword [rax + rax]
mov eax, dword [r9]
add r9, 4
imul edx, eax, 0x3d4d51c3
sub ecx, edx
rol ecx, 0x11
imul ecx, ecx, 0x27d4eb2f
sub r10, 1
jne 0x180034bd0
test r8, r8
je 0x180034c1f
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r9]
lea r9, [r9 + 1]
imul edx, eax, 0x165667b1
add ecx, edx
rol ecx, 0xb
imul ecx, ecx, 0x9e3779b1
sub r8, 1
jne 0x180034c00
mov eax, ecx
shr eax, 0xf
xor eax, ecx
imul ecx, eax, 0x85ebca77
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0xc2b2ae3d
mov eax, ecx
shr eax, 0x10
xor eax, ecx
ret
sub rsp, 0x28
mov r11, rdx
mov rdx, rcx
cmp r11, 0x10
jb 0x180034d07
mov qword [rsp + 0x20], rbx
mov eax, 0x61c88679
lea rbx, [rcx - 0xf]
mov r8d, 0x24234452
add rbx, r11
mov r9d, 0x85ebcaa1
mov r10d, 0x2a
nop word [rax + rax]
imul ecx, dword [rdx], 0x7a143589
sub r8d, ecx
imul ecx, dword [rdx + 4], 0x7a143589
rol r8d, 0xd
imul r8d, r8d, 0x9e3779b1
sub r9d, ecx
imul ecx, dword [rdx + 8], 0x7a143589
rol r9d, 0xd
imul r9d, r9d, 0x9e3779b1
sub r10d, ecx
imul ecx, dword [rdx + 0xc], 0x7a143589
rol r10d, 0xd
add rdx, 0x10
imul r10d, r10d, 0x9e3779b1
sub eax, ecx
rol eax, 0xd
imul eax, eax, 0x9e3779b1
cmp rdx, rbx
jb 0x180034c90
mov rbx, qword [rsp + 0x20]
rol eax, 0x12
rol r10d, 0xc
add eax, r10d
rol r9d, 7
add eax, r9d
rol r8d, 1
add eax, r8d
jmp 0x180034d0c
mov eax, 0x165667db
mov r8, r11
lea ecx, [rax + r11]
and r8d, 0xf
add rsp, 0x28
jmp 0x180034bb0

Function at 0x180035150
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [rcx]
mov r9, qword [rcx + 0x18]
cmp rbx, 0x20
jb 0x18003522d
mov rdx, qword [rcx + 8]
mov r11, r9
mov r8, qword [rcx + 0x10]
mov rax, rdx
mov r10, qword [rcx + 0x20]
rol r11, 0xc
rol rax, 1
add r11, rax
mov qword [rsp + 0x30], rsi
movabs rsi, 0x9e3779b185ebca87
mov qword [rsp + 0x38], rdi
movabs rdi, 0xc2b2ae3d27d4eb4f
mov rax, r8
rol rax, 7
add r11, rax
mov rax, r10
imul rdx, rdi
imul r9, rdi
imul r8, rdi
imul r10, rdi
mov rdi, qword [rsp + 0x38]
rol rax, 0x12
add r11, rax
rol rdx, 0x1f
imul rdx, rsi
movabs rax, 0x7a1435883d4d519d
rol r9, 0x1f
xor r11, rdx
rol r8, 0x1f
imul r11, rsi
imul r9, rsi
imul r8, rsi
sub r11, rax
rol r10, 0x1f
imul r10, rsi
xor r11, r8
imul r11, rsi
sub r11, rax
xor r11, r9
movabs r9, 0x85ebca77c2b2ae63
imul r11, rsi
sub r11, rax
xor r11, r10
imul r11, rsi
mov rsi, qword [rsp + 0x30]
add r9, r11
jmp 0x18003523a
movabs rdx, 0x27d4eb2f165667c5
add r9, rdx
add r9, rbx
lea rdx, [rcx + 0x28]
mov rcx, r9
mov r8, rbx
add rsp, 0x20
pop rbx
jmp fcn.180034d20
Function at 0x1800a0920
Capabilities:
Hash data using fnv

Disassembly:
push rbx
cmp qword [rcx + 0x10], 0
mov rbx, rcx
je 0x1800a09d2
mov r10d, dword [rdx]
mov r11d, dword [rbx + 0x18]
mov edx, r10d
mov r8d, r10d
shr edx, 0x18
mov ecx, r10d
shr r8d, 0x10
shr ecx, 8
cmp r10d, r11d
je 0x1800a09d2
mov r9, qword [rbx + 8]
mov rbx, qword [rbx]
dec r9
movzx ecx, cl
mov qword [rsp + 0x10], rdi
movabs rdi, 0xcbf29ce484222325
movzx eax, r10b
xor rax, rdi
movabs rdi, 0x100000001b3
imul rax, rdi
xor rax, rcx
movzx ecx, r8b
imul rax, rdi
xor rax, rcx
mov ecx, edx
imul rax, rdi
xor rax, rcx
imul rax, rdi
mov rdi, qword [rsp + 0x10]
and rax, r9
xor ecx, ecx
nop dword [rax]
mov edx, dword [rbx + rax*8]
lea r8, [rbx + rax*8]
cmp edx, r10d
je 0x1800a09d6
cmp edx, r11d
je 0x1800a09d2
inc rax
add rax, rcx
inc rcx
and rax, r9
cmp rcx, r9
jbe 0x1800a09b0
xor eax, eax
pop rbx
ret
mov rax, r8
pop rbx
ret

Function at 0x1800a0c10
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
cmp qword [rcx + 0x10], 0
mov r13, rdx
mov rdi, rcx
je 0x1800a0d17
mov r12d, dword [rdx + 0x80]
lea rax, [rcx + 0x18]
mov ecx, dword [rax + 0x80]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x60], ecx
cmp r12d, ecx
jne 0x1800a0c6f
lea r8, [r12*4]
mov rdx, rax
mov rcx, r13
call sub.vcruntime140.dll_memcmp
test eax, eax
je 0x1800a0d17
mov r15, qword [rdi + 8]
xor ebp, ebp
dec r15
mov eax, 0x811c9dc5
mov ecx, ebp
test r12, r12
je 0x1800a0ca3
nop dword [rax]
nop dword [rax + rax]
xor eax, dword [r13 + rcx*4]
inc rcx
imul eax, eax, 0x1000193
cmp rcx, r12
jb 0x1800a0c90
mov ebx, eax
mov rax, qword [rdi]
and rbx, r15
mov qword [rsp + 0x78], rax
imul rsi, rbx, 0x88
add rsi, rax
mov r14d, dword [rsi + 0x80]
mov edi, r14d
shl rdi, 2
cmp r14d, r12d
jne 0x1800a0cdf
mov r8, rdi
mov rdx, r13
mov rcx, rsi
call sub.vcruntime140.dll_memcmp
test eax, eax
je 0x1800a0d12
cmp r14d, dword [rsp + 0x60]
jne 0x1800a0cfa
mov rdx, qword [rsp + 0x70]
mov r8, rdi
mov rcx, rsi
call sub.vcruntime140.dll_memcmp
test eax, eax
je 0x1800a0d17
inc rbx
add rbx, rbp
inc rbp
and rbx, r15
cmp rbp, r15
ja 0x1800a0d17
mov rax, qword [rsp + 0x78]
jmp 0x1800a0cb0
mov rax, rsi
jmp 0x1800a0d19
xor eax, eax
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x1800a0ee0
Capabilities:
Encode data using xor

Disassembly:
mov rax, qword [rcx + 8]
mov r9, qword [rcx]
mov r8, rax
test rax, rax
je 0x1800a0f0c
nop
movzx edx, byte [r9 + r8 - 1]
mov ecx, eax
shl ecx, 5
add edx, ecx
mov ecx, eax
shr ecx, 2
add edx, ecx
xor eax, edx
sub r8, 1
jne 0x1800a0ef0
ret