joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400068e0
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
cmp byte [0x140076d90], 1
jne 0x140006900
xor ecx, ecx
xor edx, edx
mov r8d, 0x12
xor r9d, r9d
call qword [0x140076d70]
mov rcx, qword [0x140076d78]
test rcx, rcx
je case.default.0x140006919
cmp byte [0x140076d80], 1
jne case.default.0x140006919
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_DeleteFileA]
nop
add rsp, 0x28
ret
mov dword [rdi - 0x50], edx
imul esi, dword [rbp - 0x6cd48858], 0xffffffd1
and dword [rcx], 0x7d
add eax, 0xe396e45f
cdq
or byte [rax - 0x18], 0xe7
invalid
sbb eax, 0x25cd18da
xor al, 0x6a
sbb ebx, dword [rsi - 0x44ab0f93]
jle 0x1400e5ce8
invalid
push 0x1b
sahf
insd dword [rdi], dx
invalid
idiv dword [rbx + rbx - 0x3c]
jno 0x1400e5d00
jl 0x1400e5d0e
invalid
insb byte [rdi], dx
adc al, 0x57
je 0x1400e5ca9
jnp 0x1400e5d4a
movabs rsi, 0x9aaaeed7fe4208e9
jb 0x1400e5d40
mov esi, 0xfe4208e9
xlatb
out dx, al
stosb byte [rdi], al
invalid
invalid
invalid
and byte [rcx - 0x35], dh
xor cl, byte [rdx - 0x49]
push 0x14
hlt
hlt

Function at 0x140006960
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rdx]
lea rdx, [0x140069e28]
call fcn.140045450
test rax, rax
je 0x1400069dd
mov rsi, rax
mov qword [rdi + 8], 0
mov r8, qword [rdi + 0x10]
test r8, r8
je 0x1400069f6
xor ecx, ecx
nop word cs:[rax + rax]
nop
sub r8, rcx
add rcx, qword [rdi]
mov edx, 1
mov r9, rsi
call fcn.1400458b0
mov rbx, rax
mov rcx, rsi
call fcn.1400452d8
test eax, eax
jne 0x1400069e4
mov rcx, qword [rdi + 8]
test rbx, rbx
je 0x1400069eb
add rcx, rbx
mov qword [rdi + 8], rcx
mov r8, qword [rdi + 0x10]
cmp r8, rcx
ja 0x1400069a0
jmp 0x1400069ef
mov ebx, 2
jmp 0x140006a34
mov ebx, 2
jmp 0x140006a2c
mov r8, qword [rdi + 0x10]
xor ebx, ebx
cmp rcx, r8
jne 0x140006a0a
mov rcx, rsi
call fcn.140045304
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
mov rcx, qword [rdi + 8]
mov rax, qword [rdi]
lea rdx, [rdi + 0x18]
mov qword [rdi + 0x18], rax
mov qword [rdi + 0x28], rcx
mov qword [rdi + 0x20], 0
mov dword [rdi + 0x30], 0
mov qword [rdi + 0x38], rdx
mov rcx, rsi
call fcn.1400451f0
mov eax, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400070a0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, r8
mov rbx, rdx
mov rcx, qword [rcx]
lea rdx, [0x140069e14]
call fcn.140045450
test rax, rax
je 0x140007108
mov rsi, rax
mov rcx, rbx
mov rdx, rdi
call fcn.140006f10
mov rdi, rax
mov rcx, qword [rax]
mov r8, qword [rax + 0x10]
mov edx, 1
mov r9, rsi
call fcn.140045b44
cmp rax, qword [rdi + 0x10]
sete bl
mov rcx, rsi
call fcn.1400451f0
test eax, eax
sete sil
and sil, bl
mov rcx, rdi
call fcn.140024f60
jmp 0x14000710a
xor esi, esi
mov eax, esi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x140009690
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov r14, r9
mov rbx, r8
mov rdi, rdx
mov rcx, qword [rcx]
lea rdx, [0x140069e14]
call fcn.140045450
test rax, rax
je 0x140009700
mov rsi, rax
mov rcx, rdi
mov rdx, rbx
mov r8, r14
call fcn.140009060
mov rdi, rax
mov rcx, qword [rax]
mov r8, qword [rax + 0x10]
mov edx, 1
mov r9, rsi
call fcn.140045b44
cmp rax, qword [rdi + 0x10]
sete bl
mov rcx, rsi
call fcn.1400451f0
test eax, eax
sete sil
and sil, bl
mov rcx, rdi
call fcn.140024f60
jmp 0x140009702
xor esi, esi
mov eax, esi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140009a80
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov r15d, r9d
mov r14, r8
mov rbx, rdx
mov rsi, rcx
mov eax, dword [rsp + 0xa0]
mov rcx, qword [0x140076008]
xor rcx, rsp
mov qword [rsp + 0x30], rcx
cmp eax, 0xa
je 0x140009bfa
cmp eax, 9
jne 0x140009c42
lea rcx, str._____BEGIN_SSH2_PUBLIC_KEY______n
mov edx, 0x20
mov r8d, 1
mov r9, rsi
call fcn.140045b44
test rbx, rbx
je 0x140009b48
lea rcx, str.Comment:__
mov edx, 0xa
mov r8d, 1
mov r9, rsi
call fcn.140045b44
jmp 0x140009b1f
mov ecx, 0x5c
mov rdx, rsi
call fcn.140045518
movzx eax, byte [rbx]
movsx ecx, al
mov rdx, rsi
call fcn.140045518
add rbx, 1
movzx eax, byte [rbx]
cmp al, 0x22
je 0x140009b00
cmp al, 0x5c
je 0x140009b00
test al, al
jne 0x140009b10
lea rcx, [0x14006c397]
mov edx, 2
mov r8d, 1
mov r9, rsi
call fcn.140045b44
test r15d, r15d
jle 0x140009bc1
xor edi, edi
mov r12d, 3
lea r13, [rsp + 0x2b]
xor ebx, ebx
jmp 0x140009b68
add ebx, 1
cmp edi, r15d
jge 0x140009bb0
mov ebp, r15d
sub ebp, edi
cmp ebp, 3
cmovge ebp, r12d
movsxd rdi, edi
lea rcx, [r14 + rdi]
mov edx, ebp
mov r8, r13
call fcn.140023bd0
add edi, ebp
mov byte [rsp + 0x2f], 0
mov rcx, r13
mov rdx, rsi
call fcn.140045654
cmp ebx, 0xf
jl 0x140009b60
mov ecx, 0xa
mov rdx, rsi
call fcn.140045518
xor ebx, ebx
cmp edi, r15d
jl 0x140009b68
test ebx, ebx
jle 0x140009bc1
mov ecx, 0xa
mov rdx, rsi
call fcn.140045518
lea rcx, str._____END_SSH2_PUBLIC_KEY______n
mov edx, 0x1e
mov r8d, 1
mov r9, rsi
call fcn.140045b44
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140037270
nop
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rbx
mov rdx, r14
mov r8d, r15d
call fcn.140009910
mov rdi, rax
lea rdx, [0x14006be46]
mov rcx, rsi
mov r8, rax
call fcn.140009850
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140037270
mov rcx, rdi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.1400249d0
lea rcx, str.false___Bad_key_type_in_ssh2_write_pubkey_
lea rdx, str._home_simon_mem_.build_workdirs_bob_aew3xwii_putty_sshpubk.c
mov r8d, 0x6c2
call fcn.1400439b4
call fcn.140004b40
int3
Function at 0x140012760
Capabilities:
Check for time delay via gettickcount

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov qword [rsp + 0x58], r9
mov edi, edx
mov ebx, ecx
mov r12, qword [rsp + 0x140]
mov rax, qword [0x140076008]
xor rax, rsp
mov qword [rsp + 0xa0], rax
imul eax, r8d, 0x3e8
imul r14, rax, 0x10624dd3
shr r14, 0x26
mov esi, 1
mov r13, qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, 1
nop dword [rax]
mov r15d, ebp
mov ebp, esi
call r13
mov esi, eax
mov rax, qword [rsp + 0x120]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x90], xmm0
mov rax, qword [rsp + 0x128]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x80], xmm0
mov rax, qword [rsp + 0x130]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x70], xmm0
mov rax, qword [rsp + 0x138]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x48], r12
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x118]
mov dword [rsp + 0x20], eax
mov ecx, ebx
mov edx, edi
mov r8d, ebp
mov r9d, dword [rsp + 0x110]
call fcn.140011770
call r13
sub eax, esi
mov esi, r15d
add esi, ebp
setb cl
cmp eax, r14d
jae 0x140012887
test cl, cl
jne 0x140012887
mov rcx, r12
xor edx, edx
call fcn.140024df0
jmp 0x1400127c0
mov rax, qword [rsp + 0x58]
mov dword [rax], ebp
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140037270
nop
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400128c0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0xc28
mov rsi, rcx
mov rax, qword [0x140076008]
xor rax, rsp
mov qword [rsp + 0xc20], rax
xor eax, eax
mov rcx, qword [r8 + rax*8]
xor rcx, qword [rdx + rax*8]
mov qword [rsp + rax*8 + 0x820], rcx
add rax, 1
cmp rax, 0x80
jne 0x1400128e0
lea rdi, [rsp + 0x420]
lea r8, [rsp + 0x820]
mov rcx, rdi
mov edx, 2
mov r9d, 2
call fcn.140012b60
lea r8, [rsp + 0x8a0]
lea rcx, [rsp + 0x4a0]
mov edx, 2
mov r9d, 2
call fcn.140012b60
lea r8, [rsp + 0x920]
lea rcx, [rsp + 0x520]
mov edx, 2
mov r9d, 2
call fcn.140012b60
lea r8, [rsp + 0x9a0]
lea rcx, [rsp + 0x5a0]
mov edx, 2
mov r9d, 2
call fcn.140012b60
lea r8, [rsp + 0xa20]
lea rcx, [rsp + 0x620]
mov edx, 2
mov r9d, 2
call fcn.140012b60
lea r8, [rsp + 0xaa0]
lea rcx, [rsp + 0x6a0]
mov edx, 2
mov r9d, 2
call fcn.140012b60
lea r8, [rsp + 0xb20]
lea rcx, [rsp + 0x720]
mov edx, 2
mov r9d, 2
call fcn.140012b60
lea r8, [rsp + 0xba0]
lea rcx, [rsp + 0x7a0]
mov edx, 2
mov r9d, 2
call fcn.140012b60
lea rcx, [rsp + 0x20]
mov edx, 0x10
mov r8, rdi
mov r9d, 0x10
call fcn.140012b60
lea r8, [rsp + 0x430]
lea rcx, [rsp + 0x30]
mov edx, 0x10
mov r9d, 0x10
call fcn.140012b60
lea r8, [rsp + 0x440]
lea rcx, [rsp + 0x40]
mov edx, 0x10
mov r9d, 0x10
call fcn.140012b60
lea r8, [rsp + 0x450]
lea rcx, [rsp + 0x50]
mov edx, 0x10
mov r9d, 0x10
call fcn.140012b60
lea r8, [rsp + 0x460]
lea rcx, [rsp + 0x60]
mov edx, 0x10
mov r9d, 0x10
call fcn.140012b60
lea r8, [rsp + 0x470]
lea rcx, [rsp + 0x70]
mov edx, 0x10
mov r9d, 0x10
call fcn.140012b60
lea r8, [rsp + 0x480]
lea rcx, [rsp + 0x80]
mov edx, 0x10
mov r9d, 0x10
call fcn.140012b60
lea r8, [rsp + 0x490]
lea rcx, [rsp + 0x90]
mov edx, 0x10
mov r9d, 0x10
call fcn.140012b60
xor eax, eax
nop word [rax + rax]
mov rcx, qword [rsp + rax*8 + 0x20]
xor rcx, qword [rsp + rax*8 + 0x820]
xor qword [rsi + rax*8], rcx
add rax, 1
cmp rax, 0x80
jne 0x140012af0
lea rcx, [rsp + 0x820]
mov edx, 0x400
call fcn.140024d50
lea rcx, [rsp + 0x420]
mov edx, 0x400
call fcn.140024d50
lea rcx, [rsp + 0x20]
mov edx, 0x400
call fcn.140024d50
mov rcx, qword [rsp + 0xc20]
xor rcx, rsp
call fcn.140037270
nop
add rsp, 0xc28
pop rdi
pop rsi
ret

Function at 0x140017a40
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov ebx, r8d
mov rsi, rdx
mov rdi, rcx
mov rax, qword [rcx]
cmp rax, qword [rdx]
je 0x140017a71
lea rcx, str.x0__nw__x1__nw
lea rdx, str._home_simon_mem_.build_workdirs_bob_aew3xwii_putty_crypto_mpint.c
mov r8d, 0x9e
call fcn.1400439b4
and ebx, 1
neg rbx
mov qword [rsp + 0x28], rbx
cmp qword [rdi], 0
je 0x140017ac1
xor eax, eax
nop word cs:[rax + rax]
nop
mov rcx, qword [rdi + 8]
mov rdx, qword [rsi + 8]
mov rdx, qword [rdx + rax*8]
xor rdx, qword [rcx + rax*8]
mov rcx, qword [rsp + 0x28]
and rcx, rdx
mov rdx, qword [rdi + 8]
xor qword [rdx + rax*8], rcx
mov rdx, qword [rsi + 8]
xor qword [rdx + rax*8], rcx
add rax, 1
cmp rax, qword [rdi]
jb 0x140017a90
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
Function at 0x140026bd0
Capabilities:
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov r14, r8
mov rsi, rdx
mov rax, qword [0x140076008]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rcx
test rdx, rdx
je 0x140026c18
lea r8, [rsp + 0x48]
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x140026c13
xor ebx, ebx
xor edi, edi
jmp 0x140026cc6
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor edi, edi
lea r9, [rsp + 0x44]
mov rdx, r14
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140026cb4
cmp dword [rsp + 0x44], 1
mov ebx, 0
jne 0x140026cb6
mov ecx, dword [rsp + 0x40]
add ecx, 1
xor edi, edi
mov edx, 1
xor r8d, r8d
call fcn.140024930
mov rbx, rax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x3c], eax
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x44]
mov rdx, r14
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140026cb6
cmp dword [rsp + 0x44], 1
jne 0x140026cb6
mov eax, dword [rsp + 0x3c]
cmp eax, dword [rsp + 0x40]
jbe 0x140026cad
xor edi, edi
jmp 0x140026cb6
mov byte [rbx + rax], 0
mov rdi, rbx
xor ebx, ebx
test rsi, rsi
je 0x140026cc6
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rbx
call fcn.1400249d0
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140037270
mov rax, rdi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140026cf0
Capabilities:
Get common file path
Set current directory

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x138
mov ebx, r9d
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x140076008]
xor rax, rsp
mov qword [rsp + 0x130], rax
test r8b, r8b
je 0x140026d39
lea rdx, [rsp + 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
add eax, 0xffffffff
cmp eax, 0x103
setb bpl
jmp 0x140026d3b
xor ebp, ebp
mov dword [rdi], 0x88
xor eax, eax
test rsi, rsi
je 0x140026d4f
cmp byte [rsi], 0
cmovne rax, rsi
mov qword [rdi + 0x50], rax
mov rcx, rdi
test bl, bl
je 0x140026d62
call qword [sym.imp.COMDLG32.dll_GetSaveFileNameA]
jmp 0x140026d68
call qword [sym.imp.COMDLG32.dll_GetOpenFileNameA]
mov edi, eax
test rsi, rsi
je 0x140026d8a
mov ecx, 0x104
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
add eax, 0xffffffff
cmp eax, 0x103
jb 0x140026d8a
mov byte [rsi], 0
test bpl, bpl
je 0x140026d9a
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test edi, edi
setne bl
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140037270
mov eax, ebx
add rsp, 0x138
pop rbx
pop rbp
pop rdi
pop rsi
ret
Function at 0x140027190
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x28
cmp byte [0x140077130], 1
jne 0x1400271a8
mov al, byte [0x140077131]
jmp 0x14002732e
mov byte [0x140077130], 1
lea rcx, str.advapi32.dll
call fcn.140026900
mov qword [0x140077138], rax
test rax, rax
je 0x140027326
lea rdx, str.GetSecurityInfo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140077140], rax
test rax, rax
je 0x140027326
mov rcx, qword [0x140077138]
test rcx, rcx
je 0x1400272df
lea rdx, str.SetSecurityInfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140077148], rax
test rax, rax
je 0x140027326
mov rcx, qword [0x140077138]
test rcx, rcx
je 0x1400272ee
lea rdx, str.OpenProcessToken
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140077150], rax
test rax, rax
je 0x140027326
mov rcx, qword [0x140077138]
test rcx, rcx
je 0x1400272fd
lea rdx, str.GetTokenInformation
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140077158], rax
test rax, rax
je 0x140027326
mov rcx, qword [0x140077138]
test rcx, rcx
je 0x14002730c
lea rdx, str.InitializeSecurityDescriptor
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140077160], rax
test rax, rax
je 0x140027326
mov rcx, qword [0x140077138]
test rcx, rcx
je 0x14002731b
lea rdx, str.SetSecurityDescriptorOwner
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140077168], rax
test rax, rax
je 0x140027326
mov rcx, qword [0x140077138]
test rcx, rcx
je 0x140027333
lea rdx, str.SetEntriesInAclA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x140027335
mov qword [0x140077148], 0
xor eax, eax
jmp 0x140027328
mov qword [0x140077150], 0
xor eax, eax
jmp 0x140027328
mov qword [0x140077158], 0
xor eax, eax
jmp 0x140027328
mov qword [0x140077160], 0
xor eax, eax
jmp 0x140027328
mov qword [0x140077168], 0
xor eax, eax
mov byte [0x140077131], al
add rsp, 0x28
ret
xor eax, eax
mov qword [0x140077170], rax
test rax, rax
setne al
jmp 0x140027328

Function at 0x140029f70
Capabilities:
Hash data using sha512

Disassembly:
push rsi
sub rsp, 0x20
mov esi, ecx
cmp ecx, 0x41
jb 0x140029f95
lea rcx, str.hashlen___ssh_blake2b.hlen
lea rdx, str._home_simon_mem_.build_workdirs_bob_aew3xwii_putty_crypto_blake2.c
mov r8d, pe_nt_image_headers64
call fcn.1400439b4
mov ecx, 1
mov edx, 0x108
xor r8d, r8d
call fcn.140024930
lea r8, [rax + 0xf8]
lea rdx, [0x14005d470]
mov qword [rax + 0xf8], rdx
mov dword [rax + 0x40], esi
lea rdx, [rax + 0xe0]
lea rcx, [0x14002a2d0]
mov qword [rax + 0xe0], rcx
mov qword [rax + 0xe8], 0
mov qword [rax + 0xf0], rdx
mov qword [rax + 0x100], rdx
movaps xmm0, xmmword [0x14005d4d0]
movups xmmword [rax], xmm0
movaps xmm0, xmmword [0x14005d4e0]
movups xmmword [rax + 0x10], xmm0
movaps xmm0, xmmword [0x14005d4f0]
movups xmmword [rax + 0x20], xmm0
movaps xmm0, xmmword [0x14005d500]
movups xmmword [rax + 0x30], xmm0
mov ecx, esi
movabs rdx, 0x6a09e667f2bdc908
xor rdx, rcx
mov qword [rax], rdx
xorps xmm0, xmm0
movups xmmword [rax + 0xc8], xmm0
mov qword [rax + 0xd8], 0
mov rax, r8
add rsp, 0x20
pop rsi
ret
Function at 0x14002ab60
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
test r8, r8
je 0x14002aca9
xor r10d, r10d
cmp r8, 8
jb 0x14002ac7a
mov r9, r8
and r9, 0xfffffffffffffff8
lea rax, [r9 - 8]
mov r10, rax
shr r10, 3
add r10, 1
test rax, rax
je 0x14002acae
mov r11, r10
and r11, 0xfffffffffffffffe
neg r11
pxor xmm2, xmm2
xor eax, eax
pxor xmm0, xmm0
pxor xmm1, xmm1
nop
mov esi, dword [rdx + rax]
mov edi, dword [rdx + rax + 4]
xor esi, dword [rcx + rax]
xor edi, dword [rcx + rax + 4]
movd xmm3, esi
movd xmm4, edi
punpcklbw xmm3, xmm2
punpcklwd xmm3, xmm2
por xmm3, xmm0
punpcklbw xmm4, xmm2
punpcklwd xmm4, xmm2
por xmm4, xmm1
mov esi, dword [rdx + rax + 8]
mov edi, dword [rdx + rax + 0xc]
xor esi, dword [rcx + rax + 8]
movd xmm0, esi
xor edi, dword [rcx + rax + 0xc]
movd xmm1, edi
punpcklbw xmm0, xmm2
punpcklwd xmm0, xmm2
por xmm0, xmm3
punpcklbw xmm1, xmm2
punpcklwd xmm1, xmm2
por xmm1, xmm4
add rax, 0x10
add r11, 2
jne 0x14002abb0
test r10b, 1
je 0x14002ac50
mov edi, dword [rdx + rax]
xor edi, dword [rcx + rax]
mov esi, dword [rdx + rax + 4]
movd xmm2, edi
xor esi, dword [rcx + rax + 4]
movd xmm3, esi
pxor xmm4, xmm4
punpcklbw xmm2, xmm4
punpcklwd xmm2, xmm4
por xmm0, xmm2
punpcklbw xmm3, xmm4
punpcklwd xmm3, xmm4
por xmm1, xmm3
por xmm0, xmm1
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
pshufd xmm0, xmm1, 0x55
por xmm0, xmm1
movd r10d, xmm0
cmp r9, r8
je 0x14002ac96
and r8d, 7
add rdx, r9
add rcx, r9
xor edi, edi
nop dword [rax]
movzx eax, byte [rdx + rdi]
xor al, byte [rcx + rdi]
movzx eax, al
or r10d, eax
add rdi, 1
cmp r8, rdi
jne 0x14002ac80
add r10d, 0xfffffeff
cmp r10d, 0xffffff00
setb al
jmp 0x14002acab
mov al, 1
pop rdi
pop rsi
ret
pxor xmm0, xmm0
xor eax, eax
pxor xmm1, xmm1
test r10b, 1
jne 0x14002ac1e
jmp 0x14002ac50
Function at 0x14002e900
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
mov r9, rcx
shr r9, 0x20
mov r10d, dword [rdx + r8*4]
xor r10d, r9d
mov r11d, r9d
rol r11d, 4
xor r11d, dword [rdx + r8*4 + 0x40]
mov eax, r11d
and eax, 0xfc00fc
or eax, 0xff00ff00
shr r11d, 8
and r11d, 0xfc00fc
or r11d, 0xff00ff00
mov edx, r10d
and edx, 0xfc00fc
or edx, 0xff00ff00
shr r10d, 8
and r10d, 0xfc00fc
or r10d, 0xff00ff00
xor r8d, r8d
lea rsi, [0x14005d9e0]
lea r14, [0x14005dbe0]
xor r15d, r15d
xor edi, edi
xor ebx, ebx
nop word [rax + rax]
mov ebp, dword [rsi]
and ebp, eax
xor ebx, ebp
add eax, 0x80008
mov ebp, dword [rsi + 4]
and ebp, r11d
xor edi, ebp
add r11d, 0x80008
mov ebp, dword [rsi + 8]
and ebp, edx
xor r15d, ebp
add edx, 0x80008
mov ebp, dword [rsi + 0xc]
and ebp, r10d
xor r8d, ebp
add r10d, 0x80008
add rsi, 0x10
cmp rsi, r14
jb 0x14002e980
mov esi, ebx
shl esi, 4
and eax, 0x40004
imul eax, eax, 0x3c00
and eax, esi
xor eax, ebx
mov esi, edi
shl esi, 4
and r11d, 0x40004
imul ebx, r11d, 0x3c00
and ebx, esi
xor ebx, edi
mov ebp, r15d
shl ebp, 4
and edx, 0x40004
imul esi, edx, 0x3c00
and esi, ebp
xor esi, r15d
mov ebp, r8d
shl ebp, 4
and r10d, 0x40004
imul edi, r10d, 0x3c00
and edi, ebp
xor edi, r8d
and edi, 0xf000f000
shr eax, 0xc
and eax, 0xf000f
shr ebx, 4
and ebx, 0xf000f00
shr esi, 8
and esi, 0xf000f0
or esi, ebx
or esi, edi
or eax, esi
shr esi, 4
xor esi, eax
and esi, 0x7030702
xor eax, esi
shl esi, 4
xor esi, eax
mov edx, esi
shr edx, 8
xor edx, eax
and edx, 0x4e009e
xor esi, edx
shl edx, 8
xor edx, esi
mov eax, edx
shr eax, 0x10
xor eax, edx
and eax, 0xd9d3
xor edx, eax
shl eax, 0x10
xor eax, edx
mov edx, eax
shr edx, 4
xor edx, eax
and edx, 0x5040004
mov ebp, edx
xor ebp, eax
shl edx, 4
shr eax, 1
xor eax, ebp
and eax, 0x4045015
xor edx, ecx
xor edx, ebp
xor edx, eax
add eax, eax
xor eax, edx
shl rax, 0x20
or rax, r9
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x140030350
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
sub rsp, 0x38
cmp qword [0x1400771b8], 0
jne 0x1400303d1
mov edx, dword [0x1400771c0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov r9d, eax
cmp qword [0x1400771c0], r9
ja 0x1400303d1
lea rsi, [0x1400771c0]
mov rdi, qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
nop dword [rax + rax]
mov rcx, qword [0x1400771b8]
mov byte [rsp + 0x28], 0
mov qword [rsp + 0x20], 1
mov r8d, 1
mov rdx, rsi
call fcn.1400249e0
mov qword [0x1400771b8], rax
mov edx, dword [0x1400771c0]
mov rcx, rax
call rdi
mov r9d, eax
cmp qword [0x1400771c0], r9
jbe 0x140030390
mov rax, qword [0x1400771b8]
add rsp, 0x38
pop rdi
pop rsi
ret
Function at 0x140035930
Capabilities:
Encrypt data using blowfish

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov rax, qword [0x14005e590]
mov qword [rcx + 0x1040], rax
movaps xmm0, xmmword [0x14005e580]
movups xmmword [rcx + 0x1030], xmm0
movaps xmm0, xmmword [0x14005e570]
movups xmmword [rcx + 0x1020], xmm0
movaps xmm0, xmmword [0x14005e560]
movups xmmword [rcx + 0x1010], xmm0
movaps xmm0, xmmword [0x14005e550]
movups xmmword [rcx + 0x1000], xmm0
lea rdx, [0x14005e5a0]
mov r8d, 0x400
call fcn.140038470
lea rcx, [rsi + 0x400]
lea rdx, [0x14005e9a0]
mov r8d, 0x400
call fcn.140038470
lea rcx, [rsi + 0x800]
lea rdx, [0x14005eda0]
mov r8d, 0x400
call fcn.140038470
add rsi, 0xc00
lea rdx, [0x14005f1a0]
mov r8d, 0x400
mov rcx, rsi
call fcn.140038470
nop
add rsp, 0x20
pop rsi
ret
Function at 0x1400423d8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140042508
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14004256f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14004256f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14004256f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14004256f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14004256f
cmp dword [rcx + 0x84], 0xe
jbe 0x14004256f
cmp dword [rcx + 0xf8], 0
je 0x14004256f
mov ecx, ebx
call fcn.140042454
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.140042688
cmp dword [rbp + 0x20], 0
je 0x1400425bc
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400424b0
int3