joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14010bba0
Capabilities:
Create process on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x140
movaps xmmword [rsp + 0x130], xmm6
mov ebx, r9d
mov edi, r8d
mov r14, rdx
mov rsi, rcx
mov rax, qword [0x140199040]
xor rax, rsp
mov qword [rsp + 0x128], rax
mov qword [rsp + 0x40], 0xc
mov rax, qword [0x1401758b0]
mov al, byte [rax + 0xc]
test al, al
jne 0x14010be4d
movabs r13, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x120], r13
movaps xmm6, xmmword [0x140165510]
movaps xmmword [rsp + 0x110], xmm6
lea r15, [rsp + 0x80]
mov rcx, r14
mov rdx, r15
call fcn.140070700
cmp byte [r15 + 0x17], 0
js 0x14010bcd1
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x120], rax
movups xmm0, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0x110], xmm0
lea r12, [rsp + 0x80]
mov rcx, r12
call fcn.140043120
lea r15, [rsp + 0xf0]
mov qword [r15 + 0x10], r13
movaps xmmword [r15], xmm6
mov rcx, r14
mov rdx, r15
call fcn.1401101a0
xorps xmm0, xmm0
movups xmmword [r12 + 0x60], xmm0
movups xmmword [r12 + 0x50], xmm0
movups xmmword [r12 + 0x40], xmm0
movups xmmword [r12 + 0x30], xmm0
movabs rax, 0x4000000070
mov qword [r12], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov qword [r12 + 8], rax
lea rax, str.runas
mov qword [r12 + 0x10], rax
cmp byte [rsp + 0x127], 0
js 0x14010bcf3
lea rax, [rsp + 0x110]
jmp 0x14010bcfb
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x88]
lea rcx, [rsp + 0x110]
call fcn.140039070
jmp 0x14010bc52
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x98], rax
cmp byte [rsp + 0x107], 0
jns 0x14010bd15
mov r15, qword [rsp + 0xf0]
lea rcx, [rsp + 0x80]
mov qword [rcx + 0x20], r15
xor r14d, r14d
mov qword [rcx + 0x28], r14
xor dil, 1
movzx eax, dil
mov dword [rcx + 0x30], eax
mov qword [rcx + 0x38], r14
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x14010bdab
test bl, bl
je 0x14010bda3
lea rdi, [rsp + 0x40]
movaps xmmword [rdi + 0x30], xmm6
movaps xmmword [rdi + 0x20], xmm6
movaps xmmword [rdi + 0x10], xmm6
movaps xmmword [rdi], xmm6
lea rdx, str.LaunchElevatedProcess
lea r8, str....._baseprocesslaunch_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0xbc
call fcn.140042db0
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.1400477a0
mov rcx, qword [rsp + 0xe8]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
call fcn.140047820
mov r14, qword [rsp + 0xe8]
mov rcx, rsi
mov rdx, r14
call fcn.140096f70
cmp byte [rsp + 0x107], 0
jns 0x14010bdcd
mov rcx, qword [rsp + 0xf0]
call fcn.140098d0c
cmp byte [rsp + 0x127], 0
jns 0x14010bde4
mov rcx, qword [rsp + 0x110]
call fcn.140098d0c
mov qword [rsp + 0x40], 0xc
mov rax, qword [0x1401758b0]
mov al, byte [rax + 0xc]
test al, al
jne 0x14010be29
mov rcx, qword [rsp + 0x128]
xor rcx, rsp
call fcn.14009a1f0
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x130]
add rsp, 0x140
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movzx ecx, al
lea r8, [rsp + 0x80]
mov qword [r8], 0
lea rdx, [rsp + 0x40]
mov r9d, 2
call fcn.1400334f0
jmp 0x14010bdfb
movzx ecx, al
lea rax, str.LaunchElevatedProcess
lea r8, [rsp + 0x80]
mov qword [r8], rax
lea rdx, [rsp + 0x40]
mov r9d, 1
call fcn.1400334f0
jmp 0x14010bbf3
Function at 0x14010c320
Capabilities:
Move file

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rsi, rcx
mov rax, qword [0x140199040]
xor rax, rsp
mov qword [rsp + 0x80], rax
movaps xmm0, xmmword [0x140165510]
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, 0x23a
call fcn.140042db0
xor edi, edi
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.1400477a0
mov al, byte [rsi + 0x17]
test al, al
jns 0x14010c39e
cmp qword [rsi + 8], 0x103
ja 0x14010c3bc
test al, al
jns 0x14010c3a5
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.140047820
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14009a1f0
mov eax, edi
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14010cb80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov ebp, r8d
mov esi, edx
mov rdi, rcx
mov rax, qword [0x140199040]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [0x140165510]
lea r14, [rsp + 0x60]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.PathHasAccess
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x2ed
call fcn.140042db0
xor ebx, ebx
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1400477a0
cmp byte [rdi + 0x17], 0
jns 0x14010cc02
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14010cc8e
test al, 0x10
cmove esi, ebp
mov eax, 0x80
mov ecx, 0x2000000
cmove ecx, eax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x40]
mov qword [rbx], rax
xor r14d, r14d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], 3
mov rcx, rdi
mov edx, esi
mov r8d, 7
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx], r14
mov rcx, rbx
mov rdx, rax
call fcn.1400283ae
mov rax, qword [rbx]
inc rax
test rax, 0xfffffffffffffffe
setne bl
cmp rax, 2
jb 0x14010cc8e
call fcn.140042dd0
mov rcx, qword [rsp + 0x40]
call fcn.14003a240
lea rcx, [rsp + 0x60]
call fcn.140047820
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14009a1f0
mov eax, ebx
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14010dfb0
Capabilities:
Access the windows event log

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x860
mov rsi, rcx
mov rax, qword [0x140199040]
xor rax, rsp
mov qword [rsp + 0x858], rax
cmp byte [0x14019b4c8], 0
je 0x14010e1a3
mov rdx, qword [0x1401ab000]
test rdx, rdx
je 0x14010e1a3
cmp byte [rdx + 0x17], 0
jns 0x14010dffc
mov rdx, qword [rdx]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
test rax, rax
je 0x14010e1ce
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.140042dd0
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 [0x140165510]
movaps xmmword [r14], xmm0
lea rbx, [rsp + 0x80]
mov rdx, rbx
call fcn.140028f0a
lea r15, [rsp + 0x48]
mov rcx, r14
mov rdx, rbx
mov r8, r15
call fcn.14003d490
mov eax, dword [rsi + 8]
test eax, eax
je 0x14010e0e2
cmp eax, 1
je 0x14010e0e8
mov bp, 1
add eax, 0xfffffffe
cmp eax, 2
jae 0x14010e0ec
lea r12, [rsp + 0x80]
mov r8d, 0x7d8
mov rcx, r12
mov dl, 0xaa
call fcn.1400cf760
mov rcx, r12
call fcn.140080750
mov rcx, r12
mov rdx, r15
call fcn.14012d130
movsx r8, byte [rsp + 0x5f]
test r8, r8
jns 0x14010e0c2
mov r8, qword [rsp + 0x50]
mov r15, qword [rsp + 0x48]
lea rcx, [rsp + 0x60]
mov rdx, r15
call fcn.1400385d2
cmp byte [rsp + 0x5f], 0
jns 0x14010e0ec
mov rcx, qword [rsp + 0x48]
call fcn.140098d0c
jmp 0x14010e0ec
mov bp, 4
jmp 0x14010e0ec
mov bp, 2
cmp byte [rsp + 0x77], 0
jns 0x14010e0f8
mov r14, qword [rsp + 0x60]
mov qword [rsp + 0x80], r14
mov qword [rsp + 0x48], 0
mov rcx, qword [0x1401ab010]
cmp byte [rcx + 0x17], 0
jns 0x14010e119
mov rcx, qword [rcx]
lea rdx, [rsp + 0x48]
call sub.ADVAPI32.dll_ConvertStringSidToSidW
test eax, eax
je 0x14010e1e6
mov rax, qword [rsp + 0x48]
mov r9d, dword [0x1401ab00c]
movzx r8d, word [0x1401ab008]
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
je 0x14010e201
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14010e184
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp byte [rsp + 0x77], 0
jns 0x14010e195
mov rcx, qword [rsp + 0x60]
call fcn.140098d0c
call fcn.140042dd0
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, rsi
call fcn.14006c9e0
mov rcx, qword [rsp + 0x858]
xor rcx, rsp
call fcn.14009a1f0
nop
add rsp, 0x860
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [rsi + 0x10]
lea rdx, str.___NOT_ADDED_TO_EVENTLOG__
mov r8d, 0x1a
call fcn.140027be0
jmp 0x14010e1a3
lea rcx, [rsi + 0x10]
lea rdx, str.___ERROR_GETTING_USER_SID__
mov r8d, 0x1b
call fcn.140027be0
jmp 0x14010e12b
lea rcx, [rsi + 0x10]
lea rdx, str.___NOT_ADDED_TO_EVENTLOG__
mov r8d, 0x1a
call fcn.140027be0
jmp 0x14010e174
Function at 0x14011672a
Capabilities:
Get session information

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x180
mov rsi, rcx
mov rax, qword [0x140199040]
xor rax, rsp
mov qword [rsp + 0x178], rax
call fcn.140116990
test al, al
je 0x1401167ff
mov qword [rsi], 0
mov rcx, rsi
mov rdx, 0xfffffffffffffffc
call fcn.1400283ae
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.14009a1f0
mov rax, rsi
add rsp, 0x180
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, str.....chromeinstallerutilinstall_util.cc
mov edx, 0x2c
call fcn.1400420d0
test eax, eax
jle 0x1401167e6
lea rdx, str.....chromeinstallerutilinstall_util.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x1f5
mov r9d, 0xffffffff
call fcn.14006c570
lea rcx, [rsp + 0x40]
lea rdx, str.GetActiveUserToken_found_no_active_sessions.
mov r8d, 0x2c
call fcn.140027be0
mov rcx, rdi
call fcn.14006c9e0
mov rcx, qword [rsp + 0x168]
call sub.WTSAPI32.dll_WTSFreeMemory
mov qword [rsi], 0
jmp 0x140116770
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
mov edi, eax
lea eax, [rdi + 1]
cmp eax, 2
jb 0x140116855
lea r9, [rsp + 0x30]
mov qword [r9], 0
lea rax, [rsp + 0x168]
mov dword [rax], 0
mov qword [rsp + 0x20], rax
xor ecx, ecx
mov edx, edi
mov r8d, 8
call sub.WTSAPI32.dll_WTSQuerySessionInformationW
test eax, eax
je 0x140116855
mov rcx, qword [rsp + 0x30]
mov ebx, dword [rcx]
call sub.WTSAPI32.dll_WTSFreeMemory
test ebx, ebx
je 0x14011696e
lea rax, [rsp + 0x174]
mov dword [rax], 0
lea r9, [rsp + 0x168]
mov qword [r9], 0
mov qword [rsp + 0x20], rax
xor ecx, ecx
xor edx, edx
mov r8d, 1
call sub.WTSAPI32.dll_WTSEnumerateSessionsW
test eax, eax
je 0x1401168b2
mov eax, dword [rsp + 0x174]
test eax, eax
je 0x140116792
mov ebx, 0x10
movabs r14, 0xaaaaaaaaaaaaaaaa
xor r15d, r15d
lea rdi, [rsp + 0x30]
jmp 0x14011692a
mov ecx, 1
call fcn.1400420a0
test al, al
je 0x1401167f3
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str.....chromeinstallerutilinstall_util.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x1e4
mov r9d, 1
call fcn.14010f010
lea rcx, [rsp + 0x40]
lea rdx, str.GetActiveUserToken_failed_to_enumerate_sessions._Assume_no_active_sessions.
mov r8d, 0x4b
call fcn.140027be0
mov rcx, rdi
call fcn.14010f080
jmp 0x1401167f3
mov eax, dword [rsp + 0x174]
inc r15
mov ecx, eax
add rbx, 0x18
cmp r15, rcx
jae 0x140116792
mov rcx, qword [rsp + 0x168]
cmp dword [rcx + rbx], 0
jne 0x140116918
mov qword [rsp + 0x30], r14
mov ecx, dword [rcx + rbx - 0x10]
mov rdx, rdi
call sub.WTSAPI32.dll_WTSQueryUserToken
test eax, eax
je 0x140116911
mov rcx, qword [rsp + 0x168]
call sub.WTSAPI32.dll_WTSFreeMemory
mov rdx, qword [rsp + 0x30]
mov qword [rsi], 0
mov rcx, rsi
jmp 0x14011676b
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov ecx, edi
call sub.WTSAPI32.dll_WTSQueryUserToken
test eax, eax
jne 0x14011695a
jmp 0x140116855
Function at 0x140116990
Capabilities:
Get token membership

Disassembly:
push rsi
sub rsp, 0x1c0
mov rax, qword [0x140199040]
xor rax, rsp
mov qword [rsp + 0x1b8], rax
lea r9, [rsp + 0x16c]
mov dword [r9], 0x44
xorps xmm0, xmm0
lea r8, [rsp + 0x170]
movaps xmmword [r8 + 0x30], xmm0
movaps xmmword [r8 + 0x20], xmm0
movaps xmmword [r8 + 0x10], xmm0
movaps xmmword [r8], xmm0
mov dword [r8 + 0x40], 0
mov ecx, 0xb
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
test eax, eax
je 0x140116a1b
lea r8, [rsp + 0x2c]
mov dword [r8], 0
lea rdx, [rsp + 0x170]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x140116a8e
cmp dword [rsp + 0x2c], 0
setne sil
jmp 0x140116a73
mov ecx, 2
call fcn.1400420a0
test al, al
je 0x140116a71
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str.....chromeinstallerutilinstall_util.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x21a
mov r9d, 2
call fcn.14010f010
lea rcx, [rsp + 0x40]
lea rdx, str.Failed_to_create_well_known_SID
mov r8d, 0x1f
call fcn.140027be0
mov rcx, rsi
call fcn.14010f080
xor esi, esi
mov rcx, qword [rsp + 0x1b8]
xor rcx, rsp
call fcn.14009a1f0
mov eax, esi
add rsp, 0x1c0
pop rsi
ret
mov ecx, 2
call fcn.1400420a0
test al, al
je 0x140116a71
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str.....chromeinstallerutilinstall_util.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x220
mov r9d, 2
call fcn.14010f010
lea rcx, [rsp + 0x40]
lea rdx, str.Failed_to_check_token_membership_for_WinInteractiveSid
mov r8d, 0x36
jmp 0x140116a64
Function at 0x140117270
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x60
movdqa xmmword [rsp + 0x50], xmm9
movdqa xmmword [rsp + 0x40], xmm8
movdqa xmmword [rsp + 0x30], xmm7
movdqa xmmword [rsp + 0x20], xmm6
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
xor eax, eax
movdqa xmm0, xmmword [rsi + rax]
pxor xmm0, xmmword [rdi + rax]
movdqa xmmword [rsi + rax], xmm0
add rax, 0x10
cmp rax, 0x80
jne 0x1401172a0
cmp rbx, 2
jb 0x140117388
lea r14, [rdi + 0x80]
mov r15d, 1
movdqa xmm6, xmmword [0x14017d5a0]
movdqa xmm7, xmmword [0x14017d5b0]
movdqa xmm8, xmmword [0x14017d5c0]
movdqa xmm9, xmmword [0x14017d5d0]
mov rcx, rsi
call fcn.140128160
xor eax, eax
movdqa xmm0, xmmword [rsi + rax]
movdqa xmm1, xmm0
pand xmm1, xmm6
pshufd xmm2, xmm0, 0x39
pand xmm2, xmm7
por xmm2, xmm1
pshufd xmm1, xmm0, 0x4e
pand xmm0, xmm8
movdqa xmm3, xmm0
pslldq xmm3, 4
psrldq xmm0, 0xc
por xmm0, xmm3
pand xmm1, xmm9
por xmm1, xmm0
por xmm1, xmm2
movdqa xmmword [rsi + rax], xmm1
add rax, 0x10
cmp rax, 0x80
jne 0x1401172fe
mov rcx, rsi
call fcn.140128640
xor eax, eax
movdqa xmm0, xmmword [rsi + rax]
pxor xmm0, xmmword [r14 + rax]
movdqa xmmword [rsi + rax], xmm0
add rax, 0x10
cmp rax, 0x80
jne 0x14011735c
inc r15
sub r14, 0xffffffffffffff80
cmp r15, rbx
jne 0x1401172f4
mov rcx, rsi
call fcn.140128160
xor eax, eax
movdqa xmm0, xmmword [0x14017d5a0]
movdqa xmm1, xmmword [0x14017d5b0]
movdqa xmm2, xmmword [0x14017d5c0]
movdqa xmm3, xmmword [0x14017d5d0]
movdqa xmm4, xmmword [rsi + rax]
movdqa xmm5, xmm4
pand xmm5, xmm0
pshufd xmm6, xmm4, 0x39
pand xmm6, xmm1
por xmm6, xmm5
pshufd xmm5, xmm4, 0x4e
pand xmm4, xmm2
movdqa xmm7, xmm4
pslldq xmm7, 4
psrldq xmm4, 0xc
por xmm4, xmm7
pand xmm5, xmm3
por xmm5, xmm4
por xmm5, xmm6
movdqa xmmword [rsi + rax], xmm5
add rax, 0x10
cmp rax, 0x80
jne 0x1401173b2
shl rbx, 7
add rdi, rbx
xor eax, eax
movdqa xmm0, xmmword [rsi + rax]
pxor xmm0, xmmword [rdi + rax]
movdqa xmmword [rsi + rax], xmm0
add rax, 0x10
cmp rax, 0x80
jne 0x14011740d
movaps xmm6, xmmword [rsp + 0x20]
movaps xmm7, xmmword [rsp + 0x30]
movaps xmm8, xmmword [rsp + 0x40]
movaps xmm9, xmmword [rsp + 0x50]
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1401241d0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
mov edx, dword [rsp + 0xe0]
mov rax, qword [0x140199040]
xor rax, rsp
mov qword [rsp + 0x80], rax
movsxd r8, dword [rcx + 0x108]
lea ecx, [rdx + 4]
mov r11d, ecx
shr r11d, 6
xor eax, eax
mov r10d, 0
cmp r11, r8
jae 0x14012422f
mov r10, qword [r9 + r11*8]
shr r10, cl
shl r10d, 5
and r10d, 0x20
lea ecx, [rdx + 3]
mov r11d, ecx
shr r11d, 6
cmp r11, r8
jae 0x14012424b
mov rax, qword [r9 + r11*8]
shr rax, cl
shl eax, 4
and eax, 0x10
or eax, r10d
lea ecx, [rdx + 2]
mov r14d, ecx
shr r14d, 6
xor r10d, r10d
mov r11d, 0
cmp r14, r8
jae 0x140124275
mov r11, qword [r9 + r14*8]
shr r11, cl
shl r11d, 3
and r11d, 8
or eax, r11d
lea ecx, [rdx + 1]
mov r11d, ecx
shr r11d, 6
cmp r11, r8
jae 0x140124296
mov r10, qword [r9 + r11*8]
shr r10, cl
shl r10d, 2
and r10d, 4
or eax, r10d
mov r11d, edx
shr r11d, 6
xor r10d, r10d
cmp r11, r8
jae 0x1401242b8
mov ecx, edx
mov r10, qword [r9 + r11*8]
shr r10, cl
add r10d, r10d
and r10d, 2
or eax, r10d
test edx, edx
je 0x1401242de
dec edx
mov r10d, edx
shr r10d, 6
xor ecx, ecx
cmp r10, r8
jae 0x1401242dc
mov r8, qword [r9 + r10*8]
xor ecx, ecx
bt r8, rdx
setb cl
or eax, ecx
mov r14d, eax
shr r14d, 5
mov ecx, r14d
dec ecx
neg r14
and ecx, eax
xor eax, 0x3f
mov r15d, r14d
and r15d, eax
or r15d, ecx
mov eax, r15d
shr eax, 1
and r15d, 1
add r15, rax
xor r12d, r12d
mov r8d, 0xd8
mov rcx, rsi
xor edx, edx
call fcn.1400cf760
mov r8, r12
xor r8, r15
dec r8
sar r8, 0x3f
mov qword [rsp + 0x20], rsi
mov rcx, rdi
mov rdx, rsi
mov r9, rbx
call fcn.140120c90
inc r12
add rbx, 0xd8
cmp r12, 0x11
jne 0x14012431a
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x70], rax
movaps xmm0, xmmword [0x140165510]
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
add rsi, 0x48
movsxd rcx, dword [rdi + 0x148]
test rcx, rcx
jle 0x1401243e8
xor eax, eax
xor edx, edx
or rdx, qword [rsi + rax*8]
inc rax
cmp rcx, rax
jne 0x140124388
test rdx, rdx
sete dl
test ecx, ecx
je 0x140124438
mov rax, qword [rdi + 0x140]
xor r8d, r8d
lea r9, [rsp + 0x30]
sub r10, r10
jmp 0x1401243c0
mov r10, qword [rax + r8*8]
sbb r10, qword [rsi + r8*8]
mov qword [r9 + r8*8], r10
lea r8, [r8 + 1]
dec rcx
jne 0x1401243c0
sbb r10, r10
movsxd rax, dword [rdi + 0x148]
test rax, rax
jle 0x140124407
xor ecx, ecx
jmp 0x1401243fc
mov dl, 1
jmp 0x14012439a
xor r8d, r8d
mov qword [rsp + rcx*8 + 0x30], r8
inc rcx
cmp rax, rcx
je 0x140124407
test dl, dl
jne 0x1401243ec
mov r8, qword [rsp + rcx*8 + 0x30]
jmp 0x1401243ef
test eax, eax
je 0x140124438
and r14d, 1
neg r14
mov rcx, r14
not rcx
xor edx, edx
mov r8, qword [rsp + rdx*8 + 0x30]
and r8, r14
mov r9, qword [rsi + rdx*8]
and r9, rcx
or r9, r8
mov qword [rsi + rdx*8], r9
inc rdx
cmp rax, rdx
jne 0x14012441a
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14009a1f0
nop
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x140125410
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov rsi, rcx
mov rax, qword [0x140199040]
xor rax, rsp
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [0x140165510]
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
test r9, r9
je 0x140125478
xor edi, edi
cmp r9, 0x30
ja 0x14012549a
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmm2, xmmword [rdx + 0x20]
lea rdx, [rsp + 0x20]
movaps xmmword [rdx + 0x20], xmm2
movaps xmmword [rdx + 0x10], xmm1
movaps xmmword [rdx], xmm0
xor eax, eax
mov cl, byte [r8 + rax]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp r9, rax
jne 0x140125468
mov r8d, 0x30
mov rcx, rsi
call fcn.14007b4e0
test eax, eax
je 0x1401254b0
mov qword [rsi + 0x118], 1
mov edi, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14009a1f0
mov eax, edi
add rsp, 0x58
pop rdi
pop rsi
ret
xor edi, edi
jmp 0x14012549a

Function at 0x14012b300
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x14012b310
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov ebx, r8d
mov rsi, rdx
mov r14, rcx
cmp byte [rdx + 0x17], 0
jns 0x14012b331
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x14012b351
cmp byte [r14 + 0x50], 0
je 0x14012b415
or edi, 0x80000000
test dil, 8
je 0x14012b368
cmp byte [r14 + 0x68], 0
je 0x14012b420
or edi, 0x40000000
xor r15d, r15d
cmp byte [r14 + 0x60], 0
mov r12d, 0
je 0x14012b37c
mov r12, qword [r14 + 0x58]
cmp byte [r14 + 0x48], 0
mov r13d, 0
je 0x14012b38d
mov r13, qword [r14 + 0x40]
cmp byte [r14 + 0x38], 0
je 0x14012b3a0
lea rcx, [r14 + 0x20]
call fcn.140064c40
mov r15, rax
cmp byte [r14 + 0x18], 0
je 0x14012b410
mov rcx, r14
call fcn.140064c40
mov r9, rax
cmp ebx, 4
ja case.default.0x14012b3cb
mov eax, ebx
lea rcx, [0x14017f92c]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov edx, 7
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r15
mov rcx, rsi
mov r8d, edi
call qword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov esi, eax
test eax, eax
je 0x14012b3fb
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
sete al
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor r9d, r9d
jmp 0x14012b3b2
or edi, 0x20000000
jmp 0x14012b351
or edi, 0x10000000
jmp 0x14012b368
mov edx, 6
jmp 0x14012b3d2
mov edx, 1
jmp 0x14012b3d2
mov edx, 4
jmp 0x14012b3d2
xor edx, edx
jmp 0x14012b3d2
Function at 0x14013c51f
Capabilities:
Read file via mapping

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
cmp dword [r8], 0
jle 0x14013c55e
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 0x14013c52e
mov dword [rsi], 7
jmp 0x14013c52e
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
call fcn.1400860a3
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 0x14013c53a
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 0x14013c53a
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 0x14013c610
mov qword [rdi + 0x28], rbx
mov al, 1
jmp 0x14013c530
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14013c52e
Function at 0x140149c90
Capabilities:
Reference processor manufacturer constants

Disassembly:
push rsi
push rdi
push rbx
mov r8, rcx
xor ebx, ebx
xor eax, eax
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
test eax, eax
jle 0x140149db0
mov edi, eax
xor ecx, ecx
mov eax, 1
xchg rbx, r9
cpuid
xchg rbx, r9
mov esi, eax
mov r9d, ecx
mov r11d, edx
mov r10d, 0
cmp edi, 7
jb 0x140149cf0
mov eax, 7
xor ecx, ecx
xchg rbx, rbx
cpuid
xchg rbx, rbx
mov r10d, ecx
and ebx, 0x20
shr ebx, 5
shr r10b, 4
and r10b, 1
mov dword [r8], esi
mov eax, esi
and eax, 0xf
mov dword [r8 + 8], eax
shr esi, 0xc
and esi, 3
mov dword [r8 + 4], esi
mov eax, r11d
shr eax, 0x17
and al, 1
mov byte [r8 + 0xc], al
mov eax, r11d
shr eax, 0x19
and al, 1
mov byte [r8 + 0xd], al
shr r11d, 0x1a
and r11b, 1
mov byte [r8 + 0xe], r11b
mov eax, r9d
and al, 1
mov byte [r8 + 0xf], al
mov eax, r9d
shr eax, 9
and al, 1
mov byte [r8 + 0x10], al
mov eax, r9d
shr eax, 0x13
and al, 1
mov byte [r8 + 0x11], al
mov eax, r9d
shr eax, 0x14
and al, 1
mov byte [r8 + 0x12], al
mov eax, r9d
shr eax, 0x17
and al, 1
mov byte [r8 + 0x13], al
mov eax, r9d
shr eax, 0x1f
mov byte [r8 + 0x1a], al
mov eax, r9d
not eax
test eax, 0x1c000000
je 0x140149d7d
xor eax, eax
jmp 0x140149d89
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
mov byte [r8 + 0x14], al
mov ecx, r9d
shr ecx, 0x19
and cl, 1
mov byte [r8 + 0x17], cl
shr r9d, 0xc
and r9b, 1
mov byte [r8 + 0x15], r9b
and bl, al
mov byte [r8 + 0x16], bl
mov byte [r8 + 0x18], r10b
xor ecx, ecx
mov eax, 0x80000000
xchg rbx, r9
cpuid
xchg rbx, r9
cmp eax, 0x80000006
jg 0x140149dcc
mov dl, byte [r8 + 0x19]
jmp 0x140149de5
mov eax, 0x80000007
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
shr edx, 8
and dl, 1
mov byte [r8 + 0x19], dl
test dl, dl
je 0x140149ded
pop rbx
pop rdi
pop rsi
ret
cmp byte [r8 + 0x1a], 0
je 0x140149de9
mov eax, 0x40000000
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
cmp r9d, 0x7263694d
jne 0x140149de9
cmp ecx, 0x666f736f
jne 0x140149de9
cmp edx, 0x76482074
jne 0x140149de9
mov byte [r8 + 0x19], 1
jmp 0x140149de9