joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006bcd0
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov rbx, qword [rdx]
mov qword [rdx], 0
lea rbp, [rbx + 1]
cmp rbp, 2
jae 0x14006bd49
cmp qword [rsi], rbx
je 0x14006bd25
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14006bd50
cmp rbp, 2
jb 0x14006bd1c
mov qword [rsi], rbx
call fcn.140069e00
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov al, byte [rdi + 8]
mov byte [rsi + 8], al
mov byte [rdi + 8], 0
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x14006bd66
mov rax, rsi
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
call fcn.140069e00
jmp 0x14006bcf4
call fcn.140069e00
mov rcx, qword [rsi]
call fcn.14006c2f0
mov qword [rsi], 0
jmp 0x14006bd0e
call fcn.140069e00
mov rcx, qword [rdi]
call fcn.14006c2f0
mov qword [rdi], 0
jmp 0x14006bd3b

Function at 0x14006bdc0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
xor eax, eax
test r8d, r8d
sete al
xor ebx, ebx
test edx, edx
sete bl
xor ecx, ecx
mov edx, ebx
mov r8d, eax
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi], 0
test rax, rax
je 0x14006be57
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14006be41
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14006be1e
mov qword [rsi], rdi
call fcn.140069e00
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsi]
mov byte [rsi + 8], 1
inc rax
cmp rax, 1
jbe 0x14006be5b
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.140069e00
mov rcx, qword [rsi]
call fcn.14006c2f0
mov qword [rsi], 0
jmp 0x14006be0c
mov byte [rsi + 8], 1
int3
Function at 0x140070660
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x50
movapd xmmword [rsp + 0x40], xmm6
mov rsi, rcx
mov rax, qword [0x140154028]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
call fcn.14006f680
mov qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryThreadCycleTime]
movsd xmm0, qword [0x14015a2d8]
xorpd xmm6, xmm6
ucomisd xmm0, xmm6
jne 0x1400706bd
jnp 0x140070722
ucomisd xmm0, xmm6
jne 0x1400706c9
jnp 0x14007084c
movsd xmm1, qword [rsp + 0x28]
unpcklps xmm1, xmmword [0x1401309e0]
subpd xmm1, xmmword [0x1401309f0]
movapd xmm2, xmm1
unpckhpd xmm2, xmm1
addsd xmm2, xmm1
divsd xmm2, xmm0
mulsd xmm2, qword [0x14013a2b0]
cvttsd2si rax, xmm2
mov qword [rsi], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140097620
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
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 r12d, eax
call rbx
mov rcx, rax
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x14015a2e8]
mov ecx, dword [0x140157484]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140070853
mov eax, dword [0x14015a2f8]
mov ecx, dword [0x140157484]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14007088d
rdtsc
mov r14, rax
mov r15, rdx
xor edi, edi
lea rbx, [rsp + 0x30]
mov qword [rbx], rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rbp, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, r12d
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [rbx], rdi
lea rdi, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub rbp, qword [0x14015a2f0]
movq xmm1, rbp
punpckldq xmm1, xmmword [0x1401309e0]
subpd xmm1, xmmword [0x1401309f0]
haddpd xmm1, xmm1
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rdi]
divsd xmm1, xmm0
xorpd xmm0, xmm0
movsd xmm2, qword [0x14013a2a8]
ucomisd xmm2, xmm1
ja 0x1400706bd
shl r15, 0x20
or r14, r15
sub r14, qword [0x14015a2e0]
movq xmm0, r14
punpckldq xmm0, xmmword [0x1401309e0]
subpd xmm0, xmmword [0x1401309f0]
haddpd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [0x14015a2d8], xmm0
jmp 0x1400706bd
xor eax, eax
jmp 0x1400706fb
lea rcx, [0x14015a2e8]
call fcn.140096920
cmp dword [0x14015a2e8], 0xffffffff
jne 0x14007076c
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x14015a2e0], rdx
lea rcx, [0x14015a2e8]
call fcn.1400969b8
jmp 0x14007076c
lea rcx, [0x14015a2f8]
call fcn.140096920
cmp dword [0x14015a2f8], 0xffffffff
jne 0x140070791
lea rbx, [rsp + 0x30]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
mov qword [0x14015a2f0], rax
lea rcx, [0x14015a2f8]
call fcn.1400969b8
jmp 0x140070791
Function at 0x140070bd0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x190
mov rax, qword [0x140154028]
xor rax, rsp
mov qword [rsp + 0x188], rax
mov eax, dword [0x14015a318]
mov ecx, dword [0x140157484]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140070c33
mov rax, qword [0x14015a310]
mov esi, dword [rax]
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
call fcn.140097620
mov eax, esi
add rsp, 0x190
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x14015a318]
call fcn.140096920
cmp dword [0x14015a318], 0xffffffff
jne 0x140070c0d
lea rsi, [rsp + 0x6c]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.140099ee0
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x68]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x2c]
mov dword [rdi], 0
mov ecx, dword [rsi + 4]
mov edx, dword [rsi + 8]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x80
call fcn.1400967c4
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x14015a350]
mov ecx, dword [0x140157484]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140070cf3
lea r8, [0x14015a320]
lea rdx, [rsp + 0x68]
mov rcx, rsi
mov r9d, edi
call fcn.1400379f0
mov qword [0x14015a310], rsi
lea rcx, [0x14015a318]
call fcn.1400969b8
jmp 0x140070c0d
lea rcx, [0x14015a350]
call fcn.140096920
cmp dword [0x14015a350], 0xffffffff
jne 0x140070cc4
xorps xmm0, xmm0
lea rbx, [rsp + 0x30]
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movaps xmm0, xmmword [rbx]
movaps xmm1, xmmword [rbx + 0x10]
movaps xmm2, xmmword [rbx + 0x20]
movups xmmword [0x14015a340], xmm2
movups xmmword [0x14015a330], xmm1
movups xmmword [0x14015a320], xmm0
lea rcx, [0x14015a350]
call fcn.1400969b8
jmp 0x140070cc4

Function at 0x140073d30
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov edi, dword [0x14015e040]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
test esi, esi
jne 0x140073d5d
mov rax, rdi
add rsp, 0x28
pop rdi
pop rsi
ret
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140073d53

Function at 0x140074ae0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x140157278]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140074b14
movsxd rcx, dword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 4]
jne 0x140074b14
mov rax, qword [rax + rcx]
add rsp, 0x20
pop rsi
ret
xor eax, eax
jmp 0x140074b0e
Function at 0x140074b20
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x140157278]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140074b5e
movsxd rcx, dword [rsi]
shl rcx, 4
mov qword [rax + rcx], rdi
mov ecx, dword [rsi + 4]
movsxd rdx, dword [rsi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x28
pop rdi
pop rsi
ret
test rdi, rdi
je 0x140074b57
call fcn.14003ec80
jmp 0x140074b3e

Function at 0x140075ca0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test rdx, rdx
je 0x140075cd8
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
mov rbx, rsi
cmp rsi, r14
jae 0x140075ce2
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x140075ce9
add rdi, rbx
sub rsi, rbx
jne 0x140075cba
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
mov ebx, 0xffffffff
jmp 0x140075cc2
int3

Function at 0x140077df0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
movzx eax, byte [rcx + 0x4f]
test al, al
js 0x140077e88
test rax, rax
jne 0x140077e77
cmp dword [rsi + 0x50], 0
jne 0x140077e77
mov byte [rsi + 0x54], 0
mov rax, qword [rsi + 0x10]
mov qword [rsi + 8], rax
cmp rax, qword [rsi + 0x18]
je 0x140077e65
lea rdi, [rsi + 0x20]
movabs r14, 0x100003600
lea rcx, [rax + 1]
mov qword [rsi + 0x10], rcx
movzx edx, byte [rax]
mov rcx, rdi
xor r8d, r8d
call fcn.140065f70
cmp rax, 0xffffffffffffffff
jne 0x140077e57
cmp dword [rsi + 0x58], 1
jne 0x140077ea4
jmp 0x140077e91
mov rax, qword [rsi + 0x10]
mov qword [rsi + 8], rax
cmp rax, qword [rsi + 0x18]
jne 0x140077e33
mov byte [rsi + 0x54], 1
xor ebx, ebx
mov eax, ebx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.1400ec1b0
mov rax, qword [rsi + 0x40]
jmp 0x140077e08
mov rax, qword [rsi + 8]
movzx eax, byte [rax]
cmp rax, 0x20
ja 0x140077ea4
bt r14, rax
jb 0x140077e57
mov rax, qword [rsi + 0x10]
mov bl, 1
nop word [rax + rax]
cmp rax, qword [rsi + 0x18]
je 0x140077e6b
movzx edx, byte [rax]
mov rcx, rdi
xor r8d, r8d
call fcn.140065f70
cmp rax, 0xffffffffffffffff
jne 0x140077e6b
cmp dword [rsi + 0x58], 1
mov rax, qword [rsi + 0x10]
je 0x140077ede
add rax, 1
mov qword [rsi + 0x10], rax
jmp 0x140077eb0
movzx ecx, byte [rax]
cmp rcx, 0x20
ja 0x140077ed4
bt r14, rcx
jae 0x140077ed4
jmp 0x140077e6b
Function at 0x14007b3f0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
cmp rdx, r9
mov r10, r9
cmovb r10, rdx
xor eax, eax
test r10, r10
je 0x14007b45e
xor r11d, r11d
mov r14, qword [r8 + r11*8]
mov r15, qword [rcx + r11*8]
mov rbx, r15
xor rbx, r14
mov edi, eax
lea rax, [rbx - 1]
mov rsi, r15
sub rsi, r14
xor rsi, r15
or rsi, rbx
not rbx
and rax, rbx
sar rax, 0x3f
xor rsi, r15
sar rsi, 0x3f
mov rbx, rsi
not rsi
and esi, 1
or rsi, rbx
mov rbx, rax
and edi, ebx
not rax
and rax, rsi
or rax, rdi
inc r11
cmp r10, r11
jne 0x14007b40b
cmp rdx, r9
jb 0x14007b470
cmp r9, rdx
jb 0x14007b49c
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor ecx, ecx
or rcx, qword [r8 + rdx*8]
inc rdx
cmp r9, rdx
jne 0x14007b472
mov rdx, rcx
not rdx
dec rcx
and rcx, rdx
sar rcx, 0x3f
mov rdx, rcx
and edx, eax
not rcx
or ecx, edx
mov eax, ecx
jmp 0x14007b468
xor esi, esi
or rsi, qword [rcx + r9*8]
inc r9
cmp rdx, r9
jne 0x14007b49e
mov rcx, rsi
not rcx
dec rsi
and rsi, rcx
sar rsi, 0x3f
mov rcx, rsi
and ecx, eax
not rsi
and esi, 1
or esi, ecx
mov eax, esi
jmp 0x14007b468

Function at 0x14007b720
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
movsxd rax, dword [rdx + 8]
test rax, rax
je 0x14007b813
mov r14, rcx
mov rcx, qword [rdx]
xor edi, edi
xor esi, esi
or rsi, qword [rcx + rdi*8]
inc rdi
cmp rax, rdi
jne 0x14007b740
test rsi, rsi
je 0x14007b813
test eax, eax
jle 0x14007b838
mov rax, qword [rdx]
test byte [rax], 1
je 0x14007b838
cmp dword [rdx + 0x10], 0
jne 0x14007b871
lea rdi, [r14 + 0x18]
mov rcx, rdi
call fcn.1400455f0
test rax, rax
je 0x14007b891
mov eax, dword [r14 + 0x20]
test eax, eax
jle 0x14007b858
mov rdx, qword [rdi]
lea rcx, [rax - 1]
cmp qword [rdx + rax*8 - 8], 0
mov rax, rcx
je 0x14007b78c
inc ecx
mov dword [r14 + 0x20], ecx
mov rax, qword [rdi]
mov r9, qword [rax]
mov ebx, 1
mov edx, 0x40
xor ecx, ecx
movabs r8, 0x8000000000000000
mov esi, ebx
and esi, 1
neg rsi
mov rax, r9
and rax, rsi
mov rdi, rax
xor rdi, rbx
shr rdi, 1
and rax, rbx
add rax, rdi
and rsi, r8
shr rcx, 1
or rcx, rsi
mov rbx, rax
dec rdx
jne 0x14007b7c8
mov qword [r14 + 0x30], rcx
mov qword [r14 + 0x38], 0
mov esi, 1
mov eax, esi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
mov dword [rsp + 0x20], 0xa5
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_bn_montgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x69
call fcn.140117650
jmp 0x14007b807
mov dword [rsp + 0x20], 0xa9
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_bn_montgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x68
jmp 0x14007b831
mov dword [r14 + 0x20], eax
test eax, eax
jne 0x14007b7ac
mov dword [r14 + 0x28], 0
jmp 0x14007b7ac
mov dword [rsp + 0x20], 0xad
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_bn_montgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x6d
jmp 0x14007b831
mov dword [rsp + 0x20], 0xb3
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_bn_montgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x44
jmp 0x14007b831
Function at 0x14007bff0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rax, qword [0x140154028]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp r8, 0x30
ja 0x14007c14d
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
movaps xmm0, xmmword [0x140133080]
lea r14, [rsp + 0x40]
movaps xmmword [r14], xmm0
movaps xmmword [r14 - 0x10], xmm0
movaps xmmword [r14 - 0x20], xmm0
lea r12, [rsp + 0x30]
lea r15, [rcx + 0x108]
mov ecx, dword [rcx + 0x114]
call fcn.1400a2f3c
lea ecx, [rax + 1]
call fcn.1400a2f3c
mov dword [rsi + 0x114], eax
lea rdx, [rsp + 0x20]
mov rcx, r15
mov r8, rsi
call qword [rsi + 0xf8]
mov ecx, dword [rsi + 0x114]
call fcn.1400a2f3c
lea ecx, [rax + 1]
call fcn.1400a2f3c
mov dword [rsi + 0x114], eax
mov rcx, r15
mov rdx, r12
mov r8, rsi
call qword [rsi + 0xf8]
mov ecx, dword [rsi + 0x114]
call fcn.1400a2f3c
lea ecx, [rax + 1]
call fcn.1400a2f3c
mov dword [rsi + 0x114], eax
mov rcx, r15
mov rdx, r14
mov r8, rsi
call qword [rsi + 0xf8]
test rdi, rdi
je 0x14007c0e1
xor eax, eax
nop word cs:[rax + rax]
movzx ecx, byte [rbx + rax]
xor byte [rsp + rax + 0x20], cl
add rax, 1
cmp rdi, rax
jne 0x14007c0d0
lea rdi, [rsi + 0xf8]
mov eax, dword [0x14015ffa4]
lea rcx, [rsp + 0x20]
mov edx, 0x100
mov r8, rsi
bt eax, 0x19
jae 0x14007c151
call fcn.140003260
lea rax, [0x140001d60]
test rdi, rdi
je 0x14007c11c
lea rcx, section..text
mov qword [rdi], rcx
mov qword [rsi + 0x100], rax
movups xmm0, xmmword [r14]
movups xmmword [r15], xmm0
mov esi, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140097620
mov eax, esi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor esi, esi
jmp 0x14007c130
bt eax, 9
jae 0x14007c171
call fcn.140004450
lea rax, [0x140004920]
test rdi, rdi
je 0x14007c11c
lea rcx, [0x140004620]
jmp 0x14007c119
call fcn.1400f3540
lea rax, [0x1400f3d60]
test rdi, rdi
je 0x14007c11c
lea rcx, [0x1400f3410]
jmp 0x14007c119

Function at 0x14007cdc0
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x14007cdea
xor r9d, r9d
xor eax, eax
nop word [rax + rax]
movzx r10d, byte [rdx + r9]
xor r10b, byte [rcx + r9]
movzx r10d, r10b
or eax, r10d
add r9, 1
cmp r8, r9
jne 0x14007cdd0
ret
xor eax, eax
jmp 0x14007cde9

Function at 0x14007e500
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, qword [0x14015fa40]
cmp rsi, 1
jbe 0x14007e523
mov rcx, rsi
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.140074b20
lea rcx, [0x14015fa40]
call fcn.14004de50
test al, al
je 0x14007e569
mov qword [0x14015fa48], 0
lea rdi, [0x14015fa40]
lea rsi, [0x14015fa48]
mov rcx, rsi
xor edx, edx
call fcn.14003ee90
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9, rdi
call fcn.14004def0
jmp 0x14007e513
mov rsi, qword [0x14015fa40]
jmp 0x14007e513
Function at 0x140086cf0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x14015faf0]
mov ecx, dword [0x140157484]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140086d25
lea rcx, [0x14015fae8]
add rsp, 0x28
jmp fcn.140074ae0
lea rcx, [0x14015faf0]
call fcn.140096920
cmp dword [0x14015faf0], 0xffffffff
jne 0x140086d15
mov qword [0x14015fae8], 0
lea rcx, [0x14015fae8]
xor edx, edx
call fcn.14003ee90
lea rcx, [0x14015faf0]
call fcn.1400969b8
jmp 0x140086d15

Function at 0x140088100
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov esi, ecx
mov rax, qword [0x140154028]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rax, [0x140053e60]
mov qword [rsp + 0x20], rax
lea rcx, [0x14015ffb8]
lea rdx, [0x140053d10]
lea r8, [rsp + 0x20]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x140088194
cmp dword [0x14015ffc0], 0
jne 0x140088190
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [0x14015ffc4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x140088190
movsxd rax, esi
mov rsi, qword [rdi + rax*8]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140097620
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x140088178
call fcn.1400a8840
int3

Function at 0x140088610
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, ecx
test r8, r8
je 0x14008863c
xor ecx, ecx
lea r9, [0x140145870]
movzx r10d, al
movzx r11d, byte [rdx + rcx]
xor r11d, r10d
shr eax, 8
xor eax, dword [r9 + r11*4]
add rcx, 1
cmp r8, rcx
jne 0x140088620
ret

Function at 0x140089d80
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x140160070]
mov ecx, dword [0x140157484]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140089de6
lea rcx, [0x140160068]
xor edx, edx
call fcn.140074b20
mov eax, dword [0x140160080]
mov ecx, dword [0x140157484]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140089e22
lea rcx, [0x140160078]
xor edx, edx
add rsp, 0x28
jmp fcn.140074b20
lea rcx, [0x140160070]
call fcn.140096920
cmp dword [0x140160070], 0xffffffff
jne 0x140089da5
mov qword [0x140160068], 0
lea rcx, [0x140160068]
xor edx, edx
call fcn.14003ee90
lea rcx, [0x140160070]
call fcn.1400969b8
jmp 0x140089da5
lea rcx, [0x140160080]
call fcn.140096920
cmp dword [0x140160080], 0xffffffff
jne 0x140089dd4
mov qword [0x140160078], 0
lea rcx, [0x140160078]
xor edx, edx
call fcn.14003ee90
lea rcx, [0x140160080]
call fcn.1400969b8
jmp 0x140089dd4
Function at 0x140089f80
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, qword [0x140160088]
cmp rsi, 1
jbe 0x140089fa3
mov rcx, rsi
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.140074b20
lea rcx, [0x140160088]
call fcn.14004de50
test al, al
je 0x140089fe9
mov qword [0x140160090], 0
lea rdi, [0x140160088]
lea rsi, [0x140160090]
mov rcx, rsi
xor edx, edx
call fcn.14003ee90
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9, rdi
call fcn.14004def0
jmp 0x140089f93
mov rsi, qword [0x140160088]
jmp 0x140089f93

Function at 0x14008a000
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov eax, dword [0x1401600a0]
mov ecx, dword [0x140157484]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14008a03d
lea rcx, [0x140160098]
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp fcn.140074b20
lea rcx, [0x1401600a0]
call fcn.140096920
cmp dword [0x1401600a0], 0xffffffff
jne 0x14008a029
mov qword [0x140160098], 0
lea rcx, [0x140160098]
xor edx, edx
call fcn.14003ee90
lea rcx, [0x1401600a0]
call fcn.1400969b8
jmp 0x14008a029
Function at 0x1400a2fd8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400a3108
Function at 0x1400da110
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov ecx, 0x10
call fcn.1400967c4
mov qword [rax], rdi
mov qword [rax + 8], rsi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x1400da180]
xor ecx, ecx
xor edx, edx
mov r9, rax
call fcn.1400a2d30
mov qword [rbx], rax
test rax, rax
je 0x1400da167
xor eax, eax
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x1400dbfa0
Capabilities:
Encode data using base64

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov r14, rcx
mov edi, 2
cmp rdx, 1
jne 0x1400dbfda
mov rsi, qword [r14 + 8]
cmp rdi, rsi
ja 0x1400dc0db
jae 0x1400dc0d1
mov rax, qword [r14 + 0x18]
test rax, rax
js 0x1400dbff5
cvtsi2ss xmm0, rax
jmp 0x1400dc00a
lea rax, [rdx - 1]
test rdx, rax
jne 0x1400dbfe8
mov rdi, rdx
jmp 0x1400dbfb7
mov rcx, rdx
call fcn.1400643c0
mov rdi, rax
jmp 0x1400dbfb7
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [r14 + 0x20]
call fcn.1400c2250
cvttss2si rcx, xmm0
movss xmm1, dword [0x140133710]
movaps xmm2, xmm0
subss xmm2, xmm1
cvttss2si rax, xmm2
btc rax, 0x3f
ucomiss xmm0, xmm1
cmovb rax, rcx
cmp rsi, 3
jb 0x1400dc0bd
mov rcx, rsi
shr rcx, 1
movabs rdx, 0x5555555555555555
and rdx, rcx
mov rbx, rsi
sub rbx, rdx
movabs rdx, 0x3333333333333333
mov rcx, rbx
shr rcx, 2
and rbx, rdx
and rcx, rdx
add rcx, rbx
mov rdx, rcx
shr rdx, 4
add rdx, rcx
movabs rcx, 0xf0f0f0f0f0f0f0f
and rcx, rdx
movabs rdx, 0x101010101010101
imul rdx, rcx
shr rdx, 0x38
cmp edx, 1
ja 0x1400dc0bd
cmp rax, 2
jb 0x1400dc0c5
dec rax
bsr rcx, rax
xor ecx, 0x3f
neg cl
mov eax, 1
shl rax, cl
jmp 0x1400dc0c5
mov rcx, rax
call fcn.1400643c0
cmp rdi, rax
cmovb rdi, rax
cmp rdi, rsi
jb 0x1400dc0db
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, r14
mov rdx, rdi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp 0x1400c4170

Function at 0x1400dc9c0
Capabilities:
Move file

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov rsi, rcx
mov rax, qword [0x140154028]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x40]
mov qword [rbx + 0x50], rax
movaps xmm0, xmmword [0x140133080]
movaps xmmword [rbx + 0x40], xmm0
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdx, str.DeleteFileAfterReboot
lea r8, str..._.._base_files_file_util_win.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r9d, 0x1bb
call fcn.140069de0
xor ebp, ebp
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
call fcn.140070090
movzx eax, byte [rsi + 0x17]
mov rcx, rax
test al, al
jns 0x1400dca4d
mov rcx, qword [rsi + 8]
cmp rcx, 0x103
ja 0x1400dca74
test al, al
jns 0x1400dca5d
mov rsi, qword [rsi]
mov rcx, rsi
xor edx, edx
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne bpl
lea rcx, [rsp + 0x40]
call fcn.1400700f0
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140097620
mov eax, ebp
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
ret