joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a9e30
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 0x28
movups xmmword [rsp], xmm6
movups xmmword [rsp + 0x10], xmm7
movdqu xmm3, xmmword [0x1400ce440]
pxor xmm7, xmm7
movdqu xmm4, xmmword [0x1400ce450]
movdqu xmm5, xmmword [0x1400ce460]
movdqu xmm6, xmmword [0x1400ce470]
mov rdx, rcx
lea rcx, [rcx + 0x380]
mov rax, rdx
nop
movdqu xmm0, xmmword [rax]
movdqu xmm1, xmmword [rax + 4]
add rax, 0x10
movdqu xmm2, xmmword [rax + 0x624]
pand xmm1, xmm4
pand xmm0, xmm3
por xmm0, xmm1
movdqa xmm1, xmm0
pand xmm0, xmm5
psrld xmm1, 1
pxor xmm1, xmm2
movdqa xmm2, xmm7
psubd xmm2, xmm0
pand xmm2, xmm6
movdqa xmm0, xmm2
pxor xmm0, xmm1
movups xmmword [rax - 0x10], xmm0
cmp rcx, rax
jne 0x1400a9e70
movq xmm0, qword [rdx + 0x380]
mov eax, dword [rdx + 0x388]
movq xmm1, qword [0x1400ce440]
mov ecx, dword [rdx + 0x38c]
movq xmm2, qword [0x1400ce450]
and eax, 0x80000000
pand xmm0, xmm1
and ecx, 0x7fffffff
movq xmm1, qword [rdx + 0x384]
or eax, ecx
pand xmm1, xmm2
mov ecx, eax
and eax, 1
por xmm0, xmm1
neg eax
shr ecx, 1
xor ecx, dword [rdx + 0x9bc]
movdqa xmm2, xmm0
and eax, 0x9908b0df
movq xmm1, qword [rdx + 0x9b4]
psrld xmm2, 1
xor eax, ecx
lea rcx, [rdx + 0x9bc]
pxor xmm1, xmm2
mov dword [rdx + 0x388], eax
movq xmm2, qword [0x1400ce460]
lea rax, [rdx + 0x38c]
pand xmm0, xmm2
pxor xmm2, xmm2
psubd xmm2, xmm0
movq xmm0, qword [0x1400ce470]
pand xmm0, xmm2
pxor xmm2, xmm2
pxor xmm1, xmm0
movq qword [rdx + 0x380], xmm1
movdqu xmm0, xmmword [rax]
movdqu xmm1, xmmword [rax + 4]
add rax, 0x10
movdqu xmm7, xmmword [rax - 0x39c]
pand xmm1, xmm4
pand xmm0, xmm3
por xmm0, xmm1
movdqa xmm1, xmm0
pand xmm0, xmm5
psrld xmm1, 1
pxor xmm1, xmm7
movdqa xmm7, xmm2
psubd xmm7, xmm0
pand xmm7, xmm6
movdqa xmm0, xmm7
pxor xmm0, xmm1
movups xmmword [rax - 0x10], xmm0
cmp rcx, rax
jne 0x1400a9f73
mov eax, dword [rdx + 0x9bc]
mov ecx, dword [rdx]
mov qword [rdx + 0x9c0], 0
movups xmm6, xmmword [rsp]
movups xmm7, xmmword [rsp + 0x10]
and ecx, 0x7fffffff
and eax, 0x80000000
or eax, ecx
mov ecx, eax
and eax, 1
neg eax
shr ecx, 1
xor ecx, dword [rdx + 0x630]
and eax, 0x9908b0df
xor eax, ecx
mov dword [rdx + 0x9bc], eax
add rsp, 0x28
ret
Function at 0x140001d18
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x140093200]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rax, rdx
mov rsi, rcx
mov rcx, rax
lea rdx, [rsp + 0x30]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebp, eax
test eax, eax
je 0x140001e51
mov r14d, 0x1000
mov edi, ebp
mov ecx, ebp
cmp rbp, r14
jb 0x140001d86
call fcn.140001cdc
jmp 0x140001d8b
call fcn.14003bcf0
mov r8, rdi
xor edx, edx
mov rcx, rax
mov rbx, rax
call fcn.140067770
mov r9, rbx
lea rcx, [rsp + 0x30]
mov r8d, ebp
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x140001e24
lea r9, [rsp + 0x20]
mov rcx, rbx
lea r8, [rsp + 0x28]
lea rdx, [0x14007fa00]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140001e24
mov rax, qword [rsp + 0x28]
movups xmm0, xmmword [rax]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rsi + 0x20], xmm0
mov eax, dword [rax + 0x30]
mov dword [rsi + 0x30], eax
mov byte [rsi + 0x34], 1
test rbx, rbx
je 0x140001e55
cmp rdi, r14
jb 0x140001e17
mov rcx, qword [rbx - 8]
add rdi, 0x27
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x140001e80
mov rbx, rcx
mov rdx, rdi
mov rcx, rbx
call fcn.14003bd2c
jmp 0x140001e55
test rbx, rbx
je 0x140001e51
cmp rdi, r14
jb 0x140001e46
mov rcx, qword [rbx - 8]
add rdi, 0x27
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x140001e86
mov rbx, rcx
mov rdx, rdi
mov rcx, rbx
call fcn.14003bd2c
mov byte [rsi + 0x34], 0
mov rax, rsi
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14003bcd0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.140049ff4
int3
call fcn.140049ff4
int3
Function at 0x140002b64
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x4f]
sub rsp, 0xd0
mov rax, qword [0x140093200]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rsi, r9
mov r14, rdx
mov r15, rcx
xor r12d, r12d
mov ebx, r12d
mov qword [rbp - 0x39], rbx
mov dword [rbp - 0x31], r12d
mov qword [rbp - 0x29], r12
mov qword [rbp - 0x51], r12
lea rax, [rbp - 0x59]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x51]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x2001f
lea r13d, [r12 + 1]
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareJD_DesignTouchProp
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edx, eax
test eax, eax
jne 0x140002c09
mov rbx, qword [rbp - 0x51]
mov qword [rbp - 0x39], rbx
mov dword [rbp - 0x31], r12d
mov ecx, edx
neg ecx
sbb eax, eax
test edx, eax
jne 0x140002cf3
mov dword [rbp - 0x51], 8
lea rax, [rbp - 0x51]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x49]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x59]
xor r8d, r8d
lea rdx, str.LastUpdateCheck
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x140002c5a
mov eax, dword [rbp - 0x59]
sub eax, 3
neg eax
sbb edi, edi
and edi, 0xd
call fcn.14003a374
mov qword [rbp - 0x41], rax
test edi, edi
jne 0x140002c86
sub rax, qword [rbp - 0x49]
cmp rax, qword [rbp + 0x7f]
jne 0x140002c76
mov cl, r12b
jmp 0x140002c7f
mov ecx, 0xff
cmovge ecx, r13d
test cl, cl
setg al
jmp 0x140002c89
mov al, r13b
test al, al
je 0x140002cf3
mov qword [rbp - 0x21], r14
mov qword [rbp - 0x19], rsi
mov dword [rbp - 0x11], r13d
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
movdqa xmm1, xmmword [0x140082e20]
movdqu xmmword [rbp + 7], xmm1
mov word [rbp - 9], r12w
lea r8, [rbp - 0x21]
mov rcx, r15
call fcn.140002840
mov dword [rsp + 0x28], 8
lea rax, [rbp - 0x41]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
lea rdx, str.LastUpdateCheck
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
lea rcx, [rbp - 9]
call fcn.140001a78
nop
test rbx, rbx
je 0x140002d01
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14003bcd0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x14000d7c8
Capabilities:
Hash data using whirlpool

Disassembly:
mov rcx, qword [rcx + 0xd0]
jmp fcn.140032060

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rdx, qword [rcx + 0x10]
mov rsi, rcx
add rdx, 1
mov rbx, qword [rcx + 0x38]
xorps xmm0, xmm0
js 0x14001037c
cvtsi2ss xmm0, rdx
jmp 0x140010391
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call fcn.140066ef0
movss xmm1, dword [0x140082e00]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x1400103bf
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x1400103bf
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x1400103ed
cmp rbx, 0x200
jae 0x1400103ea
shl rbx, 3
cmp rbx, rcx
jae 0x1400103ed
mov rbx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rbx, rax
ja 0x14001055b
lea rax, [rbx - 1]
mov edi, 1
mov rbx, qword [rsi + 8]
or rax, 1
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.14000f434
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x14001051f
mov rcx, qword [rcx]
movabs r8, 0xcbf29ce484222325
xor r9d, r9d
movzx edx, byte [rax + r9 + 0x10]
movabs r10, 0x100000001b3
xor r8, rdx
inc r9
imul r8, r10
cmp r9, 8
jb 0x140010465
mov r11, qword [rsi + 0x30]
mov rdi, qword [rsi + 0x18]
and r11, r8
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x1400104a4
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x140010513
mov r10, qword [rdi + r11*8 + 8]
mov rdx, qword [rax + 0x10]
cmp rdx, qword [r10 + 0x10]
jne 0x1400104e8
mov r10, qword [r10]
cmp r10, rax
je 0x14001049d
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x14001049d
mov r10, qword [r10 + 8]
cmp rdx, qword [r10 + 0x10]
je 0x140010535
cmp qword [rdi + r11*8], r10
jne 0x1400104de
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [rdi + r11*8], rax
mov rax, rcx
cmp rcx, rbx
jne 0x140010455
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov r10, qword [r10]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140010513
lea rcx, str.invalid_hash_bucket_count
call fcn.14003a2cc
int3
Function at 0x140012dfc
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov qword [r11 + 0x10], rdx
push rdi
sub rsp, 0x30
mov eax, dword [r9]
lea rdx, str.RegKey
add eax, eax
mov rbx, r8
mov dword [rsp + 0x48], eax
mov rdi, r9
lea rax, [r11 + 0x10]
xor esi, esi
mov dword [r9], esi
xor r8d, r8d
mov rcx, qword [rcx]
lea r9, [r11 + 8]
mov qword [r11 - 0x10], rax
mov qword [r11 - 0x18], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140012e79
mov eax, dword [rsp + 0x40]
dec eax
cmp eax, 1
ja 0x140012e74
mov ecx, dword [rsp + 0x48]
test rbx, rbx
je 0x140012e8c
test ecx, ecx
je 0x140012e89
test cl, 1
jne 0x140012e74
mov eax, ecx
shr rax, 1
cmp word [rbx + rax*2 - 2], si
je 0x140012e8c
mov eax, 0xd
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov word [rbx], si
shr ecx, 1
mov dword [rdi], ecx
xor eax, eax
jmp 0x140012e79

Function at 0x140013274
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x20], rsi
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x50
mov rdi, rdx
xor esi, esi
mov qword [r11 + 0x18], rsi
lea rax, [r11 + 8]
mov qword [r11 - 0x18], rax
lea rax, [r11 + 0x18]
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x28], rsi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareJD_DesignTouchPro
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, esi
test eax, eax
cmove rbx, qword [rsp + 0x70]
mov ecx, eax
neg ecx
sbb edx, edx
test eax, edx
jne 0x14001331a
test rdi, rdi
je 0x14001331a
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], si
jne 0x1400132e8
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
mov r9d, 1
xor r8d, r8d
lea rdx, str.RegKey
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rbx, rbx
je 0x140013329
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret

Function at 0x140013a00
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 0x140013a77
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140013a77
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140013a64
cmp rbx, rcx
jae 0x140013a77
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x140013a4f
cmp rbx, rcx
jae 0x140013a77
movzx eax, word [rbx]
neg ax
sbb rax, rax
and rax, rbx
jmp 0x140013a79
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 0x140014ecc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rsi, r8
mov r14d, edx
mov rbx, rcx
xor r15d, r15d
mov dword [rbp - 0x30], r15d
call fcn.140013c9c
mov rcx, rax
test rax, rax
je 0x140015011
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx], rax
mov dword [rbp - 0x30], 1
mov eax, 0x80070002
cmp r14d, eax
jne 0x140014f6f
lea rdi, vtable._com_error.0
mov qword [rbp - 0x28], rdi
mov dword [rbp - 0x20], eax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
lea rcx, [rbp - 0x28]
call fcn.140013e48
test rax, rax
jne 0x140014f53
mov r8d, r15d
jmp 0x140014f61
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r15w
jne 0x140014f57
mov rdx, rax
mov rcx, rbx
call fcn.1400136d8
nop
jmp 0x140014fd1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140014f95
test al, 1
je 0x140014f95
mov r8, rsi
lea rdx, str._s_is_read_only._nChanging_the_read_only_attribute_may_allow_you_to_change_properties_of_this_file.
mov rcx, rbx
call fcn.140016b58
jmp 0x140014ff4
lea rdi, vtable._com_error.0
mov qword [rbp - 0x28], rdi
mov dword [rbp - 0x20], r14d
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
lea rcx, [rbp - 0x28]
call fcn.140013e48
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp - 0x20]
mov r8, rsi
lea rdx, str.Unable_to_modify__s._0x_x:__s_nYou_may_not_have_permission_to_modify_it.
mov rcx, rbx
call fcn.140016b58
nop
mov rcx, qword [rbp - 0x18]
test rcx, rcx
mov qword [rbp - 0x28], rdi
je 0x140014fe4
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x140014ff4
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
mov rax, rbx
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov ecx, 0x80004005
call fcn.1400022f8
int3
Function at 0x140034220
Capabilities:
Encode data using xor

Disassembly:
mov r9, r8
xor r11d, r11d
mov r10, rdx
mov r8d, r11d
cmp r9, 8
jb 0x140034257
mov rdx, r9
shr rdx, 3
imul rax, rdx, 0xfffffffffffffff8
add r9, rax
mov rax, qword [rcx]
add rcx, 8
xor rax, qword [r10]
add r10, 8
or r8, rax
sub rdx, 1
jne 0x140034240
mov rdx, r8
shr rdx, 0x20
or edx, r8d
mov r8d, edx
mov eax, edx
shr r8d, 8
or r8d, edx
shr eax, 0x10
and r8d, 0xff00
or r8d, eax
movzx eax, dl
shr r8d, 8
or r8d, eax
test r9, r9
je 0x140034348
sub rcx, r10
cmp r9, 8
jb 0x140034329
mov rax, r9
lea rdx, [r10 + 4]
and rax, 0xfffffffffffffff8
xorps xmm4, xmm4
xorps xmm3, xmm3
nop dword [rax + rax]
movd xmm2, dword [rcx + rdx - 4]
xorps xmm0, xmm0
movd xmm1, dword [rdx - 4]
lea rdx, [rdx + 8]
punpcklbw xmm2, xmm0
add r11, 8
punpcklwd xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
movd xmm1, dword [rdx - 8]
punpcklbw xmm1, xmm0
orps xmm4, xmm2
movd xmm2, dword [rcx + rdx - 8]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
orps xmm3, xmm2
cmp r11, rax
jb 0x1400342b0
orps xmm3, xmm4
movdqa xmm0, xmm3
psrldq xmm0, 8
orps xmm3, xmm0
movdqa xmm0, xmm3
psrldq xmm0, 4
orps xmm3, xmm0
movd eax, xmm3
or r8d, eax
cmp r11, r9
jae 0x140034348
add r10, r11
sub r9, r11
nop
movzx edx, byte [rcx + r10]
movzx eax, byte [r10]
lea r10, [r10 + 1]
xor edx, eax
or r8d, edx
sub r9, 1
jne 0x140034330
test r8d, r8d
sete al
ret

Function at 0x140034350
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
test r8, r8
je 0x1400344b2
cmp r8, 4
jb 0x140034392
mov r9, r8
shr r9, 2
imul rax, r9, 0xfffffffffffffffc
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, dword [rdx]
add rdx, 4
xor dword [rcx], eax
add rcx, 4
sub r9, 1
jne 0x140034380
xor r10d, r10d
test r8, r8
je 0x1400344b2
cmp r8, 8
jb 0x140034494
lea r9, [rcx - 1]
lea rax, [rdx - 1]
add r9, r8
add rax, r8
cmp rcx, rax
ja 0x1400343c4
cmp r9, rdx
jae 0x140034494
mov r9, rdx
cmp r8, 0x40
jb 0x140034458
mov r11, r8
mov qword [rsp], rbx
and r11d, 0x3f
mov rbx, r8
sub rbx, r11
lea rax, [rcx + 0x10]
sub r9, rcx
nop dword [rax]
movdqu xmm0, xmmword [rax - 0x10]
add r10, 0x40
movdqu xmm1, xmmword [r9 + rax - 0x10]
movdqu xmm2, xmmword [r9 + rax]
lea rax, [rax + 0x40]
xorps xmm1, xmm0
movdqu xmmword [rax - 0x50], xmm1
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmm1, xmmword [r9 + rax - 0x30]
xorps xmm2, xmm0
movdqu xmmword [rax - 0x40], xmm2
movdqu xmm0, xmmword [rax - 0x30]
xorps xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm1, xmmword [r9 + rax - 0x20]
xorps xmm1, xmm0
movdqu xmmword [rax - 0x20], xmm1
cmp r10, rbx
jb 0x1400343f0
mov rbx, qword [rsp]
cmp r11, 8
jb 0x14003448f
jmp 0x14003445b
sub r9, rcx
mov r11, r8
and r11, 0xfffffffffffffff8
lea rax, [r10 + rcx]
nop word [rax + rax]
movq xmm0, qword [rax]
add r10, 8
movq xmm1, qword [r9 + rax]
lea rax, [rax + 8]
xorps xmm1, xmm0
movq qword [rax - 8], xmm1
cmp r10, r11
jb 0x140034470
cmp r10, r8
jae 0x1400344b2
sub rdx, rcx
lea r9, [r10 + rcx]
sub r8, r10
nop
movzx eax, byte [r9 + rdx]
xor byte [r9], al
lea r9, [r9 + 1]
sub r8, 1
jne 0x1400344a0
add rsp, 8
ret
Function at 0x14003ccc4
Capabilities:
Parse pe header

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

Function at 0x140055d4c
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 0x140055dbb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140055dbb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140055dbb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140055dbb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140055dbb
cmp dword [rcx + 0x84], 0xe
jbe 0x140055dbb
cmp dword [rcx + 0xf8], 0
je 0x140055dbb
mov ecx, ebx
call fcn.140055e6c
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.140055c48
nop
cmp dword [rbp + 0x20], 0
je 0x140055e09
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140055e14
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140055d4c

Function at 0x140055f50
Capabilities:
Parse pe header

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

Function at 0x14005dd3c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14005dd52
mov al, 1
jmp 0x14005ddb2
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14005dd63
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14005ddb0
mov ecx, dword [rcx + 0x18]
nop
call fcn.14005c29c
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14005ddb0
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14005ddb0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14005ddb0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14005ddb2
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14005f0e0
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 0x14005f167
mov rsi, rbx
cmp word [rax], bp
je 0x14005f126
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14005f110
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14005f10c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400590e8
mov rdi, rax
test rax, rax
je 0x14005f154
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400670d0
mov rbp, rdi
xor ecx, ecx
call fcn.1400590ac
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 0x140061d10
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.140058c1c
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x140061db1
cmp ebx, dword [rsp + 0x30]
je 0x140061daa
test esi, esi
je 0x140061daa
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140061d85
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140061d92
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140061d6f
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140061d96
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140061db3
mov eax, 1
jmp 0x140061db3
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140066bc0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140066be8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140066be8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret