joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a5260
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x1a8
mov rsi, rcx
mov rax, qword [0x1402cf018]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
cmp byte [rcx + 0x17], 0
jns 0x1400a5287
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400a52b9
mov dil, 1
test al, 0x10
je 0x1400a5375
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.140143020
mov eax, edi
add rsp, 0x1a8
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.14004c5c0
test al, al
je 0x1400a5438
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rsp + 0x60]
mov r8d, 0x24a
mov r9d, 2
call fcn.1401944b0
lea rcx, [rsp + 0x70]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.140124730
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
lea rdx, [rsp + 0x38]
mov qword [rdx], rcx
cmovs rax, qword [rsi + 8]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x48]
mov rcx, rsi
call fcn.140050840
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1400a534a
mov r8, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov rcx, rdi
mov rdx, rsi
call fcn.140124730
cmp byte [rsp + 0x5f], 0
jns 0x1400a5366
mov rcx, qword [rsp + 0x48]
call fcn.140142744
lea rcx, [rsp + 0x60]
call fcn.140194530
jmp 0x1400a5438
mov ecx, 2
call fcn.14004c5c0
test al, al
je 0x1400a5438
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rsp + 0x60]
mov r8d, 0x24e
mov r9d, 2
call fcn.14004c600
lea rcx, [rsp + 0x70]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.140124730
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
lea rdx, [rsp + 0x28]
mov qword [rdx], rcx
cmovs rax, qword [rsi + 8]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x48]
mov rcx, rsi
call fcn.140050840
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1400a53fd
mov r8, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov rcx, rdi
mov rdx, rsi
call fcn.140124730
lea rdx, str.:_not_a_directory
mov r8d, 0x11
mov rcx, rax
call fcn.140124730
cmp byte [rsp + 0x5f], 0
jns 0x1400a542e
mov rcx, qword [rsp + 0x48]
call fcn.140142744
lea rcx, [rsp + 0x60]
call fcn.14004caa0
xor edi, edi
jmp 0x1400a529d
Function at 0x1400a6990
Capabilities:
Get file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x30
mov r12, rdx
mov rax, qword [0x1402cf018]
xor rax, rsp
mov qword [rsp + 0x28], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x20]
mov qword [rsi], rax
mov rdx, rsi
call fcn.1400a5590
mov rax, qword [rsi]
test rax, rax
je 0x1400a6a0b
mov rbx, qword [rax + 0x38]
mov rdi, qword [rax + 0x40]
xor esi, esi
cmp rbx, rdi
jne 0x1400a6a12
lea rcx, [rsp + 0x20]
call fcn.1400a60b0
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140143020
mov eax, esi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov esi, 3
jmp 0x1400a69e2
lea r14, [r12 + 0x18]
mov r13, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [rbx + 0x68], 0
je 0x1400a6a2f
add rbx, 0x70
cmp rbx, rdi
je 0x1400a69e2
jmp 0x1400a6a1e
cmp byte [rbx + 0x27], 0
jns 0x1400a6a3b
mov rcx, qword [rbx + 0x10]
jmp 0x1400a6a3f
lea rcx, [rbx + 0x10]
call r13
test al, 0x10
jne 0x1400a6a24
mov r15, qword [r12 + 8]
cmp r15, qword [r12 + 0x10]
je 0x1400a6a6b
mov rcx, r14
mov rdx, r15
mov r8, rbx
call fcn.1400a7380
add r15, 0x68
mov qword [r12 + 8], r15
jmp 0x1400a6a24
mov rcx, r12
mov rdx, rbx
call fcn.1401e29d0
jmp 0x1400a6a24

Function at 0x1400a6a80
Capabilities:
Get file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x30
mov r12, rdx
mov rax, qword [0x1402cf018]
xor rax, rsp
mov qword [rsp + 0x28], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x20]
mov qword [rsi], rax
mov rdx, rsi
call fcn.1400a5590
mov rax, qword [rsi]
test rax, rax
je 0x1400a6afb
mov rbx, qword [rax + 0x38]
mov rdi, qword [rax + 0x40]
xor esi, esi
cmp rbx, rdi
jne 0x1400a6b02
lea rcx, [rsp + 0x20]
call fcn.1400a60b0
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140143020
mov eax, esi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov esi, 3
jmp 0x1400a6ad2
lea r14, [r12 + 0x18]
mov r13, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [rbx + 0x68], 2
jne 0x1400a6b4e
cmp byte [rbx + 0x27], 0
jns 0x1400a6b20
mov rcx, qword [rbx + 0x10]
jmp 0x1400a6b24
lea rcx, [rbx + 0x10]
call r13
test al, 0x10
jne 0x1400a6b4e
mov r15, qword [r12 + 8]
cmp r15, qword [r12 + 0x10]
je 0x1400a6b5d
mov rcx, r14
mov rdx, r15
mov r8, rbx
call fcn.1400a7380
add r15, 0x68
mov qword [r12 + 8], r15
add rbx, 0x70
cmp rbx, rdi
je 0x1400a6ad2
jmp 0x1400a6b0e
mov rcx, r12
mov rdx, rbx
call fcn.1401e29d0
jmp 0x1400a6b4e
Function at 0x1400a7970
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x1402cf018]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1402e20f8]
mov ecx, dword [0x1402da9d4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400a79d0
lea rsi, [0x1402e20f0]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140143020
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1402e20f8]
call fcn.140142860
cmp dword [0x1402e20f8], 0xffffffff
jne 0x1400a79ac
lea rsi, [rsp + 0x34]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.140145e20
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x2c]
mov dword [rdi], 0
mov ecx, dword [rsi + 4]
mov edx, dword [rsi + 8]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x88
call fcn.140142708
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x1402e2140]
mov ecx, dword [0x1402da9d4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400a7a90
lea r8, [0x1402e2110]
lea rdx, [rsp + 0x30]
mov rcx, rsi
mov r9d, edi
call fcn.1400a7bb0
mov qword [0x1402e20f0], rsi
lea rcx, [0x1402e20f8]
call fcn.1401428f8
jmp 0x1400a79ac
lea rcx, [0x1402e2140]
call fcn.140142860
cmp dword [0x1402e2140], 0xffffffff
jne 0x1400a7a61
xorps xmm0, xmm0
movups xmmword [0x1402e2130], xmm0
movups xmmword [0x1402e2120], xmm0
movups xmmword [0x1402e2110], xmm0
lea rcx, [0x1402e2110]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1402e2140]
call fcn.1401428f8
jmp 0x1400a7a61

Function at 0x1400a7b00
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1402e2140]
mov ecx, dword [0x1402da9d4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400a7b3c
movzx ecx, word [0x1402e2110]
cmp cx, 9
jne 0x1400a7b84
mov eax, 1
add rsp, 0x28
ret
lea rcx, [0x1402e2140]
call fcn.140142860
cmp dword [0x1402e2140], 0xffffffff
jne 0x1400a7b25
xorps xmm0, xmm0
movups xmmword [0x1402e2130], xmm0
movups xmmword [0x1402e2120], xmm0
movups xmmword [0x1402e2110], xmm0
lea rcx, [0x1402e2110]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1402e2140]
call fcn.1401428f8
jmp 0x1400a7b25
xor eax, eax
test cx, cx
je 0x1400a7b37
cmp cx, 6
jne 0x1400a7b98
mov eax, 2
jmp 0x1400a7b37
cmp cx, 0xc
jne 0x1400a7ba5
mov eax, 3
jmp 0x1400a7b37
mov eax, 4
jmp 0x1400a7b37
Function at 0x1400ad9f0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
xor eax, eax
test r8d, r8d
sete al
xor ebx, ebx
test edx, edx
sete bl
xor ecx, ecx
mov edx, ebx
mov r8d, eax
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi], 0
test rax, rax
je 0x1400ada87
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400ada71
lea rax, [rdi + 1]
cmp rax, 2
jb 0x1400ada4e
mov qword [rsi], rdi
call fcn.14012aa20
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsi]
mov byte [rsi + 8], 1
inc rax
cmp rax, 1
jbe 0x1400ada8b
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14012aa20
mov rcx, qword [rsi]
call fcn.14012dff0
mov qword [rsi], 0
jmp 0x1400ada3c
mov byte [rsi + 8], 1
int3
Function at 0x1400ae410
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
movaps xmmword [rsp + 0x30], xmm6
mov rax, qword [0x1402cf018]
xor rax, rsp
mov qword [rsp + 0x28], rax
movsd xmm6, qword [0x1402e21d0]
xorpd xmm0, xmm0
ucomisd xmm6, xmm0
jne 0x1400ae444
jnp 0x1400ae467
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140143020
movapd xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rsi, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov r14d, eax
call rsi
mov rcx, rax
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x1402e21e0]
mov ecx, dword [0x1402da9d4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400ae58e
mov eax, dword [0x1402e21f0]
mov ecx, dword [0x1402da9d4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400ae5c8
rdtsc
mov rdi, rax
mov r15, rdx
xor ebp, ebp
lea rsi, [rsp + 0x20]
mov qword [rsi], rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rbx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, r14d
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [rsi], rbp
lea rsi, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub rbx, qword [0x1402e21e8]
movq xmm0, rbx
punpckldq xmm0, xmmword [0x14028bdd0]
subpd xmm0, xmmword [0x14028bde0]
haddpd xmm0, xmm0
cvtsi2sd xmm1, qword [rsi]
divsd xmm0, xmm1
xorpd xmm6, xmm6
movsd xmm1, qword [0x1402a6700]
ucomisd xmm1, xmm0
ja 0x1400ae444
shl r15, 0x20
or rdi, r15
sub rdi, qword [0x1402e21d8]
movq xmm6, rdi
punpckldq xmm6, xmmword [0x14028bdd0]
subpd xmm6, xmmword [0x14028bde0]
haddpd xmm6, xmm6
divsd xmm6, xmm0
movsd qword [0x1402e21d0], xmm6
jmp 0x1400ae444
lea rcx, [0x1402e21e0]
call fcn.140142860
cmp dword [0x1402e21e0], 0xffffffff
jne 0x1400ae4b1
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x1402e21d8], rdx
lea rcx, [0x1402e21e0]
call fcn.1401428f8
jmp 0x1400ae4b1
lea rcx, [0x1402e21f0]
call fcn.140142860
cmp dword [0x1402e21f0], 0xffffffff
jne 0x1400ae4d6
lea rdi, [rsp + 0x20]
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi]
mov qword [0x1402e21e8], rax
lea rcx, [0x1402e21f0]
call fcn.1401428f8
jmp 0x1400ae4d6
Function at 0x1400aedd0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
cmp dword [rcx + 0x10], 0
jne 0x1400aeebc
cmp qword [rsi], 0
jne 0x1400aeebc
cmp dword [rsi + 0x14], 0
jne 0x1400aeebc
cmp qword [rsi + 8], 0
jne 0x1400aeebc
xor eax, eax
mov rbx, qword [rdi]
cmp rax, rbx
je 0x1400aee3f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400aee8e
lea rax, [rbx + 1]
cmp rax, 2
jb 0x1400aee37
mov qword [rsi], rbx
call fcn.14012aa20
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbp, qword [rdi + 8]
cmp qword [rsi + 8], rbp
je 0x1400aee79
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x1400aeea4
lea rax, [rbp + 1]
cmp rax, 2
jb 0x1400aee71
mov qword [rsi + 8], rbp
call fcn.14012aa20
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rdi + 0x10]
mov dword [rsi + 0x10], eax
mov eax, dword [rdi + 0x14]
mov dword [rsi + 0x14], eax
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
call fcn.14012aa20
mov rcx, qword [rsi]
call fcn.14012dff0
mov qword [rsi], 0
jmp 0x1400aee25
call fcn.14012aa20
mov rcx, qword [rsi + 8]
call fcn.14012dff0
mov qword [rsi + 8], 0
jmp 0x1400aee5e
mov rcx, rsi
call fcn.1401ea520
mov rax, qword [rsi]
jmp 0x1400aee09
Function at 0x1400b4760
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
movaps xmmword [rsp + 0x20], xmm6
mov edi, edx
mov rsi, rcx
lea rax, [0x140294e98]
mov qword [rcx], rax
add rcx, 8
call fcn.140130a40
lea rcx, [rsi + 0x10]
call fcn.140130a40
xor ebx, ebx
mov byte [rsi + 0x18], bl
lea rcx, [rsi + 0x40]
xorps xmm6, xmm6
movups xmmword [rsi + 0x1c], xmm6
movups xmmword [rsi + 0x2c], xmm6
mov dword [rsi + 0x3c], ebx
call fcn.140130a40
mov byte [rsi + 0x48], bl
lea rax, [rsi + 0x70]
movups xmmword [rsi + 0x50], xmm6
mov qword [rsi + 0x60], rbx
movups xmmword [rsi + 0x70], xmm6
mov qword [rsi + 0x68], rax
movups xmmword [rsi + 0x80], xmm6
movups xmmword [rsi + 0x90], xmm6
movups xmmword [rsi + 0xa0], xmm6
movups xmmword [rsi + 0xb0], xmm6
movups xmmword [rsi + 0xc0], xmm6
mov ebp, 0x3f800000
mov dword [rsi + 0xd0], ebp
mov dword [rsi + 0xd8], ebx
movups xmmword [rsi + 0xe0], xmm6
movups xmmword [rsi + 0xf0], xmm6
mov dword [rsi + 0x100], ebp
movups xmmword [rsi + 0x108], xmm6
movups xmmword [rsi + 0x118], xmm6
mov dword [rsi + 0x128], ebp
movups xmmword [rsi + 0x140], xmm6
movups xmmword [rsi + 0x130], xmm6
mov dword [rsi + 0x150], ebp
movups xmmword [rsi + 0x158], xmm6
movups xmmword [rsi + 0x168], xmm6
mov dword [rsi + 0x178], ebp
mov qword [rsi + 0x198], rbx
movups xmmword [rsi + 0x180], xmm6
mov dword [rsi + 0x190], ebx
mov eax, dword [0x1402b2c1c]
mov dword [rsi + 0x1a0], eax
lea rcx, [rsi + 0x1a8]
call fcn.1400dcfe0
lea rcx, [rsi + 0x2f0]
movups xmmword [rsi + 0x2d8], xmm6
mov qword [rsi + 0x2e8], rbx
xor edx, edx
call fcn.1400db170
lea rcx, [rsi + 0x2f8]
xor edx, edx
call fcn.1400db170
lea rcx, [rsi + 0x300]
xor edx, edx
call fcn.1400db170
movups xmmword [rsi + 0x308], xmm6
movups xmmword [rsi + 0x318], xmm6
mov dword [rsi + 0x328], ebp
movsxd rax, edi
movups xmmword [rsi + 0x330], xmm6
movups xmmword [rsi + 0x340], xmm6
movups xmmword [rsi + 0x350], xmm6
mov byte [rsi + 0x360], bl
mov qword [rsi + 0x368], rax
mov byte [rsi + 0x370], bl
movups xmmword [rsi + 0x378], xmm6
movups xmmword [rsi + 0x388], xmm6
call fcn.140019ac0
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [rsi + 0x190], eax
cdqe
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rax, rcx
mov qword [rsi + 0x188], rax
mov rcx, rsi
call fcn.1400b4980
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x20], rax
test rcx, rcx
jne 0x1400b4971
call fcn.1400dc870
lea r8, str.TraceLog
mov rcx, rax
mov rdx, rsi
xor r9d, r9d
call fcn.1400dc920
mov qword [0x1402e26e8], rsi
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
jmp 0x1400b493f
Function at 0x1400bad80
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
cmp rdx, r9
mov r10, r9
cmovb r10, rdx
xor eax, eax
test r10, r10
je 0x1400badee
xor r11d, r11d
mov r14, qword [r8 + r11*8]
mov r15, qword [rcx + r11*8]
mov rbx, r15
xor rbx, r14
mov edi, eax
lea rax, [rbx - 1]
mov rsi, r15
sub rsi, r14
xor rsi, r15
or rsi, rbx
not rbx
and rax, rbx
sar rax, 0x3f
xor rsi, r15
sar rsi, 0x3f
mov rbx, rsi
not rsi
and esi, 1
or rsi, rbx
mov rbx, rax
and edi, ebx
not rax
and rax, rsi
or rax, rdi
inc r11
cmp r10, r11
jne 0x1400bad9b
cmp rdx, r9
jb 0x1400bae00
cmp r9, rdx
jb 0x1400bae2c
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor ecx, ecx
or rcx, qword [r8 + rdx*8]
inc rdx
cmp r9, rdx
jne 0x1400bae02
mov rdx, rcx
not rdx
dec rcx
and rcx, rdx
sar rcx, 0x3f
mov rdx, rcx
and edx, eax
not rcx
or ecx, edx
mov eax, ecx
jmp 0x1400badf8
xor esi, esi
or rsi, qword [rcx + r9*8]
inc r9
cmp rdx, r9
jne 0x1400bae2e
mov rcx, rsi
not rcx
dec rsi
and rsi, rcx
sar rsi, 0x3f
mov rcx, rsi
and ecx, eax
not rsi
and esi, 1
or esi, ecx
mov eax, esi
jmp 0x1400badf8
Function at 0x1400bbeb0
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
movsxd rdx, dword [rdx + 8]
test rdx, rdx
je 0x1400bbfed
mov r14, rcx
mov rax, qword [rdi]
cmp rdx, 2
mov ecx, 1
cmovae rcx, rdx
xor ebx, ebx
xor esi, esi
or rsi, qword [rax + rbx*8]
inc rbx
cmp rcx, rbx
jne 0x1400bbee0
test rsi, rsi
je 0x1400bbfed
test edx, edx
jle 0x1400bc012
mov rax, qword [rdi]
test byte [rax], 1
je 0x1400bc012
cmp dword [rdi + 0x10], 0
jne 0x1400bc052
lea rbx, [r14 + 0x18]
cmp rbx, rdi
je 0x1400bbf59
mov rcx, rbx
call fcn.1400ba640
test eax, eax
je 0x1400bc032
movsxd r8, dword [rdi + 8]
test r8, r8
je 0x1400bc072
shl r8, 3
mov rcx, qword [rbx]
mov rdx, qword [rdi]
call fcn.140145a10
mov eax, dword [rdi + 8]
mov dword [r14 + 0x20], eax
mov eax, dword [rdi + 0x10]
mov dword [r14 + 0x28], eax
mov rdi, rbx
test rdi, rdi
je 0x1400bc032
mov eax, dword [r14 + 0x20]
test eax, eax
jle 0x1400bc079
mov rdx, qword [rbx]
lea rcx, [rax - 1]
cmp qword [rdx + rax*8 - 8], 0
mov rax, rcx
je 0x1400bbf66
inc ecx
mov dword [r14 + 0x20], ecx
mov rax, qword [rbx]
mov r9, qword [rax]
mov esi, 1
mov edx, 0x40
xor ecx, ecx
movabs r8, 0x8000000000000000
mov edi, esi
and edi, 1
neg rdi
mov rax, r9
and rax, rdi
mov rbx, rax
xor rbx, rsi
shr rbx, 1
and rax, rsi
add rax, rbx
and rdi, r8
shr rcx, 1
or rcx, rdi
mov rsi, rax
dec rdx
jne 0x1400bbfa2
mov qword [r14 + 0x30], rcx
mov qword [r14 + 0x38], 0
mov esi, 1
mov eax, esi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
mov dword [rsp + 0x20], 0xa5
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_bn_montgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x69
call fcn.1402382e0
jmp 0x1400bbfe1
mov dword [rsp + 0x20], 0xa9
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_bn_montgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x68
jmp 0x1400bc00b
mov dword [rsp + 0x20], 0xb3
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_bn_montgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x44
jmp 0x1400bc00b
mov dword [rsp + 0x20], 0xad
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_bn_montgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x6d
jmp 0x1400bc00b
xor eax, eax
jmp 0x1400bbf4b
mov dword [r14 + 0x20], eax
test eax, eax
jne 0x1400bbf86
mov dword [r14 + 0x28], 0
jmp 0x1400bbf86
Function at 0x1400bf360
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov r12, r8
mov ebx, edx
mov edi, ecx
mov rax, qword [0x1402cf018]
xor rax, rsp
mov qword [rsp + 0x70], rax
movzx eax, byte [r8 + 0x17]
test al, al
jns 0x1400bf394
mov rax, qword [r12 + 8]
test rax, rax
je 0x1400bf48c
mov eax, ebx
not eax
test eax, 0x300
je 0x1400bf48c
cmp edi, 2
lea rax, [0x1402e4650]
lea rcx, [0x1402e4850]
cmove rcx, rax
cmp word [rcx], 0
jne 0x1400bf48c
xorps xmm0, xmm0
lea rsi, [rsp + 0x40]
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [rsi], 0
je 0x1400bf48c
cmp byte [0x1402e4640], 0
setne al
bt ebx, 8
jb 0x1400bf48c
shr ebx, 9
and ebx, 1
or bl, al
je 0x1400bf48c
cmp edi, 2
lea rax, str.SOFTWAREClasses
lea rsi, str.SOFTWARE
cmove rsi, rax
movzx r13d, byte [r12 + 0x17]
test r13b, r13b
jns 0x1400bf4e7
mov rbx, qword [r12]
mov r13, qword [r12 + 8]
mov r14d, 1
xor r15d, r15d
xor eax, eax
mov qword [rsp + 0x38], rax
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x2c], 0
mov rdi, qword [rsi + 8]
mov rbp, r13
sub rbp, rdi
jb 0x1400bf479
mov rdx, qword [rsi]
mov rcx, rbx
mov r8, rdi
call fcn.1401590d8
test eax, eax
je 0x1400bf4ab
add rsi, 0x28
inc r15
cmp r15, r14
jb 0x1400bf45b
cmp dword [rsp + 0x2c], 0
jne 0x1400bf4ef
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140143020
nop
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movzx ecx, word [rbx + rdi*2]
cmp cx, 0x5c
je 0x1400bf4ba
test cx, cx
jne 0x1400bf479
lea rax, [rbx + rdi*2]
mov edx, dword [rsi + 0x10]
mov dword [rsp + 0x2c], edx
cmp edx, 1
je 0x1400bf517
cmp dword [rsp + 0x2c], 2
jne 0x1400bf528
lea rdx, str.WOW6432Node
mov qword [rsp + 0x38], rdx
mov rdx, rax
mov qword [rsp + 0x30], rax
jmp 0x1400bf528
mov rbx, r12
jmp 0x1400bf43c
cmp byte [r12 + 0x17], 0
js 0x1400bf557
mov rax, r12
mov rdx, qword [rsp + 0x30]
sub rdx, rax
sar rdx, 1
mov rcx, r12
mov r8, qword [rsp + 0x38]
call fcn.140033bd0
jmp 0x1400bf48c
lea rdx, str.WOW6432Node_
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rbx
cmp cx, 0x5c
jne 0x1400bf541
lea rbx, [rax + 2]
dec rbp
cmp word [rax + 2], 0x5c
mov rax, rbx
je 0x1400bf52e
jmp 0x1400bf544
mov rbx, rax
mov r14, qword [rsi + 0x20]
mov rsi, qword [rsi + 0x18]
xor r15d, r15d
mov r13, rbp
jmp 0x1400bf480
mov rax, qword [r12]
jmp 0x1400bf4fa
Function at 0x1400bfdf0
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x78
mov r14, rdx
mov rsi, rcx
mov rax, qword [0x1402cf018]
xor rax, rsp
mov qword [rsp + 0x70], rax
movups xmm0, xmmword [rcx]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x58]
mov rcx, rdi
call fcn.140050810
cmp byte [rdi + 0x17], 0
jns 0x1400bfe31
mov rdi, qword [rsp + 0x58]
mov rcx, rdi
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
cmp byte [rsp + 0x6f], 0
jns 0x1400bfe52
mov rcx, qword [rsp + 0x58]
call fcn.140142744
test edi, edi
je 0x1400bfef9
test r14, r14
je 0x1400bfef9
mov ecx, edi
add rcx, rcx
call fcn.14014277c
mov rbx, rax
movups xmm0, xmmword [rsi]
lea rdx, [rsp + 0x30]
movaps xmmword [rdx], xmm0
lea rsi, [rsp + 0x58]
mov rcx, rsi
call fcn.140050810
cmp byte [rsi + 0x17], 0
jns 0x1400bfe93
mov rsi, qword [rsp + 0x58]
mov rcx, rsi
mov rdx, rbx
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [rsp + 0x6f], 0
jns 0x1400bfeb3
mov rcx, qword [rsp + 0x58]
call fcn.140142744
mov qword [rsp + 0x20], rbx
test rbx, rbx
je 0x1400bff17
mov rcx, rbx
call fcn.14015ded4
lea rdx, [rsp + 0x20]
mov qword [rdx + 8], rax
lea rcx, [rsp + 0x58]
call fcn.140050840
cmp byte [r14 + 0x17], 0
js 0x1400bff1a
mov rax, qword [rsp + 0x68]
mov qword [r14 + 0x10], rax
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [r14], xmm0
mov rcx, rbx
call fcn.140142784
test edi, edi
setne bl
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140143020
mov eax, ebx
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r14
ret
int3
mov rcx, qword [r14]
call fcn.140142744
jmp 0x1400bfedf

Function at 0x1400ca7d0
Capabilities:
Delete service

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x190
mov rbx, rcx
mov rax, qword [0x1402cf018]
xor rax, rsp
mov qword [rsp + 0x188], rax
mov rcx, qword [rdx]
test rcx, rcx
je 0x1400ca8d6
mov rsi, rdx
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov dil, 1
test eax, eax
jne 0x1400ca8b9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
mov ecx, 1
call fcn.14004c5c0
test al, al
je 0x1400ca8ae
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._chrome_installer_util_install_service_work_item_impl.cc
lea rcx, [rsp + 0x48]
mov r8d, 0x299
mov r9d, 1
call fcn.1401944b0
lea rcx, [rsp + 0x58]
lea rdx, str.DeleteService_failed
mov r8d, 0x15
call fcn.140124730
mov rdi, rax
lea rbp, [rsp + 0x30]
mov rcx, rbx
mov rdx, rbp
call fcn.1400ca1a0
cmp byte [rbp + 0x17], 0
jns 0x1400ca888
mov rbp, qword [rsp + 0x30]
mov rcx, rdi
mov rdx, rbp
call fcn.1401945e0
cmp byte [rsp + 0x47], 0
jns 0x1400ca8a4
mov rcx, qword [rsp + 0x30]
call fcn.140142744
lea rcx, [rsp + 0x48]
call fcn.140194530
cmp r14d, 0x430
sete dil
cmp qword [rsi], 0
je 0x1400ca8d8
call fcn.14012aa20
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov qword [rsi], 0
jmp 0x1400ca8d8
xor edi, edi
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
call fcn.140143020
mov eax, edi
add rsp, 0x190
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret