joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140007900
Capabilities:
Enumerate process modules

Disassembly:
push r15
mov eax, 0x4048
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
call fcn.14000e610
sub rsp, rax
mov rbp, rcx
mov dword [rsp + 0x3c], 0
lea rbx, [rsp + 0x3c]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor r8d, r8d
xor edx, edx
mov r9, rbx
mov rcx, rax
mov rsi, rax
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x140007950
mov r12d, dword [rsp + 0x3c]
test r12d, r12d
jne 0x140007970
xor r14d, r14d
mov eax, r14d
add rsp, 0x4048
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, r12d
mov edx, 1
call sub.api_ms_win_crt_heap_l1_1_0.dll_calloc
mov rdi, rax
test rax, rax
je 0x140007950
mov r9, rbx
mov r8d, r12d
mov rdx, rax
mov rcx, rsi
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
jne 0x1400079b0
xor r14d, r14d
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x140007953
lea r14, [rsp + 0x2040]
lea rcx, [rbp + 0x2022]
mov r8d, 0x1000
mov rdx, r14
call fcn.140008810
test rax, rax
je 0x14000799a
mov rcx, r14
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x3c]
shr eax, 3
je 0x14000799a
mov rbx, rdi
mov r15, rdi
lea rbp, [rsp + 0x40]
xor r13d, r13d
lea r12d, [rax*8]
add r12, rdi
nop dword [rax]
mov rdx, qword [r15]
mov r9d, 0x1000
mov r8, rbp
mov rcx, rsi
call sub.KERNEL32.dll_K32GetModuleFileNameExW
test eax, eax
je 0x140007a43
mov r8, qword [rsp + 0x28]
mov rdx, rbp
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
test eax, eax
jne 0x140007a43
mov rdx, qword [r15]
movsxd rax, r13d
add r13d, 1
mov qword [rdi + rax*8], rdx
add r15, 8
cmp r15, r12
jne 0x140007a08
test r13d, r13d
jle 0x14000799a
movsxd r13, r13d
xor r14d, r14d
lea r15, [rdi + r13*8]
mov r13, qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x140007a7d
add rbx, 8
cmp rbx, r15
je 0x14000799d
mov rdx, qword [rbx]
mov r9d, 0x1000
mov r8, rbp
mov rcx, rsi
call sub.KERNEL32.dll_K32GetModuleFileNameExW
test eax, eax
je 0x140007a70
mov r12d, 0x20
jmp 0x140007aa6
sub r12d, 1
je 0x140007a70
mov rcx, qword [rbx]
call r13
test eax, eax
jne 0x140007aa0
add r14d, 1
jmp 0x140007a70

Function at 0x140007b40
Capabilities:
Query environment variable

Disassembly:
push rsi
mov eax, 0x4028
push rbx
call fcn.14000e610
sub rsp, rax
xor r8d, r8d
xor edx, edx
call fcn.140008810
lea rbx, [rsp + 0x20]
mov r8d, 0x1000
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
sub eax, 1
cmp eax, 0xffe
ja 0x140007bb8
lea rsi, [rsp + 0x2020]
mov r8d, 0x1000
mov rcx, rbx
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
sub eax, 1
cmp eax, 0xffe
ja 0x140007bb8
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call fcn.140008710
add rsp, 0x4028
pop rbx
pop rsi
ret
xor eax, eax
add rsp, 0x4028
pop rbx
pop rsi
ret
Function at 0x14000d2f0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.14000f1e0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x14000dfc2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x14001f468]
test eax, eax
je 0x14000e05a
lea rax, [0x14001f440]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x14001f470]
mov qword [rbp - 8], rax
jmp 0x14000e03e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x14000e032
cmp qword [rbp - 0x10], 0
je 0x14000e032
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x14000dff8
lea rax, [0x14001f440]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14000e05b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x14000e160
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x14000e188
mov eax, 0
jmp 0x14000e1d6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x14000e1b1
mov eax, 0
jmp 0x14000e1d6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x14000e1d1
mov eax, 0
jmp 0x14000e1d6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x14000e1dc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14000e25a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x14000e251
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x14000e251
mov rax, qword [rbp - 8]
jmp 0x14000e26f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x14000e224
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1400016f0
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
movaps xmmword [rsp + 0x30], xmm6
mov rax, qword [0x140163028]
xor rax, rsp
mov qword [rsp + 0x28], rax
movsd xmm6, qword [0x1401694b8]
xorpd xmm0, xmm0
ucomisd xmm6, xmm0
jne 0x140001724
jnp 0x140001747
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140107cc0
movapd xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rdi, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov ebp, eax
call rdi
mov rcx, rax
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x1401694c8]
mov ecx, dword [0x1401666f4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000187f
mov eax, dword [0x1401694d8]
mov ecx, dword [0x1401666f4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400018b9
rdtsc
mov r14, rax
mov r15, rdx
xor esi, esi
lea rdi, [rsp + 0x20]
mov qword [rdi], rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rbx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [rdi], rsi
lea rsi, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub rbx, qword [0x1401694d0]
movq xmm1, rbx
punpckldq xmm1, xmmword [0x1401494c0]
subpd xmm1, xmmword [0x1401494d0]
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addsd xmm0, xmm1
xorps xmm1, xmm1
cvtsi2sd xmm1, qword [rsi]
divsd xmm0, xmm1
xorpd xmm6, xmm6
movsd xmm1, qword [0x1401494e8]
ucomisd xmm1, xmm0
ja 0x140001724
shl r15, 0x20
or r14, r15
sub r14, qword [0x1401694c0]
movq xmm1, r14
punpckldq xmm1, xmmword [0x1401494c0]
subpd xmm1, xmmword [0x1401494d0]
movapd xmm6, xmm1
unpckhpd xmm6, xmm1
addsd xmm6, xmm1
divsd xmm6, xmm0
movsd qword [0x1401694b8], xmm6
jmp 0x140001724
lea rcx, [0x1401694c8]
call fcn.1401050e8
cmp dword [0x1401694c8], 0xffffffff
jne 0x140001790
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x1401694c0], rdx
lea rcx, [0x1401694c8]
call fcn.1401052d4
jmp 0x140001790
lea rcx, [0x1401694d8]
call fcn.1401050e8
cmp dword [0x1401694d8], 0xffffffff
jne 0x1400017b5
lea rdi, [rsp + 0x20]
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi]
mov qword [0x1401694d0], rax
lea rcx, [0x1401694d8]
call fcn.1401052d4
jmp 0x1400017b5
Function at 0x140001910
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov eax, dword [0x14016c110]
mov ecx, dword [0x1401666f4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400019e5
mov ecx, dword [0x140166310]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140001976
movsxd rcx, dword [0x14016c108]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x14016c10c]
jne 0x140001976
test rsi, rsi
je 0x140001976
cmp qword [rax + rcx], 0
jne 0x140001a6b
mov eax, dword [0x14016c110]
mov ecx, dword [0x1401666f4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140001a28
mov ecx, dword [0x140166310]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400019d9
movsxd rcx, dword [0x14016c108]
shl rcx, 4
mov qword [rax + rcx], rsi
mov ecx, dword [0x14016c10c]
movsxd rdx, dword [0x14016c108]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov al, 1
add rsp, 0x20
pop rsi
ret
test rsi, rsi
je 0x1400019d1
call fcn.140021dc0
jmp 0x1400019ad
lea rcx, [0x14016c110]
call fcn.1401050e8
cmp dword [0x14016c110], 0xffffffff
jne 0x14000193d
mov qword [0x14016c108], 0
lea rcx, [0x14016c108]
xor edx, edx
call fcn.14002ec30
lea rcx, [0x14016c110]
call fcn.1401052d4
jmp 0x14000193d
lea rcx, [0x14016c110]
call fcn.1401050e8
cmp dword [0x14016c110], 0xffffffff
jne 0x14000199b
mov qword [0x14016c108], 0
lea rcx, [0x14016c108]
xor edx, edx
call fcn.14002ec30
lea rcx, [0x14016c110]
call fcn.1401052d4
jmp 0x14000199b
xor eax, eax
jmp 0x1400019d3
Function at 0x140003780
Capabilities:
Get thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rsi, rcx
mov rax, qword [0x140163028]
xor rax, rsp
mov qword [rsp + 0x30], rax
cmp byte [rcx + 0x18], 0
je 0x140003841
mov eax, dword [0x14016c110]
mov ecx, dword [0x1401666f4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400038d5
mov ecx, dword [0x140166310]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [0x14016c110]
mov ecx, dword [0x1401666f4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140003918
mov ecx, dword [0x140166310]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140003835
movsxd rcx, dword [0x14016c108]
shl rcx, 4
mov qword [rax + rcx], 0
mov ecx, dword [0x14016c10c]
movsxd rdx, dword [0x14016c108]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov rbx, qword [rsi]
mov rdi, qword [rsi + 8]
cmp rbx, rdi
jne 0x14000385f
cmp qword [rsi], 0
jne 0x1400038c0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140107cc0
nop
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
mov r9, qword [rbx + 0x30]
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x28]
lea r8, [rsp + 0x28]
mov qword [r8], rax
mov qword [rbx + 0x28], 0
lea rdx, [rbx + 8]
mov rax, qword [rcx]
call qword [rax]
add rbx, 0x38
cmp rbx, rdi
je 0x140003841
lea r14, [rsp + 0x28]
mov r9, qword [rbx + 0x30]
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x28]
mov qword [rsp + 0x28], rax
mov qword [rbx + 0x28], 0
mov rax, qword [rcx]
lea rdx, [rbx + 8]
mov r8, r14
call qword [rax]
add rbx, 0x38
cmp rbx, rdi
je 0x140003841
jmp 0x140003891
mov rcx, rsi
call fcn.1400040f0
mov rcx, qword [rsi]
call fcn.140105028
jmp 0x140003847
lea rcx, [0x14016c110]
call fcn.1401050e8
cmp dword [0x14016c110], 0xffffffff
jne 0x1400037ca
mov qword [0x14016c108], 0
lea rcx, [0x14016c108]
xor edx, edx
call fcn.14002ec30
lea rcx, [0x14016c110]
call fcn.1401052d4
jmp 0x1400037ca
lea rcx, [0x14016c110]
call fcn.1401050e8
cmp dword [0x14016c110], 0xffffffff
jne 0x1400037fb
mov qword [0x14016c108], 0
lea rcx, [0x14016c108]
xor edx, edx
call fcn.14002ec30
lea rcx, [0x14016c110]
call fcn.1401052d4
jmp 0x1400037fb
Function at 0x140007700
Capabilities:
Create thread

Disassembly:
jmp 0x140007700
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov edi, r9d
mov rbp, r8
mov rsi, rdx
mov r15, rcx
xor ebx, ebx
test rcx, rcx
setne bl
mov rax, qword [0x140163028]
xor rax, rsp
mov qword [rsp + 0x60], rax
shl ebx, 0x10
mov ecx, 0x10
call fcn.140105030
mov r14, rax
mov qword [rax], rsi
test rbp, rbp
setne byte [rax + 8]
mov dword [rax + 0xc], edi
mov dword [rsp + 0x20], ebx
mov qword [rsp + 0x28], 0
lea r8, [0x14000ee40]
xor ecx, ecx
mov rdx, r15
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x1400077a1
test rbp, rbp
je 0x1400077cc
mov qword [rbp], rdi
test rdi, rdi
setne bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140107cc0
mov eax, ebx
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
je 0x1400077ba
mov ebp, eax
cmp eax, 0x5af
je 0x1400077ba
cmp ebp, 0xe
jne 0x1400077d7
mov rcx, r15
call fcn.14009e820
mov rcx, r14
call fcn.140105028
jmp 0x14000777f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000777f
mov eax, dword [0x140169498]
mov ecx, dword [0x1401666f4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140007846
lea rsi, [rsp + 0x38]
mov rcx, rsi
mov edx, ebp
call fcn.1400a3b90
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
cmovs rax, qword [rsi + 8]
lea rdx, [rsp + 0x50]
mov qword [rdx], rcx
mov qword [rdx + 8], rax
mov rcx, qword [0x140169490]
call fcn.14000ab20
cmp byte [rsi + 0x17], 0
jns 0x1400077c2
mov rcx, qword [rsp + 0x38]
call fcn.140105028
jmp 0x1400077c2
lea rcx, [0x140169498]
call fcn.1401050e8
cmp dword [0x140169498], 0xffffffff
jne 0x1400077f8
lea rcx, str.create_thread_last_error
mov edx, 0x20
call fcn.1400224f0
mov qword [0x140169490], rax
lea rcx, [0x140169498]
call fcn.1401052d4
jmp 0x1400077f8
Function at 0x14000a8e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
movdqa xmmword [rsp + 0x50], xmm8
movapd xmmword [rsp + 0x40], xmm7
movapd xmmword [rsp + 0x30], xmm6
mov rbx, rcx
mov rax, qword [0x140163028]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov ecx, 0x20
call fcn.140105030
mov r14, rax
mov ebp, dword [rbx + 0x1c]
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
inc ebp
je 0x14000ab11
lea rsi, [rbp*4]
mov rcx, rsi
call fcn.140105030
mov rdi, rax
mov qword [r14], rax
lea r15, [rax + rbp*4]
mov qword [r14 + 0x10], r15
test rsi, rsi
je 0x14000ab09
mov rcx, rdi
xor edx, edx
mov r8, rsi
call fcn.14010a410
mov qword [r14 + 8], r15
mov qword [r14 + 0x18], 0
mov esi, dword [rbx + 0x14]
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rbx + 0x18]
call fcn.14011ccc0
mov dword [rdi + 4], esi
mov r12, r15
sub r12, rdi
sar r12, 2
lea rbx, [r12 - 1]
cmp rbx, 3
jb 0x14000aa48
movapd xmm6, xmm0
add rbx, 0xfffffffffffffffe
lea rbp, [rdi + 8]
lea r13, [rsp + 0x20]
movdqa xmm8, xmmword [0x1401494c0]
movapd xmm7, xmmword [0x1401494d0]
nop dword [rax]
mov qword [rsp + 0x20], 0xffffffffffffffff
xorps xmm0, xmm0
cvtsi2sd xmm0, esi
call fcn.14011ccc0
movsd qword [rsp + 0x20], xmm0
mov rcx, r13
call fcn.14000ab20
movsd xmm1, qword [rsp + 0x20]
movapd xmm0, xmm6
subsd xmm0, xmm1
movq xmm2, rbx
punpckldq xmm2, xmm8
subpd xmm2, xmm7
movapd xmm3, xmm2
unpckhpd xmm3, xmm2
addsd xmm3, xmm2
divsd xmm0, xmm3
addsd xmm0, xmm1
call fcn.14011beb0
call fcn.1401308d8
cvttsd2si eax, xmm0
cmp esi, eax
lea ecx, [rsi + 1]
cmovl ecx, eax
mov dword [rbp], ecx
add rbp, 4
mov esi, ecx
add rbx, 0xffffffffffffffff
jne 0x14000a9d0
mov dword [rdi + r12*4 - 4], 0x7fffffff
mov r8, r15
sub r8, rdi
je 0x14000ab1b
mov rax, r8
shr rax, 2
mov rcx, rdi
not rcx
add rcx, r15
jne 0x14000aa73
xor edx, edx
jmp 0x14000aab8
mov rcx, r8
and rcx, 0xfffffffffffffffe
xor edx, edx
lea rbx, [0x1401551e0]
nop word cs:[rax + rax]
nop dword [rax]
movzx esi, al
movzx ebp, byte [rdi + rdx]
xor ebp, esi
shr eax, 8
xor eax, dword [rbx + rbp*4]
movzx ebp, al
movzx esi, byte [rdi + rdx + 1]
xor esi, ebp
shr eax, 8
xor eax, dword [rbx + rsi*4]
add rdx, 2
cmp rcx, rdx
jne 0x14000aa90
test r8b, 1
je 0x14000aad4
movzx ecx, al
movzx edx, byte [rdi + rdx]
xor edx, ecx
lea rcx, [0x1401551e0]
shr eax, 8
xor eax, dword [rcx + rdx*4]
mov dword [r14 + 0x18], eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140107cc0
mov rax, r14
movaps xmm6, xmmword [rsp + 0x30]
movaps xmm7, xmmword [rsp + 0x40]
movaps xmm8, xmmword [rsp + 0x50]
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r15, rdi
jmp 0x14000a96f
xor r15d, r15d
xor edi, edi
jmp 0x14000a973
xor eax, eax
jmp 0x14000aad4
Function at 0x14000ca40
Capabilities:
Hash data with crc32

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov ecx, 0x20
call fcn.140105030
mov r14, rax
mov ecx, 0x10
call fcn.140105030
mov qword [r14], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movabs rcx, 0x200000001
mov qword [rax + 4], rcx
mov dword [rax + 0xc], 0x7fffffff
movzx edx, byte [rax]
xor rdx, 4
lea rcx, [0x1401551e0]
mov edx, dword [rcx + rdx*4]
mov esi, 0xff
mov edi, edx
and edi, esi
movzx ebx, byte [rax + 1]
xor ebx, edi
shr edx, 8
xor edx, dword [rcx + rbx*4]
mov ebx, edx
and ebx, esi
movzx edi, byte [rax + 2]
xor edi, ebx
shr edx, 8
xor edx, dword [rcx + rdi*4]
mov ebx, edx
and ebx, esi
movzx edi, byte [rax + 3]
xor edi, ebx
shr edx, 8
xor edx, dword [rcx + rdi*4]
mov ebx, edx
and ebx, esi
movzx edi, byte [rax + 4]
xor edi, ebx
shr edx, 8
xor edx, dword [rcx + rdi*4]
mov ebx, edx
and ebx, esi
movzx edi, byte [rax + 5]
xor edi, ebx
shr edx, 8
xor edx, dword [rcx + rdi*4]
mov ebx, edx
and ebx, esi
movzx edi, byte [rax + 6]
xor edi, ebx
shr edx, 8
xor edx, dword [rcx + rdi*4]
mov ebx, edx
and ebx, esi
movzx edi, byte [rax + 7]
xor edi, ebx
shr edx, 8
xor edx, dword [rcx + rdi*4]
mov ebx, edx
and ebx, esi
movzx edi, byte [rax + 8]
xor edi, ebx
shr edx, 8
xor edx, dword [rcx + rdi*4]
mov ebx, edx
and ebx, esi
movzx edi, byte [rax + 9]
xor edi, ebx
shr edx, 8
xor edx, dword [rcx + rdi*4]
mov ebx, edx
and ebx, esi
movzx edi, byte [rax + 0xa]
xor edi, ebx
lea rbx, [rax + 0x10]
mov qword [r14 + 0x10], rbx
shr edx, 8
xor edx, dword [rcx + rdi*4]
mov qword [r14 + 8], rbx
mov ebx, edx
and ebx, esi
movzx edi, byte [rax + 0xb]
xor edi, ebx
shr edx, 8
xor edx, dword [rcx + rdi*4]
mov ebx, edx
not ebx
and ebx, esi
shr edx, 8
xor edx, dword [rcx + rbx*4]
mov ebx, edx
and ebx, esi
movzx edi, byte [rax + 0xd]
xor edi, ebx
shr edx, 8
xor edx, dword [rcx + rdi*4]
mov ebx, edx
and ebx, esi
movzx edi, byte [rax + 0xe]
xor edi, ebx
shr edx, 8
xor edx, dword [rcx + rdi*4]
mov qword [r14 + 0x18], 0
and esi, edx
movzx eax, byte [rax + 0xf]
xor eax, esi
shr edx, 8
xor edx, dword [rcx + rax*4]
mov dword [r14 + 0x18], edx
mov rax, r14
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140012b60
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x140166310]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140012b9e
movsxd rcx, dword [rsi + 0x300]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 0x304]
jne 0x140012b9e
cmp qword [rax + rcx], 0
jne 0x140012ca7
mov eax, dword [0x14016c040]
mov ecx, dword [0x1401666f4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140012caf
mov ecx, dword [0x140166310]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140012ca7
movsxd rcx, dword [0x14016c038]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x14016c03c]
jne 0x140012ca7
cmp qword [rax + rcx], 0
je 0x140012ca7
mov rdi, qword [0x14016bb38]
cmp rdi, 1
jbe 0x140012cf2
mov ecx, dword [0x140166310]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140012ca7
movsxd rcx, dword [rdi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rdi + 4]
jne 0x140012ca7
cmp qword [rax + rcx], 0
je 0x140012ca7
mov eax, dword [0x14016bba8]
test eax, eax
jne 0x140012da9
mov ecx, dword [0x140166310]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140012d4f
movsxd rcx, dword [rsi + 0x2f8]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 0x2fc]
jne 0x140012d4f
mov rdi, qword [rax + rcx]
test rdi, rdi
je 0x140012d4f
mov rax, qword [rsi + 0x368]
cmp dword [rdi + 0x28], eax
jne 0x140012d3f
mov eax, dword [0x14016bba8]
test eax, eax
jne 0x140012dc4
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x14016c040]
call fcn.1401050e8
cmp dword [0x14016c040], 0xffffffff
jne 0x140012bc3
mov qword [0x14016c038], 0
lea rcx, [0x14016c038]
xor edx, edx
call fcn.14002ec30
lea rcx, [0x14016c040]
call fcn.1401052d4
jmp 0x140012bc3
lea rcx, [0x14016bb38]
call fcn.14000c730
test al, al
je 0x140012dec
mov qword [0x14016bb40], 0
lea rbx, [0x14016bb38]
lea rdi, [0x14016bb40]
mov rcx, rdi
xor edx, edx
call fcn.14002ec30
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9, rbx
call fcn.14000a660
jmp 0x140012c10
mov rcx, rdi
call fcn.14005f080
mov rcx, rdi
call fcn.140105028
mov ecx, 0x30
call fcn.140105030
mov rdi, rax
mov rcx, rax
mov rdx, rsi
call fcn.1400164e0
mov ecx, dword [0x140166310]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140012da2
movsxd rcx, dword [rsi + 0x2f8]
shl rcx, 4
mov qword [rax + rcx], rdi
mov ecx, dword [rsi + 0x2fc]
movsxd rdx, dword [rsi + 0x2f8]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
jmp 0x140012c99
call fcn.140021dc0
jmp 0x140012d79
mov eax, dword [0x14016bba8]
test eax, eax
je 0x140012c4b
call fcn.1400a67c0
inc dword [rax + 0x38]
jmp 0x140012c4b
mov eax, dword [0x14016bba8]
test eax, eax
je 0x140012ca7
call fcn.1400a67c0
mov ecx, dword [rax + 0x38]
test ecx, ecx
je 0x140012ca7
dec ecx
mov dword [rax + 0x38], ecx
jmp 0x140012ca7
mov rdi, qword [0x14016bb38]
jmp 0x140012c10
Function at 0x140018c00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rdi, rcx
mov rax, qword [0x140163028]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [0x140141df0]
lea rsi, [rsp + 0x40]
movaps xmmword [rsi + 0x40], xmm0
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, str.PathExists
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x1fa
call fcn.140006710
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140019a90
cmp byte [rdi + 0x17], 0
jns 0x140018c76
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rsi
call fcn.140018cb0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140107cc0
mov eax, ebx
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret