joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006b840
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x78
mov rsi, rdx
mov r14, rcx
mov rax, qword [0x14033f038]
xor rax, rsp
mov qword [rsp + 0x70], rax
movups xmm0, xmmword [rcx]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x58]
mov rcx, rdi
call fcn.140071320
cmp byte [rdi + 0x17], 0
jns 0x14006b881
mov rdi, qword [rsp + 0x58]
mov rcx, rdi
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
cmp byte [rsp + 0x6f], 0
jns 0x14006b8a2
mov rcx, qword [rsp + 0x58]
call fcn.14016eccc
test rsi, rsi
je 0x14006b94e
test edi, edi
je 0x14006b94e
mov ecx, edi
add rcx, rcx
call fcn.14016f248
mov rbx, rax
movups xmm0, xmmword [r14]
lea rdx, [rsp + 0x30]
movaps xmmword [rdx], xmm0
lea r14, [rsp + 0x58]
mov rcx, r14
call fcn.140071320
cmp byte [r14 + 0x17], 0
jns 0x14006b8e5
mov r14, qword [rsp + 0x58]
mov rcx, r14
mov rdx, rbx
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [rsp + 0x6f], 0
jns 0x14006b905
mov rcx, qword [rsp + 0x58]
call fcn.14016eccc
mov qword [rsp + 0x20], rbx
test rbx, rbx
je 0x14006b96c
mov rcx, rbx
call fcn.14016f5e8
lea rdx, [rsp + 0x20]
mov qword [rdx + 8], rax
lea rcx, [rsp + 0x58]
call fcn.1400673e0
cmp byte [rsi + 0x17], 0
js 0x14006b970
mov rax, qword [rsp + 0x68]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rsi], xmm0
test rbx, rbx
je 0x14006b94e
mov rcx, rbx
call fcn.14016efec
test edi, edi
setne bl
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140171860
mov eax, ebx
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r14
ret
xor eax, eax
jmp 0x14006b917
mov rcx, qword [rsi]
call fcn.14016eccc
jmp 0x14006b930
Function at 0x14006df58
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov eax, dword [rdx]
mov dword [rcx], eax
mov dword [rdx], 0
mov r14, qword [rdx + 8]
mov qword [rdx + 8], 0
lea r15, [r14 + 1]
cmp r15, 2
jb 0x14006df8b
call fcn.1400412c0
cmp qword [rsi + 8], r14
je 0x14006dfbd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x14006dfcc
cmp r15, 2
jb 0x14006dfb5
mov qword [rsi + 8], r14
call fcn.1400412c0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400412c0
mov rbx, qword [rsi + 8]
mov rcx, qword [0x14035abe0]
test rcx, rcx
je 0x14006dffa
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rbx
call qword [case.0x140211850.0]
mov qword [rsi + 8], 0
jmp 0x14006dfa6
call fcn.1400bf420
mov rcx, qword [0x14035abe0]
jmp 0x14006dfe1

Function at 0x140071a20
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov r14, qword [rdx]
mov qword [rdx], 0
lea r15, [r14 + 1]
cmp r15, 2
jb 0x140071a4a
call fcn.1400412c0
cmp qword [rsi], r14
je 0x140071a8d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jb 0x140071a77
call fcn.1400412c0
mov rcx, qword [rsi]
call fcn.140071ab0
mov qword [rsi], 0
cmp r15, 2
jb 0x140071a85
mov qword [rsi], r14
call fcn.1400412c0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
movups xmm0, xmmword [rdi + 8]
movups xmm1, xmmword [rdi + 0x18]
movups xmmword [rsi + 0x18], xmm1
movups xmmword [rsi + 8], xmm0
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140073380
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov rsi, rcx
mov rax, qword [0x14033f038]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp byte [rcx], 0
jne 0x14007348f
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x1400733ad
mov byte [rax], 1
test byte [0x140341290], 0x19
jne 0x1400733ee
mov rcx, qword [rsi + 0x10]
mov rax, qword [0x1403428e0]
and rax, rcx
cmp rax, qword [0x1403428c8]
je 0x14007354f
mov qword [rsi + 0x10], 0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140171860
nop
add rsp, 0x68
pop rdi
pop rsi
ret
mov rax, qword [0x1403411f8]
lea rcx, [0x14003b7a0]
cmp rax, rcx
jne 0x140073559
lea rdi, [rsp + 0x58]
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 0x140073569
imul rax, rax, 0xf4240
cqo
idiv qword [0x140354790]
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
lea rdx, [0x140341290]
lea r8, str.ScopedMayLoadLibraryAtBackgroundPriority
mov cl, 0x45
xor r9d, r9d
call fcn.1401b9550
jmp 0x1400733b6
test byte [0x140341290], 0x19
jne 0x1400734a5
mov ecx, dword [rsi + 4]
call fcn.1400735d0
jmp 0x1400733a1
mov rax, qword [0x1403411f8]
lea rcx, [0x14003b7a0]
cmp rax, rcx
jne 0x140073590
lea rdi, [rsp + 0x58]
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 0x1400735a0
imul rax, rax, 0xf4240
cqo
idiv qword [0x140354790]
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
lea rdx, [0x140341290]
lea r8, str.ScopedMayLoadLibraryAtBackgroundPriority_:_Priority_Increased
mov cl, 0x45
xor r9d, r9d
call fcn.1401b9550
cmp byte [rsi], 0
jne 0x140073498
call fcn.1401ca202
call fcn.1401571d0
jmp 0x1400733d1
lea rcx, [rsp + 0x58]
call qword [case.0x140211850.0]
jmp 0x140073445
mov rcx, qword [0x140354790]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x140073440
lea rcx, [rsp + 0x58]
call qword [case.0x140211850.0]
jmp 0x1400734fc
mov rcx, qword [0x140354790]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x1400734f7
Function at 0x1400735d0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov esi, ecx
call fcn.1400736b0
test al, al
jne 0x140073627
call fcn.140073760
movzx edx, al
mov ecx, esi
call fcn.140135190
mov eax, dword [0x14035aad8]
mov ecx, dword [0x14034fed0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14007362e
movsxd rdx, esi
inc rdx
lea rcx, [0x14035aac8]
add rsp, 0x20
pop rsi
jmp fcn.140073660
mov edx, 3
jmp 0x1400735e8
lea rcx, [0x14035aad8]
call fcn.14016f8b4
cmp dword [0x14035aad8], 0xffffffff
jne 0x140073610
lea rcx, [0x14035aac8]
xor edx, edx
call fcn.140041af0
lea rcx, [0x14035aad8]
call fcn.14016ef8c
jmp 0x140073610

Function at 0x140073660
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x1403411e0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14007369e
mov rcx, qword [rsi]
shl rcx, 4
mov qword [rax + rcx], rdi
mov ecx, dword [rsi + 8]
mov rdx, qword [rsi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x28
pop rdi
pop rsi
ret
test rdi, rdi
je 0x140073697
call fcn.140001120
jmp 0x14007367e

Function at 0x1400736b0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x14035aa80]
mov ecx, dword [0x14034fed0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14007370e
mov ecx, dword [0x1403411e0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140073707
mov rcx, qword [0x14035aa70]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x14035aa78]
jne 0x140073707
mov rax, qword [rax + rcx]
test rax, rax
jne 0x140073749
xor eax, eax
add rsp, 0x28
ret
lea rcx, [0x14035aa80]
call fcn.14016f8b4
cmp dword [0x14035aa80], 0xffffffff
jne 0x1400736d5
xorps xmm0, xmm0
movups xmmword [0x14035aa70], xmm0
lea rcx, [0x14035aa70]
xor edx, edx
call fcn.140041af0
lea rcx, [0x14035aa80]
call fcn.14016ef8c
jmp 0x1400736d5
cmp dword [rax + 0x38], 3
sete al
jmp 0x140073709

Function at 0x140073760
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x14035aa80]
mov ecx, dword [0x14034fed0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400737c7
mov ecx, dword [0x1403411e0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400737b7
mov rcx, qword [0x14035aa70]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x14035aa78]
jne 0x1400737b7
mov rax, qword [rax + rcx]
test rax, rax
jne 0x1400737be
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x38], 1
sete al
jmp 0x1400737b9
lea rcx, [0x14035aa80]
call fcn.14016f8b4
cmp dword [0x14035aa80], 0xffffffff
jne 0x140073785
xorps xmm0, xmm0
movups xmmword [0x14035aa70], xmm0
lea rcx, [0x14035aa70]
xor edx, edx
call fcn.140041af0
lea rcx, [0x14035aa80]
call fcn.14016ef8c
jmp 0x140073785
Function at 0x1400752cc
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
xor eax, eax
mov dword [rcx], eax
mov qword [rcx + 8], rax
mov ecx, dword [rdx]
mov dword [rsi], ecx
mov dword [rdx], eax
mov r14, qword [rdx + 8]
mov qword [rdx + 8], rax
lea r15, [r14 + 1]
cmp r15, 2
jb 0x1400752ff
call fcn.1400412c0
cmp qword [rsi + 8], r14
je 0x140075331
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x140075340
cmp r15, 2
jb 0x140075329
mov qword [rsi + 8], r14
call fcn.1400412c0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400412c0
mov rbx, qword [rsi + 8]
mov rcx, qword [0x14035abe0]
test rcx, rcx
je 0x14007536e
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rbx
call qword [case.0x140211850.0]
mov qword [rsi + 8], 0
jmp 0x14007531a
call fcn.1400bf420
mov rcx, qword [0x14035abe0]
jmp 0x140075355

Function at 0x140075430
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov qword [rcx], 0
mov r14, qword [rdx]
mov qword [rdx], 0
lea r15, [r14 + 1]
cmp r15, 2
jb 0x140075461
call fcn.1400412c0
cmp qword [rsi], r14
je 0x140075490
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400754af
cmp r15, 2
jb 0x140075488
mov qword [rsi], r14
call fcn.1400412c0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
movups xmm0, xmmword [rdi + 8]
movups xmm1, xmmword [rdi + 0x18]
movups xmmword [rsi + 0x18], xmm1
movups xmmword [rsi + 8], xmm0
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400412c0
mov rcx, qword [rsi]
call fcn.140071ab0
mov qword [rsi], 0
jmp 0x14007547a
Function at 0x140075870
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rbx, r9
mov ebp, r8d
mov rdi, rdx
mov rsi, rcx
mov qword [rcx], 0
mov r13, qword [rdx]
mov qword [rdx], 0
lea r15, [r13 + 1]
cmp r15, 2
jb 0x1400758ac
call fcn.1400412c0
mov r12, qword [rsp + 0x90]
cmp qword [rsi], r13
je 0x1400758e5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140075915
cmp r15, 2
jb 0x1400758dc
mov qword [rsi], r13
call fcn.1400412c0
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [rsi + 8], ebp
mov qword [rsi + 0x10], rbx
movups xmm0, xmmword [r12]
movups xmmword [rsi + 0x18], xmm0
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x140075948
mov rax, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1400412c0
mov rax, qword [rsi]
mov qword [rsp + 0x20], rax
mov rcx, qword [0x14035abe0]
test rcx, rcx
je 0x140075974
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, qword [rsp + 0x20]
call qword [case.0x140211850.0]
mov qword [rsi], 0
jmp 0x1400758ce
call fcn.1400412c0
mov rbx, qword [rdi]
mov rcx, qword [0x14035abe0]
test rcx, rcx
je 0x140075982
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rbx
call qword [case.0x140211850.0]
mov qword [rdi], 0
jmp 0x140075901
call fcn.1400bf420
mov rcx, qword [0x14035abe0]
jmp 0x14007592e
call fcn.1400bf420
mov rcx, qword [0x14035abe0]
jmp 0x14007595c
Function at 0x14007b2b0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov r14, qword [rdx]
mov qword [rdx], 0
lea r15, [r14 + 1]
cmp r15, 2
jae 0x14007b325
cmp qword [rsi], r14
jne 0x14007b2f9
movups xmm0, xmmword [rdi + 8]
movups xmm1, xmmword [rdi + 0x18]
movups xmmword [rsi + 0x18], xmm1
movups xmmword [rsi + 8], xmm0
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14007b32c
cmp r15, 2
jb 0x14007b31b
mov qword [rsi], r14
call fcn.1400412c0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14007b2da
call fcn.1400412c0
jmp 0x14007b2d5
call fcn.1400412c0
mov rcx, qword [rsi]
call fcn.140071ab0
mov qword [rsi], 0
jmp 0x14007b30d
Function at 0x14007d8c0
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x50
movapd xmmword [rsp + 0x40], xmm6
mov rsi, rcx
mov rax, qword [0x14033f038]
xor rax, rsp
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea rdx, [rsp + 0x28]
mov qword [rdx], 0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_QueryThreadCycleTime]
movsd xmm0, qword [0x140354740]
xorpd xmm6, xmm6
ucomisd xmm0, xmm6
jne 0x14007d916
jnp 0x14007d97c
ucomisd xmm0, xmm6
jne 0x14007d922
jnp 0x14007da99
movsd xmm1, qword [rsp + 0x28]
unpcklps xmm1, xmmword [0x140309940]
subpd xmm1, xmmword [0x140309950]
movapd xmm2, xmm1
unpckhpd xmm2, xmm1
addsd xmm2, xmm1
divsd xmm2, xmm0
mulsd xmm2, qword [0x140308b20]
cvttsd2si rax, xmm2
mov qword [rsi], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140171860
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rbx, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov edi, eax
call rbx
mov rcx, rax
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x140354750]
mov ecx, dword [0x14034fed0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14007daa0
mov eax, dword [0x140354760]
mov ecx, dword [0x14034fed0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14007dada
rdtsc
mov rbx, rax
mov r14, rdx
xor r12d, r12d
lea r15, [rsp + 0x30]
mov qword [r15], r12
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r13, qword [r15]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, edi
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [r15], r12
lea rdi, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub r13, qword [0x140354758]
cvtsi2sd xmm1, r13
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rdi]
divsd xmm1, xmm0
xorpd xmm0, xmm0
movsd xmm2, qword [0x14030a288]
ucomisd xmm2, xmm1
ja 0x14007d916
shl r14, 0x20
or rbx, r14
sub rbx, qword [0x140354748]
movq xmm2, rbx
punpckldq xmm2, xmmword [0x140309940]
subpd xmm2, xmmword [0x140309950]
movapd xmm0, xmm2
unpckhpd xmm0, xmm2
addsd xmm0, xmm2
divsd xmm0, xmm1
movsd qword [0x140354740], xmm0
jmp 0x14007d916
xor eax, eax
jmp 0x14007d954
lea rcx, [0x140354750]
call fcn.14016f8b4
cmp dword [0x140354750], 0xffffffff
jne 0x14007d9c5
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x140354748], rdx
lea rcx, [0x140354750]
call fcn.14016ef8c
jmp 0x14007d9c5
lea rcx, [0x140354760]
call fcn.14016f8b4
cmp dword [0x140354760], 0xffffffff
jne 0x14007d9ea
lea rbx, [rsp + 0x30]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
mov qword [0x140354758], rax
lea rcx, [0x140354760]
call fcn.14016ef8c
jmp 0x14007d9ea
Function at 0x14007db40
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xc0
movaps xmmword [rsp + 0xb0], xmm6
mov rsi, rcx
mov rax, qword [0x14033f038]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x50]
mov qword [rdi + 0x50], rax
movaps xmm6, xmmword [0x140301d60]
movaps xmmword [rdi + 0x40], xmm6
movaps xmmword [rdi + 0x30], xmm6
movaps xmmword [rdi + 0x20], xmm6
movaps xmmword [rdi + 0x10], xmm6
movaps xmmword [rdi], xmm6
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x26a
call fcn.14004f270
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.1400cd290
call fcn.14007dc50
test al, al
jne 0x14007dc13
cmp byte [rsi + 0x17], 0
jns 0x14007dbd5
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
lea rcx, [rsp + 0x50]
call fcn.1400cd300
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140171860
mov eax, ebx
movaps xmm6, xmmword [rsp + 0xb0]
add rsp, 0xc0
pop rbx
pop rdi
pop rsi
ret
movaps xmmword [rsp + 0x30], xmm6
movaps xmmword [rsp + 0x20], xmm6
mov dword [rsp + 0x40], 0xaaaaaaaa
cmp byte [rsi + 0x17], 0
jns 0x14007dc2e
mov rsi, qword [rsi]
lea r8, [rsp + 0x20]
mov rcx, rsi
xor edx, edx
call fcn.140226120
test eax, eax
jmp 0x14007dbe1
Function at 0x140081cc0
Capabilities:
Encode data using base64

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rax, qword [rcx]
mov rbx, qword [rcx + 8]
sub rbx, rax
sar rbx, 3
lea rcx, [rbx + 1]
mov rdx, rcx
shr rdx, 0x3d
jne 0x140081e0e
mov rdx, qword [rsi + 0x10]
sub rdx, rax
mov r14, rdx
sar r14, 2
cmp r14, rcx
cmovbe r14, rcx
movabs rax, 0x1fffffffffffffff
movabs rcx, 0x7ffffffffffffff8
cmp rdx, rcx
jae 0x140081e13
test r14, r14
je 0x140081e1b
cmp r14, rax
ja 0x140081e22
lea rcx, [r14*8]
call fcn.14016ecd4
shl rbx, 3
add rbx, rax
je 0x140081e27
lea rax, [rax + r14*8]
mov rcx, qword [rdi]
mov qword [rbx], rcx
mov qword [rdi], 0
lea rcx, [rbx + 8]
mov rdi, qword [rsi]
mov rdx, qword [rsi + 8]
cmp rdx, rdi
je 0x140081de3
mov r8, qword [rdx - 8]
mov qword [rbx - 8], r8
mov qword [rdx - 8], 0
lea r8, [rdx - 8]
add rbx, 0xfffffffffffffff8
mov rdx, r8
cmp r8, rdi
jne 0x140081d6d
mov rdi, qword [rsi]
mov r14, qword [rsi + 8]
mov qword [rsi], rbx
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rax
cmp r14, rdi
je 0x140081dee
add r14, 0xfffffffffffffff8
test r14, r14
je 0x140081e53
mov rcx, qword [r14]
mov rax, qword [0x1403428e0]
and rax, rcx
cmp rax, qword [0x1403428c8]
je 0x140081ddc
mov qword [r14], 0
lea rax, [r14 - 8]
cmp r14, rdi
mov r14, rax
jne 0x140081da8
jmp 0x140081dee
call fcn.1401571d0
jmp 0x140081dc7
mov qword [rsi], rbx
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rax
test rdi, rdi
jne 0x140081dfd
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, rdi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.14016eccc
call fcn.14016fee0
mov r14, rax
jmp 0x140081d20
xor eax, eax
jmp 0x140081d3f
call fcn.1401c93df
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x23
call fcn.1401c469a
lea rax, str.null_pointer_given_to_destroy_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__loc___nullptr
mov r8d, 0x3f
call fcn.1401c469a
int3
Function at 0x1400826fa
Capabilities:
Encode data using base64

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
cmp rdx, 1
je 0x14008286c
mov rdi, rdx
lea rax, [rdx - 1]
test rdx, rax
je 0x140082725
mov rcx, rdi
call fcn.1400829a8
mov rdi, rax
mov rbx, qword [rsi + 8]
cmp rdi, rbx
jbe 0x14008287f
mov rax, rdi
shr rax, 0x3d
jne 0x140082895
lea rbx, [rsi + 8]
lea rcx, [rdi*8]
call fcn.14016ecd4
mov rcx, qword [rsi]
mov qword [rsi], rax
test rcx, rcx
je 0x140082760
call fcn.14016eccc
mov qword [rbx], rdi
xor eax, eax
mov rcx, qword [rsi]
mov qword [rcx + rax*8], 0
inc rax
cmp rdi, rax
jne 0x140082765
mov r8, qword [rsi + 0x10]
test r8, r8
je 0x140082884
lea r10, [rsi + 0x10]
mov rcx, qword [r8 + 8]
mov rax, rdi
shr rax, 1
movabs rdx, 0x5555555555555555
and rdx, rax
mov rax, rdi
sub rax, rdx
movabs rdx, 0x3333333333333333
mov r9, rax
and r9, rdx
shr rax, 2
and rax, rdx
add rax, r9
mov rdx, rax
shr rdx, 4
add rdx, rax
movabs rax, 0xf0f0f0f0f0f0f0f
and rax, rdx
movabs r9, 0x101010101010101
imul r9, rax
shr r9, 0x38
cmp r9, 1
jbe 0x14008289a
cmp rcx, rdi
jb 0x140082803
mov rax, rcx
xor edx, edx
div rdi
mov rcx, rdx
mov rax, qword [rsi]
mov qword [rax + rcx*8], r10
mov r10, qword [r8]
test r10, r10
je 0x140082884
mov rax, qword [r10 + 8]
cmp r9d, 1
jbe 0x14008288c
cmp rax, rdi
jb 0x140082829
xor edx, edx
div rdi
mov rax, rdx
cmp rax, rcx
je 0x140082867
mov rdx, qword [rsi]
cmp qword [rdx + rax*8], 0
jne 0x140082847
mov qword [rdx + rax*8], r8
mov r8, r10
mov r10, qword [r10]
mov rcx, rax
jmp 0x14008280d
mov rdx, qword [r10]
mov qword [r8], rdx
mov rdx, qword [rsi]
mov rdx, qword [rdx + rax*8]
mov rdx, qword [rdx]
mov qword [r10], rdx
mov rdx, qword [rsi]
mov rax, qword [rdx + rax*8]
mov qword [rax], r10
mov r10, r8
mov rax, rcx
jmp 0x14008283c
mov rbx, qword [rsi + 8]
mov edi, 2
cmp rbx, 2
jb 0x14008273f
cmp rdi, rbx
jb 0x1400828a6
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
lea rdx, [rdi - 1]
and rax, rdx
jmp 0x140082829
call fcn.1401c93df
lea rax, [rdi - 1]
and rcx, rax
jmp 0x140082803
mov rax, qword [rsi + 0x18]
test rax, rax
js 0x1400828b6
cvtsi2ss xmm0, rax
jmp 0x1400828cb
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rsi + 0x20]
call fcn.14019036c
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x1402eebd8]
cvttss2si rax, xmm0
sar rdx, 0x3f
and rax, rdx
or rax, rcx
cmp rbx, 3
jb 0x14008297e
mov rcx, rbx
shr rcx, 1
movabs rdx, 0x5555555555555555
and rdx, rcx
mov rcx, rbx
sub rcx, rdx
movabs rdx, 0x3333333333333333
mov r8, rcx
shr r8, 2
and rcx, rdx
and r8, rdx
add r8, rcx
mov rcx, r8
shr rcx, 4
add rcx, r8
movabs rdx, 0xf0f0f0f0f0f0f0f
and rdx, rcx
movabs rcx, 0x101010101010101
imul rcx, rdx
shr rcx, 0x38
cmp ecx, 1
ja 0x14008297e
lea rcx, [rax - 1]
bsr rcx, rcx
xor ecx, 0x3f
neg cl
mov edx, 1
shl rdx, cl
cmp rax, 2
cmovb rdx, rax
jmp 0x140082989
mov rcx, rax
call fcn.1400829a8
mov rdx, rax
cmp rdi, rdx
cmova rdx, rdi
cmp rdx, rbx
jae 0x140082884
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.1401cb620