joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004d778
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
test byte [rdx + 4], 1
mov esi, r8d
mov rbx, qword [rdx + 0x10]
mov rdi, rdx
mov rbp, rcx
jne 0x14004d7ef
mov rcx, qword [rdi + 8]
mov r8d, 5
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x14004d7bf
call fcn.140031b4c
mov rcx, qword [rdi + 8]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
jne 0x14004d7d9
call fcn.140031b4c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
jne 0x14004d7ef
call fcn.140031b4c
call fcn.140034834
cmp qword [rax + 0x68], 0
je 0x14004d809
mov rdx, rbx
mov rcx, rbp
call fcn.14004cc38
mov rbx, rax
mov edx, esi
mov rcx, rbx
call fcn.14004da64
mov rcx, qword [rbp + 0xf8]
mov rsi, rax
test rcx, rcx
je 0x14004d830
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp + 0xf8], 0
test rsi, rsi
je 0x14004d83f
mov rbx, rsi
mov qword [rbp + 0xf8], rsi
or dword [rdi + 4], 1
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov qword [rdi + 0x10], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14005e770
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 rbx, r8
mov rdi, rdx
mov rbp, rcx
test r8, r8
jne 0x14005e79b
call fcn.140034834
mov rbx, qword [rax + 0x18]
lea r8, [0x140200910]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x14005e7f4
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14005e7f4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
test rax, rax
je 0x14005e7f4
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rsi
mov rcx, rbp
mov r8d, eax
call fcn.14005e80c
jmp 0x14005e7f6
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 0x140093794
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rbx, rdx
mov rcx, qword [rdx]
cmp dword [rcx - 0x10], 0
je 0x1400937c6
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400937c6
lea rcx, [rdi + 0x120]
mov rdx, rbx
call fcn.140116050
mov rbx, qword [rsp + 0x30]
mov eax, 1
add rsp, 0x20
pop rdi
ret

Function at 0x1401755ac
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x40
and dword [rax - 0x18], 0
mov rbp, r9
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
lea rcx, [rsp + 0x30]
call fcn.1401da0a4
test eax, eax
jne 0x140175610
mov eax, dword [rsp + 0x30]
lea r8, str._s_s_X.tmp
mov dword [rsp + 0x28], eax
mov r9, rsi
mov rdx, rbp
mov qword [rsp + 0x20], rdi
mov rcx, rbx
call fcn.14003b000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140175622
jmp 0x1401755d0
mov r9, rbx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x1401cd5d8
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 0x1401cd437
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401cd437
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401cd437
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401cd437
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401cd437
cmp dword [rcx + 0x84], 0xe
jbe 0x1401cd437
cmp dword [rcx + 0xf8], 0
je 0x1401cd437
mov ecx, ebx
call fcn.1401cd4f4
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.1401cd2c4
nop
cmp dword [rbp + 0x20], 0
je 0x1401cd485
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1401cd490
int3
xor r8d, r8d
xor edx, edx
jmp 0x1401cd3c8
Function at 0x1401d287c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1401c4110
sub rsp, rax
mov rax, qword [0x14028c920]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1401da738
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1401d28cb
mov rax, rbp
jmp 0x1401d29d3
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x29aca0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1401ded80
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x29aca0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1401d29cf
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1401d29cf
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1401ded80
test rax, rax
js 0x1401d29cf
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1401d29cf
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1401d29c1
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1401d29c1
cmp byte [rcx], 0xd
jne 0x1401d29a7
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1401d29b6
cmp byte [rcx + 1], 0xa
jne 0x1401d29b6
inc rcx
jmp 0x1401d29b6
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x28cc50]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1401d2989
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1401d29d3
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1401c37a0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401dfbb4
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x14029aca0]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x1401dfc12
cmp word [rdx], r12w
jne 0x1401dfc12
or byte [rax + r8*8 + 0x38], cl
jmp 0x1401dfc18
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x1401dfd73
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x1401dfd4e
lea r9, [rcx + 2]
cmp ax, r13w
je 0x1401dfc51
mov rcx, r9
jmp 0x1401dfc74
cmp r9, rdx
jae 0x1401dfc8b
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x1401dfc35
jmp 0x1401dfd73
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1401dfd48
cmp dword [rsp + 0x80], edi
je 0x1401dfd48
mov rdx, r14
lea r11, [0x14029aca0]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x1401dfd21
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x1401dfcf4
mov word [rbx], r12w
jmp 0x1401dfd6f
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x1401dfcfd
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x1401dfd6f
cmp word [rsp + 0x70], r12w
jne 0x1401dfd2e
cmp rbx, rsi
je 0x1401dfcee
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.1401ded88
cmp word [rsp + 0x70], r12w
je 0x1401dfd73
mov word [rbx], r13w
jmp 0x1401dfd6f
lea r11, [0x14029aca0]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x1401dfd6b
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x1401dfd73
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1401e05c8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x1401e05fa
call fcn.1401cd1f0
mov dword [rax], 0x16
call fcn.1401cd0b4
jmp 0x1401e0719
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1401e0719
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x1401e0719
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x1401e0629
lock or dword [rcx + 0x14], 0x10
jmp 0x1401e0719
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x1401e063d
call fcn.1401e6bbc
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.1401da738
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.1401e0060
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x1401e0707
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x1401e06d2
mov rcx, rsi
call fcn.1401da738
cmp eax, edi
je 0x1401e06bd
mov rcx, rsi
call fcn.1401da738
cmp eax, 0xfffffffe
je 0x1401e06bd
mov rcx, rsi
call fcn.1401da738
movsxd rbx, eax
lea r14, [0x14029aca0]
mov rcx, rsi
sar rbx, 6
call fcn.1401da738
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x1401e06c4
lea rdx, [0x14028cc00]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1401e06d2
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x1401e06f6
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x1401e06f6
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x1401e06f6
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x1401e071c
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret
Function at 0x1401e3f10
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 0x1401e3f97
mov rsi, rbx
cmp word [rax], bp
je 0x1401e3f56
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1401e3f40
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1401e3f3c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1401dc688
mov rdi, rax
test rax, rax
je 0x1401e3f84
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1401c5b30
mov rbp, rdi
xor ecx, ecx
call fcn.1401dc64c
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 0x1401e886c
Capabilities:
Clear file content

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, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1401ded88
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1401ded88
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1401e89bc
cmp rax, 0xffffffffffffffff
je 0x1401e89bc
xor edi, edi
test rbp, rbp
jle 0x1401e8967
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1401e1b28
mov rbx, rax
test rax, rax
jne 0x1401e88f4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1401e895d
mov edx, 0x8000
mov ecx, r14d
call fcn.1401dbdb0
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1401df808
cmp eax, 0xffffffff
je 0x1401e893d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1401e8904
mov edx, r15d
mov ecx, r14d
call fcn.1401dbdb0
jmp 0x1401e895d
cmp byte [rsi + 0x38], dil
je 0x1401e8954
cmp dword [rsi + 0x34], 5
jne 0x1401e8954
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], SafeArrayGetDim
cmp byte [rsi + 0x30], dil
je 0x1401e895d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1401dc64c
jmp 0x1401e89d0
jns 0x1401e89d0
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1401ded88
cmp rax, 0xffffffffffffffff
jne 0x1401e8988
cmp byte [rsi + 0x30], dil
je 0x1401e89d0
mov edi, dword [rsi + 0x2c]
jmp 0x1401e89d0
mov ecx, r14d
call fcn.1401dac0c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1401e89d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, SafeArrayGetDim
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], SafeArrayGetDim
jmp 0x1401e89d0
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1401e89c9
mov eax, dword [rsi + 0x2c]
jmp 0x1401e89ce
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1401ded88
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14301d014
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14301d01e
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x14301d047
pop rbp
sub rbp, 0x33
sub rbp, 0x301d014
sub rsp, 0x20
jmp 0x14301d066
mov rax, 0x301d014
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x24c12806
xor byte [rax], dl
inc rax
dec rcx
jne 0x14301d085
jmp 0x14301d09c
invalid
Function at 0x140004540
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
push r15
mov r15, rdx
lea r14, [rdx - 1]
mov rdi, rcx
xor r13d, r13d
movabs r12, 0xb5026f5aa96619e9
nop dword [rax]
nop word [rax + rax]
mov rsi, r13
mov rbp, r13
test r14, r14
je 0x140004770
nop
movzx ecx, byte [rdi + 8]
movabs r14, 0x38eb3ffff6d3
add cl, 0xff
shl rsi, cl
add rsi, rsi
nop word [rax + rax]
mov r10, qword [rdi]
mov ecx, dword [r10]
cmp ecx, 0x138
jne 0x140004615
lea rax, [r10 + 0x10]
mov r9d, ecx
nop word [rax + rax]
mov r8d, dword [rax - 8]
xor r8d, dword [rax]
lea rax, [rax + 8]
btr r8d, 0x1f
xor r8, qword [rax - 0x10]
movzx ecx, r8b
and cl, 1
neg cl
sbb rdx, rdx
shr r8, 1
and rdx, r12
xor rdx, qword [rax + 0x4d0]
xor rdx, r8
mov qword [rax + 0x9b0], rdx
sub r9, 1
jne 0x1400045d0
mov ecx, dword [r10]
jmp 0x1400046fb
cmp ecx, 0x270
jb 0x1400046fb
lea r11, [r10 + 0x9c8]
mov ebx, 0x9c
mov rax, qword [r11]
mov rdx, qword [r11 + 8]
lea r8, [r11 + 8]
xor rdx, rax
btr edx, 0x1f
xor rdx, rax
movzx eax, dl
and al, 1
neg al
mov rax, qword [r8]
sbb rcx, rcx
shr rdx, 1
and rcx, r12
xor rcx, qword [r11 + 0x4e0]
xor rcx, rdx
mov qword [r11 - 0x9c0], rcx
lea r11, [r8]
sub rbx, 1
jne 0x140004630
lea r11, [r10 + 0xea8]
mov ebx, 0x9b
mov rax, qword [r11]
nop
mov rdx, rax
lea r8, [r11 + 8]
xor rdx, qword [r8]
btr edx, 0x1f
xor rdx, rax
movzx eax, dl
and al, 1
neg al
mov rax, qword [r8]
sbb rcx, rcx
shr rdx, 1
and rcx, r12
xor rcx, qword [r11 - 0xea0]
xor rcx, rdx
mov qword [r11 - 0x9c0], rcx
lea r11, [r8]
sub rbx, 1
jne 0x140004680
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 8]
btr edx, 0x1f
xor rdx, qword [r10 + 0x1380]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r12
xor rcx, qword [r10 + 0x4e0]
xor rcx, rdx
mov qword [r10 + 0x9c0], rcx
mov ecx, r13d
mov dword [r10], r13d
mov eax, ecx
mov rdx, qword [r10 + rax*8 + 8]
lea eax, [rcx + 1]
mov dword [r10], eax
mov rcx, rdx
mov rax, qword [r10 + 0x1388]
shr rcx, 0x1d
and rax, rcx
xor rdx, rax
mov rax, rdx
and rax, r14
shl rax, 0x11
xor rdx, rax
mov rax, rdx
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rdx, rax
mov rax, rdx
shr rax, 0x2b
xor rax, rdx
mov rdx, qword [rdi + 0x10]
cmp rax, rdx
ja 0x1400045b0
movzx ecx, byte [rdi + 8]
lea r14, [r15 - 1]
add cl, 0xff
or rsi, rax
shl rbp, cl
add rbp, rbp
or rbp, rdx
cmp rbp, r14
jb 0x140004590
xor edx, edx
mov rax, rbp
div r15
mov rcx, rax
mov r8, rdx
xor edx, edx
mov rax, rsi
div r15
cmp rax, rcx
jb 0x140004794
cmp r8, r14
jne 0x140004580
mov rbx, qword [rsp + 0x28]
mov rax, rdx
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
ret
Function at 0x14000a120
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0xa8
mov rax, qword [0x140075270]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rcx, qword [0x140075ad8]
call fcn.14001fde0
lea rdx, [rsp + 0x30]
mov byte [rsp + 0x30], 0
lea rcx, [0x14004dbb4]
call fcn.140049060
call fcn.14001f710
cmp byte [0x14004dbb3], 0
movups xmm0, xmmword [0x14004dba0]
mov eax, dword [0x14004dbb0]
mov dword [rsp + 0x60], eax
movups xmmword [rsp + 0x50], xmm0
je 0x14000a364
xor r8d, r8d
cmp dword [0x140075250], 2
jl 0x14000a317
movdqa xmm0, xmmword [str.0000000000000000]
lea rcx, [rsp + 0x54]
movdqa xmm5, xmmword [0x14004dcd0]
mov eax, 5
movdqa xmm4, xmmword [0x14004dd20]
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm7
movdqa xmm7, xmmword [0x14004dcf0]
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [rsp + 0x70], xmm8
movdqa xmmword [rsp + 0x40], xmm0
mov edx, dword [rsp + 0x40]
movd xmm8, eax
nop dword [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x14004dd00]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14004dd00]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x14000a1f0
movaps xmm8, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x90]
cmp r8d, 0x14
jge 0x14000a364
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x92492493
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 0x14
jl 0x14000a330
mov rcx, qword [0x140075ae8]
call fcn.14001fde0
movss xmm0, dword [0x14004dca0]
call fcn.140023fc0
mov rcx, qword [0x140075ae8]
lea r8, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0x40]
call fcn.14002d3f0
movss xmm0, dword [0x14004dcac]
subss xmm0, dword [rax]
mulss xmm0, dword [0x14004dc70]
call fcn.140023f80
lea rdx, [rsp + 0x50]
lea rcx, [0x14004dbb4]
call fcn.140049060
call fcn.14001f710
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14004a900
add rsp, 0xa8
ret
Function at 0x140011790
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rbx, qword [0x140075b10]
lea r8, [0x14004fc11]
mov r10d, 0xffffffff
lea r11, [0x14004dd50]
mov ecx, r10d
mov r9b, 0x23
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x1400117d3
cmp byte [r8], r9b
jne 0x1400117d3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400117c0
not ecx
call fcn.140016430
cmp byte [rbx + 0x104], 0
je 0x140011813
test rax, rax
je 0x140011813
cmp byte [rax + 0xcb], 0
je 0x140011813
mov dil, 1
jmp 0x140011816
xor dil, dil
movss xmm3, dword [0x14005023c]
lea rcx, [rbx + 0x1e00]
movss xmm1, dword [rbx + 0xd20]
lea rdx, [rsp + 0x30]
movss xmm4, dword [0x14004dc74]
xorps xmm2, xmm2
movaps xmm0, xmm4
mov dword [rsp + 0x30], 4
subss xmm0, xmm1
mulss xmm0, xmm3
addss xmm0, xmm1
movss xmm1, dword [rbx + 0xd24]
movss dword [rsp + 0x20], xmm0
xorps xmm0, xmm0
subss xmm0, xmm1
mulss xmm0, xmm3
addss xmm0, xmm1
movss xmm1, dword [rbx + 0xd28]
subss xmm2, xmm1
movss dword [rsp + 0x24], xmm0
movss xmm0, dword [rbx + 0xd2c]
subss xmm4, xmm0
mulss xmm2, xmm3
addss xmm2, xmm1
mulss xmm4, xmm3
addss xmm4, xmm0
movss dword [rsp + 0x28], xmm2
movups xmm0, xmmword [rbx + 0xd20]
movups xmmword [rsp + 0x34], xmm0
movss dword [rsp + 0x2c], xmm4
call fcn.140029760
cmp dword [rbx + 0x1dfc], 4
je 0x1400118d1
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx + 0xd20], xmm0
test dil, dil
je 0x140011907
mov rax, qword [0x140075b10]
or dword [rax + 0x1d88], 1
movsd xmm0, qword [rbx + 0x2678]
xor ecx, ecx
mov qword [rax + 0x1da0], rcx
movsd qword [rax + 0x1d98], xmm0
mov dword [rax + 0x1d8c], 1
xor edx, edx
lea rcx, str.Tooltip_Error
mov r8d, 0x200016f
call fcn.14000f0d0
mov ecx, 1
movzx edi, al
call fcn.14001fa50
test dil, dil
je 0x140011999
mov rcx, qword [rbx + 0x1368]
cmp word [rcx + 0xd8], 1
jne 0x14001199e
lea rcx, str.MESSAGE_FROM_DEAR_VKME
call fcn.140047360
mov rcx, qword [rbx + 0x1368]
call fcn.140011c70
mov rcx, qword [rbx + 0x1368]
call fcn.140011d20
mov rax, qword [0x140075b10]
mov rcx, qword [rax + 0x1368]
movzx eax, dil
movss xmm0, dword [rcx + 0x28]
movss xmm1, dword [rcx + 0x2c]
movss dword [rbx + 0x2678], xmm0
movss dword [rbx + 0x267c], xmm1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
call fcn.140014230
mov rbx, qword [rsp + 0x60]
movzx eax, dil
add rsp, 0x50
pop rdi
ret