joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ee880
Capabilities:
Encode data using base64

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
cmp rdx, 1
je 0x1400ee997
mov rbx, rdx
lea rax, [rdx - 1]
test rdx, rax
je 0x1400ee8ad
mov rcx, rbx
call fcn.1400cd977
mov rbx, rax
mov r14, qword [rsi + 8]
cmp rbx, r14
jbe 0x1400eea1d
mov rdi, rbx
mov rax, rdi
shr rax, 0x3d
jne 0x1400eeb3c
lea rcx, [rdi*8]
call fcn.14013a6b4
mov rcx, qword [rsi]
mov qword [rsi], rax
test rcx, rcx
je 0x1400ee8e7
call fcn.14013a6ac
mov qword [rsi + 8], rdi
xor eax, eax
mov rcx, qword [rsi]
mov qword [rcx + rax*8], 0
inc rax
cmp rdi, rax
jne 0x1400ee8ed
mov r8, qword [rsi + 0x10]
test r8, r8
je 0x1400ee9fe
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 0x1400eea11
cmp rcx, rdi
jb 0x1400ee98b
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 0x1400ee9cd
mov ebx, 2
jmp 0x1400ee8ad
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 0x1400ee9fe
mov rax, qword [r10 + 8]
cmp r9d, 1
jbe 0x1400eea08
cmp rax, rdi
jb 0x1400ee9e9
xor edx, edx
div rdi
mov rax, rdx
cmp rax, rcx
je 0x1400ee9c1
mov rdx, qword [rsi]
cmp qword [rdx + rax*8], 0
jne 0x1400ee9a1
mov qword [rdx + rax*8], r8
jmp 0x1400ee9c4
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rdx, [rdi - 1]
and rax, rdx
jmp 0x1400ee9e9
lea rax, [rdi - 1]
and rcx, rax
jmp 0x1400ee98b
jae 0x1400ee9fe
mov rax, qword [rsi + 0x18]
test rax, rax
jns 0x1400eea3f
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x1400eea44
cvtsi2ss xmm0, rax
divss xmm0, dword [rsi + 0x20]
call fcn.14015c3fc
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x1402d4098]
cvttss2si rax, xmm0
sar rdx, 0x3f
and rax, rdx
or rax, rcx
cmp r14, 3
jb 0x1400eeaf7
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 0x1400eeaf7
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 0x1400eeb02
mov rcx, rax
call fcn.1400cd977
mov rdi, rax
cmp rbx, rdi
cmova rdi, rbx
cmp rdi, r14
jae 0x1400ee9fe
test rdi, rdi
jne 0x1400ee8bd
mov rcx, qword [rsi]
mov qword [rsi], 0
test rcx, rcx
je 0x1400eeb2f
call fcn.14013a6ac
mov qword [rsi + 8], 0
jmp 0x1400ee9fe
call fcn.140181600
int3
Function at 0x1400ef800
Capabilities:
Set registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov ebp, r9d
mov r14, r8
mov rsi, rdx
mov r15, rcx
mov edi, dword [rsp + 0xd0]
mov rax, qword [0x140327038]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rbx, [rsp + 0x5f]
mov byte [rbx], 0xaa
mov r12, qword [rcx + 8]
lea rdx, str.WriteValue
lea r8, str....._basewin_registry.cc
lea r13, [rsp + 0x38]
mov rcx, r13
mov r9d, 0x362
call fcn.1400b5b90
mov rcx, rbx
mov rdx, r13
mov r8, r12
mov r9d, 0x20006
call fcn.1400b5b80
mov rcx, qword [r15 + 8]
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], r14
mov rdx, rsi
xor r8d, r8d
mov r9d, edi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov rcx, rbx
call fcn.1400b5b70
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14013d520
mov eax, esi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400f09e0
Capabilities:
Encode data using base64

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
cmp rdx, 1
je 0x1400f0a22
mov rdi, rdx
lea rax, [rdx - 1]
test rdx, rax
je 0x1400f0a07
mov rcx, rdi
call fcn.1400cd977
mov rdi, rax
mov rbx, qword [rsi + 8]
cmp rdi, rbx
jbe 0x1400f0a29
mov rcx, rsi
mov rdx, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp 0x1400f0b30
mov edi, 2
jmp 0x1400f0a07
jae 0x1400f0b1f
mov rax, qword [rsi + 0x18]
test rax, rax
jns 0x1400f0a4f
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x1400f0a54
cvtsi2ss xmm0, rax
divss xmm0, dword [rsi + 0x20]
call fcn.14015c3fc
cvttss2si rax, xmm0
mov rcx, rax
subss xmm0, dword [0x1402d4098]
cvttss2si rdx, xmm0
sar rcx, 0x3f
and rdx, rcx
or rdx, rax
cmp rbx, 3
jb 0x1400f0b07
mov rax, rbx
shr rax, 1
movabs rcx, 0x5555555555555555
and rcx, rax
mov rax, rbx
sub rax, rcx
movabs rcx, 0x3333333333333333
mov r8, rax
shr r8, 2
and rax, rcx
and r8, rcx
add r8, rax
mov rax, r8
shr rax, 4
add rax, r8
movabs rcx, 0xf0f0f0f0f0f0f0f
and rcx, rax
movabs rax, 0x101010101010101
imul rax, rcx
shr rax, 0x38
cmp eax, 1
ja 0x1400f0b07
lea rax, [rdx - 1]
bsr rcx, rax
xor ecx, 0x3f
neg cl
mov eax, 1
shl rax, cl
cmp rdx, 2
cmovb rax, rdx
jmp 0x1400f0b0f
mov rcx, rdx
call fcn.1400cd977
cmp rdi, rax
cmovbe rdi, rax
cmp rdi, rbx
jb 0x1400f0a10
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400f1b00
Capabilities:
Check if file exists
Create directory

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 [0x140327038]
xor rax, rsp
mov qword [rsp + 0x88], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x40]
mov qword [rbx + 0x40], r15
movaps xmm6, xmmword [0x1402e6d80]
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, 0x391
call fcn.1400b5b90
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.140062770
cmp byte [rdi + 0x17], 0
mov rbx, rdi
jns 0x1400f1b93
mov rbx, qword [rdi]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400f1bdf
mov bl, 1
test al, 0x10
je 0x1400f1cb9
lea rcx, [rsp + 0x40]
call fcn.140062a80
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14013d520
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.1400afb90
movzx eax, byte [rdi + 0x17]
test al, al
js 0x1400f1c07
and eax, 0x7f
mov rcx, rdi
jmp 0x1400f1c0e
mov rax, qword [rdi + 8]
mov rcx, qword [rdi]
test rax, rax
js 0x1400f1d23
test rcx, rcx
jne 0x1400f1c25
test rax, rax
jne 0x1400f1d29
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 0x1400f1d26
test r14, r14
jne 0x1400f1c57
test rdx, rdx
jne 0x1400f1d2c
cmp rdx, rax
je 0x1400f1cd6
lea rcx, [rsp + 0x20]
mov rdx, rsi
call fcn.1400f1b00
test al, al
je 0x1400f1d0e
mov rcx, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
je 0x1400f1c9c
cmp byte [rsp + 0x37], 0
jns 0x1400f1bab
mov rcx, qword [rsp + 0x20]
call fcn.14013a6ac
jmp 0x1400f1bab
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp eax, 0xb7
jne 0x1400f1d15
mov rcx, rdi
call fcn.1400f1d30
test al, al
jne 0x1400f1c82
jmp 0x1400f1d15
test rsi, rsi
je 0x1400f1cc4
mov dword [rsi], 0xfffffff7
mov ecx, 0x50
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x1400f1bab
test rdx, rdx
je 0x1400f1cf5
xor edx, edx
movzx r8d, word [r14 + rdx*2]
cmp r8w, word [rcx + rdx*2]
jne 0x1400f1c5c
inc rdx
cmp rax, rdx
jne 0x1400f1cdd
mov eax, 0xfffffffc
mov ebp, 2
test rsi, rsi
je 0x1400f1d06
mov dword [rsi], eax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x1400f1c82
test rsi, rsi
je 0x1400f1d06
mov ecx, ebp
call fcn.1400e3810
jmp 0x1400f1d04
int3
int3
int3
int3
Function at 0x1400f1d30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x140327038]
xor rax, rsp
mov qword [rsp + 0x88], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x40], rax
movaps xmm0, xmmword [0x1402e6d80]
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, 0x2d9
call fcn.1400b5b90
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140062770
cmp byte [rdi + 0x17], 0
jns 0x1400f1db0
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.140062a80
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14013d520
mov eax, edi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400f2c30
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
xor eax, eax
mov qword [rcx], rax
mov r14, qword [rdx]
mov qword [rdx], rax
lea r15, [r14 + 1]
cmp r15, 2
jb 0x1400f2c5b
call fcn.1400a6030
cmp qword [rsi], r14
je 0x1400f2c8d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400f2ce0
cmp r15, 2
jb 0x1400f2c82
mov qword [rsi], r14
call fcn.1400a6030
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rsi]
movups xmm0, xmmword [rdi + 8]
movups xmm1, xmmword [rdi + 0x18]
movups xmmword [rsi + 0x18], xmm1
movups xmmword [rsi + 8], xmm0
inc r14
cmp r14, 2
jb 0x1400f2caf
lea rax, [rsi + 8]
cmp dword [rax], 0
jne 0x1400f2cf9
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x1400f2cca
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400a6030
mov rcx, qword [rdi]
call fcn.1400ccd80
mov qword [rdi], 0
jmp 0x1400f2cbb
call fcn.1400a6030
mov rcx, qword [rsi]
call fcn.1400ccd80
mov qword [rsi], 0
jmp 0x1400f2c74
int3

Function at 0x1400fb740
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x140337440], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x140342ac8], eax
add rsp, 0x28
ret
Function at 0x140100050
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, r9
mov rbx, r8
mov r14, rdx
mov rdi, rcx
mov r15, qword [rsp + 0x88]
mov r12, qword [rsp + 0x80]
call fcn.1400bd370
lea rax, [0x1402e5110]
mov qword [rdi], rax
movups xmm0, xmmword [r12]
movups xmmword [rdi + 0x10], xmm0
movabs rax, 0xfffffffc00000000
and rax, r14
cmp rax, qword [0x140336a08]
jne 0x1401000af
mov rcx, r14
call fcn.14010ecc8
mov qword [rdi + 0x20], r14
lea rcx, [rdi + 0x28]
mov rdx, rbx
call fcn.1400bd3b0
mov qword [rdi + 0x40], r15
lea rcx, [rdi + 0x48]
call fcn.1400bd360
lea rcx, [rdi + 0x50]
mov rdx, rdi
call fcn.1400bd3e0
xor eax, eax
mov qword [rdi + 0x88], rax
mov r15, qword [rsi]
mov qword [rsi], rax
lea r12, [r15 + 1]
cmp r12, 2
jb 0x1401000f6
call fcn.1400a6030
cmp qword [rdi + 0x88], r15
je 0x140100135
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rdi + 0x88]
inc rax
cmp rax, 2
jae 0x1401001c0
cmp r12, 2
jb 0x14010012d
mov qword [rdi + 0x88], r15
call fcn.1400a6030
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
movups xmm0, xmmword [rsi + 8]
movups xmm1, xmmword [rsi + 0x18]
movups xmmword [rdi + 0xa0], xmm1
movups xmmword [rdi + 0x90], xmm0
lea rcx, [rdi + 0xb0]
call fcn.1400bd390
xor eax, eax
mov dword [rdi + 0xf0], eax
mov dword [rdi + 0xe8], eax
mov word [rdi + 0xec], 0
mov eax, dword [rdi + 0x1c]
mov dword [rdi + 0xf4], eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140100194
mov rax, rdi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.1400a6030
mov rbx, qword [rsi]
mov rcx, qword [0x14033c3e8]
test rcx, rcx
je 0x140100205
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rbx
call qword [case.0x14017aab5.0]
mov qword [rsi], 0
jmp 0x140100183
call fcn.1400a6030
mov r14, qword [rdi + 0x88]
mov rcx, qword [0x14033c3e8]
test rcx, rcx
je 0x1401001f7
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [case.0x14017aab5.0]
mov qword [rdi + 0x88], 0
jmp 0x14010011b
call fcn.1400515d0
mov rcx, qword [0x14033c3e8]
jmp 0x1401001d8
call fcn.1400515d0
mov rcx, qword [0x14033c3e8]
jmp 0x1401001a8

Function at 0x140100d20
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x28
test rdx, rdx
jne 0x140100d3a
test r8d, r8d
jne 0x140100d33
call fcn.1400d57f0
xor eax, eax
add rsp, 0x28
ret
mov r8d, r8d
add rsp, 0x28
jmp fcn.1400913e0
Function at 0x140102f90
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
xor eax, eax
mov qword [rcx], rax
mov r14, qword [rdx]
mov qword [rdx], rax
lea r15, [r14 + 1]
cmp r15, 2
jb 0x140102fbb
call fcn.1400a6030
cmp qword [rsi], r14
je 0x140102fed
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140103040
cmp r15, 2
jb 0x140102fe2
mov qword [rsi], r14
call fcn.1400a6030
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rsi]
movups xmm0, xmmword [rdi + 8]
movups xmm1, xmmword [rdi + 0x18]
movups xmmword [rsi + 0x18], xmm1
movups xmmword [rsi + 8], xmm0
inc r14
cmp r14, 2
jb 0x14010300f
lea rax, [rsi + 8]
cmp dword [rax], 1
jne 0x140103059
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x14010302a
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400a6030
mov rcx, qword [rdi]
call fcn.1400ccd80
mov qword [rdi], 0
jmp 0x14010301b
call fcn.1400a6030
mov rcx, qword [rsi]
call fcn.1400ccd80
mov qword [rsi], 0
jmp 0x140102fd4
int3
Function at 0x140106090
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test rcx, rcx
je 0x1401060b9
cmp edx, 0x10000
jae 0x140106106
mov rsi, r9
mov rdi, rcx
mov edx, edx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
jne 0x1401060c5
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
mov r14, rax
mov rcx, rdi
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov rcx, rdi
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1401060b9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x1401060b9
mov rcx, qword [rsp + 0x70]
mov qword [rsi], rax
mov eax, ebx
mov qword [rcx], rax
mov al, 1
jmp 0x1401060bb
call fcn.140185350
jmp 0x1401060b9

Function at 0x140108000
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov qword [rcx], 0xffffffffffffffff
xor eax, eax
mov dword [rcx + 8], eax
mov qword [rcx + 0x10], rax
mov ecx, dword [rdx]
mov dword [rsi + 8], ecx
mov dword [rdx], eax
mov r15, qword [rdx + 8]
mov qword [rdx + 8], rax
lea r12, [r15 + 1]
cmp r12, 2
jb 0x140108041
call fcn.1400a6030
cmp qword [rsi + 0x10], r15
je 0x140108073
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 0x10]
inc rax
cmp rax, 2
jae 0x1401080da
cmp r12, 2
jb 0x14010806b
mov qword [rsi + 0x10], r15
call fcn.1400a6030
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [rsi + 0x18], 0
mov byte [rsi + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
test rax, rax
je 0x140108127
mov rax, qword [rdi + 8]
inc rax
cmp rax, 2
jae 0x1401080ac
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.1400a6030
mov rbx, qword [rdi + 8]
mov rcx, qword [0x14033c3e8]
test rcx, rcx
je 0x140108119
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rbx
call qword [case.0x14017aab5.0]
mov qword [rdi + 8], 0
jmp 0x14010809b
call fcn.1400a6030
mov r14, qword [rsi + 0x10]
mov rcx, qword [0x14033c3e8]
test rcx, rcx
je 0x14010810b
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [case.0x14017aab5.0]
mov qword [rsi + 0x10], 0
jmp 0x14010805c
call fcn.1400515d0
mov rcx, qword [0x14033c3e8]
jmp 0x1401080ef
call fcn.1400515d0
mov rcx, qword [0x14033c3e8]
jmp 0x1401080c1
int3
Function at 0x140109590
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 [0x140327038]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rbx, [rsp + 0x47]
mov byte [rbx], 0xaa
mov r14, qword [rcx + 8]
lea rdx, str.DeleteValue
lea r8, str....._basewin_registry.cc
lea r15, [rsp + 0x20]
mov rcx, r15
mov r9d, 0x2bd
call fcn.1400b5b90
mov rcx, rbx
mov rdx, r15
mov r8, r14
mov r9d, 0x20006
call fcn.1400b5b80
mov rcx, qword [rdi + 8]
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
mov rcx, rbx
call fcn.1400b5b70
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14013d520
mov eax, esi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x140109710
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rax, qword [0x140327038]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rsi, qword [rcx]
lea rax, [rsi + 1]
cmp rax, 2
jb 0x14010982d
mov rdi, rcx
cmp dword [rcx + 8], 1
jne 0x14010987c
mov qword [rdi], 0
call fcn.1400a6030
test rsi, rsi
je 0x14010976f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.1400a6030
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x38]
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor ecx, ecx
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], 5
mov rcx, rax
mov rdx, rsi
mov r8, rax
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
setne bl
je 0x1401097f1
mov r15, qword [rsp + 0x38]
cmp qword [rdi], r15
je 0x1401097ea
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x14010983f
lea rax, [r15 + 1]
cmp rax, 2
jb 0x1401097e2
mov qword [rdi], r15
call fcn.1400a6030
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [rdi + 8], 0
call fcn.1400a6030
mov rcx, qword [0x14033c3e8]
test rcx, rcx
je 0x140109831
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rsi
call qword [case.0x14017aab5.0]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14013d520
mov eax, ebx
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
xor ebx, ebx
jmp 0x140109811
call fcn.1400515d0
mov rcx, qword [0x14033c3e8]
jmp 0x140109802
call fcn.1400a6030
mov r14, qword [rdi]
mov rcx, qword [0x14033c3e8]
test rcx, rcx
je 0x14010986e
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [case.0x14017aab5.0]
mov qword [rdi], 0
jmp 0x1401097d0
call fcn.1400515d0
mov rcx, qword [0x14033c3e8]
jmp 0x140109853
int3
Function at 0x140109880
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 [0x140327038]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r15, [rsp + 0x60]
mov qword [r15 + 0x40], rax
movaps xmm0, xmmword [0x1402e6d80]
movaps xmmword [r15 + 0x30], xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
lea rdx, [0x1402f1208]
lea r8, str....._base_files_file_util_win.cc
lea r12, [rsp + 0x40]
mov rcx, r12
mov r9d, 0x492
call fcn.1400b5b90
xor ebx, ebx
mov rcx, r15
mov rdx, r12
xor r8d, r8d
call fcn.140062770
cmp byte [r14 + 0x17], 0
jns 0x140109914
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 0x140109964
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp r14, 0xffffffffffffffff
jne 0x1401099af
xor ebx, ebx
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ebp, 0xffffffff
test esi, esi
js 0x140109977
lea rax, [rbx + 1]
cmp rax, 2
jae 0x1401099c8
lea rax, [rbx + 1]
cmp rax, 2
jae 0x1401099b9
lea rcx, [rsp + 0x60]
call fcn.140062a80
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.14013d520
mov eax, ebp
add rsp, 0xb0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.1400a6030
mov rbx, r14
jmp 0x14010995c
call fcn.1400a6030
mov rcx, rbx
call fcn.1400ccd80
jmp 0x140109981
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 0x1401099fe
mov ebp, dword [rsp + 0x40]
test ebp, ebp
jns 0x140109977
jmp 0x140109a08
mov ebp, 0xffffffff
jmp 0x140109977
int3

Function at 0x14010a160
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
xor eax, eax
mov qword [rcx], rax
mov r14, qword [rdx]
mov qword [rdx], rax
lea r15, [r14 + 1]
cmp r15, 2
jb 0x14010a18b
call fcn.1400a6030
cmp qword [rsi], r14
je 0x14010a1ba
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14010a1d9
cmp r15, 2
jb 0x14010a1b2
mov qword [rsi], r14
call fcn.1400a6030
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
movups xmm0, xmmword [rdi + 8]
movups xmm1, xmmword [rdi + 0x18]
movups xmmword [rsi + 0x18], xmm1
movups xmmword [rsi + 8], xmm0
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400a6030
mov rcx, qword [rsi]
call fcn.1400ccd80
mov qword [rsi], 0
jmp 0x14010a1a4