joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401a3486
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, r9
mov rdi, r8
mov rbx, rdx
mov r14, rcx
mov ecx, 2
call sym.msedge.exe_OQS_CPU_has_extension
mov rcx, r14
mov rdx, rbx
mov r8, rdi
mov r9, rsi
test eax, eax
je 0x1401a34c3
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp 0x1401ab2fb
nop
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp 0x1401a39e0
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xd0
mov rbx, r9
mov rsi, r8
mov r14, rdx
mov rdi, rcx
mov rax, qword [0x140327038]
xor rax, rsp
vpbroadcastb ymm0, byte [0x1402e803e]
mov qword [rsp + 0xc8], rax
vmovdqu ymmword [rsp + 0xa0], ymm0
vmovdqu ymmword [rsp + 0x20], ymm0
vmovdqu ymmword [rsp + 0x80], ymm0
cmp r8, 4
jb 0x1401a3957
lea r15, [rsp + 0x80]
vmovdqu ymm0, ymmword [r14]
vmovups ymm1, ymmword [r14 + 0x20]
vmovups ymmword [rsp + 0xa0], ymm1
vmovdqu ymmword [rsp + 0x80], ymm0
mov rcx, rdi
mov rdx, r15
mov r8, rbx
vzeroupper
call fcn.1401a3f90
add rsi, 0xfffffffffffffffc
add r14, 0x40
add rdi, 0x40
cmp rsi, 3
ja 0x1401a3917
test rsi, rsi
jne 0x1401a397f
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
vzeroupper
call fcn.14013d520
nop
add rsp, 0xd0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
vmovdqu ymm0, ymmword [rsp + 0x20]
vmovdqu ymmword [rsp + 0x60], ymm0
vmovdqu ymmword [rsp + 0x40], ymm0
lea rax, [rsi*4]
xor ecx, ecx
mov edx, dword [r14 + rcx*4]
mov dword [rsp + rcx*4 + 0x80], edx
inc rcx
cmp rax, rcx
jne 0x1401a399b
lea r14, [rsp + 0x40]
lea rdx, [rsp + 0x80]
mov rcx, r14
mov r8, rbx
vzeroupper
call fcn.1401a3f90
shl rsi, 4
mov rcx, rdi
mov rdx, r14
mov r8, rsi
call fcn.14013efb0
jmp 0x1401a395c
mov rax, r8
mov r8, rdx
mov rdx, rcx
shr r8, 4
mov rcx, r9
mov r9, rax
jmp 0x1401a38bc
cmp rdx, 0x10
jb 0x1401ab391
shr rdx, 4
xor eax, eax
vmovdqa xmm0, xmmword [r8]
vpxor xmm0, xmm0, xmmword [rcx + rax]
vaesenc xmm0, xmm0, xmmword [r8 + 0x10]
vaesenc xmm0, xmm0, xmmword [r8 + 0x20]
vaesenc xmm0, xmm0, xmmword [r8 + 0x30]
vaesenc xmm0, xmm0, xmmword [r8 + 0x40]
vaesenc xmm0, xmm0, xmmword [r8 + 0x50]
vaesenc xmm0, xmm0, xmmword [r8 + 0x60]
vaesenc xmm0, xmm0, xmmword [r8 + 0x70]
vaesenc xmm0, xmm0, xmmword [r8 + 0x80]
vaesenc xmm0, xmm0, xmmword [r8 + 0x90]
vaesenc xmm0, xmm0, xmmword [r8 + 0xa0]
vaesenc xmm0, xmm0, xmmword [r8 + 0xb0]
vaesenc xmm0, xmm0, xmmword [r8 + 0xc0]
vaesenc xmm0, xmm0, xmmword [r8 + 0xd0]
vaesenclast xmm0, xmm0, xmmword [r8 + 0xe0]
vmovdqu xmmword [r9 + rax], xmm0
add rax, 0x10
dec rdx
jne 0x1401ab30b
ret
Function at 0x1401a45d0
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x1401a45fa
xor eax, eax
xor r9d, r9d
mov r10b, byte [rdx + rax]
xor r10b, byte [rcx + rax]
or r9b, r10b
inc rax
cmp r8, rax
jne 0x1401a45da
movzx eax, r9b
neg eax
shr eax, 8
and eax, 1
ret
xor eax, eax
jmp 0x1401a45f1

Function at 0x1401a47f0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
mov rax, qword [0x140327038]
xor rax, rsp
mov qword [rsp + 0x50], rax
vmovups ymm0, ymmword [rcx]
vmovups ymm1, ymmword [rcx + 0x10]
vmovups ymmword [rsp + 0x30], ymm1
vmovups ymmword [rsp + 0x20], ymm0
test rdx, rdx
je 0x1401a482f
xor eax, eax
mov cl, byte [rdx + rax]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp rax, 0x30
jne 0x1401a481f
vxorps xmm0, xmm0, xmm0
vmovups ymmword [0x1403392c8], ymm0
vmovups ymmword [0x1403392b8], ymm0
lea rcx, [rsp + 0x20]
vzeroupper
call fcn.1401a486d
mov dword [0x1403392e8], 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14013d520
nop
add rsp, 0x58
ret

Function at 0x1401a486d
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
mov rsi, rcx
mov rax, qword [0x140327038]
xor rax, rsp
mov qword [rsp + 0x60], rax
vpbroadcastb ymm0, byte [0x1402e817c]
vmovdqu ymmword [rsp + 0x40], ymm0
vmovdqu ymmword [rsp + 0x30], ymm0
xor r12d, r12d
lea rdi, [0x1403392b8]
lea rbx, [rsp + 0x28]
lea r14, [0x1403392d8]
jmp 0x1401a490b
inc cl
mov byte [rax + rdi + 0x20], cl
mov rax, r12
shl rax, 4
lea r15, [rsp + rax]
add r15, 0x30
mov qword [rsp + 0x28], 0
mov rcx, rdi
mov rdx, rbx
vzeroupper
call fcn.1401a33b8
mov edx, 0x10
mov rcx, r14
mov r8, rdi
mov r9, r15
call fcn.1401a341d
mov rcx, qword [rsp + 0x28]
call fcn.1401a33ef
inc r12
cmp r12, 3
je 0x1401a4927
mov eax, 0xf
mov eax, eax
mov cl, byte [rax + rdi + 0x20]
cmp cl, 0xff
jne 0x1401a48b9
mov byte [rax + rdi + 0x20], 0
add eax, 0xffffffff
jb 0x1401a4910
jmp 0x1401a48bf
test rsi, rsi
je 0x1401a493e
xor eax, eax
mov cl, byte [rsi + rax]
xor byte [rsp + rax + 0x30], cl
inc rax
cmp rax, 0x30
jne 0x1401a492e
vmovups ymm0, ymmword [rsp + 0x30]
vmovups ymmword [0x1403392b8], ymm0
vmovaps xmm0, xmmword [rsp + 0x50]
vmovups xmmword [0x1403392d8], xmm0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
vzeroupper
call fcn.14013d520
nop
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

Function at 0x1401aca97
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x1401acabd
xor r9d, r9d
xor eax, eax
mov r10b, byte [rdx + rax]
xor r10b, byte [rcx + rax]
or r9b, r10b
inc rax
cmp r8, rax
jne 0x1401acaa1
xor eax, eax
test r9b, r9b
setne al
ret
xor eax, eax
ret

Function at 0x1401acac0
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x1401acae7
neg r9b
xor eax, eax
mov r10b, byte [rcx + rax]
mov r11b, byte [rdx + rax]
xor r11b, r10b
and r11b, r9b
xor r11b, r10b
mov byte [rcx + rax], r11b
inc rax
cmp r8, rax
jne 0x1401acaca
ret
Function at 0x1401b2f50
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
test rcx, rcx
je 0x1401b305b
mov rsi, rcx
mov r14, qword [rdx]
mov qword [rdx], 0
test r14, r14
je 0x1401b3043
cmp r14, 0xffffffffffffffff
je 0x1401b304b
call fcn.1400a6030
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.1400a6030
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [rsi], 1
mov qword [rsi + 8], 0
lea r15, [r14 + 1]
cmp r15, 2
jb 0x1401b303f
call fcn.1400a6030
mov rax, qword [rsi + 8]
cmp rax, r14
je 0x1401b2ff4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x1401b3003
cmp r15, 2
jb 0x1401b2fec
mov qword [rsi + 8], r14
call fcn.1400a6030
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400a6030
mov rbx, qword [rsi + 8]
mov rcx, qword [0x14033c3e8]
test rcx, rcx
je 0x1401b3031
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rbx
call qword [case.0x14017aab5.0]
mov qword [rsi + 8], 0
jmp 0x1401b2fdd
call fcn.1400515d0
mov rcx, qword [0x14033c3e8]
jmp 0x1401b3018
xor eax, eax
jmp 0x1401b2fc3
xor r14d, r14d
jmp 0x1401b2f9e
xor r14d, r14d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x1401b2f96
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x25
call fcn.140181600
int3
Function at 0x1401b8670
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, r8
mov rsi, rcx
mov r12, qword [rsp + 0x90]
cmp r12, 8
jb 0x1401b87c5
mov r14, r9
mov r13d, dword [r9 + 4]
cmp r13, r12
ja 0x1401b87c5
cmp dword [r14], 0x100000
ja 0x1401b87c5
mov r15, rdx
lea rbp, [r14 + r13]
sub r12, r13
mov ecx, 0x88
call fcn.14013a6b4
mov rbx, rax
mov rax, qword [rdi]
xor ecx, ecx
mov qword [rdi], rcx
lea rdx, [0x1402e9bef]
mov qword [rbx + 8], rdx
lea rdx, [0x1402e3388]
mov qword [rbx], rdx
mov qword [rbx + 0x10], r15
xorps xmm0, xmm0
movups xmmword [rbx + 0x18], xmm0
mov qword [rbx + 0x28], rcx
mov qword [rbx + 0x30], rax
mov word [rbx + 0x38], 0x100
mov byte [rbx + 0x3a], 1
mov qword [rbx + 0x40], r14
mov qword [rbx + 0x48], r13
mov qword [rbx + 0x50], rbp
mov qword [rbx + 0x58], r12
movups xmmword [rbx + 0x60], xmm0
movups xmmword [rbx + 0x70], xmm0
mov qword [rbx + 0x80], rcx
mov eax, dword [0x140339338]
mov ecx, dword [0x140337e40]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401b8773
lock inc dword [0x14033932c]
mov qword [rsi], rbx
mov rcx, qword [rdi]
mov qword [rdi], 0
test rcx, rcx
jne 0x1401b87c9
mov rax, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x140339338]
call fcn.14013b388
cmp dword [0x140339338], 0xffffffff
jne 0x1401b8746
lea rax, [0x1402e3c50]
mov qword [0x140339330], rax
lea r14, [0x140339330]
call fcn.1400ea230
lea r8, str.MojoMessages
mov rcx, rax
mov rdx, r14
xor r9d, r9d
call fcn.1400ea250
lea rcx, [0x140339338]
call fcn.14013a7d4
jmp 0x1401b8746
xor ebx, ebx
jmp 0x1401b874d
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [case.0x14017aab5.0]
jmp 0x1401b875f
Function at 0x1401d0a07
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x2c8
movaps xmmword [rsp + 0x2b0], xmm6
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rdx
mov rax, qword [0x140327038]
xor rax, rsp
mov qword [rsp + 0x2a8], rax
mov r13, qword [rcx]
mov rbx, qword [rcx + 8]
cmp r13, rbx
je 0x1401d0a72
movabs rbp, 0xaaaaaaaaaaaaaaaa
movaps xmm6, xmmword [0x1402e6d80]
lea rdi, [rsp + 0x50]
lea r14, [rsp + 0x30]
lea r12, [rsp + 0x88]
jmp 0x1401d0b1c
mov rcx, qword [rsp + 0x2a8]
xor rcx, rsp
call fcn.14013d520
movaps xmm6, xmmword [rsp + 0x2b0]
add rsp, 0x2c8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsp + 0xa0]
mov qword [rsp + 0x68], rcx
call fcn.14013ad74
mov qword [rsp + 0x70], rax
mov rcx, r12
lea rdx, [rsp + 0x68]
call fcn.1400afe70
mov rcx, r14
mov rdx, r12
call fcn.1400c7000
mov rcx, r12
call fcn.1400c9dd0
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx + 8]
cmp rax, qword [rcx + 0x10]
mov rbp, r15
mov rdx, r14
je 0x1401d0af1
call fcn.1401c7d60
jmp 0x1401d0af6
call fcn.1400e7bf6
mov rcx, r14
call fcn.1400c9dd0
cmp byte [rsp + 0x67], 0
jns 0x1401d0b0f
mov rcx, qword [rsp + 0x50]
call fcn.14013a6ac
add r13, 0x18
cmp r13, rbx
je 0x1401d0a72
mov qword [rsp + 0x60], rbp
movaps xmmword [rsp + 0x50], xmm6
cmp byte [r13 + 0x17], 0
js 0x1401d0b45
mov rax, qword [r13 + 0x10]
mov qword [rsp + 0x60], rax
movups xmm0, xmmword [r13]
movaps xmmword [rsp + 0x50], xmm0
mov rsi, rdi
jmp 0x1401d0b58
mov rdx, qword [r13]
mov r8, qword [r13 + 8]
mov rsi, rdi
mov rcx, rdi
call fcn.14010ea82
mov r15, rbp
mov qword [rsp + 0x40], rbp
movaps xmmword [rsp + 0x30], xmm6
mov rcx, r14
call fcn.1400c7100
mov r8d, 0x208
lea rcx, [rsp + 0xa0]
mov dl, 0xaa
call fcn.14013f660
movzx eax, byte [rsp + 0x67]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rsp + 0x50]
mov rdi, rsi
cmovns rax, rsi
mov qword [rsp + 0x78], rax
cmovs rcx, qword [rsp + 0x58]
mov qword [rsp + 0x80], rcx
mov rcx, r12
lea rdx, [rsp + 0x78]
call fcn.1401164a0
cmp byte [rsp + 0x9f], 0
mov rcx, r12
jns 0x1401d0bcf
mov rcx, qword [rsp + 0x88]
lea rdx, [rsp + 0xa0]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ebp, eax
cmp byte [rsp + 0x9f], 0
jns 0x1401d0bfc
mov rcx, qword [rsp + 0x88]
call fcn.14013a6ac
dec ebp
cmp ebp, 0x102
jbe 0x1401d0a9e
mov rcx, qword [rsp + 0x28]
jmp 0x1401d0ada
Function at 0x1401d4164
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x80
mov rsi, rcx
mov rax, qword [0x140327038]
xor rax, rsp
mov qword [rsp + 0x78], rax
xorps xmm0, xmm0
lea rdi, [rsp + 0x40]
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx edx, word [rdi]
lea rcx, [rsp + 0x28]
call fcn.1400b4ef0
lea rdi, [rsi + 0x10]
cmp byte [rsi + 0x27], 0
jns 0x1401d41bb
mov rcx, qword [rdi]
call fcn.14013a6ac
mov rax, qword [rsp + 0x38]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rdi], xmm0
movzx eax, byte [rsi + 0x27]
test al, al
jns 0x1401d41d8
mov rax, qword [rsi + 0x18]
test rax, rax
setne bl
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14013d520
mov eax, ebx
add rsp, 0x80
pop rbx
pop rdi
pop rsi
ret

Function at 0x1401d4b98
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x80
mov rsi, rcx
mov rax, qword [0x140327038]
xor rax, rsp
mov qword [rsp + 0x78], rax
xorps xmm0, xmm0
lea rdi, [rsp + 0x40]
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx edx, word [rdi]
lea rcx, [rsp + 0x28]
call fcn.1400b4ef0
lea rdi, [rsi + 0x70]
cmp byte [rsi + 0x87], 0
jns 0x1401d4bf2
mov rcx, qword [rdi]
call fcn.14013a6ac
mov rax, qword [rsp + 0x38]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rdi], xmm0
movzx eax, byte [rsi + 0x87]
test al, al
jns 0x1401d4c12
mov rax, qword [rsi + 0x78]
test rax, rax
setne bl
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14013d520
mov eax, ebx
add rsp, 0x80
pop rbx
pop rdi
pop rsi
ret

Function at 0x1401d4c32
Capabilities:
Identify system language via api

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rcx
mov rax, qword [0x140327038]
xor rax, rsp
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx edx, ax
lea rcx, [rsp + 0x20]
call fcn.1400b4ef0
lea rdi, [rsi + 0x88]
cmp byte [rsi + 0x9f], 0
jns 0x1401d4c76
mov rcx, qword [rdi]
call fcn.14013a6ac
mov rax, qword [rsp + 0x30]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdi], xmm0
movzx eax, byte [rsi + 0x9f]
test al, al
jns 0x1401d4c99
mov rax, qword [rsi + 0x90]
test rax, rax
setne bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14013d520
mov eax, ebx
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
Function at 0x1401d4d24
Capabilities:
Get geographical location

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, rcx
mov rax, qword [0x140327038]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov ecx, 0x10
call qword [sym.imp.KERNEL32.dll_GetUserGeoID]
lea rcx, [rsp + 0x28]
mov edx, eax
call fcn.1401f059e
lea rdi, [rsi + 0xb8]
cmp byte [rsi + 0xcf], 0
jns 0x1401d4d6b
mov rcx, qword [rdi]
call fcn.14013a6ac
mov rax, qword [rsp + 0x38]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rdi], xmm0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14013d520
nop
add rsp, 0x48
pop rdi
pop rsi
ret
Function at 0x1401f4950
Capabilities:
Encode data using base64

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
cmp rdx, 1
jne 0x1401f49bb
mov rbx, qword [rsi + 8]
mov edi, 2
cmp rbx, 2
jae 0x1401f49e9
lea rbx, [rsi + 8]
lea rcx, [rdi*8]
call fcn.14013a6b4
mov rcx, qword [rsi]
mov qword [rsi], rax
test rcx, rcx
jne 0x1401f49b4
mov qword [rbx], rdi
xor eax, eax
mov rcx, qword [rsi]
mov qword [rcx + rax*8], 0
inc rax
cmp rdi, rax
jne 0x1401f4990
mov r8, qword [rsi + 0x10]
test r8, r8
jne 0x1401f49f3
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14013a6ac
jmp 0x1401f498b
mov rdi, rdx
lea rax, [rdx - 1]
test rdx, rax
je 0x1401f49d2
mov rcx, rdi
call fcn.1400cd977
mov rdi, rax
mov rbx, qword [rsi + 8]
cmp rdi, rbx
jbe 0x1401f49e9
mov rax, rdi
shr rax, 0x3d
je 0x1401f496f
jmp 0x1401f4bf5
cmp rdi, rbx
jae 0x1401f49ac
jmp 0x1401f4b1a
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 0x1401f4ae7
cmp rcx, rdi
jb 0x1401f4a71
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 0x1401f4a8a
mov qword [rdx + rax*8], r8
mov r8, r10
mov r10, qword [r10]
mov rcx, rax
test r10, r10
je 0x1401f49ac
mov rax, qword [r10 + 8]
cmp r9d, 1
jbe 0x1401f4ade
cmp rax, rdi
jb 0x1401f4aaa
xor edx, edx
div rdi
mov rax, rdx
cmp rax, rcx
je 0x1401f4ad9
mov rdx, qword [rsi]
cmp qword [rdx + rax*8], 0
je 0x1401f4a7d
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
jmp 0x1401f4a81
lea rdx, [rdi - 1]
and rax, rdx
jmp 0x1401f4aaa
lea rax, [rdi - 1]
and rcx, rax
jmp 0x1401f4a71
mov rcx, rax
call fcn.1400cd977
mov rdx, rax
cmp rdi, rdx
cmova rdx, rdi
cmp rdx, rbx
jae 0x1401f49ac
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.1401f4c00
mov rax, qword [rsi + 0x18]
test rax, rax
jns 0x1401f4b3a
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x1401f4b3f
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 rbx, 3
jb 0x1401f4af0
mov rcx, rbx
shr rcx, 1
movabs rdx, 0x5555555555555555
and rdx, rcx
mov rcx, rbx
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 0x1401f4af0
lea rcx, [rax - 1]
bsr rcx, rcx
xor ecx, 0x3f
neg cl
mov edx, 1
shl rdx, cl
cmp rax, 2
cmovb rdx, rax
jmp 0x1401f4afb
int3
Function at 0x1401f5b70
Capabilities:
Suspend thread

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
lea rax, [0x1402e23d8]
mov qword [rcx], rax
mov qword [rcx + 8], rdx
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
setne byte [rsi + 0x10]
mov rax, rsi
add rsp, 0x20
pop rsi
ret

Function at 0x1401f5ba0
Capabilities:
Resume thread

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rax, qword [0x140327038]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rax, [0x1402e23d8]
mov qword [rcx], rax
cmp byte [rcx + 0x10], 0
je 0x1401f5c22
mov rsi, rcx
lea rdi, [rsp + 0x2c]
mov rcx, qword [rcx + 8]
mov qword [rdi - 0xc], rcx
mov qword [rdi - 4], 0
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetThreadPriorityBoost]
mov dword [rdi - 4], eax
test eax, eax
je 0x1401f5bfd
mov rcx, qword [rsp + 0x20]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_SetThreadPriorityBoost]
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x1401f5c37
cmp dword [rsp + 0x28], 0
je 0x1401f5c22
mov edx, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetThreadPriorityBoost]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14013d520
nop
add rsp, 0x38
pop rdi
pop rsi
ret
int3

Function at 0x1401f5db0
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 [0x140327038]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [rcx + 8], 0
je 0x1401f5e21
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, edi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x1401f5e2b
mov dil, 1
test bl, bl
je 0x1401f5e0a
cmp byte [rsi + 8], 0
je 0x1401f5e26
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
call fcn.14013d520
mov eax, edi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov rcx, qword [rsi]
jmp 0x1401f5ddd
mov rcx, qword [rsi]
jmp 0x1401f5dff
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [rsi + 8], 0
je 0x1401f5e53
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1401f5e58
xor edi, edi
jmp 0x1401f5e0a
mov rcx, qword [rsi]
jmp 0x1401f5e40
mov dword [rsp + 0x24], 0xaaaaaaaa
cmp byte [rsi + 8], 0
je 0x1401f5e7f
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 0x1401f5e0a
mov rcx, qword [rsi]
jmp 0x1401f5e6f
Function at 0x1401f7f90
Capabilities:
Move file

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x98
mov rsi, rcx
mov rax, qword [0x140327038]
xor rax, rsp
mov qword [rsp + 0x90], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x40]
mov qword [rbx + 0x40], rax
movaps xmm0, xmmword [0x1402e6d80]
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, 0x217
call fcn.1400b5b90
xor edi, edi
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.140062770
mov al, byte [rsi + 0x17]
test al, al
jns 0x1401f801c
cmp qword [rsi + 8], 0x103
ja 0x1401f803a
test al, al
jns 0x1401f8023
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.140062a80
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14013d520
mov eax, edi
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1401f8070
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xc0
mov edi, edx
mov rbx, rcx
mov rax, qword [0x140327038]
xor rax, rsp
mov qword [rsp + 0xb8], rax
call fcn.1401153b0
cmp eax, 8
jle 0x1401f8135
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x70]
mov qword [r14 + 0x40], rax
movaps xmm0, xmmword [0x1402e6d80]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.DeleteFileWithDispositionFlags
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x50]
mov rcx, r15
mov r9d, 0x227
call fcn.1400b5b90
xor esi, esi
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140062770
cmp byte [rbx + 0x17], 0
mov rcx, rbx
jns 0x1401f810d
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401f8129
test al, 0x10
je 0x1401f8163
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
lea rcx, [rsp + 0x70]
call fcn.140062a80
jmp 0x1401f8142
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.14013d520
mov eax, esi
add rsp, 0xc0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
cmp byte [rbx + 0x17], 0
jns 0x1401f816c
mov rbx, qword [rbx]
xor esi, esi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
mov rcx, rbx
mov edx, 0x10100
mov r8d, 7
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
lea rbx, [rsp + 0x48]
mov qword [rbx], rsi
mov rcx, rbx
mov rdx, rax
call fcn.14007ceb6
mov rax, qword [rbx]
inc rax
cmp rax, 2
jae 0x1401f81e3
mov rax, qword [rsp + 0x48]
inc rax
cmp rax, 2
jb 0x1401f8129
call fcn.1400a6030
mov rcx, qword [rsp + 0x48]
call fcn.1400ccd80
jmp 0x1401f8129
xor esi, esi
jmp 0x1401f81b9
lea rcx, [0x1402f07ac]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.NtSetInformationFile
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1401f81df
or edi, 1
movups xmm0, xmmword [0x1402f1130]
lea rdx, [rsp + 0x50]
movaps xmmword [rdx], xmm0
lea r8, [rsp + 0x44]
mov dword [r8], edi
mov rcx, qword [rsp + 0x48]
mov dword [rsp + 0x20], 0x40
mov r9d, 4
call qword [case.0x14017aab5.0]
test eax, eax
sete sil
je 0x1401f81b9
mov edi, eax
lea rcx, [0x1402f07ac]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.RtlNtStatusToDosError
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1401f8272
mov ecx, edi
call qword [case.0x14017aab5.0]
mov edi, eax
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1401f81b9