joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e9ab0
Capabilities:
Hash data with crc32

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, 0x20
call fcn.140153bd4
mov rsi, rax
mov ecx, 0x10
call fcn.140153bd4
mov qword [rsi], rax
lea r8, [rax + 0x10]
mov qword [rsi + 0x10], r8
xor ecx, ecx
mov rdx, rax
add rdx, rcx
je 0x1400e9c65
mov dword [rdx], 0
add rcx, 4
cmp rcx, 0x10
jne 0x1400e9ad9
movabs rcx, 0x200000001
mov qword [rax + 4], rcx
mov dword [rax + 0xc], 0x7fffffff
movzx edx, byte [rax]
xor rdx, 4
lea rcx, [0x14031b5a0]
mov edx, dword [rcx + rdx*4]
mov r9d, 0xff
mov r10d, edx
and r10d, r9d
movzx r11d, byte [rax + 1]
xor r11d, r10d
shr edx, 8
xor edx, dword [rcx + r11*4]
mov r10d, edx
and r10d, r9d
movzx r11d, byte [rax + 2]
xor r11d, r10d
shr edx, 8
xor edx, dword [rcx + r11*4]
mov r10d, edx
and r10d, r9d
movzx r11d, byte [rax + 3]
xor r11d, r10d
shr edx, 8
xor edx, dword [rcx + r11*4]
mov r10d, edx
and r10d, r9d
xor r10d, 1
shr edx, 8
xor edx, dword [rcx + r10*4]
mov r10d, edx
and r10d, r9d
movzx r11d, byte [rax + 5]
xor r11d, r10d
shr edx, 8
xor edx, dword [rcx + r11*4]
mov r10d, edx
and r10d, r9d
movzx r11d, byte [rax + 6]
xor r11d, r10d
shr edx, 8
xor edx, dword [rcx + r11*4]
mov r10d, edx
and r10d, r9d
movzx r11d, byte [rax + 7]
xor r11d, r10d
shr edx, 8
xor edx, dword [rcx + r11*4]
mov r10d, edx
and r10d, r9d
movzx r11d, byte [rax + 8]
xor r11d, r10d
shr edx, 8
xor edx, dword [rcx + r11*4]
mov r10d, edx
and r10d, r9d
movzx r11d, byte [rax + 9]
xor r11d, r10d
shr edx, 8
xor edx, dword [rcx + r11*4]
mov r10d, edx
and r10d, r9d
movzx r11d, byte [rax + 0xa]
xor r11d, r10d
shr edx, 8
xor edx, dword [rcx + r11*4]
mov r10d, edx
and r10d, r9d
movzx r11d, byte [rax + 0xb]
xor r11d, r10d
shr edx, 8
xor edx, dword [rcx + r11*4]
mov r10d, edx
not r10d
and r10d, r9d
shr edx, 8
xor edx, dword [rcx + r10*4]
mov qword [rsi + 8], r8
mov r8d, edx
and r8d, r9d
movzx r10d, byte [rax + 0xd]
xor r10d, r8d
shr edx, 8
xor edx, dword [rcx + r10*4]
mov dword [rsi + 0x1c], 0
mov r8d, edx
and r8d, r9d
movzx r10d, byte [rax + 0xe]
xor r10d, r8d
shr edx, 8
xor edx, dword [rcx + r10*4]
and r9d, edx
movzx eax, byte [rax + 0xf]
xor eax, r9d
shr edx, 8
xor edx, dword [rcx + rax*4]
mov dword [rsi + 0x18], edx
mov rax, rsi
add rsp, 0x20
pop rsi
ret
int3
Function at 0x1401004a8
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov edi, edx
mov rsi, rcx
mov rax, qword [0x140346038]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor ebx, ebx
xor edx, edx
call fcn.14010056c
mov dword [rsi + 0x120], ebx
mov dword [rsi + 0x124], edi
movaps xmm0, xmmword [0x1402fccc0]
lea rdi, [rsp + 0x20]
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rdi + 4]
mov ecx, dword [rdi + 0x28]
cmp eax, ecx
cmova ecx, eax
mov qword [rsi + 0x128], rcx
mov qword [rsi + 0x130], 0x20
mov qword [rsi + 0x138], 0x40
mov dword [rsi + 0x140], ebx
lea rax, [rsi + 8]
mov qword [rsi + 8], 0
xor rax, 0xffffffffb37cc16a
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], rsi
mov dword [rsi + 0x28], ebx
lea rcx, [rsi + 0x30]
mov r8d, 0xf0
xor edx, edx
call fcn.140159120
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140156fe0
mov rax, rsi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret

Function at 0x140102080
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x40
mov rax, qword [0x140346038]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov eax, dword [0x140365138]
mov ecx, dword [0x1403576e0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140102114
lea rcx, [0x140365128]
call fcn.1400e0990
test rax, rax
jne 0x1401020f3
mov ecx, 4
call fcn.140153bd4
mov dword [rax], 0
lea rdx, [rsp + 0x28]
mov qword [rdx], rax
lea rsi, [rsp + 0x30]
mov rcx, rsi
call fcn.14006ba40
mov rcx, qword [rsi]
test rcx, rcx
jne 0x140102157
lea rsi, [0x140365128]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140156fe0
mov rcx, rsi
add rsp, 0x40
pop rsi
jmp fcn.1400e0990
lea rcx, [0x140365138]
call fcn.1401547b8
cmp dword [0x140365138], 0xffffffff
jne 0x1401020b5
xorps xmm0, xmm0
movups xmmword [0x140365128], xmm0
lea rcx, [0x140365128]
lea rdx, [0x14009fde0]
call fcn.140102160
lea rcx, [0x140365138]
call fcn.140153cf4
jmp 0x1401020b5
call fcn.140153bcc
jmp 0x1401020f3
Function at 0x140104470
Capabilities:
Encode data using base64

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
cmp rdx, 1
je 0x140104587
mov rbx, rdx
lea rax, [rdx - 1]
test rdx, rax
je 0x14010449d
mov rcx, rbx
call fcn.1400e538a
mov rbx, rax
mov r14, qword [rsi + 8]
cmp rbx, r14
jbe 0x14010460d
mov rdi, rbx
mov rax, rdi
shr rax, 0x3d
jne 0x14010472c
lea rcx, [rdi*8]
call fcn.140153bd4
mov rcx, qword [rsi]
mov qword [rsi], rax
test rcx, rcx
je 0x1401044d7
call fcn.140153bcc
mov qword [rsi + 8], rdi
xor eax, eax
mov rcx, qword [rsi]
mov qword [rcx + rax*8], 0
inc rax
cmp rdi, rax
jne 0x1401044dd
mov r8, qword [rsi + 0x10]
test r8, r8
je 0x1401045ee
lea r10, [rsi + 0x10]
mov rcx, qword [r8 + 8]
mov rax, rdi
shr rax, 1
movabs rdx, 0x5555555555555555
and rdx, rax
mov rax, rdi
sub rax, rdx
movabs rdx, 0x3333333333333333
mov r9, rax
and r9, rdx
shr rax, 2
and rax, rdx
add rax, r9
mov rdx, rax
shr rdx, 4
add rdx, rax
movabs rax, 0xf0f0f0f0f0f0f0f
and rax, rdx
movabs r9, 0x101010101010101
imul r9, rax
shr r9, 0x38
cmp r9, 1
jbe 0x140104601
cmp rcx, rdi
jb 0x14010457b
mov rax, rcx
xor edx, edx
div rdi
mov rcx, rdx
mov rax, qword [rsi]
mov qword [rax + rcx*8], r10
mov r10, qword [r8]
jmp 0x1401045bd
mov ebx, 2
jmp 0x14010449d
mov rdx, qword [r10]
mov qword [r8], rdx
mov rdx, qword [rsi]
mov rdx, qword [rdx + rax*8]
mov rdx, qword [rdx]
mov qword [r10], rdx
mov rdx, qword [rsi]
mov rax, qword [rdx + rax*8]
mov qword [rax], r10
mov r10, r8
mov rax, rcx
mov r8, r10
mov r10, qword [r10]
mov rcx, rax
test r10, r10
je 0x1401045ee
mov rax, qword [r10 + 8]
cmp r9d, 1
jbe 0x1401045f8
cmp rax, rdi
jb 0x1401045d9
xor edx, edx
div rdi
mov rax, rdx
cmp rax, rcx
je 0x1401045b1
mov rdx, qword [rsi]
cmp qword [rdx + rax*8], 0
jne 0x140104591
mov qword [rdx + rax*8], r8
jmp 0x1401045b4
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rdx, [rdi - 1]
and rax, rdx
jmp 0x1401045d9
lea rax, [rdi - 1]
and rcx, rax
jmp 0x14010457b
jae 0x1401045ee
mov rax, qword [rsi + 0x18]
test rax, rax
jns 0x14010462f
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x140104634
cvtsi2ss xmm0, rax
divss xmm0, dword [rsi + 0x20]
call fcn.140175e6c
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x1402f0098]
cvttss2si rax, xmm0
sar rdx, 0x3f
and rax, rdx
or rax, rcx
cmp r14, 3
jb 0x1401046e7
mov rcx, r14
shr rcx, 1
movabs rdx, 0x5555555555555555
and rdx, rcx
mov rcx, r14
sub rcx, rdx
movabs rdx, 0x3333333333333333
mov r8, rcx
shr r8, 2
and rcx, rdx
and r8, rdx
add r8, rcx
mov rcx, r8
shr rcx, 4
add rcx, r8
movabs rdx, 0xf0f0f0f0f0f0f0f
and rdx, rcx
movabs rcx, 0x101010101010101
imul rcx, rdx
shr rcx, 0x38
cmp ecx, 1
ja 0x1401046e7
lea rcx, [rax - 1]
bsr rcx, rcx
xor ecx, 0x3f
neg cl
mov edi, 1
shl rdi, cl
cmp rax, 2
cmovb rdi, rax
jmp 0x1401046f2
mov rcx, rax
call fcn.1400e538a
mov rdi, rax
cmp rbx, rdi
cmova rdi, rbx
cmp rdi, r14
jae 0x1401045ee
test rdi, rdi
jne 0x1401044ad
mov rcx, qword [rsi]
mov qword [rsi], 0
test rcx, rcx
je 0x14010471f
call fcn.140153bcc
mov qword [rsi + 8], 0
jmp 0x1401045ee
call fcn.1401bf470
int3
Function at 0x140104b90
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x140346038]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.140159120
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x140104c45
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.14015468c
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.1400caf10
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.1400ae980
cmp byte [rsi + 0x17], 0
js 0x140104c6d
mov rax, qword [rsp + 0x58]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rsi], xmm0
mov byte [rsp + 0x5f], 0
mov word [rsp + 0x48], 0
cmp byte [rsp + 0x47], 0
jns 0x140104c45
mov rcx, qword [rsp + 0x30]
call fcn.140153bcc
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140156fe0
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, qword [rsi]
call fcn.140153bcc
jmp 0x140104c17

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xb0
movaps xmmword [rsp + 0xa0], xmm6
mov rsi, rcx
mov rax, qword [0x140346038]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x50]
mov qword [rdi + 0x40], rax
movaps xmm6, xmmword [0x1402fccc0]
movaps xmmword [rdi + 0x30], xmm6
movaps xmmword [rdi + 0x20], xmm6
movaps xmmword [rdi + 0x10], xmm6
movaps xmmword [rdi], xmm6
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x2ba
call fcn.1400c6940
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140066fa0
call fcn.140109990
test al, al
jne 0x14010995f
cmp byte [rsi + 0x17], 0
jns 0x140109921
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
lea rcx, [rsp + 0x50]
call fcn.140067230
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140156fe0
mov eax, ebx
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
ret
movaps xmmword [rsp + 0x30], xmm6
movaps xmmword [rsp + 0x20], xmm6
mov dword [rsp + 0x40], 0xaaaaaaaa
cmp byte [rsi + 0x17], 0
jns 0x14010997a
mov rsi, qword [rsi]
lea r8, [rsp + 0x20]
mov rcx, rsi
xor edx, edx
call fcn.1402570a0
test eax, eax
jmp 0x14010992d
Function at 0x14011672c
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x140356d60], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x140363828], eax
add rsp, 0x28
ret

Function at 0x14011a280
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
movaps xmmword [rsp + 0x90], xmm6
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140346038]
xor rax, rsp
mov qword [rsp + 0x88], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x40]
mov qword [rbx + 0x40], r15
movaps xmm6, xmmword [0x1402fccc0]
movaps xmmword [rbx + 0x30], xmm6
movaps xmmword [rbx + 0x20], xmm6
movaps xmmword [rbx + 0x10], xmm6
movaps xmmword [rbx], xmm6
lea rdx, str.CreateDirectoryAndGetError
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x20]
mov rcx, r14
mov r9d, 0x3a1
call fcn.1400c6940
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.140066fa0
cmp byte [rdi + 0x17], 0
mov rbx, rdi
jns 0x14011a313
mov rbx, qword [rdi]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14011a35f
mov bl, 1
test al, 0x10
je 0x14011a439
lea rcx, [rsp + 0x40]
call fcn.140067230
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140156fe0
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
lea r14, [rsp + 0x20]
mov qword [r14 + 0x10], r15
movaps xmmword [r14], xmm6
mov rcx, rdi
mov rdx, r14
call fcn.1400df8d0
movzx eax, byte [rdi + 0x17]
test al, al
js 0x14011a387
and eax, 0x7f
mov rcx, rdi
jmp 0x14011a38e
mov rax, qword [rdi + 8]
mov rcx, qword [rdi]
test rax, rax
js 0x14011a4a3
test rcx, rcx
jne 0x14011a3a5
test rax, rax
jne 0x14011a4a9
movzx r8d, byte [rsp + 0x37]
mov edx, r8d
and edx, 0x7f
test r8b, r8b
cmovs rdx, qword [rsp + 0x28]
cmovs r14, qword [rsp + 0x20]
test rdx, rdx
js 0x14011a4a6
test r14, r14
jne 0x14011a3d7
test rdx, rdx
jne 0x14011a4ac
cmp rdx, rax
je 0x14011a456
lea rcx, [rsp + 0x20]
mov rdx, rsi
call fcn.14011a280
test al, al
je 0x14011a48e
mov rcx, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
je 0x14011a41c
cmp byte [rsp + 0x37], 0
jns 0x14011a32b
mov rcx, qword [rsp + 0x20]
call fcn.140153bcc
jmp 0x14011a32b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp eax, 0xb7
jne 0x14011a495
mov rcx, rdi
call fcn.14011a4b0
test al, al
jne 0x14011a402
jmp 0x14011a495
test rsi, rsi
je 0x14011a444
mov dword [rsi], 0xfffffff7
mov ecx, 0x50
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x14011a32b
test rdx, rdx
je 0x14011a475
xor edx, edx
movzx r8d, word [r14 + rdx*2]
cmp r8w, word [rcx + rdx*2]
jne 0x14011a3dc
inc rdx
cmp rax, rdx
jne 0x14011a45d
mov eax, 0xfffffffc
mov ebp, 2
test rsi, rsi
je 0x14011a486
mov dword [rsi], eax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x14011a402
test rsi, rsi
je 0x14011a486
mov ecx, ebp
call fcn.1400f8730
jmp 0x14011a484
int3
int3
int3
int3
Function at 0x14011a4b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x140346038]
xor rax, rsp
mov qword [rsp + 0x88], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x40], rax
movaps xmm0, xmmword [0x1402fccc0]
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, str.DirectoryExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x2e9
call fcn.1400c6940
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140066fa0
cmp byte [rdi + 0x17], 0
jns 0x14011a530
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
setne al
and edi, 0x10
shr edi, 4
and dil, al
mov rcx, rsi
call fcn.140067230
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140156fe0
mov eax, edi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x14011fd00
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x140346038]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r14, qword [rcx + 0x10]
cmp r14, qword [rcx + 0x18]
je 0x14011fd5c
test r14, r14
je 0x14011fe5b
mov rax, qword [rdi]
mov qword [r14], rax
add qword [rsi + 0x10], 8
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140156fe0
nop
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r15, qword [rsi]
mov rbx, qword [rsi + 8]
mov rax, rbx
sub rax, r15
jbe 0x14011fda6
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
lea r15, [rax + rcx]
inc r15
shr r15, 1
shl r15, 3
mov rcx, rbx
sub rcx, r15
mov r8, r14
sub r8, rbx
mov rdx, rbx
call fcn.140158a70
sub r14, r15
mov qword [rsi + 0x10], r14
sub qword [rsi + 8], r15
jmp 0x14011fd2c
mov rax, r14
sub rax, r15
sar rax, 2
cmp r14, r15
mov r12d, 1
cmovne r12, rax
mov rax, qword [rsi + 0x20]
mov qword [rsp + 0x48], rax
mov rax, r12
shr rax, 0x3d
jne 0x14011fe87
lea rcx, [r12*8]
call fcn.140153bd4
mov rcx, r12
and rcx, 0xfffffffffffffffc
lea rdx, [rax + rcx*2]
mov r9, r14
mov r8, rdx
sub r9, rbx
je 0x14011fe26
mov rcx, r9
sar rcx, 3
and r9, 0xfffffffffffffff8
mov r8, r9
add r8, rdx
shl rcx, 3
xor r9d, r9d
mov r10, rdx
add r10, r9
je 0x14011fe5b
mov r11, qword [rbx + r9]
mov qword [r10], r11
add r9, 8
cmp rcx, r9
jne 0x14011fe0e
lea r9, [rax + r12*8]
mov qword [rsi], rax
lea rcx, [rsp + 0x28]
mov qword [rcx], r15
mov qword [rsi + 8], rdx
mov qword [rcx + 8], rbx
mov qword [rsi + 0x10], r8
mov qword [rcx + 0x10], r14
mov qword [rsi + 0x18], r9
mov qword [rcx + 0x18], r14
call fcn.1401f7bc8
mov r14, qword [rsi + 0x10]
jmp 0x14011fd2c
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x25
call fcn.1401bf470
call fcn.1401bf470
int3
Function at 0x140122380
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x28
test rdx, rdx
je 0x140122395
mov r8d, r8d
add rsp, 0x28
jmp fcn.1400b0300
test r8d, r8d
jne 0x14012239f
call fcn.1401223b0
xor eax, eax
add rsp, 0x28
ret

Function at 0x140123790
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb0
mov esi, r8d
mov rdi, rdx
mov r14, rcx
mov rax, qword [0x140346038]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r15, [rsp + 0x60]
mov qword [r15 + 0x40], rax
movaps xmm0, xmmword [0x1402fccc0]
movaps xmmword [r15 + 0x30], xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
lea rdx, [0x1403107f7]
lea r8, str....._base_files_file_util_win.cc
lea r12, [rsp + 0x40]
mov rcx, r12
mov r9d, 0x4b5
call fcn.1400c6940
xor ebx, ebx
mov rcx, r15
mov rdx, r12
xor r8d, r8d
call fcn.140066fa0
cmp byte [r14 + 0x17], 0
jns 0x140123824
mov r14, qword [r14]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
mov rcx, r14
mov edx, 0x40000000
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
test rax, rax
je 0x14012387b
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp r14, 0xffffffffffffffff
je 0x140123910
call fcn.1400bcc80
mov rbx, r14
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ebp, 0xffffffff
test esi, esi
js 0x1401238cb
lea rax, [rbx + 1]
cmp rax, 2
jb 0x1401238cb
lea r14, [rsp + 0x40]
mov dword [r14], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
mov rcx, rbx
mov rdx, rdi
mov r8d, esi
mov r9, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [r14]
xor edx, edx
cmp eax, 1
sbb edx, edx
cmp ecx, esi
mov ebp, 0xffffffff
cmove ebp, ecx
or ebp, edx
lea rax, [rbx + 1]
cmp rax, 2
jb 0x1401238e2
call fcn.1400bcc80
mov rcx, rbx
call fcn.1400d2f70
lea rcx, [rsp + 0x60]
call fcn.140067230
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140156fe0
mov eax, ebp
add rsp, 0xb0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor ebx, ebx
jmp 0x140123873

Function at 0x140126590
Capabilities:
Delete registry value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140346038]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rbx, [rsp + 0x47]
mov byte [rbx], 0xaa
mov r14, qword [rcx]
lea rdx, str.DeleteValue
lea r8, str....._basewin_registry.cc
lea r15, [rsp + 0x20]
mov rcx, r15
mov r9d, 0x169
call fcn.1400c6940
mov rcx, rbx
mov rdx, r15
mov r8, r14
mov r9d, 0x20006
call fcn.1400e8580
mov rcx, qword [rdi]
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
mov rcx, rbx
call fcn.1400bf590
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140156fe0
mov eax, esi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140126e40
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb0
mov esi, r8d
mov rdi, rdx
mov r14, rcx
mov rax, qword [0x140346038]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r15, [rsp + 0x60]
mov qword [r15 + 0x40], rax
movaps xmm0, xmmword [0x1402fccc0]
movaps xmmword [r15 + 0x30], xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
lea rdx, [0x1403107ee]
lea r8, str....._base_files_file_util_win.cc
lea r12, [rsp + 0x40]
mov rcx, r12
mov r9d, 0x4a2
call fcn.1400c6940
xor ebx, ebx
mov rcx, r15
mov rdx, r12
xor r8d, r8d
call fcn.140066fa0
cmp byte [r14 + 0x17], 0
jns 0x140126ed4
mov r14, qword [r14]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 3
mov rcx, r14
mov edx, 0x80000000
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
test rax, rax
je 0x140126f24
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp r14, 0xffffffffffffffff
jne 0x140126f6f
xor ebx, ebx
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ebp, 0xffffffff
test esi, esi
js 0x140126f37
lea rax, [rbx + 1]
cmp rax, 2
jae 0x140126f88
lea rax, [rbx + 1]
cmp rax, 2
jae 0x140126f79
lea rcx, [rsp + 0x60]
call fcn.140067230
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140156fe0
mov eax, ebp
add rsp, 0xb0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.1400bcc80
mov rbx, r14
jmp 0x140126f1c
call fcn.1400bcc80
mov rcx, rbx
call fcn.1400d2f70
jmp 0x140126f41
lea r9, [rsp + 0x40]
mov dword [r9], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
mov rcx, rbx
mov rdx, rdi
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140126fbe
mov ebp, dword [rsp + 0x40]
test ebp, ebp
jns 0x140126f37
jmp 0x140126fc8
mov ebp, 0xffffffff
jmp 0x140126f37
int3

Function at 0x140127928
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov eax, dword [rdx]
mov dword [rcx], eax
mov dword [rdx], 0
mov rbx, qword [rdx + 8]
mov qword [rdx + 8], 0
lea r14, [rbx + 1]
cmp r14, 2
jb 0x140127959
call fcn.1400bcc80
cmp qword [rsi + 8], rbx
je 0x14012798b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x140127998
cmp r14, 2
jb 0x140127983
mov qword [rsi + 8], rbx
call fcn.1400bcc80
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400bcc80
mov rcx, qword [rsi + 8]
call fcn.1400d2f70
mov qword [rsi + 8], 0
jmp 0x140127974
Function at 0x140128e70
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
movdqa xmmword [rsp + 0x40], xmm10
movdqa xmmword [rsp + 0x30], xmm9
movdqa xmmword [rsp + 0x20], xmm8
movdqa xmmword [rsp + 0x10], xmm7
movdqa xmmword [rsp], xmm6
movdqu xmm4, xmmword [rcx]
movdqu xmm3, xmmword [rcx + 0x10]
movdqu xmm2, xmmword [rcx + 0x20]
movdqu xmm1, xmmword [rcx + 0x30]
movd xmm0, r8d
pxor xmm0, xmm4
add rdx, 0xffffffffffffffc0
add rcx, 0x40
cmp rdx, 0x40
jb 0x140128f6e
movabs rax, 0x154442bd4
movq xmm4, rax
movdqa xmm5, xmmword [0x140307480]
nop dword [rax]
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
movdqa xmm7, xmm3
pclmulqdq xmm7, xmm4, 0
movdqa xmm8, xmm2
pclmulqdq xmm8, xmm4, 0
movdqa xmm9, xmm1
pclmulqdq xmm9, xmm4, 0
pclmulqdq xmm0, xmm5, 0x11
pclmulqdq xmm3, xmm5, 0x11
pclmulqdq xmm2, xmm5, 0x11
pclmulqdq xmm1, xmm5, 0x11
movdqu xmm10, xmmword [rcx]
pxor xmm10, xmm6
pxor xmm0, xmm10
movdqu xmm6, xmmword [rcx + 0x10]
pxor xmm6, xmm7
pxor xmm3, xmm6
movdqu xmm6, xmmword [rcx + 0x20]
pxor xmm6, xmm8
pxor xmm2, xmm6
movdqu xmm6, xmmword [rcx + 0x30]
pxor xmm6, xmm9
pxor xmm1, xmm6
add rdx, 0xffffffffffffffc0
add rcx, 0x40
cmp rdx, 0x3f
ja 0x140128ee0
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm3
movdqa xmm3, xmmword [0x140307490]
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm2
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
cmp rdx, 0x10
jb 0x140128ffd
movdqu xmm1, xmmword [rcx]
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
add rcx, 0x10
add rdx, 0xfffffffffffffff0
cmp rdx, 0xf
ja 0x140128fd3
movdqa xmm1, xmmword [0x140307490]
pclmulqdq xmm1, xmm0, 1
psrldq xmm0, 8
pxor xmm0, xmm1
pxor xmm1, xmm1
pxor xmm2, xmm2
pblendw xmm2, xmm0, 3
psrldq xmm0, 4
movabs rax, 0x163cd6124
movq xmm3, rax
pclmulqdq xmm3, xmm2, 0
pxor xmm3, xmm0
pxor xmm0, xmm0
pblendw xmm0, xmm3, 3
pclmulqdq xmm0, xmmword [0x1403074a0], 0x10
pblendw xmm0, xmm1, 0xfc
movabs rax, 0x1db710641
movq xmm1, rax
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm3
pextrd eax, xmm1, 1
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
add rsp, 0x58
ret

Function at 0x140129b16
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [rcx + 8]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x140129b4d
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x140129b4d
movzx edx, word [rax + rcx + 0x14]
cmp edx, 0xf0
jne 0x140129b4d
movzx eax, word [rax + rcx + 0x18]
cmp eax, 0x20b
sete al
ret
xor eax, eax
jmp 0x140129b4c