joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140114040
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 0x140114143
cvtsi2sd xmm0, ecx
cvtsi2sd xmm1, edx
add rax, 0xfffffffffffffffd
movq xmm2, rax
punpckldq xmm2, xmmword [0x140277200]
subpd xmm2, xmmword [0x140277210]
haddpd xmm2, xmm2
mov ecx, 1
movq xmm3, qword [0x140277200]
movapd xmm4, xmmword [0x140277210]
movsd xmm5, qword [0x140265f40]
nop dword [rax + rax]
mov rdx, qword [r8]
mov r10, qword [r8 + 8]
sub r10, rdx
sar r10, 2
cmp r10, rcx
jbe 0x1401141eb
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 0x1401140c0
mov r11, qword [r8]
mov r10, qword [r8 + 8]
cmp r10, r11
je 0x1401141eb
mov dword [r10 - 4], 0x7fffffff
mov r9, qword [r8]
mov rax, qword [r8 + 8]
mov rcx, rax
sub rcx, r9
je 0x1401141fe
js 0x140114202
test cl, 1
jne 0x1401141d7
shr rcx, 2
mov rdx, r9
lea r10, [rax - 1]
cmp r10, r9
je 0x1401141be
lea r9, [0x1402840a0]
nop dword [rax]
movzx r10d, cl
movzx r11d, byte [rdx]
xor r11d, r10d
shr ecx, 8
xor ecx, dword [r9 + r11*4]
movzx r10d, cl
movzx r11d, byte [rdx + 1]
xor r11d, r10d
shr ecx, 8
xor ecx, dword [r9 + r11*4]
add rdx, 2
cmp rdx, rax
jne 0x140114190
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 ecx, byte [r9]
lea rdx, [0x1402840a0]
mov ecx, dword [rdx + rcx*4]
lea rdx, [r9 + 1]
jmp 0x140114179
lea rcx, [0x140275393]
lea rdx, str....._third_partylibc_srcinclude_vector:1411:_assertion___n___size___failed:_vector___index_out_of_bounds_n
call fcn.1401cf0c0
xor ecx, ecx
jmp 0x1401141be
int3
Function at 0x140119280
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
cmp qword [rcx], rdx
je 0x1401192fd
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 0x1401192cc
lea rax, [rsi + 1]
cmp rax, 2
jb 0x1401192ba
mov qword [rdi], rsi
call fcn.140119350
mov ecx, ebx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.140119350
mov r14, qword [rdi]
cmp qword [0x1402c6cc0], 0
je 0x140119307
mov rcx, qword [0x1402c6cc0]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x1402a4f40]
mov qword [rdi], 0
jmp 0x1401192a8
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140289f9f]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140119348
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x140119342
call qword [0x1402a4f40]
mov rcx, rax
xor edx, edx
call fcn.1400445d0
jmp 0x1401192de
xor ecx, ecx
mov dl, 1
jmp 0x14011933b
xor ecx, ecx
jmp 0x140119339
Function at 0x14013f490
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x1402b4040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1402c6a50]
mov ecx, dword [0x1402c36f0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14013f4f4
mov rax, qword [0x1402c6a48]
mov rsi, qword [rax + 0x58]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140192360
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1402c6a50]
call fcn.14018fd10
cmp dword [0x1402c6a50], 0xffffffff
jne 0x14013f4cc
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.1401ce350
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, 0x88
call fcn.14018fb98
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x1402c6a98]
mov ecx, dword [0x1402c36f0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14013f5b4
lea r8, [0x1402c6a68]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.14002d680
mov qword [0x1402c6a48], rsi
lea rcx, [0x1402c6a50]
call fcn.14018fca4
jmp 0x14013f4cc
lea rcx, [0x1402c6a98]
call fcn.14018fd10
cmp dword [0x1402c6a98], 0xffffffff
jne 0x14013f585
xorps xmm0, xmm0
movups xmmword [0x1402c6a88], xmm0
movups xmmword [0x1402c6a78], xmm0
movups xmmword [0x1402c6a68], xmm0
lea rcx, [0x1402c6a68]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1402c6a98]
call fcn.14018fca4
jmp 0x14013f585
Function at 0x140144180
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 0x140144282
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140144210
lea rax, [rdi + 1]
cmp rax, 2
jb 0x1401441e7
mov qword [rsi], rdi
call fcn.140119350
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 0x140144286
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.140119350
mov r14, qword [rsi]
cmp qword [0x1402c6cc0], 0
je 0x140144241
mov rcx, qword [0x1402c6cc0]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x1402a4f40]
mov qword [rsi], 0
jmp 0x1401441d5
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140289f9f]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140144289
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x14014427c
call qword [0x1402a4f40]
mov rcx, rax
xor edx, edx
call fcn.1400445d0
jmp 0x140144222
xor ecx, ecx
mov dl, 1
jmp 0x140144275
mov byte [rsi + 8], 0
int3
xor ecx, ecx
jmp 0x140144273
Function at 0x140148660
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x48
movaps xmmword [rsp + 0x30], xmm6
mov rax, qword [0x1402b4040]
xor rax, rsp
mov qword [rsp + 0x28], rax
movsd xmm6, qword [0x1402c6cf0]
xorpd xmm0, xmm0
ucomisd xmm6, xmm0
jne 0x140148695
jnp 0x1401486b9
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140192360
movapd xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rdi, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov esi, eax
call rdi
mov rcx, rax
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x1402c6d00]
mov ecx, dword [0x1402c36f0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401487ce
mov eax, dword [0x1402c6d10]
mov ecx, dword [0x1402c36f0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140148808
rdtsc
mov rdi, rax
mov rbx, rdx
xor r15d, r15d
lea r14, [rsp + 0x20]
mov qword [r14], r15
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r12, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, esi
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [r14], r15
lea rsi, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub r12, qword [0x1402c6d08]
xorps xmm0, xmm0
cvtsi2sd xmm0, r12
cvtsi2sd xmm1, qword [rsi]
divsd xmm0, xmm1
xorpd xmm6, xmm6
movsd xmm1, qword [0x1402771f0]
ucomisd xmm1, xmm0
ja 0x140148695
shl rbx, 0x20
or rdi, rbx
sub rdi, qword [0x1402c6cf8]
movq xmm6, rdi
punpckldq xmm6, xmmword [0x140277200]
subpd xmm6, xmmword [0x140277210]
haddpd xmm6, xmm6
divsd xmm6, xmm0
movsd qword [0x1402c6cf0], xmm6
jmp 0x140148695
lea rcx, [0x1402c6d00]
call fcn.14018fd10
cmp dword [0x1402c6d00], 0xffffffff
jne 0x140148702
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x1402c6cf8], rdx
lea rcx, [0x1402c6d00]
call fcn.14018fca4
jmp 0x140148702
lea rcx, [0x1402c6d10]
call fcn.14018fd10
cmp dword [0x1402c6d10], 0xffffffff
jne 0x140148727
lea rdi, [rsp + 0x20]
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi]
mov qword [0x1402c6d08], rax
lea rcx, [0x1402c6d10]
call fcn.14018fca4
jmp 0x140148727
Function at 0x140157560
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 0x14015758c
call fcn.140119350
mov qword [rsi], 0
test r15, r15
je 0x1401575c2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140157610
cmp r12, 2
jb 0x1401575ba
mov qword [rsi], r15
call fcn.140119350
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
cmp byte [rdi + 0x1f], 0
jns 0x1401575fc
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
call fcn.140146540
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 0x1401575d9
call fcn.140119350
mov r14, qword [rsi]
cmp qword [0x1402c6cc0], 0
je 0x140157644
mov rcx, qword [0x1402c6cc0]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x1402a4f40]
mov qword [rsi], 0
jmp 0x1401575ac
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140289f9f]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140157685
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x14015767f
call qword [0x1402a4f40]
mov rcx, rax
xor edx, edx
call fcn.1400445d0
jmp 0x140157622
xor ecx, ecx
mov dl, 1
jmp 0x140157678
xor ecx, ecx
jmp 0x140157676
Function at 0x140159980
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 [0x1402b4040]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [0x140270080]
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, [0x140282aa8]
lea r15, [rsp + 0x30]
mov rcx, r15
mov r9d, 0x5f
call fcn.14012d160
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140159f70
test esi, esi
js 0x140159a56
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 0x140159a62
mov esi, dword [rsp + 0x30]
test esi, esi
js 0x140159a5d
lea rcx, [rsp + 0x50]
call fcn.140159a80
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140192360
mov eax, esi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov esi, 0xffffffff
jmp 0x140159a2b
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x26
setne sil
neg esi
jmp 0x140159a2b
Function at 0x1401789d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
test r8, r8
je 0x140178aea
mov rcx, qword [rcx + 8]
movsxd r9, dword [rcx + 0x3c]
cmp dword [rcx + r9 + 0x84], 0
je 0x140178aea
add r9, rcx
xor eax, eax
cmp word [r9 + 0x14], 0x78
jb 0x140178ae3
add r9, 0x88
je 0x140178ae3
mov eax, dword [r9]
test rax, rax
je 0x140178aea
add rax, rcx
je 0x140178aea
cmp rdx, 0xffff
jbe 0x140178add
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 0x140178a76
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 0x140178ac2
cmp rsi, r10
je 0x140178aea
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 0x140178a56
mov r14, r11
cmp bpl, byte [rbx]
jne 0x140178a58
inc rbx
mov bpl, byte [r14]
inc r14
test bpl, bpl
jne 0x140178aad
jmp 0x140178a56
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 0x140178ae3
Function at 0x140179410
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 0x14017958f
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm3
pmovzxdq xmm3, qword [0x140277e80]
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 0x1401794f2
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 0x1401794c8
pmovzxdq xmm1, qword [0x140277e80]
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 [0x140277e70], 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 [0x140277e60]
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 0x1401795b0
jmp 0x140179462
Function at 0x140185320
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 [0x1402b4040]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
movaps xmm0, xmmword [0x140270080]
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, [0x140282b5f]
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x290]
mov rcx, r14
mov r9d, 0x1de
call fcn.14012d160
mov rcx, r15
xor edx, edx
xor r8d, r8d
call fcn.14011b270
mov qword [rsp + 0x70], 0xa
mov al, byte [0x1402c68da]
test al, al
jne 0x1401854f8
lea rcx, [rsp + 0x290]
mov r8d, 0x208
mov dl, 0xaa
call fcn.1401ce350
cmp byte [rbx + 0x17], 0
mov rax, rbx
jns 0x1401853d2
mov rax, qword [rbx]
xor ecx, ecx
movzx edx, word [rax + rcx*2]
mov word [rsp + rcx*2 + 0x290], dx
test dx, dx
je 0x1401853fb
inc rcx
cmp rcx, 0x104
jne 0x1401853d4
mov word [rsp + 0x496], 0
lea rcx, [rsp + 0x290]
call fcn.14012b480
lea rcx, [rsp + 0x80]
mov r8d, 0x208
mov dl, 0xaa
call fcn.1401ce350
cmp byte [rdi + 0x17], 0
mov rax, rdi
jns 0x140185429
mov rax, qword [rdi]
xor ecx, ecx
movzx edx, word [rax + rcx*2]
mov word [rsp + rcx*2 + 0x80], dx
test dx, dx
je 0x140185452
inc rcx
cmp rcx, 0x104
jne 0x14018542b
mov word [rsp + 0x286], 0
lea rcx, [rsp + 0x80]
call fcn.14012b480
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x14018546b
mov rdx, qword [rbx]
cmp byte [rdi + 0x17], 0
mov rcx, rdi
jns 0x140185477
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 0x1401854c9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp byte [rdi + 0x17], 0
jns 0x1401854a3
mov rdi, qword [rdi]
cmp byte [rbx + 0x17], 0
jns 0x1401854ac
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 0x1401854cc
test eax, eax
jne 0x1401854cc
jmp 0x140185524
mov dil, 1
lea rcx, [rsp + 0x30]
call fcn.140159a80
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.140192360
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.1401f63e0
jmp 0x1401853b1
mov ecx, ebp
call fcn.140012320
cmp eax, 0xfffffffc
jne 0x140185535
call fcn.1401f6260
mov dword [rsi], eax
xor edi, edi
jmp 0x1401854cc
Function at 0x140186f00
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 [0x1402b4040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov eax, dword [0x1402c6d20]
mov ecx, dword [0x1402c36f0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401870ec
mov rsi, qword [0x1402c6d18]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14018712e
movzx ebx, bl
dec ebx
or ebx, 1
test byte [0x1402c6cd4], 1
mov eax, 1
mov ecx, 8
cmovne ecx, eax
xor ebp, ebp
add ebx, dword [0x1402c6cd8]
mov dword [0x1402c6cd8], ebx
cmovne ebp, ecx
mov eax, dword [0x1402c6cdc]
cmp ebp, eax
je 0x1401870cb
test eax, eax
je 0x14018705c
mov rax, qword [0x1402b67f0]
lea rcx, [0x1401191b0]
lea rdi, [rsp + 0x28]
cmp rax, rcx
jne 0x14018714c
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 0x14018719f
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402c6d38]
mov qword [rsp + 0x28], rax
mov rcx, qword [0x1402c6d28]
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 [0x1402c6ce0]
cmp r8, 2
jb 0x140187184
lea rdx, [rcx + rax]
sar rdx, 0x3f
btc rdx, 0x3f
add rcx, rax
cmovo rcx, rdx
mov rax, rcx
mov qword [0x1402c6ce0], rax
mov ecx, dword [0x1402c6cdc]
call qword [sym.imp.WINMM.dll_timeEndPeriod]
mov dword [0x1402c6cdc], ebp
test ebx, ebx
je 0x1401870cb
mov rax, qword [0x1402b67f0]
lea rcx, [0x1401191b0]
lea rdi, [rsp + 0x28]
cmp rax, rcx
jne 0x14018713b
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 0x14018715d
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402c6d38]
mov qword [0x1402c6d28], rax
mov ecx, dword [0x1402c6cdc]
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.140192360
mov al, 1
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea rcx, [0x1402c6d20]
call fcn.14018fd10
cmp dword [0x1402c6d20], 0xffffffff
jne 0x140186f3e
mov ecx, 8
call fcn.14018fb98
mov qword [rax], 0
mov qword [0x1402c6d18], rax
lea rcx, [0x1402c6d20]
call fcn.14018fca4
jmp 0x140186f3e
mov rcx, rsi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x140186f56
mov rcx, rdi
call qword [0x1402a4f40]
mov rax, qword [rdi]
jmp 0x1401870b8
mov rcx, rdi
call qword [0x1402a4f40]
mov rax, qword [rdi]
jmp 0x140186ff0
mov rcx, qword [0x1402c6d38]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x1401870b8
add rdx, rcx
cmp rdx, 2
setae dl
cmp rcx, rax
sete cl
or cl, dl
jne 0x140187049
int3
mov rcx, qword [0x1402c6d38]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x140186feb
Function at 0x1401915d4
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x14019164c
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x14019164c
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x14019164c
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x140191640
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x14019165e
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x14019162e
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x14019164e

Function at 0x140191eac
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140191ef6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140191ef6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140191ef6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140191ef6
cmp dword [rcx + 0x84], 0xe
jbe 0x140191ef6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140191ef8
xor al, al
add rsp, 0x28
ret

Function at 0x1401a36bc
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x1401a36f3
call fcn.14018fbdc
mov dword [rax], Ordinal_26
call fcn.1401bc2a4
xor eax, eax
jmp 0x1401a3781
mov rdx, r9
mov rcx, r8
call fcn.1401a37a4
mov rbx, rax
test rax, rax
je 0x1401a377e
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1401a3810]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x1401a376b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1401a68a0
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1401a3752
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1401a3761
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.14018e130
jmp 0x1401a377e
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1401a377b
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x1401a38e4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1401a3a2c