joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400dd738
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1400dd768
xor eax, eax
jmp 0x1400dd82b
mov rbp, rbx
cmp word [rax], si
je 0x1400dd78d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400dd774
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400dd770
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1400dd658
movsxd r14, eax
test eax, eax
jne 0x1400dd7cb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400dd761
mov rcx, r14
call fcn.140043ec0
mov rdi, rax
test rax, rax
jne 0x1400dd7e4
xor ecx, ecx
call fcn.140043f10
jmp 0x1400dd7c0
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1400dd658
test eax, eax
jne 0x1400dd815
mov rcx, rdi
call fcn.140043f10
jmp 0x1400dd81f
xor ecx, ecx
call fcn.140043f10
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1400dd848
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 0x1400dd8cf
mov rsi, rbx
cmp word [rax], bp
je 0x1400dd88e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400dd878
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400dd874
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140043ec0
mov rdi, rax
test rax, rax
je 0x1400dd8bc
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400e6f70
mov rbp, rdi
xor ecx, ecx
call fcn.140043f10
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 0x1400dfe84
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1400bec68
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400dff0e
cmp byte [rbp - 0x21], r15b
je 0x1400dff09
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400dff44
call fcn.1400d6c54
test eax, eax
jne 0x1400dff30
cmp byte [rbp - 0x21], r15b
je 0x1400dff28
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400dff44
cmp byte [rbp - 0x21], r15b
je 0x1400dff41
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1400c427c
test eax, eax
jne 0x1400dffe4
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400bec68
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400dff83
cmp byte [rbp - 0x21], r15b
je 0x1400dffb8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400dffb8
call fcn.1400d6c54
test eax, eax
jne 0x1400dffa4
cmp byte [rbp - 0x21], r15b
je 0x1400dff9d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400dffb8
cmp byte [rbp - 0x21], r15b
je 0x1400dffb5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1400c427c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400dffe4
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400dffe7
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400dfff5
mov rcx, rdi
call fcn.140043f10
cmp byte [rbp + 0x3f], r15b
je 0x1400e0004
mov rcx, qword [rbp + 0x27]
call fcn.140043f10
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x1400e01a8
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x14018a040]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x1400e01f2
call fcn.1400c74b0
mov dword [rax], 0xf
call fcn.1400c7490
mov dword [rax], 0xd
call fcn.1400c8df8
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400b6ad0
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x1400e01fd
lea eax, [rbx + 1]
jmp 0x1400e01df
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x1400e01dd
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x1400e01df
Function at 0x1400e07c8
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400e07de
mov al, 1
jmp 0x1400e083e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400e07ef
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400e083c
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400c813c
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400e083c
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400e083c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400e083c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400e083e
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x140103000
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov ebx, r8d
mov edi, edx
mov rsi, rcx
mov rax, qword [0x14018a040]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [rcx + 8], 1
je 0x140103029
mov rcx, qword [rsi]
jmp 0x140103032
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, edi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x140103085
mov dil, 1
test bl, bl
je 0x140103064
cmp byte [rsi + 8], 1
je 0x140103050
mov rcx, qword [rsi]
jmp 0x140103059
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
cmp rcx, qword [0x14018a040]
je 0x14010307b
call fcn.1400b6ad0
int3
mov eax, edi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [rsi + 8], 1
jne 0x14010309c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x14010309f
mov rcx, qword [rsi]
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1401030b2
xor edi, edi
jmp 0x140103064
mov dword [rsp + 0x24], 0xaaaaaaaa
cmp byte [rsi + 8], 1
je 0x1401030c5
mov rcx, qword [rsi]
jmp 0x1401030ce
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov dil, 1
jmp 0x140103064
Function at 0x140103530
Capabilities:
Move file

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rsi, rcx
mov rax, qword [0x14018a040]
xor rax, rsp
mov qword [rsp + 0x80], rax
movaps xmm0, xmmword [0x14015feb0]
lea rbx, [rsp + 0x40]
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdx, str.DeleteFileAfterReboot
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x20]
mov rcx, r14
mov r9d, 0x1cf
call fcn.14008b9e0
xor edi, edi
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.140091b50
mov al, byte [rsi + 0x17]
test al, al
jns 0x1401035ae
cmp qword [rsi + 8], 0x103
ja 0x1401035cc
test al, al
jns 0x1401035b5
mov rsi, qword [rsi]
mov rcx, rsi
xor edx, edx
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne dil
lea rcx, [rsp + 0x40]
call fcn.140091be0
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
cmp rcx, qword [0x14018a040]
je 0x1401035f0
call fcn.1400b6ad0
int3
mov eax, edi
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140103c60
Capabilities:
Access the windows event log
Check if file exists

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x860
mov rsi, rcx
mov rax, qword [0x14018a040]
xor rax, rsp
mov qword [rsp + 0x858], rax
mov rdx, qword [0x14019b8a0]
test rdx, rdx
setne al
and al, byte [0x14018c140]
cmp al, 1
jne 0x140103e19
cmp byte [rdx + 0x17], 0
jns 0x140103caa
mov rdx, qword [rdx]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
test rax, rax
je 0x140103e3b
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.14008ba00
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 0x18]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x60]
mov qword [r14 + 0x10], rax
movaps xmm0, xmmword [0x14015feb0]
movaps xmmword [r14], xmm0
lea rbx, [rsp + 0x80]
mov rdx, rbx
call fcn.140077cf0
lea r15, [rsp + 0x48]
mov rcx, r14
mov rdx, rbx
mov r8, r15
call fcn.1400774c0
mov eax, dword [rsi + 8]
mov bp, 1
lea ecx, [rax - 2]
cmp ecx, 2
jb 0x140103e65
cmp eax, 1
je 0x140103d3a
test eax, eax
jne 0x140103d3e
mov bp, 4
jmp 0x140103d3e
mov bp, 2
cmp byte [rsp + 0x77], 0
jns 0x140103d4a
mov r14, qword [rsp + 0x60]
mov qword [rsp + 0x80], r14
mov qword [rsp + 0x48], 0
mov rcx, qword [0x14019b8b0]
cmp byte [rcx + 0x17], 0
jns 0x140103d6b
mov rcx, qword [rcx]
lea rdx, [rsp + 0x48]
call sub.ADVAPI32.dll_ConvertStringSidToSidW
test eax, eax
jne 0x140103d8f
lea rcx, [rsi + 0x10]
lea rdx, str.___ERROR_GETTING_USER_SID__
mov r8d, 0x1b
call fcn.140076870
mov rax, qword [rsp + 0x48]
mov r9d, dword [0x14019b8ac]
movzx r8d, word [0x14019b8a8]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x30], 0
mov word [rsp + 0x28], 1
mov rcx, rdi
mov edx, ebp
call qword [sym.imp.ADVAPI32.dll_ReportEventA]
test eax, eax
jne 0x140103dea
lea rcx, [rsi + 0x10]
lea rdx, str.___NOT_ADDED_TO_EVENTLOG__
mov r8d, 0x1a
call fcn.140076870
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140103dfa
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp byte [rsp + 0x77], 0
jns 0x140103e0b
mov rcx, qword [rsp + 0x60]
call fcn.1400b57e4
call fcn.14008ba00
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, rsi
call fcn.14003d360
mov rcx, qword [rsp + 0x858]
xor rcx, rsp
cmp rcx, qword [0x14018a040]
je 0x140103e53
call fcn.1400b6ad0
int3
lea rcx, [rsi + 0x10]
lea rdx, str.___NOT_ADDED_TO_EVENTLOG__
mov r8d, 0x1a
call fcn.140076870
jmp 0x140103e19
add rsp, 0x860
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r12, [rsp + 0x80]
mov r8d, 0x7d8
mov rcx, r12
mov dl, 0xaa
call fcn.1400e7610
mov rcx, r12
call fcn.140049db0
mov rcx, r12
mov rdx, r15
call fcn.14010d250
movsx r8, byte [rsp + 0x5f]
test r8, r8
jns 0x140103ea5
mov r8, qword [rsp + 0x50]
mov r15, qword [rsp + 0x48]
lea rcx, [rsp + 0x60]
mov rdx, r15
call fcn.140085fe0
cmp byte [rsp + 0x5f], 0
jns 0x140103d3e
mov rcx, qword [rsp + 0x48]
call fcn.1400b57e4
jmp 0x140103d3e
Function at 0x140103f00
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x250
mov rax, qword [0x14018a040]
xor rax, rsp
mov qword [rsp + 0x248], rax
mov sil, 1
cmp qword [0x14019b8c8], 0
je 0x140103f50
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
cmp rcx, qword [0x14018a040]
je 0x140103f43
call fcn.1400b6ad0
int3
mov eax, esi
add rsp, 0x250
pop rbx
pop rdi
pop rsi
ret
mov rdi, qword [0x14019b8d0]
test rdi, rdi
jne 0x14010401d
mov ecx, 0x18
call fcn.1400b57a8
mov rdi, rax
lea rbx, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1400e7610
xor ecx, ecx
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movaps xmm0, xmmword [0x14015feb0]
movups xmmword [rdi], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rdi + 0x10], rax
mov rcx, rdi
mov rdx, rbx
call fcn.140085740
movsx rax, byte [rdi + 0x17]
mov rcx, rdi
test rax, rax
jns 0x140103fca
mov rax, qword [rdi + 8]
mov rcx, qword [rdi]
test rax, rax
je 0x140104001
add rax, rax
test rax, rax
je 0x140104001
lea rdx, [rax - 2]
cmp word [rcx + rax - 2], 0x5c
mov rax, rdx
jne 0x140103fd2
cmp rdx, 0xfffffffffffffffe
je 0x140104001
sar rdx, 1
inc rdx
mov rcx, rdi
mov r8, 0xffffffffffffffff
call fcn.140080c20
lea rdx, str.debug.log
mov r8d, 9
mov rcx, rdi
call fcn.140086980
mov qword [0x14019b8d0], rdi
test byte [0x14018c144], 1
je 0x140103f29
cmp byte [rdi + 0x17], 0
jns 0x140104033
mov rdi, qword [rdi]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov rcx, rdi
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x14019b8c8], rax
inc rax
cmp rax, 1
ja 0x140103f29
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400e7610
mov word [rdi], 0
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jb 0x14010416f
mov rcx, qword [0x14019b8d0]
lea rdx, [rsp + 0x40]
call fcn.140036b40
mov rcx, qword [0x14019b8d0]
movsx rax, byte [rcx + 0x17]
test rax, rax
js 0x140104176
test al, al
je 0x140104187
mov rdx, rcx
cmp word [rdx + rax*2 - 2], 0x5c
je 0x140104101
lea rdx, [0x1401647be]
mov r8d, 1
call fcn.140086980
mov rcx, qword [0x14019b8d0]
lea rdx, str.debug.log
mov r8d, 9
call fcn.140086980
mov rcx, qword [0x14019b8d0]
cmp byte [rcx + 0x17], 0
jns 0x140104123
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x14019b8c8], rax
inc rax
cmp rax, 1
ja 0x140103f29
mov qword [0x14019b8c8], 0
xor esi, esi
jmp 0x140103f29
mov rax, qword [rcx + 8]
test rax, rax
je 0x140104187
mov rdx, qword [rcx]
jmp 0x1401040e0
ud2
Function at 0x140115ad0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
cmp rdx, r9
mov r10, r9
cmovb r10, rdx
xor eax, eax
test r10, r10
je 0x140115b2f
xor r11d, r11d
mov rsi, qword [r8 + r11*8]
mov rdi, qword [rcx + r11*8]
mov rbx, rdi
xor rbx, rsi
lea r14, [rbx - 1]
mov r15, rdi
sub r15, rsi
xor r15, rdi
or r15, rbx
not rbx
and r14, rbx
sar r14, 0x3f
xor r15, rdi
sar r15, 0x3f
or r15, 1
xor rax, r15
and rax, r14
xor rax, r15
inc r11
cmp r10, r11
jne 0x140115aeb
cmp rdx, r9
jb 0x140115b3e
ja 0x140115b62
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor ecx, ecx
or rcx, qword [r8 + rdx*8]
inc rdx
cmp r9, rdx
jne 0x140115b40
mov rdx, rcx
not rdx
dec rcx
and rcx, rdx
sar rcx, 0x3f
not ecx
or eax, ecx
jmp 0x140115b36
xor r8d, r8d
or r8, qword [rcx + r9*8]
inc r9
cmp rdx, r9
jne 0x140115b65
mov rcx, r8
not rcx
dec r8
and r8, rcx
sar r8, 0x3f
xor eax, 1
and eax, r8d
xor eax, 1
jmp 0x140115b36
Function at 0x14011f120
Capabilities:
Hash data using sha512

Disassembly:
movabs rax, 0x6a09e667f3bcc908
mov qword [rcx], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [rcx + 8], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rcx + 0x10], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rcx + 0x18], rax
movabs rax, 0x510e527fade682d1
mov qword [rcx + 0x20], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rcx + 0x28], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rcx + 0x30], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rcx + 0x38], rax
movabs rax, 0x4000000000
mov qword [rcx + 0xd0], rax
xorps xmm0, xmm0
movups xmmword [rcx + 0x40], xmm0
mov eax, 1
ret
Function at 0x140126130
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov r12, r8
mov rdi, rdx
mov rsi, rcx
mov r13, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x38]
add rcx, r13
setb dl
movabs rax, 0xfffffffe0
cmp rcx, rax
seta r8b
xor eax, eax
or r8b, dl
jne 0x1401263af
mov r14, r9
lea rbp, [rsi + 0x50]
mov rbx, qword [rsi + 0x160]
mov r15, qword [rsi + 0x150]
mov rax, qword [rsi + 0x158]
mov qword [rsp + 0x30], rax
mov qword [rsi + 0x38], rcx
cmp dword [rsi + 0x174], 0
je 0x1401261bf
lea rcx, [rsi + 0x40]
mov rdx, rbp
mov rax, r15
call qword [0x14017da28]
mov dword [rsi + 0x174], 0
mov eax, dword [rsi + 0x170]
test eax, eax
je 0x140126226
test r13, r13
je 0x1401263a4
mov cl, byte [r12]
inc r12
mov edx, eax
mov r8b, byte [rsi + rdx + 0x10]
xor r8b, cl
mov byte [r14], r8b
xor byte [rsi + rdx + 0x40], cl
inc r14
lea r8, [r13 - 1]
inc eax
and eax, 0xf
je 0x140126201
cmp r13, 1
mov r13, r8
jne 0x1401261d2
test eax, eax
jne 0x1401263a4
lea rcx, [rsi + 0x40]
mov qword [rsp + 0x28], rbp
mov rdx, rbp
mov rax, r15
mov r15, r8
call qword [0x14017da28]
mov r8, r15
jmp 0x14012622e
mov qword [rsp + 0x28], rbp
mov r8, r13
mov ebp, dword [rsi + 0xc]
bswap ebp
cmp r8, 0xc00
jb 0x1401262eb
lea rax, [rsi + 0x40]
mov qword [rsp + 0x38], rax
lea r13, [rsi + 0x10]
mov rax, r14
mov rcx, r12
mov qword [rsp + 0x40], r8
mov r15, rcx
mov r14, rax
mov r9d, 0xc00
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x28]
mov r8, r15
mov rax, qword [rsp + 0x30]
call qword [0x14017da28]
xor r12d, r12d
mov rcx, rsi
mov rdx, r13
mov r8, rdi
mov rax, rbx
call qword [0x14017da28]
inc ebp
mov eax, ebp
bswap eax
mov dword [rsi + 0xc], eax
mov rax, qword [rsi + 0x10]
xor rax, qword [r15 + r12]
mov qword [r14 + r12], rax
mov rax, qword [rsi + 0x18]
xor rax, qword [r15 + r12 + 8]
mov qword [r14 + r12 + 8], rax
add r12, 0x10
cmp r12, 0xc00
jne 0x14012627f
mov r8, qword [rsp + 0x40]
add r8, 0xfffffffffffff400
lea rax, [r14 + r12]
lea rcx, [r15 + r12]
cmp r8, 0xbff
ja 0x140126253
add r14, r12
add r15, r12
mov r12, r15
mov r9, r8
and r9, 0xff0
je 0x140126363
lea rcx, [rsi + 0x40]
mov rdx, qword [rsp + 0x28]
mov r15, r8
mov r8, r12
mov rax, qword [rsp + 0x30]
call qword [0x14017da28]
mov r8, r15
lea r15, [rsi + 0x10]
mov rcx, rsi
mov rdx, r15
mov r13, r8
mov r8, rdi
mov rax, rbx
call qword [0x14017da28]
mov r8, r13
inc ebp
mov eax, ebp
bswap eax
mov dword [rsi + 0xc], eax
mov rax, qword [rsi + 0x10]
xor rax, qword [r12]
mov qword [r14], rax
mov rax, qword [rsi + 0x18]
xor rax, qword [r12 + 8]
mov qword [r14 + 8], rax
add r14, 0x10
add r12, 0x10
add r8, 0xfffffffffffffff0
cmp r8, 0xf
ja 0x140126318
test r8, r8
je 0x1401263c0
lea rdx, [rsi + 0x10]
mov rcx, rsi
mov r15, r8
mov r8, rdi
mov rax, rbx
call qword [0x14017da28]
mov r8, r15
inc ebp
bswap ebp
mov dword [rsi + 0xc], ebp
xor eax, eax
mov ecx, eax
mov dl, byte [r12 + rcx]
xor byte [rsi + rcx + 0x40], dl
xor dl, byte [rsi + rcx + 0x10]
mov byte [r14 + rcx], dl
inc rax
cmp r8, rax
jne 0x14012638a
mov dword [rsi + 0x170], eax
mov eax, 1
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor eax, eax
jmp 0x1401263a4
Function at 0x140152d00
Capabilities:
Read file via mapping

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
cmp dword [r8], 0
jle 0x140152d3f
xor eax, eax
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
cmp ecx, 0x8007000e
jne 0x140152d0f
mov dword [rsi], 7
jmp 0x140152d0f
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
call fcn.140075450
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x10000080
mov dword [rsp + 0x20], 3
mov rcx, rbx
mov edx, 0x80000000
mov r8d, 1
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
je 0x140152d1b
mov r14, rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rax
xor edx, edx
mov r8d, 2
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rbx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbx, rbx
je 0x140152d1b
mov qword [rsp + 0x20], 0
mov rcx, rbx
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rdi + 8], rax
test rax, rax
je 0x140152df1
mov qword [rdi + 0x28], rbx
mov al, 1
jmp 0x140152d11
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140152d0f
Function at 0x1800051b0
Capabilities:
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
xor r15d, r15d
mov r11d, r8d
mov rdi, rdx
mov rbp, rcx
mov rax, rdx
mov ebx, r15d
test rdx, rdx
je 0x18000538a
movzx r9d, byte [rdx]
mov r10d, r15d
test r9b, r9b
je 0x18000538a
lea rax, [rax + 1]
inc r10d
cmp byte [rax], bl
jne 0x1800051f3
test r10d, r10d
je 0x18000538a
mov rsi, qword [rcx + 0x30]
mov r8d, 0x811c9dc5
mov rcx, rdx
lea eax, [r9 - 0x41]
cmp al, 0x19
movsx eax, r9b
ja 0x180005223
add eax, 0x20
movzx r9d, byte [rcx + 1]
inc rcx
movzx eax, al
xor eax, r8d
imul r8d, eax, 0x1000193
test r9b, r9b
jne 0x180005214
mov eax, 0x5254e78f
mul r8d
shr edx, 6
imul eax, edx, 0xc7
sub r8d, eax
lea r14, [r8 + r8*2]
add r14, r14
mov rax, qword [rbp + r14*8 + 0x70]
mov rbx, qword [rax + 0x10]
test rbx, rbx
je 0x1800052c1
mov r8, qword [rbx + 0x38]
test r8, r8
je 0x1800052b5
cmp rdi, r8
je 0x18000538a
mov r9, rdi
sub r9, r8
nop
movzx eax, byte [r9 + r8]
movzx edx, byte [r8]
lea r8, [r8 + 1]
cmp al, dl
je 0x1800052ac
lea ecx, [rax - 0x61]
cmp cl, 0x19
ja 0x18000529b
add al, 0xe0
lea ecx, [rdx - 0x61]
cmp cl, 0x19
ja 0x1800052a6
add dl, 0xe0
cmp al, dl
jb 0x1800052b5
ja 0x1800052b5
test al, al
jne 0x180005280
jmp 0x18000538a
mov rax, qword [rbx]
mov rbx, qword [rax + 0x10]
test rbx, rbx
jne 0x180005266
test r11d, r11d
je 0x18000538a
mov rcx, qword [rsi]
xor edx, edx
lea r9d, [rdx + 1]
lea r8d, [rdx + 0x48]
call 0x180002420
mov rbx, rax
test rax, rax
je 0x18000538a
mov edx, r15d
mov rax, rdi
cmp byte [rdi], dl
je 0x1800052fd
lea rax, [rax + 1]
inc edx
cmp byte [rax], r15b
jne 0x1800052f2
mov rcx, qword [rsi]
lea eax, [rdx + 1]
mov rdx, rdi
mov r8d, eax
mov r9d, eax
call 0x180002610
mov qword [rbx + 0x38], rax
test rax, rax
je 0x180005376
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], rbx
mov qword [rbx + 0x18], r15
mov qword [rbx + 0x20], r15
mov qword [rbx + 0x28], rbx
mov qword [rbx + 0x30], rbp
mov qword [rbx + 0x40], r15
mov rcx, qword [rbp + r14*8 + 0x90]
mov rax, qword [rcx]
lea rdx, [rbx + 0x18]
mov qword [rax + 8], rbx
mov rax, qword [rcx]
mov qword [rbx + 8], rcx
mov qword [rbx], rax
mov qword [rcx], rbx
mov rcx, qword [rbp + 0x60]
mov rax, qword [rcx]
mov qword [rax + 8], rdx
mov rax, qword [rcx]
mov qword [rdx + 8], rcx
mov qword [rdx], rax
mov qword [rcx], rdx
inc dword [rsi + 8]
jmp 0x18000538a
mov rcx, qword [rsi]
mov r8d, 1
mov rdx, rbx
call fcn.1800027c0
mov rbx, r15
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret