joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800abda8
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x50
xor esi, esi
mov rdi, r8
mov qword [r11 + 8], rsi
mov rbx, rcx
test rdx, rdx
je 0x1800abdff
cmp word [rdx], si
je 0x1800abdff
mov qword [r11 - 0x18], rsi
lea rax, [r11 + 8]
mov qword [r11 - 0x20], rax
xor r9d, r9d
mov qword [r11 - 0x28], rsi
xor r8d, r8d
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1800abe42
mov rcx, qword [rsp + 0x60]
mov eax, dword [rsp + 0x88]
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rax, qword [rsp + 0x80]
mov rdx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x60]
mov edi, eax
test rcx, rcx
je 0x1800abe40
cmp rcx, rbx
je 0x1800abe40
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x1800ac394
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x20
inc dword [0x18025a9e8]
mov r9d, 0x138
mov edx, dword [0x18025a9f0]
cmp edx, r9d
jne 0x1800ac3ff
lea r8, [0x18025aa00]
mov rdx, qword [r8]
xor rdx, qword [r8 - 8]
and rdx, 0xffffffff80000000
xor rdx, qword [r8]
lea r8, [r8 + 8]
mov al, dl
and al, 1
neg al
movabs rax, 0xb5026f5aa96619e9
sbb rcx, rcx
shr rdx, 1
and rcx, rax
xor rcx, qword [r8 + 0x4d0]
xor rcx, rdx
mov qword [r8 + 0x9b0], rcx
sub r9, 1
jne 0x1800ac3b8
jmp 0x1800ac413
cmp edx, 0x270
jb 0x1800ac419
lea rcx, [0x18025a9f0]
call fcn.1800ad774
mov edx, dword [0x18025a9f0]
mov eax, edx
lea rcx, [0x18025a9f8]
inc edx
xorps xmm2, xmm2
mov rcx, qword [rcx + rax*8]
mov rax, rcx
mov dword [0x18025a9f0], edx
shr rax, 0x1d
movabs rdx, 0x38eb3ffff6d3
and rax, qword [0x18025bd78]
xor rcx, rax
mov rax, rcx
and rax, rdx
shl rax, 0x11
xor rcx, rax
mov rax, rcx
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rcx, rax
mov rdx, rcx
shr rdx, 0x2b
xor rdx, rcx
js 0x1800ac47c
cvtsi2sd xmm2, rdx
jmp 0x1800ac491
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2sd xmm2, rax
addsd xmm2, xmm2
mov rbx, qword [0x18025a9e0]
movsd xmm0, qword [0x18025bd88]
subsd xmm0, qword [0x18025bd80]
mulsd xmm2, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, rbx
mulsd xmm2, qword [0x1800a10f8]
addsd xmm2, qword [0x18025bd80]
mulsd xmm2, xmm0
mulsd xmm2, qword [0x1800a14a0]
cvttsd2si rax, xmm2
sub rbx, rax
cmp qword [0x18025a9d8], rbx
cmovl rbx, qword [0x18025a9d8]
mov qword [0x18025a9e0], rbx
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
imul rcx, rbx, 0x2710
add rax, rcx
mov qword [0x18028f990], rax
add rsp, 0x20
pop rbx
ret
Function at 0x1800ad774
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
lea r10, [rcx + 0x9c8]
mov r9, rcx
mov rax, qword [r10]
mov r11d, 0x9c
mov rbx, 0xffffffff80000000
movabs rdi, 0xb5026f5aa96619e9
mov r8, r10
add r10, 8
mov rdx, qword [r10]
xor rdx, rax
and rdx, rbx
xor rdx, qword [r10]
mov al, dl
and al, 1
neg al
mov rax, qword [r10]
sbb rcx, rcx
shr rdx, 1
and rcx, rdi
xor rcx, qword [r8 + 0x4e0]
xor rcx, rdx
mov qword [r8 - 0x9c0], rcx
sub r11, 1
jne 0x1800ad7a2
lea r10, [r9 + 0xea8]
mov r11d, 0x9b
mov rax, qword [r10]
mov r8, r10
add r10, 8
mov rdx, qword [r10]
xor rdx, rax
and rdx, rbx
xor rdx, qword [r10]
mov al, dl
and al, 1
neg al
mov rax, qword [r10]
sbb rcx, rcx
shr rdx, 1
and rcx, rdi
xor rcx, qword [r8 - 0xea0]
xor rcx, rdx
mov qword [r8 - 0x9c0], rcx
sub r11, 1
jne 0x1800ad7ee
mov rdx, qword [r9 + 8]
xor rdx, qword [r9 + 0x1380]
and rdx, rbx
mov rbx, qword [rsp + 8]
xor rdx, qword [r9 + 8]
mov al, dl
and al, 1
neg al
sbb rcx, rcx
and dword [r9], 0
and rcx, rdi
shr rdx, 1
xor rcx, qword [r9 + 0x4e0]
mov rdi, qword [rsp + 0x10]
xor rcx, rdx
mov qword [r9 + 0x9c0], rcx
ret
Function at 0x1800bc6a0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x20], rcx
lea rcx, [0x18028e458]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov rcx, qword [0x18028e458]
mov r8d, dword [0x18028e45c]
test ax, ax
je 0x1800bc750
movss xmm3, dword [0x18025be68]
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm3
jbe 0x1800bc750
movss xmm4, dword [0x18025be6c]
movd xmm2, r8d
cvtdq2ps xmm2, xmm2
comiss xmm2, xmm4
jbe 0x1800bc750
movss xmm0, dword [rsp + 0x20]
addss xmm0, xmm3
comiss xmm1, xmm0
jae 0x1800bc750
movss xmm0, dword [rsp + 0x24]
addss xmm0, xmm4
comiss xmm2, xmm0
jae 0x1800bc750
cmp byte [0x18028e449], 0
mov dl, 1
mov byte [0x18028e448], dl
jne 0x1800bc75a
subss xmm1, xmm3
mov byte [0x18028e449], dl
subss xmm2, xmm4
cvttss2si eax, xmm1
mov dword [0x18028e450], eax
cvttss2si eax, xmm2
mov dword [0x18028e454], eax
jmp 0x1800bc756
mov dl, byte [0x18028e448]
test dl, dl
je 0x1800bc786
sub ecx, dword [0x18028e450]
sub r8d, dword [0x18028e454]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [0x18025be68], xmm0
movd xmm0, r8d
cvtdq2ps xmm0, xmm0
movss dword [0x18025be6c], xmm0
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x1800bc7a2
mov byte [0x18028e448], al
mov byte [0x18028e449], al
add rsp, 0x38
ret

Function at 0x1800bf6b8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1800bf72f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1800bf72f
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x1800bf71c
cmp rbx, rcx
jae 0x1800bf72f
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x1800bf707
cmp rbx, rcx
jae 0x1800bf72f
movzx eax, word [rbx]
neg ax
sbb rax, rax
and rax, rbx
jmp 0x1800bf731
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1800f8538
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
cmp edx, 1
jne 0x1800f863c
and dword [rsp + 0x48], 0
lea r9d, [rdx + 3]
lea r8d, [rdx + 0x3f]
mov rdx, rcx
lea rax, [rsp + 0x48]
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x1800f8584
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x30], xmm0
test rbx, rbx
je 0x1800f85c0
lea rax, [rsp + 0x48]
mov r9d, 4
mov r8d, 0x108
mov qword [rsp + 0x20], rax
mov rdx, rbx
or rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x1800f85c0
xor edx, edx
mov r8d, 0x108
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
and qword [rsp + 0x28], 0
lea r8, [0x1800b7c20]
and dword [rsp + 0x20], 0
mov r9, rbx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
and qword [rsp + 0x28], 0
lea r8, [0x1800f80b0]
and dword [rsp + 0x20], 0
mov r9, rbx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
and qword [rsp + 0x28], 0
lea r8, [0x1800d4f34]
and dword [rsp + 0x20], 0
mov r9, rbx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
and qword [rsp + 0x28], 0
lea r8, [0x1800f8410]
and dword [rsp + 0x20], 0
mov r9, rbx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov al, 1
add rsp, 0x30
pop rbx
ret
Function at 0x1800fa1c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], r8
mov dword [rax + 0x10], edx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
xor edi, edi
movaps xmmword [rax - 0x48], xmm6
movaps xmm6, xmm3
mov rbx, rcx
test rcx, rcx
je 0x1800fa37b
mov esi, dword [0x18028de40]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rsi*8]
mov eax, dword [rcx + rax]
cmp dword [0x1802c4e60], eax
jg 0x1800fa39b
jmp 0x1800fa220
mov ecx, 4
mov rax, qword [0x1802c4830]
mov rbp, qword [rax + rbx]
test rbp, rbp
je 0x1800fa37b
mov rax, qword [rbp + 0x28]
mov r14d, 1
cmp dword [rax + 0x10], r14d
jle 0x1800fa37b
mov r13, qword gs:[0x58]
lea r15d, [r14 + 0x27]
mov r12, rsi
mov rax, qword [rax + 0x18]
mov rsi, qword [r15 + rax]
test rsi, rsi
je 0x1800fa35d
mov rax, qword [r13 + r12*8]
mov eax, dword [rcx + rax]
cmp dword [0x1802c4db0], eax
jg 0x1800fa3d6
mov rax, qword [0x1802c4ad8]
cmp byte [rax + rsi], dil
jne 0x1800fa35d
mov r8, qword [rsi]
test r8, r8
jne 0x1800fa29a
mov edx, edi
jmp 0x1800fa2d9
mov r8, qword [r8 + 0x10]
or edx, 0xffffffff
or rax, 0xffffffffffffffff
inc rax
cmp byte [r8 + rax], dil
jne 0x1800fa2a5
test eax, eax
je 0x1800fa2d7
mov r9d, eax
movsx ecx, byte [r8]
mov eax, edx
xor rcx, rax
shr edx, 8
movzx eax, cl
inc r8
lea rcx, [0x180096d80]
xor edx, dword [rcx + rax*4]
sub r9, 1
jne 0x1800fa2b5
not edx
cmp edx, dword [rsp + 0xa8]
jne 0x1800fa35d
mov rcx, rsi
call fcn.1800b7fb0
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.1800b7c3c
mov rcx, qword [rsp + 0xb0]
mov rbx, rax
call fcn.1800b7fb0
lea rdx, [rsp + 0x3c]
mov rcx, rax
call fcn.1800b7c3c
movss xmm2, dword [rbx]
movss xmm3, dword [rbx + 4]
movss xmm1, dword [rbx + 8]
movsd xmm0, qword [rax]
subss xmm1, dword [rax + 8]
movsd qword [rsp + 0x20], xmm0
xorps xmm0, xmm0
subss xmm3, dword [rsp + 0x24]
subss xmm2, dword [rsp + 0x20]
mulss xmm1, xmm1
mulss xmm3, xmm3
mulss xmm2, xmm2
addss xmm3, xmm2
addss xmm3, xmm1
sqrtss xmm0, xmm3
comiss xmm0, xmm6
jbe 0x1800fa378
mov rax, qword [rbp + 0x28]
inc r14d
add r15, 8
cmp r14d, dword [rax + 0x10]
jge 0x1800fa37b
mov ecx, 4
jmp 0x1800fa258
mov rdi, rsi
mov rbx, qword [rsp + 0xa0]
mov rax, rdi
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x1802c4e60]
call fcn.18012d574
cmp dword [0x1802c4e60], 0xffffffff
jne 0x1800fa21b
mov ecx, 0xae00109b
call fcn.1800b4cd0
lea rcx, [0x1802c4e60]
mov qword [0x1802c4830], rax
call fcn.18012d508
jmp 0x1800fa21b
lea rcx, [0x1802c4db0]
call fcn.18012d574
cmp dword [0x1802c4db0], 0xffffffff
jne 0x1800fa27d
mov ecx, 0x33f7a6a3
call fcn.1800b4cd0
lea rcx, [0x1802c4db0]
mov qword [0x1802c4ad8], rax
call fcn.18012d508
jmp 0x1800fa27d
Function at 0x1800fa414
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rsi
mov qword [rax + 0x18], r8
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
xor edi, edi
mov rbx, rcx
test rcx, rcx
je 0x1800fa5cb
mov esi, dword [0x18028de40]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rsi*8]
mov eax, dword [rcx + rax]
cmp dword [0x1802c4e60], eax
jg 0x1800fa5ec
jmp 0x1800fa470
mov ecx, 4
mov rax, qword [0x1802c4830]
mov rbp, qword [rax + rbx]
test rbp, rbp
je 0x1800fa5cb
mov rax, qword [rbp + 0x28]
mov r14d, 1
cmp dword [rax + 0x10], r14d
jle 0x1800fa5cb
mov r13, qword gs:[0x58]
lea r15d, [r14 + 0x27]
mov r12, rsi
mov rax, qword [rax + 0x18]
mov rsi, qword [r15 + rax]
test rsi, rsi
je 0x1800fa5ad
mov rax, qword [r13 + r12*8]
mov eax, dword [rcx + rax]
cmp dword [0x1802c4db0], eax
jg 0x1800fa627
mov rax, qword [0x1802c4ad8]
cmp byte [rax + rsi], dil
jne 0x1800fa5ad
mov r8, qword [rsi]
test r8, r8
je 0x1800fa5ad
mov r8, qword [r8 + 0x10]
or edx, 0xffffffff
or rax, 0xffffffffffffffff
inc rax
cmp byte [r8 + rax], dil
jne 0x1800fa4f5
test eax, eax
je 0x1800fa5ad
mov r9d, eax
movsx ecx, byte [r8]
mov eax, edx
xor rcx, rax
shr edx, 8
movzx eax, cl
inc r8
lea rcx, [0x180096d80]
xor edx, dword [rcx + rax*4]
sub r9, 1
jne 0x1800fa509
not edx
cmp edx, 0x6a7b9164
jne 0x1800fa5ad
mov rcx, rsi
call fcn.1800b7fb0
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.1800b7c3c
mov rcx, qword [rsp + 0x90]
mov rbx, rax
call fcn.1800b7fb0
lea rdx, [rsp + 0x3c]
mov rcx, rax
call fcn.1800b7c3c
movss xmm2, dword [rbx]
movss xmm3, dword [rbx + 4]
movss xmm1, dword [rbx + 8]
movsd xmm0, qword [rax]
subss xmm1, dword [rax + 8]
movsd qword [rsp + 0x20], xmm0
subss xmm3, dword [rsp + 0x24]
subss xmm2, dword [rsp + 0x20]
mulss xmm1, xmm1
mulss xmm3, xmm3
mulss xmm2, xmm2
addss xmm3, xmm2
addss xmm3, xmm1
comiss xmm3, dword [0x1800a12fc]
jbe 0x1800fa5c8
mov rax, qword [rbp + 0x28]
inc r14d
add r15, 8
cmp r14d, dword [rax + 0x10]
jge 0x1800fa5cb
mov ecx, 4
jmp 0x1800fa4a8
mov rdi, rsi
lea r11, [rsp + 0x50]
mov rax, rdi
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rcx, [0x1802c4e60]
call fcn.18012d574
cmp dword [0x1802c4e60], 0xffffffff
jne 0x1800fa46b
mov ecx, 0xae00109b
call fcn.1800b4cd0
lea rcx, [0x1802c4e60]
mov qword [0x1802c4830], rax
call fcn.18012d508
jmp 0x1800fa46b
lea rcx, [0x1802c4db0]
call fcn.18012d574
cmp dword [0x1802c4db0], 0xffffffff
jne 0x1800fa4cd
mov ecx, 0x33f7a6a3
call fcn.1800b4cd0
lea rcx, [0x1802c4db0]
mov qword [0x1802c4ad8], rax
call fcn.18012d508
jmp 0x1800fa4cd
Function at 0x1800fe6b4
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x1800fe70e
mov r11b, 0x23
lea rbx, [0x1800978c0]
movzx edi, byte [r10]
dec rdx
inc r10
cmp dil, r11b
jne 0x1800fe6f8
cmp rdx, 2
jb 0x1800fe6f8
cmp byte [r10], r11b
jne 0x1800fe6f8
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rdi
shr r9d, 8
xor r9d, dword [rbx + rcx*4]
test rdx, rdx
jne 0x1800fe6d6
jmp 0x1800fe74f
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x1800fe74f
mov r11b, 0x23
lea rbx, [0x1800978c0]
cmp dl, r11b
jne 0x1800fe733
cmp byte [r10], r11b
jne 0x1800fe733
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rbx + rcx*4]
test dl, dl
jne 0x1800fe721
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret

Function at 0x1800fe880
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, r8
test r8, r8
je 0x1800fe8a0
and qword [r8], 0
call fcn.1800fe760
mov rbx, rax
test rax, rax
je 0x1800fe98a
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x1800fe981
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1800fe981
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1800fe981
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1800fe981
mov rbp, rdi
cmp rdi, 0xffffffffffffffff
je 0x1800fe981
mov rax, qword [0x18028e880]
test rax, rax
je 0x1800fe91e
inc dword [rax + 0xfc]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x1800fe981
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rbp
je 0x1800fe96e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x18028e880]
test rax, rax
je 0x1800fe963
dec dword [rax + 0xfc]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1800fe98a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x1800fe97c
mov qword [rsi], rbp
mov rax, rdi
jmp 0x1800fe98c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180100704
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xd0]
mov r9d, 8
mov rax, qword [rcx + 0xd8]
mov ebx, dword [rax + r8*4 - 4]
lea r8, [rsp + 0x38]
not ebx
movzx eax, byte [r8]
inc r8
movzx ecx, bl
xor rcx, rax
shr ebx, 8
lea rax, [0x1800978c0]
xor ebx, dword [rax + rcx*4]
sub r9, 1
jne 0x18010072e
mov rcx, qword [0x18028e880]
not ebx
cmp dword [rcx + 0x3eec], ebx
jne 0x18010076d
mov r8, rdx
mov ecx, ebx
lea edx, [r9 + 0xc]
call fcn.180111168
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x180100778
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xd0]
mov r10d, 4
mov rax, qword [rcx + 0xd8]
mov r9d, r10d
mov ebx, dword [rax + r8*4 - 4]
lea r8, [rsp + 0x38]
not ebx
movzx eax, byte [r8]
inc r8
movzx ecx, bl
xor rcx, rax
shr ebx, 8
lea rax, [0x1800978c0]
xor ebx, dword [rax + rcx*4]
sub r9, 1
jne 0x1801007a4
mov rcx, qword [0x18028e880]
not ebx
cmp dword [rcx + 0x3eec], ebx
jne 0x1801007e2
movsxd r8, edx
mov ecx, ebx
mov edx, r10d
call fcn.180111168
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x1801007ec
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm2, dword [rcx + 0xf4]
lea r9, [rsp]
movss xmm3, dword [rcx + 0xf8]
mov r10d, 0x10
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
mov rax, qword [rcx + 0xd8]
subss xmm1, xmm3
movsxd rcx, dword [rcx + 0xd0]
movss dword [rsp], xmm0
movss xmm0, dword [rdx + 8]
mov r8d, dword [rax + rcx*4 - 4]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
not r8d
movss xmm1, dword [rdx + 0xc]
subss xmm1, xmm3
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
movzx ecx, byte [r9]
lea rax, [0x1800978c0]
movzx edx, r8b
inc r9
xor rdx, rcx
shr r8d, 8
xor r8d, dword [rax + rdx*4]
sub r10, 1
jne 0x18010085a
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x18010ff9c
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, 0x20
cmp qword [rcx + 0x5aa8], 0
lea rbx, [rcx + 0x5ab0]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x180110035
mov r9d, dword [rbx + 4]
test r9d, r9d
jns 0x18010ffed
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.180111dc4
and dword [rbx], 0
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.1800ff22c
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5aa8]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x18028e84c]
movsxd r8, eax
mov rax, qword [rdi + 0x5ab8]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x18011003d
mov rcx, rbx
call fcn.1800ff22c
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1801287cc
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x30
mov r12, r8
mov rsi, rdx
xor ecx, ecx
movabs r15, 0xcbf29ce484222325
movzx eax, byte [r8 + rcx]
movabs rdx, 0x100000001b3
xor r15, rax
inc rcx
imul r15, rdx
cmp rcx, 4
jb 0x1801287fb
mov rax, qword [0x1802c5530]
mov rcx, qword [0x1802c5518]
and rax, r15
mov r14, qword [0x1802c5508]
add rax, rax
mov rbx, qword [rcx + rax*8 + 8]
cmp rbx, r14
jne 0x180128866
mov rbx, r14
mov rbp, r14
movabs rax, 0xaaaaaaaaaaaaaaa
cmp qword [0x1802c5510], rax
jne 0x1801288a4
lea rcx, [0x18009bf70]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov rdx, qword [rcx + rax*8]
mov eax, dword [r8]
jmp 0x180128878
cmp rbx, rdx
je 0x18012889a
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x18012886f
mov r14, qword [rbx]
mov rax, rbx
mov rbp, r14
mov rbx, r14
test rax, rax
je 0x180128845
mov qword [rsi], rax
mov byte [rsi + 8], 0
jmp 0x1801289e7
mov r14, rbx
xor eax, eax
mov rbp, rbx
jmp 0x180128889
mov ecx, 0x18
call fcn.18012d490
mov rcx, qword [r12]
mov rdi, rax
xorps xmm1, xmm1
mov qword [rax + 0x10], rcx
mov r8, qword [0x1802c5510]
lea rcx, [r8 + 1]
test rcx, rcx
js 0x1801288d3
cvtsi2ss xmm1, rcx
jmp 0x1801288e8
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
mov rcx, qword [0x1802c5538]
xorps xmm0, xmm0
test rcx, rcx
js 0x1801288fe
cvtsi2ss xmm0, rcx
jmp 0x180128913
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x1802c5500]
comiss xmm0, xmm1
jae 0x18012897f
call fcn.180128a0c
mov rcx, qword [0x1802c5530]
mov rdx, qword [0x1802c5518]
and rcx, r15
mov rbx, qword [0x1802c5508]
add rcx, rcx
mov rax, qword [rdx + rcx*8 + 8]
cmp rax, rbx
je 0x18012896b
mov r8, qword [rdx + rcx*8]
mov ecx, dword [rdi + 0x10]
jmp 0x180128963
mov rbx, rax
cmp rax, r8
je 0x1801289c2
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x180128957
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov r14, qword [rsp + 0x20]
mov rbp, rbx
mov r8, qword [0x1802c5510]
mov rdx, qword [rbx + 8]
inc r8
mov qword [0x1802c5510], r8
mov qword [rdi], r14
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rax, qword [0x1802c5530]
mov rcx, qword [0x1802c5518]
and rax, r15
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [0x1802c5508]
jne 0x1801289c9
mov qword [rcx + rax*8], rdi
jmp 0x1801289db
mov qword [rsp + 0x20], rax
jmp 0x180128970
cmp r8, rbp
jne 0x1801289d4
mov qword [rcx + rax*8], rdi
jmp 0x1801289e0
cmp qword [rcx + rax*8 + 8], rdx
jne 0x1801289e0
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
mov rbx, qword [rsp + 0x50]
mov rax, rsi
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret