joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005b470
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rdi, r8
mov rsi, rdx
mov ebx, ecx
mov rax, qword [0x140125038]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rax, [0x14005b440]
lea r8, [rsp + 0x28]
mov qword [r8], rax
lea rcx, [0x1401409b0]
lea rdx, [0x14005b2c0]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14005b579
cmp dword [0x1401409b8], 0
jne 0x14005b586
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov ecx, dword [0x1401409bc]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, rax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
jne 0x14005b52d
mov ecx, 0x28
call fcn.1400860a0
test rax, rax
je 0x14005b586
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x20], 0
mov ecx, dword [0x1401409bc]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14005b57e
lea r15, [0x1401409c0]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
movsxd rbx, ebx
lea rax, [0x1401409d0]
mov qword [rax + rbx*8], rdi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov qword [r14 + rbx*8], rsi
mov esi, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14008b000
mov eax, esi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400a2400
mov rcx, r14
call fcn.1400860e0
mov rcx, rsi
mov rax, rdi
call qword [0x14014b008]
xor esi, esi
jmp 0x14005b55d

Function at 0x14005b5a0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test rdx, rdx
je 0x14005b5dc
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x14005b5e6
add rdi, rbx
sub rsi, rbx
jne 0x14005b5ba
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400a2400
int3
Function at 0x14005d790
Capabilities:
Reference processor manufacturer constants

Disassembly:
push rsi
push rdi
mov r8, rcx
xor edi, edi
xor ecx, ecx
xor eax, eax
xchg rbx, r9
cpuid
xchg rbx, r9
test eax, eax
jle 0x14005d8b2
mov r10d, eax
xor ecx, ecx
mov eax, 1
xchg rbx, r9
cpuid
xchg rbx, r9
mov r9d, ecx
mov r11d, edx
mov esi, eax
cmp r10d, 7
jb 0x14005d8e8
mov eax, 7
xor ecx, ecx
xchg rbx, rdi
cpuid
xchg rbx, rdi
mov r10d, ecx
and edi, 0x20
shr r10b, 3
and r10b, 1
mov dword [r8], esi
mov eax, esi
and eax, 0xf
mov dword [r8 + 8], eax
shr esi, 0xc
and esi, 3
mov dword [r8 + 4], esi
mov eax, r11d
shr eax, 0x17
and al, 1
mov byte [r8 + 0xc], al
mov eax, r11d
shr eax, 0x19
and al, 1
mov byte [r8 + 0xd], al
shr r11d, 0x1a
and r11b, 1
mov byte [r8 + 0xe], r11b
mov eax, r9d
and al, 1
mov byte [r8 + 0xf], al
mov eax, r9d
shr eax, 9
and al, 1
mov byte [r8 + 0x10], al
mov eax, r9d
shr eax, 0x13
and al, 1
mov byte [r8 + 0x11], al
mov eax, r9d
shr eax, 0x14
and al, 1
mov byte [r8 + 0x12], al
mov eax, r9d
shr eax, 0x17
and al, 1
mov byte [r8 + 0x13], al
mov eax, r9d
shr eax, 0x1f
mov byte [r8 + 0x1a], al
mov eax, r9d
not eax
test eax, 0x1c000000
jne 0x14005d8f0
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
mov byte [r8 + 0x14], al
mov ecx, r9d
shr ecx, 0x19
and cl, 1
mov byte [r8 + 0x17], cl
shr r9d, 0xc
and r9b, 1
mov byte [r8 + 0x15], r9b
test al, al
setne al
test edi, edi
setne cl
and cl, al
mov byte [r8 + 0x16], cl
mov byte [r8 + 0x18], r10b
xor ecx, ecx
mov eax, 0x80000000
xchg rbx, r9
cpuid
xchg rbx, r9
cmp eax, 0x80000006
jle 0x14005d8f4
mov eax, 0x80000007
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
shr edx, 8
and dl, 1
mov byte [r8 + 0x19], dl
test dl, dl
je 0x14005d8fa
pop rdi
pop rsi
ret
xor r10d, r10d
jmp 0x14005d7ec
xor eax, eax
jmp 0x14005d881
mov dl, byte [r8 + 0x19]
jmp 0x14005d8e1
cmp byte [r8 + 0x1a], 0
je 0x14005d8e5
mov eax, 0x40000000
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
cmp r9d, 0x7263694d
jne 0x14005d8e5
cmp ecx, 0x666f736f
jne 0x14005d8e5
cmp edx, 0x76482074
jne 0x14005d8e5
mov byte [r8 + 0x19], 1
jmp 0x14005d8e5

Function at 0x14005da60
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test rdx, rdx
je 0x14005da9c
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x14005daa6
add rdi, rbx
sub rsi, rbx
jne 0x14005da7a
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
int3
Function at 0x140068d30
Capabilities:
Get file version info

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc0
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x140125038]
xor rax, rsp
mov qword [rsp + 0xb8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x60]
mov qword [rbx + 0x50], rax
movaps xmm0, xmmword [0x140109be0]
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.CreateFileVersionInfoWin
lea r8, str....._base_file_version_info_win.cc
lea r14, [rsp + 0x30]
mov rcx, r14
mov r9d, 0x4c
call fcn.14006fe10
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.14006fe40
mov dword [rsp + 0x2c], 0xaaaaaaaa
cmp byte [rdi + 0x17], 0
jns 0x140068dc2
mov rdi, qword [rdi]
lea rdx, [rsp + 0x2c]
mov rcx, rdi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x140068ecf
mov ebp, eax
mov r14d, eax
mov rcx, r14
call fcn.140089b6c
mov rbx, rax
mov qword [rsp + 0x30], rax
add rax, r14
mov qword [rsp + 0x40], rax
xor ecx, ecx
nop word cs:[rax + rax]
mov rdx, rbx
add rdx, rcx
je 0x140068ed8
mov byte [rdx], 0
inc rcx
cmp r14, rcx
jne 0x140068e00
mov qword [rsp + 0x38], rax
mov edx, dword [rsp + 0x2c]
mov rcx, rdi
mov r8d, ebp
mov r9, rbx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x140068f04
lea r8, [rsp + 0x58]
mov qword [r8], 0
lea r9, [rsp + 0x54]
mov dword [r9], 0xaaaaaaaa
lea rdx, str.VarFileInfoTranslation
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140068f04
mov r14, qword [rsp + 0x58]
test r14, r14
je 0x140068f04
mov ecx, 0x38
call fcn.140089b6c
mov rdi, rax
movzx r8d, word [r14]
movzx r9d, word [r14 + 2]
lea rbx, [rsp + 0x30]
mov rcx, rax
mov rdx, rbx
call fcn.14002ebc0
mov qword [rsi], rdi
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140068f0d
lea rcx, [rsp + 0x60]
call fcn.14006fea0
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.14008b000
mov rax, rsi
add rsp, 0xc0
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov qword [rsi], 0
jmp 0x140068ea4
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.1400bdb10
mov qword [rsi], 0
jmp 0x140068e9f
mov rcx, rbx
call fcn.140089ba8
jmp 0x140068ea4

Function at 0x140069100
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov qword [rcx], 0
test rdx, rdx
je 0x140069147
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140069161
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14006913f
mov qword [rsi], rdi
call fcn.14006fe30
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [rsi + 8], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp rax, rdi
je 0x140069177
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14006fe30
mov rcx, qword [rsi]
call fcn.140071160
mov qword [rsi], 0
jmp 0x14006912d
int3
Function at 0x1400691b0
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 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 0x14006924a
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140069234
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140069211
mov qword [rsi], rdi
call fcn.14006fe30
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 0x14006924e
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14006fe30
mov rcx, qword [rsi]
call fcn.140071160
mov qword [rsi], 0
jmp 0x1400691ff
mov byte [rsi + 8], 1
int3
Function at 0x140070c20
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 [0x140125038]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
call fcn.1400711a0
mov qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryThreadCycleTime]
movsd xmm0, qword [0x140138558]
xorpd xmm6, xmm6
ucomisd xmm0, xmm6
jne 0x140070c7e
jnp 0x140070ce4
ucomisd xmm0, xmm6
jne 0x140070c8a
jnp 0x140070df9
movsd xmm1, qword [rsp + 0x28]
unpcklps xmm1, xmmword [0x14010ce60]
subpd xmm1, xmmword [0x14010ce70]
movapd xmm2, xmm1
unpckhpd xmm2, xmm1
addsd xmm2, xmm1
divsd xmm2, xmm0
mulsd xmm2, qword [0x14010f4f0]
cvttsd2si rax, xmm2
mov qword [rsi], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14008b000
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 [0x140138568]
mov ecx, dword [0x140134f3c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140070e00
mov eax, dword [0x140138578]
mov ecx, dword [0x140134f3c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140070e3a
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 [0x140138570]
cvtsi2sd xmm1, r13
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rdi]
divsd xmm1, xmm0
xorpd xmm0, xmm0
movsd xmm2, qword [0x14010f4e8]
ucomisd xmm2, xmm1
ja 0x140070c7e
shl r14, 0x20
or rbx, r14
sub rbx, qword [0x140138560]
movq xmm0, rbx
punpckldq xmm0, xmmword [0x14010ce60]
subpd xmm0, xmmword [0x14010ce70]
haddpd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [0x140138558], xmm0
jmp 0x140070c7e
xor eax, eax
jmp 0x140070cbc
lea rcx, [0x140138568]
call fcn.140089cc0
cmp dword [0x140138568], 0xffffffff
jne 0x140070d2d
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x140138560], rdx
lea rcx, [0x140138568]
call fcn.140089d58
jmp 0x140070d2d
lea rcx, [0x140138578]
call fcn.140089cc0
cmp dword [0x140138578], 0xffffffff
jne 0x140070d52
lea rbx, [rsp + 0x30]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
mov qword [0x140138570], rax
lea rcx, [0x140138578]
call fcn.140089d58
jmp 0x140070d52
Function at 0x1400766f0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x140125038]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x14013c600]
mov ecx, dword [0x140134f3c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140076750
lea rsi, [0x14013c5f8]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14008b000
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x14013c600]
call fcn.140089cc0
cmp dword [0x14013c600], 0xffffffff
jne 0x14007672c
lea rsi, [rsp + 0x34]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.14008d130
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x30]
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.140089b6c
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x14013c648]
mov ecx, dword [0x140134f3c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140076810
lea r8, [0x14013c618]
lea rdx, [rsp + 0x30]
mov rcx, rsi
mov r9d, edi
call fcn.1400497e0
mov qword [0x14013c5f8], rsi
lea rcx, [0x14013c600]
call fcn.140089d58
jmp 0x14007672c
lea rcx, [0x14013c648]
call fcn.140089cc0
cmp dword [0x14013c648], 0xffffffff
jne 0x1400767e1
xorps xmm0, xmm0
movups xmmword [0x14013c638], xmm0
movups xmmword [0x14013c628], xmm0
movups xmmword [0x14013c618], xmm0
lea rcx, [0x14013c618]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x14013c648]
call fcn.140089d58
jmp 0x1400767e1
Function at 0x140076860
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x140125038]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x14013c600]
mov ecx, dword [0x140134f3c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400768c0
mov rsi, qword [0x14013c5f8]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14008b000
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x14013c600]
call fcn.140089cc0
cmp dword [0x14013c600], 0xffffffff
jne 0x14007689c
lea rsi, [rsp + 0x34]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.14008d130
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x30]
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.140089b6c
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x14013c648]
mov ecx, dword [0x140134f3c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140076980
lea r8, [0x14013c618]
lea rdx, [rsp + 0x30]
mov rcx, rsi
mov r9d, edi
call fcn.1400497e0
mov qword [0x14013c5f8], rsi
lea rcx, [0x14013c600]
call fcn.140089d58
jmp 0x14007689c
lea rcx, [0x14013c648]
call fcn.140089cc0
cmp dword [0x14013c648], 0xffffffff
jne 0x140076951
xorps xmm0, xmm0
movups xmmword [0x14013c638], xmm0
movups xmmword [0x14013c628], xmm0
movups xmmword [0x14013c618], xmm0
lea rcx, [0x14013c618]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x14013c648]
call fcn.140089d58
jmp 0x140076951

Function at 0x14007a800
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x140134de4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14007a834
mov rcx, qword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 8]
jne 0x14007a834
mov rax, qword [rax + rcx]
add rsp, 0x20
pop rsi
ret
xor eax, eax
jmp 0x14007a82e

Function at 0x14007a840
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x140134de4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14007a87e
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 0x14007a877
call fcn.14004cb10
jmp 0x14007a85e

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

Disassembly:
mov eax, ecx
test r8, r8
je 0x14007ad9b
xor ecx, ecx
lea r9, [0x140113230]
movzx r10d, al
movzx r11d, byte [rdx + rcx]
xor r11d, r10d
shr eax, 8
xor eax, dword [r9 + r11*4]
inc rcx
cmp r8, rcx
jne 0x14007ad80
ret
Function at 0x14007fac0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, qword [0x14013ef38]
cmp rsi, 1
jbe 0x14007fae3
mov rcx, rsi
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14007a840
lea rcx, [0x14013ef38]
call fcn.14004c8c0
test al, al
je 0x14007fb28
xorps xmm0, xmm0
movups xmmword [0x14013ef40], xmm0
lea rdi, [0x14013ef38]
lea rsi, [0x14013ef40]
mov rcx, rsi
xor edx, edx
call fcn.14004cd20
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9, rdi
call fcn.14004c980
jmp 0x14007fad3
mov rsi, qword [0x14013ef38]
jmp 0x14007fad3

Function at 0x140085360
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x140140958]
mov ecx, dword [0x140134f3c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140085395
lea rcx, [0x140140948]
add rsp, 0x28
jmp fcn.14007a800
lea rcx, [0x140140958]
call fcn.140089cc0
cmp dword [0x140140958], 0xffffffff
jne 0x140085385
xorps xmm0, xmm0
movups xmmword [0x140140948], xmm0
lea rcx, [0x140140948]
xor edx, edx
call fcn.14004cd20
lea rcx, [0x140140958]
call fcn.140089d58
jmp 0x140085385
Function at 0x1400853d0
Capabilities:
Encode data using base64

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rcx]
mov rbx, qword [rsi + 8]
sub rbx, rcx
sar rbx, 3
lea rdx, [rbx + 1]
mov rax, rdx
shr rax, 0x3d
jne 0x140085523
movabs rax, 0x1fffffffffffffff
mov r8, qword [rsi + 0x10]
sub r8, rcx
mov r14, r8
sar r14, 2
cmp r14, rdx
cmovbe r14, rdx
movabs rcx, 0x7ffffffffffffff8
cmp r8, rcx
cmovae r14, rax
test r14, r14
je 0x14008551c
cmp r14, rax
ja 0x140085528
lea rcx, [r14*8]
call fcn.140089b6c
shl rbx, 3
add rbx, rax
je 0x14008552d
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 0x1400854f1
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 0x14008547b
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 0x1400854fc
add r14, 0xfffffffffffffff8
test r14, r14
je 0x140085559
mov rcx, qword [r14]
mov rax, qword [0x140127720]
and rax, rcx
cmp rax, qword [0x140127708]
je 0x1400854ea
mov qword [r14], 0
lea rax, [r14 - 8]
cmp r14, rdi
mov r14, rax
jne 0x1400854b6
jmp 0x1400854fc
call fcn.14006a520
jmp 0x1400854d5
mov qword [rsi], rbx
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rax
test rdi, rdi
jne 0x14008550b
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.140089ba8
xor eax, eax
jmp 0x14008544d
call fcn.1400a2400
call fcn.1400bd2e0
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.1400bdb10
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.1400bdb10
int3

Function at 0x140086180
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov esi, ecx
mov rax, qword [0x140125038]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rax, [0x14005b440]
mov qword [rsp + 0x20], rax
lea rcx, [0x1401409b0]
lea rdx, [0x14005b2c0]
lea r8, [rsp + 0x20]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x140086214
cmp dword [0x1401409b8], 0
jne 0x140086210
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [0x1401409bc]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x140086210
movsxd rax, esi
mov rsi, qword [rdi + rax*8]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14008b000
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x1400861f8
call fcn.1400a2400
int3
Function at 0x1400893d0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x140140a68]
mov ecx, dword [0x140134f3c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140089436
lea rcx, [0x140140a58]
xor edx, edx
call fcn.14007a840
mov eax, dword [0x140140a80]
mov ecx, dword [0x140134f3c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140089471
lea rcx, [0x140140a70]
xor edx, edx
add rsp, 0x28
jmp fcn.14007a840
lea rcx, [0x140140a68]
call fcn.140089cc0
cmp dword [0x140140a68], 0xffffffff
jne 0x1400893f5
xorps xmm0, xmm0
movups xmmword [0x140140a58], xmm0
lea rcx, [0x140140a58]
xor edx, edx
call fcn.14004cd20
lea rcx, [0x140140a68]
call fcn.140089d58
jmp 0x1400893f5
lea rcx, [0x140140a80]
call fcn.140089cc0
cmp dword [0x140140a80], 0xffffffff
jne 0x140089424
xorps xmm0, xmm0
movups xmmword [0x140140a70], xmm0
lea rcx, [0x140140a70]
xor edx, edx
call fcn.14004cd20
lea rcx, [0x140140a80]
call fcn.140089d58
jmp 0x140089424

Function at 0x1400895c0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, qword [0x140140a88]
cmp rsi, 1
jbe 0x1400895e3
mov rcx, rsi
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14007a840
lea rcx, [0x140140a88]
call fcn.14004c8c0
test al, al
je 0x140089628
xorps xmm0, xmm0
movups xmmword [0x140140a90], xmm0
lea rdi, [0x140140a88]
lea rsi, [0x140140a90]
mov rcx, rsi
xor edx, edx
call fcn.14004cd20
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9, rdi
call fcn.14004c980
jmp 0x1400895d3
mov rsi, qword [0x140140a88]
jmp 0x1400895d3

Function at 0x14009d384
Capabilities:
Parse pe header

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

Function at 0x1400a0520
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x240
mov rax, qword [0x140125038]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rdx, [0x1400fd968]
mov rbp, rcx
call fcn.1400b2564
xor edi, edi
test rax, rax
je 0x1400a0606
mov ebx, edi
call fcn.1400a01b8
mov r14d, dword [rax]
call fcn.1400a01b8
mov r8d, 0x104
lea rcx, [rsp + 0x20]
mov rdx, rbp
mov dword [rax], edi
call fcn.1400a4d98
mov rsi, rax
test rax, rax
je 0x1400a0597
call fcn.1400a01b8
mov dword [rax], r14d
jmp 0x1400a05c1
call fcn.1400a01b8
cmp dword [rax], 0x22
jne 0x1400a05fe
call fcn.1400a01b8
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.1400a4d98
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x1400a05fe
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x1400a05c5
cmp rax, 3
je 0x1400a05e0
mov rcx, rsi
call fcn.1400a047c
test al, al
je 0x1400a05f1
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x1400a05f1
mov dil, 1
mov rcx, rbx
call fcn.140069450
mov al, dil
jmp 0x1400a0608
mov rcx, rbx
call fcn.140069450
xor al, al
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14008b000
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret