joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14011a030
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa0
mov esi, r9d
mov rdi, r8
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x14029b028]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r12, [rsp + 0x50]
mov qword [r12 + 0x40], rax
movaps xmm0, xmmword [0x1402724c0]
movaps xmmword [r12 + 0x30], xmm0
movaps xmmword [r12 + 0x20], xmm0
movaps xmmword [r12 + 0x10], xmm0
movaps xmmword [r12], xmm0
lea rdx, str.Read
lea r8, str....._base_files_file_win.cc
lea r15, [rsp + 0x30]
mov rcx, r15
mov r9d, 0x42
call fcn.1400ed710
mov rcx, r12
mov rdx, r15
xor r8d, r8d
call fcn.14011a620
mov ebp, 0xffffffff
test r14, r14
js 0x14011a10c
test esi, esi
js 0x14011a10c
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r14
lea r9, [rsp + 0x2c]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], r15
mov rdx, rdi
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14011a13a
mov ebp, dword [rsp + 0x2c]
test ebp, ebp
js 0x14011a14d
lea rcx, [rsp + 0x50]
call fcn.14011a160
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1401874c0
mov eax, ebp
add rsp, 0xa0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor ebp, ebp
cmp eax, 0x26
setne bpl
neg ebp
jmp 0x14011a10c
int3

Function at 0x140124a90
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
xor eax, eax
test r8d, r8d
sete al
xor r8d, r8d
test edx, edx
sete r8b
xor ecx, ecx
mov edx, r8d
mov r8d, eax
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi], 0
test rax, rax
je 0x140124b92
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140124b20
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140124af7
mov qword [rsi], rdi
call fcn.1400e8860
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsi]
mov byte [rsi + 8], 0
inc rax
cmp rax, 1
jbe 0x140124b96
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400e8860
mov r14, qword [rsi]
cmp qword [0x1402b0e48], 0
je 0x140124b51
mov rcx, qword [0x1402b0e48]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [case.0x1401eda70.0]
mov qword [rsi], 0
jmp 0x140124ae5
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.GetHandleVerifier
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140124b99
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x140124b8c
call qword [case.0x1401eda70.0]
mov rcx, rax
xor edx, edx
call fcn.14003dd60
jmp 0x140124b32
xor ecx, ecx
mov dl, 1
jmp 0x140124b85
mov byte [rsi + 8], 0
int3
xor ecx, ecx
jmp 0x140124b83
Function at 0x14012d5b0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov qword [rsp + 0x30], r8
mov rsi, rcx
mov r13, qword [rcx]
mov rax, qword [rcx + 8]
mov qword [rsp + 0x38], rax
mov rdi, qword [rcx + 0x18]
lea rax, [rdi + r13]
test rdi, rdi
jle 0x14012d615
movdqa xmm0, xmmword [0x140273f20]
movdqa xmm1, xmmword [0x140273f30]
mov rcx, r13
movdqu xmm2, xmmword [rcx]
pxor xmm3, xmm3
pcmpgtb xmm3, xmm2
pand xmm3, xmm0
pxor xmm3, xmm1
movdqu xmmword [rcx], xmm3
add rcx, 0x10
cmp rcx, rax
jb 0x14012d5f4
mov rcx, qword [r13]
mov r8, qword [r13 + 7]
mov qword [rax + 8], r8
mov qword [rax + 1], rcx
mov byte [r13 + rdi], 0xff
test rdi, rdi
je 0x14012d7cb
mov rbp, qword [rdx]
mov rbx, qword [rdx + 8]
mov rax, qword [rdx + 0x10]
mov qword [rsp + 0x28], rax
xor r14d, r14d
movabs r12, 0x9ddfea08eb382d69
mov r15, qword [rsp + 0x38]
cmp byte [r13 + r14], 0xfe
jne 0x14012d6f5
lea rax, [0x140182ad0]
cmp rbx, rax
jne 0x14012d709
mov rax, qword [r15]
lea rcx, [0x140273eb8]
add rax, rcx
mul r12
xor rdx, rax
mov rax, qword [rsi]
mov rcx, qword [rsi + 0x18]
mov r9, rdx
shr r9, 7
mov r8, rax
shr r8, 0xc
xor r8, r9
and r8, rcx
movdqu xmm0, xmmword [rax + r8]
pcmpeqd xmm1, xmm1
pcmpgtb xmm1, xmm0
pmovmskb r11d, xmm1
mov r10, r8
test r11d, r11d
je 0x14012d720
tzcnt r9d, r11d
add r9, r10
and r9, rcx
mov r10, r9
sub r10, r8
mov r11, r14
sub r11, r8
xor r11, r10
and r11, rdi
cmp r11, 0xf
ja 0x14012d751
and dl, 0x7f
mov byte [rax + r14], dl
lea r8, [r14 - 0xf]
and r8, rcx
and ecx, 0xf
add rcx, r8
mov byte [rax + rcx], dl
inc r14
add r15, rbp
cmp r14, rdi
jne 0x14012d656
jmp 0x14012d7cb
mov rcx, rsi
mov rdx, r15
mov rax, rbx
call qword [case.0x1401eda70.0]
mov rdx, rax
jmp 0x14012d685
mov r9d, 0x10
mov r10, r8
add r10, r9
and r10, rcx
movdqu xmm0, xmmword [rax + r10]
pcmpeqd xmm1, xmm1
pcmpgtb xmm1, xmm0
pmovmskb r11d, xmm1
add r9, 0x10
test r11d, r11d
jne 0x14012d6bb
jmp 0x14012d729
mov r8, r9
imul r8, rbp
add r8, qword [rsp + 0x38]
and dl, 0x7f
lea r10, [r9 - 0xf]
and r10, rcx
and ecx, 0xf
add rcx, r10
cmp byte [r13 + r9], 0x80
mov byte [rax + r9], dl
mov byte [rax + rcx], dl
mov rcx, rsi
je 0x14012d7f2
mov rdx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x40], r8
call qword [case.0x1401eda70.0]
mov rcx, rsi
mov rdx, qword [rsp + 0x40]
mov r8, r15
mov rax, qword [rsp + 0x28]
call qword [case.0x1401eda70.0]
mov rcx, rsi
mov rdx, r15
mov r8, qword [rsp + 0x30]
mov rax, qword [rsp + 0x28]
call qword [case.0x1401eda70.0]
dec r14
sub r15, rbp
jmp 0x14012d6f5
mov rax, qword [rsi + 0x18]
mov rcx, rax
shr rcx, 3
add rcx, qword [rsi + 0x10]
sub rax, rcx
mov qword [rsi + 0x20], rax
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, r8
mov r8, r15
mov rax, qword [rsp + 0x28]
call qword [case.0x1401eda70.0]
mov rax, qword [rsi]
mov rcx, qword [rsi + 0x18]
mov r8b, 0x80
mov byte [rax + r14], r8b
lea rdx, [r14 - 0xf]
and rdx, rcx
and ecx, 0xf
add rcx, rdx
mov byte [rax + rcx], r8b
jmp 0x14012d6f5
Function at 0x140130f70
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov eax, dword [rdx]
mov dword [rcx], eax
mov dword [rdx], 0
mov r14, qword [rdx + 8]
mov qword [rdx + 8], 0
lea r15, [r14 + 1]
cmp r15, 2
jb 0x140130fa3
call fcn.1400e8860
cmp qword [rsi + 8], r14
je 0x140130fd5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x140130fe4
cmp r15, 2
jb 0x140130fcd
mov qword [rsi + 8], r14
call fcn.1400e8860
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400e8860
mov rbx, qword [rsi + 8]
cmp qword [0x1402b0e48], 0
je 0x140131017
mov rcx, qword [0x1402b0e48]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rbx
call qword [case.0x1401eda70.0]
mov qword [rsi + 8], 0
jmp 0x140130fbe
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.GetHandleVerifier
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140131058
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x140131052
call qword [case.0x1401eda70.0]
mov rcx, rax
xor edx, edx
call fcn.14003dd60
jmp 0x140130ff7
xor ecx, ecx
mov dl, 1
jmp 0x14013104b
xor ecx, ecx
jmp 0x140131049

Function at 0x140131060
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 dword [rcx], 1
xor eax, eax
mov qword [rcx + 8], rax
mov r15, qword [rdx]
mov qword [rdx], rax
lea r12, [r15 + 1]
cmp r12, 2
jb 0x140131094
call fcn.1400e8860
cmp qword [rsi + 8], r15
je 0x1401310c6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x1401310e7
cmp r12, 2
jb 0x1401310be
mov qword [rsi + 8], r15
call fcn.1400e8860
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x14013115b
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.1400e8860
mov r14, qword [rsi + 8]
cmp qword [0x1402b0e48], 0
je 0x14013111a
mov rcx, qword [0x1402b0e48]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [case.0x1401eda70.0]
mov qword [rsi + 8], 0
jmp 0x1401310af
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.GetHandleVerifier
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140131174
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x140131155
call qword [case.0x1401eda70.0]
mov rcx, rax
xor edx, edx
call fcn.14003dd60
jmp 0x1401310fa
xor ecx, ecx
mov dl, 1
jmp 0x14013114e
call fcn.1400e8860
mov rcx, qword [rdi]
call fcn.140165880
mov qword [rdi], 0
jmp 0x1401310d6
xor ecx, ecx
jmp 0x14013114c
Function at 0x140131180
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 r15, qword [rdx]
mov qword [rdx], 0
lea r12, [r15 + 1]
cmp r12, 2
jb 0x1401311ac
call fcn.1400e8860
cmp qword [rsi], r15
je 0x1401311db
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1401311fc
cmp r12, 2
jb 0x1401311d3
mov qword [rsi], r15
call fcn.1400e8860
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, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.1400e8860
mov r14, qword [rsi]
cmp qword [0x1402b0e48], 0
je 0x14013122d
mov rcx, qword [0x1402b0e48]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [case.0x1401eda70.0]
mov qword [rsi], 0
jmp 0x1401311c5
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.GetHandleVerifier
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14013126e
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x140131268
call qword [case.0x1401eda70.0]
mov rcx, rax
xor edx, edx
call fcn.14003dd60
jmp 0x14013120e
xor ecx, ecx
mov dl, 1
jmp 0x140131261
xor ecx, ecx
jmp 0x14013125f

Function at 0x1401314e0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x14029b028]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1402b09c8]
mov ecx, dword [0x1402ab7ac]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140131544
mov rax, qword [0x1402b09c0]
mov rsi, qword [rax + 0x58]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1401874c0
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1402b09c8]
call fcn.140184b80
cmp dword [0x1402b09c8], 0xffffffff
jne 0x14013151c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.140189600
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x34]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x30]
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, 0x80
call fcn.140184834
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x1402b0a10]
mov ecx, dword [0x1402ab7ac]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140131604
lea r8, [0x1402b09e0]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.140030170
mov qword [0x1402b09c0], rsi
lea rcx, [0x1402b09c8]
call fcn.140184be8
jmp 0x14013151c
lea rcx, [0x1402b0a10]
call fcn.140184b80
cmp dword [0x1402b0a10], 0xffffffff
jne 0x1401315d5
xorps xmm0, xmm0
movups xmmword [0x1402b0a00], xmm0
movups xmmword [0x1402b09f0], xmm0
movups xmmword [0x1402b09e0], xmm0
lea rcx, [0x1402b09e0]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1402b0a10]
call fcn.140184be8
jmp 0x1401315d5
Function at 0x140136920
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x50
movapd xmmword [rsp + 0x40], xmm6
mov rsi, rcx
mov rax, qword [0x14029b028]
xor rax, rsp
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov qword [rsp + 0x28], 0
lea rdx, [rsp + 0x28]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_QueryThreadCycleTime]
movsd xmm0, qword [0x1402b0a50]
xorpd xmm6, xmm6
ucomisd xmm0, xmm6
jne 0x140136978
jnp 0x1401369de
ucomisd xmm0, xmm6
jne 0x140136984
jnp 0x140136af3
movsd xmm1, qword [rsp + 0x28]
unpcklps xmm1, xmmword [0x140278800]
subpd xmm1, xmmword [0x140278810]
movapd xmm2, xmm1
unpckhpd xmm2, xmm1
addsd xmm2, xmm1
divsd xmm2, xmm0
mulsd xmm2, qword [0x140278820]
cvttsd2si rax, xmm2
mov qword [rsi], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401874c0
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rbx, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov edi, eax
call rbx
mov rcx, rax
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x1402b0a60]
mov ecx, dword [0x1402ab7ac]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140136afa
mov eax, dword [0x1402b0a70]
mov ecx, dword [0x1402ab7ac]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140136b34
rdtsc
mov rbx, rax
mov r14, rdx
xor r12d, r12d
lea r15, [rsp + 0x30]
mov qword [r15], r12
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r13, qword [r15]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, edi
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [r15], r12
lea rdi, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub r13, qword [0x1402b0a68]
cvtsi2sd xmm1, r13
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rdi]
divsd xmm1, xmm0
xorpd xmm0, xmm0
movsd xmm2, qword [0x1402787f0]
ucomisd xmm2, xmm1
ja 0x140136978
shl r14, 0x20
or rbx, r14
sub rbx, qword [0x1402b0a58]
movq xmm0, rbx
punpckldq xmm0, xmmword [0x140278800]
subpd xmm0, xmmword [0x140278810]
haddpd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [0x1402b0a50], xmm0
jmp 0x140136978
xor eax, eax
jmp 0x1401369b6
lea rcx, [0x1402b0a60]
call fcn.140184b80
cmp dword [0x1402b0a60], 0xffffffff
jne 0x140136a27
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x1402b0a58], rdx
lea rcx, [0x1402b0a60]
call fcn.140184be8
jmp 0x140136a27
lea rcx, [0x1402b0a70]
call fcn.140184b80
cmp dword [0x1402b0a70], 0xffffffff
jne 0x140136a4c
lea rbx, [rsp + 0x30]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
mov qword [0x1402b0a68], rax
lea rcx, [0x1402b0a70]
call fcn.140184be8
jmp 0x140136a4c
Function at 0x140152110
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rsi, rcx
mov rax, qword [0x14029b028]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov ecx, 1
xor eax, eax
lock cmpxchg qword [rsi], rcx
sete bl
jne 0x140152163
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1401874c0
mov eax, ebx
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsi]
cmp rax, 1
jne 0x140152143
movabs r15, 0x8637bd05af7
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x20], rax
mov rax, qword [fcn.140105050]
lea r12, [0x140182e50]
cmp rax, r12
jne 0x14015226b
lea rdi, [rsp + 0x28]
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi]
cmp rax, r15
jge 0x1401522ab
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402b0aa0]
mov qword [rsp + 0x20], rax
lea rdi, [rsp + 0x28]
mov r13, qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
movabs rbp, 0x7fffffffffffffff
mov r14, qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [fcn.140105050]
cmp rax, r12
jne 0x140152256
mov qword [rsp + 0x28], 0
mov rcx, rdi
call r13
mov rax, qword [rsp + 0x28]
cmp rax, r15
jge 0x14015227b
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402b0aa0]
mov rcx, qword [rsp + 0x20]
xor edx, edx
cmp rax, rcx
setns dl
add rdx, rbp
sub rax, rcx
cmovo rax, rdx
cmp rax, 0x3e7
jg 0x14015229f
xor ecx, ecx
call r14
mov rax, qword [rsi]
cmp rax, 1
je 0x1401521ef
jmp 0x140152143
lea rcx, [rsp + 0x28]
call qword [case.0x1401eda70.0]
lea rax, [rsp + 0x28]
mov rax, qword [rax]
jmp 0x140152224
lea rcx, [rsp + 0x20]
call qword [case.0x1401eda70.0]
jmp 0x1401521d2
mov rcx, qword [0x1402b0aa0]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x140152224
mov ecx, 0x3e8
call fcn.1401edb40
jmp 0x140152248
mov rcx, qword [0x1402b0aa0]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x1401521cd
Function at 0x14015f630
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 r15, qword [rdx]
mov qword [rdx], 0
lea r12, [r15 + 1]
cmp r12, 2
jb 0x14015f65c
call fcn.1400e8860
mov qword [rsi], 0
test r15, r15
je 0x14015f696
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14015f757
cmp r12, 2
jb 0x14015f68e
mov qword [rsi], r15
call fcn.1400e8860
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
cmp byte [rdi + 0x1f], 0
jns 0x14015f743
mov r14, qword [rdi + 8]
mov rbx, qword [rdi + 0x10]
cmp rbx, 0xa
ja 0x14015f6b7
mov byte [rsi + 0x1f], bl
jmp 0x14015f6f9
movabs r15, 0x7fffffffffffffef
cmp rbx, r15
ja 0x14015f7cc
mov r12, rbx
or r12, 7
inc r12
js 0x14015f7d1
lea rcx, [r12 + r12]
call fcn.140184834
mov rcx, rax
mov qword [rsi + 8], rax
add r15, 0x11
or r15, r12
mov qword [rsi + 0x18], r15
mov qword [rsi + 0x10], rbx
cmp rcx, r14
ja 0x14015f70f
lea rax, [rcx + rbx*2]
add rax, 2
cmp rax, r14
ja 0x14015f7d6
inc rbx
add rbx, rbx
mov rdx, r14
mov r8, rbx
call fcn.140188f50
mov eax, dword [rdi + 0x24]
mov dword [rsi + 0x24], eax
mov al, byte [rdi + 0x28]
mov byte [rsi + 0x28], al
mov al, byte [rdi + 0x29]
mov byte [rsi + 0x29], al
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rax, [rdi + 8]
mov rdx, qword [rax + 0x10]
mov qword [rcx + 0x10], rdx
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
jmp 0x14015f720
call fcn.1400e8860
mov r14, qword [rsi]
cmp qword [0x1402b0e48], 0
je 0x14015f78b
mov rcx, qword [0x1402b0e48]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [case.0x1401eda70.0]
mov qword [rsi], 0
jmp 0x14015f680
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.GetHandleVerifier
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14015f7d9
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x14015f7c6
call qword [case.0x1401eda70.0]
mov rcx, rax
xor edx, edx
call fcn.14003dd60
jmp 0x14015f769
xor ecx, ecx
mov dl, 1
jmp 0x14015f7bf
call fcn.1401c1b10
call fcn.1401c1b10
int3
xor ecx, ecx
jmp 0x14015f7bd
Function at 0x140160d60
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x14029b028]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1402b09c8]
mov ecx, dword [0x1402ab7ac]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140160dc0
mov rsi, qword [0x1402b09c0]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1401874c0
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1402b09c8]
call fcn.140184b80
cmp dword [0x1402b09c8], 0xffffffff
jne 0x140160d9c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.140189600
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x34]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x30]
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, 0x80
call fcn.140184834
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x1402b0a10]
mov ecx, dword [0x1402ab7ac]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140160e80
lea r8, [0x1402b09e0]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.140030170
mov qword [0x1402b09c0], rsi
lea rcx, [0x1402b09c8]
call fcn.140184be8
jmp 0x140160d9c
lea rcx, [0x1402b0a10]
call fcn.140184b80
cmp dword [0x1402b0a10], 0xffffffff
jne 0x140160e51
xorps xmm0, xmm0
movups xmmword [0x1402b0a00], xmm0
movups xmmword [0x1402b09f0], xmm0
movups xmmword [0x1402b09e0], xmm0
lea rcx, [0x1402b09e0]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1402b0a10]
call fcn.140184be8
jmp 0x140160e51
Function at 0x140163f90
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 0x14016408e
movabs rax, 0x154442bd4
movq xmm4, rax
movdqa xmm5, xmmword [0x140274670]
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 0x140164000
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm3
movdqa xmm3, xmmword [0x140274680]
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 0x14016411d
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 0x1401640f3
movdqa xmm1, xmmword [0x140274680]
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 [0x140274690], 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