joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140098860
Capabilities:
Parse pe header

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

Function at 0x140099400
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
sub rsp, 0x20
cmp dword [rcx + 0xb78], 0x8000
jne 0x140099514
mov rsi, rcx
movzx eax, word [0x1402337b8]
lea rax, [rax + rax*4]
cmp dword [rcx + rax*8 + 0x60], 0x200
jne 0x140099517
lea rcx, [0x140233770]
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14009951d
cmp byte [0x140243da8], 0
je 0x14009948a
lea rcx, [0x140233770]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
xor eax, eax
lock cmpxchg qword [0x140243db0], rsi
jne 0x14009951a
add rsi, 0x48
lea rax, [0x140099540]
mov qword [0x1402499a8], rax
xor eax, eax
lea rcx, [0x140243d60]
jmp 0x1400994ed
cmp qword [0x140249998], 0
jne 0x14009952e
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x140099531
mov dword [0x140243d50], eax
mov dword [0x1402499a0], eax
lea rax, [0x140033530]
mov qword [0x140249998], rax
mov byte [0x140243da8], 1
jmp 0x14009944f
mov dl, 0x80
jmp 0x1400994dd
cmp edx, 0x201
setb dl
shl dl, 4
add dl, 0x10
mov byte [rax + rcx], dl
inc rax
add rsi, 0x28
cmp rax, 0x48
je 0x14009950a
cmp qword [rsi], 0
je 0x140099510
mov edx, dword [rsi + 0x18]
cmp edx, 0x81
jb 0x1400994ca
cmp edx, 0x101
jae 0x1400994ce
mov dl, 0x40
jmp 0x1400994dd
add rsp, 0x20
pop rsi
ret
xor edx, edx
jmp 0x1400994dd
int3
int3
int3
lea rcx, [0x140233770]
call fcn.1400b5570
jmp 0x140099446
int3
int3
Function at 0x1400ad270
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x58
movapd xmmword [rsp + 0x40], xmm8
movapd xmmword [rsp + 0x30], xmm7
movapd xmmword [rsp + 0x20], xmm6
mov r11, qword [r8]
mov r10, qword [r8 + 8]
mov rax, r10
sub rax, r11
sar rax, 2
lea r9, [rax - 1]
cmp r9, 2
jb 0x1400ad373
cvtsi2sd xmm0, ecx
cvtsi2sd xmm1, edx
add rax, 0xfffffffffffffffd
movq xmm2, rax
punpckldq xmm2, xmmword [0x140204da0]
subpd xmm2, xmmword [0x140204db0]
haddpd xmm2, xmm2
mov ecx, 1
movq xmm3, qword [0x140204da0]
movapd xmm4, xmmword [0x140204db0]
movsd xmm5, qword [0x1401f2ec0]
nop dword [rax + rax]
mov rdx, qword [r8]
mov r10, qword [r8 + 8]
sub r10, rdx
sar r10, 2
cmp r10, rcx
jbe 0x1400ad426
movq xmm6, rax
punpckldq xmm6, xmm3
subpd xmm6, xmm4
movapd xmm7, xmm6
unpckhpd xmm7, xmm6
addsd xmm7, xmm6
mulsd xmm7, xmm0
lea r10, [rcx - 1]
movq xmm6, r10
punpckldq xmm6, xmm3
subpd xmm6, xmm4
movapd xmm8, xmm6
unpckhpd xmm8, xmm6
addsd xmm8, xmm6
mulsd xmm8, xmm1
addsd xmm8, xmm7
divsd xmm8, xmm2
addsd xmm8, xmm5
cvttsd2si r10d, xmm8
mov dword [rdx + rcx*4], r10d
dec rax
inc rcx
cmp rcx, r9
jne 0x1400ad2f0
mov r11, qword [r8]
mov r10, qword [r8 + 8]
cmp r10, r11
je 0x1400ad426
mov dword [r10 - 4], 0x7fffffff
mov r9, qword [r8]
mov rax, qword [r8 + 8]
mov rdx, rax
sub rdx, r9
je 0x1400ad439
js 0x1400ad43d
mov rcx, rdx
shr rcx, 2
test dl, 1
jne 0x1400ad407
mov rdx, r9
lea r10, [rax - 1]
cmp r10, r9
je 0x1400ad3ee
lea r9, [0x140210ae0]
nop dword [rax]
movzx r10d, byte [rdx]
movzx r11d, cl
xor r11d, r10d
shr ecx, 8
xor ecx, dword [r9 + r11*4]
movzx r10d, byte [rdx + 1]
movzx r11d, cl
xor r11d, r10d
shr ecx, 8
xor ecx, dword [r9 + r11*4]
add rdx, 2
cmp rdx, rax
jne 0x1400ad3c0
mov dword [r8 + 0x18], ecx
movaps xmm6, xmmword [rsp + 0x20]
movaps xmm7, xmmword [rsp + 0x30]
movaps xmm8, xmmword [rsp + 0x40]
add rsp, 0x58
ret
movzx edx, byte [r9]
movzx r10d, cl
xor r10d, edx
lea rdx, [0x140210ae0]
shr ecx, 8
xor ecx, dword [rdx + r10*4]
lea rdx, [r9 + 1]
jmp 0x1400ad3ac
lea rcx, [0x14020310b]
lea rdx, str....._third_partylibc_srcinclude_vector:1411:_assertion___n___size___failed:_vector___index_out_of_bounds_n
call fcn.140164a90
xor ecx, ecx
jmp 0x1400ad3ee
int3
Function at 0x1400b27d0
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
cmp qword [rcx], rdx
je 0x1400b284d
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x1400b281c
lea rax, [rsi + 1]
cmp rax, 2
jb 0x1400b280a
mov qword [rdi], rsi
call fcn.1400b28a0
mov ecx, ebx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.1400b28a0
mov r14, qword [rdi]
cmp qword [0x140243970], 0
je 0x1400b2857
mov rcx, qword [0x140243970]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x1402233e0]
mov qword [rdi], 0
jmp 0x1400b27f8
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140215f0d]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400b2898
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x1400b2892
call qword [0x1402233e0]
mov rcx, rax
xor edx, edx
call fcn.14004bfd0
jmp 0x1400b282e
xor ecx, ecx
mov dl, 1
jmp 0x1400b288b
xor ecx, ecx
jmp 0x1400b2889
Function at 0x1400d1160
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x98
mov esi, r9d
mov rdi, r8
mov r15, rdx
mov r14, rcx
mov rax, qword [0x140231040]
xor rax, rsp
mov qword [rsp + 0x90], rax
movaps xmm0, xmmword [0x1401fd000]
lea rbx, [rsp + 0x50]
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdx, str.Read
lea r8, str....._base_files_file_win.cc
lea r12, [rsp + 0x30]
mov rcx, r12
mov r9d, 0x42
call fcn.1400dc8d0
mov rcx, rbx
mov rdx, r12
xor r8d, r8d
call fcn.1400f07b0
mov ebx, 0xffffffff
test r15, r15
js 0x1400d1224
test esi, esi
js 0x1400d1224
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
lea r9, [rsp + 0x2c]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [r14]
mov qword [rsp + 0x20], r12
mov rdx, rdi
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400d1251
mov ebx, dword [rsp + 0x2c]
test ebx, ebx
js 0x1400d1263
lea rcx, [rsp + 0x50]
call fcn.1400d1270
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14012d2c0
mov eax, ebx
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
cmp eax, 0x26
setne bl
neg ebx
jmp 0x1400d1224
int3
Function at 0x1400e5000
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 0x1400e5102
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400e5090
lea rax, [rdi + 1]
cmp rax, 2
jb 0x1400e5067
mov qword [rsi], rdi
call fcn.1400b28a0
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 0x1400e5106
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400b28a0
mov r14, qword [rsi]
cmp qword [0x140243970], 0
je 0x1400e50c1
mov rcx, qword [0x140243970]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x1402233e0]
mov qword [rsi], 0
jmp 0x1400e5055
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140215f0d]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400e5109
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x1400e50fc
call qword [0x1402233e0]
mov rcx, rax
xor edx, edx
call fcn.14004bfd0
jmp 0x1400e50a2
xor ecx, ecx
mov dl, 1
jmp 0x1400e50f5
mov byte [rsi + 8], 0
int3
xor ecx, ecx
jmp 0x1400e50f3

Function at 0x1400e66e0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x140231040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x140243700]
mov ecx, dword [0x1402403d8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400e6744
mov rax, qword [0x1402436f8]
mov rsi, qword [rax + 0x58]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14012d2c0
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x140243700]
call fcn.14012ad90
cmp dword [0x140243700], 0xffffffff
jne 0x1400e671c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.140164570
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.14012aa30
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x140243748]
mov ecx, dword [0x1402403d8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400e6804
lea r8, [0x140243718]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.1400364a0
mov qword [0x1402436f8], rsi
lea rcx, [0x140243700]
call fcn.14012ad24
jmp 0x1400e671c
lea rcx, [0x140243748]
call fcn.14012ad90
cmp dword [0x140243748], 0xffffffff
jne 0x1400e67d5
xorps xmm0, xmm0
movups xmmword [0x140243738], xmm0
movups xmmword [0x140243728], xmm0
movups xmmword [0x140243718], xmm0
lea rcx, [0x140243718]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x140243748]
call fcn.14012ad24
jmp 0x1400e67d5
Function at 0x1400f00c0
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 0x1400f00ec
call fcn.1400b28a0
mov qword [rsi], 0
test r15, r15
je 0x1400f0122
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400f0170
cmp r12, 2
jb 0x1400f011a
mov qword [rsi], r15
call fcn.1400b28a0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
cmp byte [rdi + 0x1f], 0
jns 0x1400f015c
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
call fcn.140107a70
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 0x1400f0139
call fcn.1400b28a0
mov r14, qword [rsi]
cmp qword [0x140243970], 0
je 0x1400f01a4
mov rcx, qword [0x140243970]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x1402233e0]
mov qword [rsi], 0
jmp 0x1400f010c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140215f0d]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400f01e5
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x1400f01df
call qword [0x1402233e0]
mov rcx, rax
xor edx, edx
call fcn.14004bfd0
jmp 0x1400f0182
xor ecx, ecx
mov dl, 1
jmp 0x1400f01d8
xor ecx, ecx
jmp 0x1400f01d6
Function at 0x1401091b0
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov dword [rcx], 0
xor ecx, ecx
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi + 8], 0
test rax, rax
je 0x1401092af
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x14010923b
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140109211
mov qword [rsi + 8], rdi
call fcn.1400b28a0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsi + 8]
mov byte [rsi + 0x10], 0
inc rax
cmp rax, 1
jbe 0x1401092b3
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400b28a0
mov r14, qword [rsi + 8]
cmp qword [0x140243970], 0
je 0x14010926e
mov rcx, qword [0x140243970]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x1402233e0]
mov qword [rsi + 8], 0
jmp 0x1401091fe
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140215f0d]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1401092b6
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x1401092a9
call qword [0x1402233e0]
mov rcx, rax
xor edx, edx
call fcn.14004bfd0
jmp 0x14010924e
xor ecx, ecx
mov dl, 1
jmp 0x1401092a2
mov byte [rsi + 0x10], 0
int3
xor ecx, ecx
jmp 0x1401092a0
Function at 0x140113450
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
test r8, r8
je 0x14011356a
mov rcx, qword [rcx + 8]
movsxd r9, dword [rcx + 0x3c]
cmp dword [rcx + r9 + 0x84], 0
je 0x14011356a
add r9, rcx
xor eax, eax
cmp word [r9 + 0x14], 0x78
jb 0x140113563
add r9, 0x88
je 0x140113563
mov eax, dword [r9]
test rax, rax
je 0x14011356a
add rax, rcx
je 0x14011356a
cmp rdx, 0xffff
jbe 0x14011355d
mov r10d, dword [rax + 0x20]
lea r9, [rcx + r10]
test r10, r10
cmove r9, r10
mov r10d, dword [rax + 0x18]
lea r10, [r9 + r10*4]
lea r11, [rdx + 1]
mov rsi, r9
jmp 0x1401134f6
xor ebp, ebp
lea rdi, [rsi + rdi*2]
movzx ebp, bpl
movzx ebx, byte [rbx]
lea r14, [rdi + 4]
cmp ebp, ebx
cmovg rsi, r14
cmovs r10, rdi
cmp bpl, bl
je 0x140113542
cmp rsi, r10
je 0x14011356a
mov rdi, r10
sub rdi, rsi
mov rbx, rdi
sar rbx, 2
shr rdi, 0x3f
add rdi, rbx
and rdi, 0xfffffffffffffffe
mov r14d, dword [rsi + rdi*2]
lea rbx, [rcx + r14]
test r14, r14
cmove rbx, r14
mov bpl, byte [rdx]
test bpl, bpl
je 0x1401134d6
mov r14, r11
cmp bpl, byte [rbx]
jne 0x1401134d8
inc rbx
mov bpl, byte [r14]
inc r14
test bpl, bpl
jne 0x14011352d
jmp 0x1401134d6
mov edx, dword [rax + 0x24]
add rcx, rdx
test rdx, rdx
cmove rcx, rdx
sub rdi, r9
sar rdi, 1
movzx edx, word [rcx + rdi]
add dx, word [rax + 0x10]
mov word [r8], dx
mov al, 1
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
xor eax, eax
jmp 0x140113563
Function at 0x140113570
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
jae 0x1401136ef
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm3
pmovzxdq xmm3, qword [0x140205960]
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 0x140113652
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 0x140113628
pmovzxdq xmm1, qword [0x140205960]
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 [0x140205950], 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
movabs rax, 0x154442bd4
movq xmm4, rax
movdqa xmm5, xmmword [0x140205940]
nop word cs:[rax + 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 0x140113710
jmp 0x1401135c2
Function at 0x14011ce50
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140231040]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [0x1401fd000]
lea r14, [rsp + 0x50]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.ReadAtCurrentPos
lea r8, str....._base_files_file_win.cc
lea r15, [rsp + 0x30]
mov rcx, r15
mov r9d, 0x5f
call fcn.1400dc8d0
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1400f07b0
test esi, esi
js 0x14011cf26
lea r9, [rsp + 0x30]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], 0
mov rdx, rdi
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14011cf32
mov esi, dword [rsp + 0x30]
test esi, esi
js 0x14011cf2d
lea rcx, [rsp + 0x50]
call fcn.1400d1270
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14012d2c0
mov eax, esi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov esi, 0xffffffff
jmp 0x14011cefb
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x26
setne sil
neg esi
jmp 0x14011cefb
Function at 0x14011cf50
Capabilities:
Move file

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4a8
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140231040]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
movaps xmm0, xmmword [0x1401fd000]
lea r15, [rsp + 0x30]
movaps xmmword [r15 + 0x30], xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
lea rdx, [0x14020f8a7]
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x290]
mov rcx, r14
mov r9d, 0x1d9
call fcn.1400dc8d0
mov rcx, r15
xor edx, edx
xor r8d, r8d
call fcn.1400b0260
mov qword [rsp + 0x70], 0xa
mov al, byte [0x14024358a]
test al, al
jne 0x14011d128
lea rcx, [rsp + 0x290]
mov r8d, 0x208
mov dl, 0xaa
call fcn.140164570
cmp byte [rbx + 0x17], 0
mov rax, rbx
jns 0x14011d002
mov rax, qword [rbx]
xor ecx, ecx
movzx edx, word [rax + rcx*2]
mov word [rsp + rcx*2 + 0x290], dx
test dx, dx
je 0x14011d02b
inc rcx
cmp rcx, 0x104
jne 0x14011d004
mov word [rsp + 0x496], 0
lea rcx, [rsp + 0x290]
call fcn.1400ab2c0
lea rcx, [rsp + 0x80]
mov r8d, 0x208
mov dl, 0xaa
call fcn.140164570
cmp byte [rdi + 0x17], 0
mov rax, rdi
jns 0x14011d059
mov rax, qword [rdi]
xor ecx, ecx
movzx edx, word [rax + rcx*2]
mov word [rsp + rcx*2 + 0x80], dx
test dx, dx
je 0x14011d082
inc rcx
cmp rcx, 0x104
jne 0x14011d05b
mov word [rsp + 0x286], 0
lea rcx, [rsp + 0x80]
call fcn.1400ab2c0
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x14011d09b
mov rdx, qword [rbx]
cmp byte [rdi + 0x17], 0
mov rcx, rdi
jns 0x14011d0a7
mov rcx, qword [rdi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor r8d, r8d
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_ReplaceFileW]
test eax, eax
jne 0x14011d0f9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp byte [rdi + 0x17], 0
jns 0x14011d0d3
mov rdi, qword [rdi]
cmp byte [rbx + 0x17], 0
jns 0x14011d0dc
mov rbx, qword [rbx]
mov rcx, rbx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne dil
test rsi, rsi
je 0x14011d0fc
test eax, eax
jne 0x14011d0fc
jmp 0x14011d154
mov dil, 1
lea rcx, [rsp + 0x30]
call fcn.1400d1270
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.14012d2c0
mov eax, edi
add rsp, 0x4a8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
movzx ecx, al
lea r9, [rsp + 0x80]
mov qword [r9], r14
lea rax, str.ScopedBlockingCall
lea r8, [rsp + 0x78]
mov qword [r8], rax
lea rdx, [rsp + 0x70]
call fcn.1401843b0
jmp 0x14011cfe1
mov ecx, ebp
call fcn.140011800
cmp eax, 0xfffffffc
jne 0x14011d165
call fcn.140184250
mov dword [rsi], eax
xor edi, edi
jmp 0x14011d0fc
Function at 0x14011f390
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov ebx, ecx
mov rax, qword [0x140231040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov eax, dword [0x1402439d0]
mov ecx, dword [0x1402403d8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14011f57c
mov rsi, qword [0x1402439c8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14011f5be
movzx ebx, bl
dec ebx
or ebx, 1
cmp byte [0x140243984], 0
mov eax, 8
mov ecx, 1
cmove ecx, eax
xor ebp, ebp
add ebx, dword [0x140243988]
mov dword [0x140243988], ebx
cmovne ebp, ecx
mov eax, dword [0x14024398c]
cmp ebp, eax
je 0x14011f55b
test eax, eax
je 0x14011f4ec
mov rax, qword [0x140233700]
lea rcx, [0x140116ab0]
lea rdi, [rsp + 0x28]
cmp rax, rcx
jne 0x14011f5dd
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jge 0x14011f62e
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402439e8]
mov qword [rsp + 0x28], rax
mov rcx, qword [0x1402439d8]
xor edx, edx
cmp rax, rcx
setns dl
movabs r8, 0x7fffffffffffffff
add r8, rdx
sub rax, rcx
cmovo rax, r8
movabs rdx, 0x8000000000000001
lea r8, [rax + rdx]
mov rcx, qword [0x140243990]
cmp r8, 2
jb 0x14011f5ee
lea rdx, [rcx + rax]
sar rdx, 0x3f
btc rdx, 0x3f
add rcx, rax
cmovo rcx, rdx
mov rax, rcx
mov qword [0x140243990], rax
mov ecx, dword [0x14024398c]
call qword [sym.imp.WINMM.dll_timeEndPeriod]
mov dword [0x14024398c], ebp
test ebx, ebx
je 0x14011f55b
mov rax, qword [0x140233700]
lea rcx, [0x140116ab0]
lea rdi, [rsp + 0x28]
cmp rax, rcx
jne 0x14011f5cc
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jge 0x14011f607
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402439e8]
mov qword [0x1402439d8], rax
mov ecx, dword [0x14024398c]
call qword [sym.imp.WINMM.dll_timeBeginPeriod]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14012d2c0
mov al, 1
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea rcx, [0x1402439d0]
call fcn.14012ad90
cmp dword [0x1402439d0], 0xffffffff
jne 0x14011f3ce
mov ecx, 8
call fcn.14012aa30
mov qword [rax], 0
mov qword [0x1402439c8], rax
lea rcx, [0x1402439d0]
call fcn.14012ad24
jmp 0x14011f3ce
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x14011f3e6
mov rcx, rdi
call qword [0x1402233e0]
mov rax, qword [rdi]
jmp 0x14011f548
mov rcx, rdi
call qword [0x1402233e0]
mov rax, qword [rdi]
jmp 0x14011f480
cmp rcx, rax
je 0x14011f4d9
add rcx, rdx
cmp rcx, 1
ja 0x14011f4d9
int3
mov rcx, qword [0x1402439e8]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x14011f548
mov rcx, qword [0x1402439e8]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x14011f47b