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

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

Function at 0x140095010
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
sub rsp, 0x20
cmp dword [rcx + 0xb78], 0x8000
jne 0x140095124
mov rsi, rcx
movzx eax, word [0x140233758]
lea rax, [rax + rax*4]
cmp dword [rcx + rax*8 + 0x60], 0x200
jne 0x140095127
lea rcx, [0x140233710]
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14009512d
cmp byte [0x140243d08], 0
je 0x14009509a
lea rcx, [0x140233710]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
xor eax, eax
lock cmpxchg qword [0x140243d10], rsi
jne 0x14009512a
add rsi, 0x48
lea rax, [0x140095150]
mov qword [0x1402499a0], rax
xor eax, eax
lea rcx, [0x140243cc0]
jmp 0x1400950fd
cmp qword [0x140249990], 0
jne 0x14009513e
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x140095141
mov dword [0x140243cb0], eax
mov dword [0x140249998], eax
lea rax, [0x14002fcd0]
mov qword [0x140249990], rax
mov byte [0x140243d08], 1
jmp 0x14009505f
mov dl, 0x80
jmp 0x1400950ed
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 0x14009511a
cmp qword [rsi], 0
je 0x140095120
mov edx, dword [rsi + 0x18]
cmp edx, 0x81
jb 0x1400950da
cmp edx, 0x101
jae 0x1400950de
mov dl, 0x40
jmp 0x1400950ed
add rsp, 0x20
pop rsi
ret
xor edx, edx
jmp 0x1400950ed
int3
int3
int3
lea rcx, [0x140233710]
call fcn.1400bc540
jmp 0x140095056
int3
int3
Function at 0x140095b10
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x180
mov rsi, rcx
mov rax, qword [0x140231028]
xor rax, rsp
mov qword [rsp + 0x178], rax
xorps xmm0, xmm0
movups xmmword [rcx + 8], xmm0
lea rax, [0x1401ff8a8]
mov qword [rcx], rax
lea rax, [0x1401fe678]
mov qword [rcx + 0x18], rax
xor ecx, ecx
mov qword [rsi + 0x20], rcx
mov byte [rsi + 0x28], cl
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rcx
mov byte [rsi + 0x40], cl
xor ecx, ecx
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rdi, rax
mov rcx, qword [rsi + 0x20]
test rcx, rcx
setne al
cmp rcx, rdi
sete dl
and dl, al
cmp dl, 1
je 0x140095c59
test rcx, rcx
jne 0x140095c5e
mov qword [rsi + 0x20], rdi
cmp dword [0x140243868], 3
setl al
test rdi, rdi
sete cl
and cl, al
cmp cl, 1
je 0x140095c72
xor ecx, ecx
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rdi, rax
mov rcx, qword [rsi + 0x38]
test rcx, rcx
setne al
cmp rcx, rdi
sete dl
and dl, al
cmp dl, 1
je 0x140095c59
test rcx, rcx
jne 0x140095c68
mov qword [rsi + 0x38], rdi
cmp dword [0x140243868], 3
setl al
test rdi, rdi
sete cl
and cl, al
cmp cl, 1
je 0x140095cbf
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x140096d90]
xor ecx, ecx
xor edx, edx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsi + 8], rax
test rax, rax
je 0x140095d0c
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.14012c2d0
mov rax, rsi
add rsp, 0x180
pop rbx
pop rdi
pop rsi
ret
call fcn.1401434c0
call fcn.140096cb0
jmp 0x140095b99
call fcn.140096cb0
jmp 0x140095bea
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutilwin_session_end_watcher.cc
lea rdi, [rsp + 0x38]
mov rcx, rdi
mov r8d, 0x5b
mov r9d, 2
call fcn.140186d10
lea rcx, [rsp + 0x48]
lea rdx, str.CreateEvent
mov r8d, 0xb
call fcn.14010a450
mov rcx, rdi
call fcn.140186d80
jmp 0x140095bb8
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutilwin_session_end_watcher.cc
lea rdi, [rsp + 0x38]
mov rcx, rdi
mov r8d, 0x5e
mov r9d, 2
call fcn.140186d10
lea rcx, [rsp + 0x48]
lea rdx, str.CreateEvent
mov r8d, 0xb
call fcn.14010a450
mov rcx, rdi
call fcn.140186d80
jmp 0x140095c09
lea rdx, str.Start
lea r8, str....._third_partycrashpadcrashpadutil_thread_thread_win.cc
lea rdi, [rsp + 0x38]
mov rcx, rdi
mov r9d, 0x1b
call fcn.1400c8fe0
lea rbx, [rsp + 0x170]
mov rcx, rbx
mov rdx, rdi
call fcn.140188580
lea rdx, [0x14021ac68]
mov rcx, rbx
call fcn.1401a30a0
mov rcx, rbx
call fcn.140163640
jmp 0x140095c3b
Function at 0x1400ae1f0
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 0x1400ae2f3
cvtsi2sd xmm0, ecx
cvtsi2sd xmm1, edx
add rax, 0xfffffffffffffffd
movq xmm2, rax
punpckldq xmm2, xmmword [0x140204110]
subpd xmm2, xmmword [0x140204120]
haddpd xmm2, xmm2
mov ecx, 1
movq xmm3, qword [0x140204110]
movapd xmm4, xmmword [0x140204120]
movsd xmm5, qword [0x1401f2f80]
nop dword [rax + rax]
mov rdx, qword [r8]
mov r10, qword [r8 + 8]
sub r10, rdx
sar r10, 2
cmp r10, rcx
jbe 0x1400ae39b
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 0x1400ae270
mov r11, qword [r8]
mov r10, qword [r8 + 8]
cmp r10, r11
je 0x1400ae39b
mov dword [r10 - 4], 0x7fffffff
mov r9, qword [r8]
mov rax, qword [r8 + 8]
mov rcx, rax
sub rcx, r9
je 0x1400ae3ae
js 0x1400ae3b2
test cl, 1
jne 0x1400ae387
shr rcx, 2
mov rdx, r9
lea r10, [rax - 1]
cmp r10, r9
je 0x1400ae36e
lea r9, [0x140210390]
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 0x1400ae340
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, [0x140210390]
mov ecx, dword [rdx + rcx*4]
lea rdx, [r9 + 1]
jmp 0x1400ae329
lea rcx, [0x14020233c]
lea rdx, str....._third_partylibc_srcinclude_vector:1411:_assertion___n___size___failed:_vector___index_out_of_bounds_n
call fcn.140163630
xor ecx, ecx
jmp 0x1400ae36e
int3
Function at 0x1400b3410
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
cmp qword [rcx], rdx
je 0x1400b348d
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 0x1400b345c
lea rax, [rsi + 1]
cmp rax, 2
jb 0x1400b344a
mov qword [rdi], rsi
call fcn.1400b34e0
mov ecx, ebx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.1400b34e0
mov r14, qword [rdi]
cmp qword [0x140243968], 0
je 0x1400b3497
mov rcx, qword [0x140243968]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x140223bc8]
mov qword [rdi], 0
jmp 0x1400b3438
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14021595f]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400b34d8
lea rcx, [sym.browser.exe_GetHandleVerifier]
cmp rax, rcx
je 0x1400b34d2
call qword [0x140223bc8]
mov rcx, rax
xor edx, edx
call fcn.140047ac0
jmp 0x1400b346e
xor ecx, ecx
mov dl, 1
jmp 0x1400b34cb
xor ecx, ecx
jmp 0x1400b34c9
Function at 0x1400db340
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x140231028]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x140243700]
mov ecx, dword [0x1402403d0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400db3a4
mov rax, qword [0x1402436f8]
mov rsi, qword [rax + 0x58]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14012c2d0
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x140243700]
call fcn.1401299b4
cmp dword [0x140243700], 0xffffffff
jne 0x1400db37c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.14012e410
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.1401298a8
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x140243748]
mov ecx, dword [0x1402403d0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400db464
lea r8, [0x140243718]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.140031ae0
mov qword [0x1402436f8], rsi
lea rcx, [0x140243700]
call fcn.140129a1c
jmp 0x1400db37c
lea rcx, [0x140243748]
call fcn.1401299b4
cmp dword [0x140243748], 0xffffffff
jne 0x1400db435
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.140129a1c
jmp 0x1400db435
Function at 0x1400e0200
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 0x1400e0302
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400e0290
lea rax, [rdi + 1]
cmp rax, 2
jb 0x1400e0267
mov qword [rsi], rdi
call fcn.1400b34e0
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 0x1400e0306
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400b34e0
mov r14, qword [rsi]
cmp qword [0x140243968], 0
je 0x1400e02c1
mov rcx, qword [0x140243968]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x140223bc8]
mov qword [rsi], 0
jmp 0x1400e0255
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14021595f]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400e0309
lea rcx, [sym.browser.exe_GetHandleVerifier]
cmp rax, rcx
je 0x1400e02fc
call qword [0x140223bc8]
mov rcx, rax
xor edx, edx
call fcn.140047ac0
jmp 0x1400e02a2
xor ecx, ecx
mov dl, 1
jmp 0x1400e02f5
mov byte [rsi + 8], 0
int3
xor ecx, ecx
jmp 0x1400e02f3
Function at 0x1400e3b60
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 [0x140231028]
xor rax, rsp
mov qword [rsp + 0x28], rax
movsd xmm6, qword [0x140243998]
xorpd xmm0, xmm0
ucomisd xmm6, xmm0
jne 0x1400e3b95
jnp 0x1400e3bb9
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14012c2d0
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 [0x1402439a8]
mov ecx, dword [0x1402403d0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400e3cce
mov eax, dword [0x1402439b8]
mov ecx, dword [0x1402403d0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400e3d08
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 [0x1402439b0]
xorps xmm0, xmm0
cvtsi2sd xmm0, r12
cvtsi2sd xmm1, qword [rsi]
divsd xmm0, xmm1
xorpd xmm6, xmm6
movsd xmm1, qword [0x140204100]
ucomisd xmm1, xmm0
ja 0x1400e3b95
shl rbx, 0x20
or rdi, rbx
sub rdi, qword [0x1402439a0]
movq xmm6, rdi
punpckldq xmm6, xmmword [0x140204110]
subpd xmm6, xmmword [0x140204120]
haddpd xmm6, xmm6
divsd xmm6, xmm0
movsd qword [0x140243998], xmm6
jmp 0x1400e3b95
lea rcx, [0x1402439a8]
call fcn.1401299b4
cmp dword [0x1402439a8], 0xffffffff
jne 0x1400e3c02
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x1402439a0], rdx
lea rcx, [0x1402439a8]
call fcn.140129a1c
jmp 0x1400e3c02
lea rcx, [0x1402439b8]
call fcn.1401299b4
cmp dword [0x1402439b8], 0xffffffff
jne 0x1400e3c27
lea rdi, [rsp + 0x20]
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi]
mov qword [0x1402439b0], rax
lea rcx, [0x1402439b8]
call fcn.140129a1c
jmp 0x1400e3c27
Function at 0x1400f27d0
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 0x1400f27fc
call fcn.1400b34e0
mov qword [rsi], 0
test r15, r15
je 0x1400f2832
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400f2880
cmp r12, 2
jb 0x1400f282a
mov qword [rsi], r15
call fcn.1400b34e0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
cmp byte [rdi + 0x1f], 0
jns 0x1400f286c
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
call fcn.1400b8f80
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 0x1400f2849
call fcn.1400b34e0
mov r14, qword [rsi]
cmp qword [0x140243968], 0
je 0x1400f28b4
mov rcx, qword [0x140243968]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x140223bc8]
mov qword [rsi], 0
jmp 0x1400f281c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14021595f]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400f28f5
lea rcx, [sym.browser.exe_GetHandleVerifier]
cmp rax, rcx
je 0x1400f28ef
call qword [0x140223bc8]
mov rcx, rax
xor edx, edx
call fcn.140047ac0
jmp 0x1400f2892
xor ecx, ecx
mov dl, 1
jmp 0x1400f28e8
xor ecx, ecx
jmp 0x1400f28e6
Function at 0x1400f4bf0
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 [0x140231028]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [0x1401fd0c0]
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, 0x6d
call fcn.1400c8fe0
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1400f51e0
test esi, esi
js 0x1400f4cc6
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 0x1400f4cd2
mov esi, dword [rsp + 0x30]
test esi, esi
js 0x1400f4ccd
lea rcx, [rsp + 0x50]
call fcn.1400f4cf0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14012c2d0
mov eax, esi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov esi, 0xffffffff
jmp 0x1400f4c9b
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x26
setne sil
neg esi
jmp 0x1400f4c9b
Function at 0x140112cb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
test r8, r8
je 0x140112dca
mov rcx, qword [rcx + 8]
movsxd r9, dword [rcx + 0x3c]
cmp dword [rcx + r9 + 0x84], 0
je 0x140112dca
add r9, rcx
xor eax, eax
cmp word [r9 + 0x14], 0x78
jb 0x140112dc3
add r9, 0x88
je 0x140112dc3
mov eax, dword [r9]
test rax, rax
je 0x140112dca
add rax, rcx
je 0x140112dca
cmp rdx, 0xffff
jbe 0x140112dbd
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 0x140112d56
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 0x140112da2
cmp rsi, r10
je 0x140112dca
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 0x140112d36
mov r14, r11
cmp bpl, byte [rbx]
jne 0x140112d38
inc rbx
mov bpl, byte [r14]
inc r14
test bpl, bpl
jne 0x140112d8d
jmp 0x140112d36
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 0x140112dc3
Function at 0x1401136f0
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 0x14011386f
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm3
pmovzxdq xmm3, qword [0x140204d60]
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 0x1401137d2
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 0x1401137a8
pmovzxdq xmm1, qword [0x140204d60]
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 [0x140204d50], 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 [0x140204d40]
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 0x140113890
jmp 0x140113742
Function at 0x14011ed10
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 [0x140231028]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
movaps xmm0, xmmword [0x1401fd0c0]
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, [0x14020ee27]
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x290]
mov rcx, r14
mov r9d, 0x1de
call fcn.1400c8fe0
mov rcx, r15
xor edx, edx
xor r8d, r8d
call fcn.1400b4360
mov qword [rsp + 0x70], 0xb
mov al, byte [0x14024358b]
test al, al
jne 0x14011eee8
lea rcx, [rsp + 0x290]
mov r8d, 0x208
mov dl, 0xaa
call fcn.14012e410
cmp byte [rbx + 0x17], 0
mov rax, rbx
jns 0x14011edc2
mov rax, qword [rbx]
xor ecx, ecx
movzx edx, word [rax + rcx*2]
mov word [rsp + rcx*2 + 0x290], dx
test dx, dx
je 0x14011edeb
inc rcx
cmp rcx, 0x104
jne 0x14011edc4
mov word [rsp + 0x496], 0
lea rcx, [rsp + 0x290]
call fcn.1400c7300
lea rcx, [rsp + 0x80]
mov r8d, 0x208
mov dl, 0xaa
call fcn.14012e410
cmp byte [rdi + 0x17], 0
mov rax, rdi
jns 0x14011ee19
mov rax, qword [rdi]
xor ecx, ecx
movzx edx, word [rax + rcx*2]
mov word [rsp + rcx*2 + 0x80], dx
test dx, dx
je 0x14011ee42
inc rcx
cmp rcx, 0x104
jne 0x14011ee1b
mov word [rsp + 0x286], 0
lea rcx, [rsp + 0x80]
call fcn.1400c7300
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x14011ee5b
mov rdx, qword [rbx]
cmp byte [rdi + 0x17], 0
mov rcx, rdi
jns 0x14011ee67
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 0x14011eeb9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp byte [rdi + 0x17], 0
jns 0x14011ee93
mov rdi, qword [rdi]
cmp byte [rbx + 0x17], 0
jns 0x14011ee9c
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 0x14011eebc
test eax, eax
jne 0x14011eebc
jmp 0x14011ef14
mov dil, 1
lea rcx, [rsp + 0x30]
call fcn.1400f4cf0
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.14012c2d0
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.140183b80
jmp 0x14011eda1
mov ecx, ebp
call fcn.140018a20
cmp eax, 0xfffffffc
jne 0x14011ef25
call fcn.140183a20
mov dword [rsi], eax
xor edi, edi
jmp 0x14011eebc