joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005bd40
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1401ecd50]
mov ecx, dword [0x1401ed290]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x24]
jg 0x14005bda1
movzx eax, word [0x1401ecd20]
cmp rax, 0xc
ja case.0x14005bd80.1
lea rcx, [0x14005bdec]
movsxd rdx, dword [rcx + rax*4]
add rdx, rcx
jmp rdx
mov eax, 2
jmp case.0x14005bd80.0
mov eax, 4
jmp case.0x14005bd80.0
mov eax, 1
jmp case.0x14005bd80.0
mov eax, 3
add rsp, 0x28
ret
lea rcx, [0x1401ecd50]
call fcn.140153df0
cmp dword [0x1401ecd50], 0xffffffff
jne 0x14005bd65
xorps xmm0, xmm0
movups xmmword [0x1401ecd40], xmm0
movups xmmword [0x1401ecd30], xmm0
movups xmmword [0x1401ecd20], xmm0
lea rcx, [0x1401ecd20]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1401ecd50]
call fcn.140153e88
jmp 0x14005bd65

Function at 0x14005c750
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
xor r8d, r8d
jmp 0x14005c760
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1401e5d38]
xor rax, rsp
mov qword [rsp + 0x28], rax
test r8b, r8b
jne 0x14005c798
movzx eax, byte [0x1401ecd54]
test al, 1
jne 0x14005c828
test rsi, rsi
je 0x14005c80a
mov r13d, 0xffffffff
lea rbx, str....._base_rand_util_win.cc
lea r14, str.success
lea r15, [rsp + 0x20]
jmp 0x14005c7c8
add rdi, r12
sub rsi, r12
je 0x14005c80a
cmp rsi, r13
mov r12d, 0xffffffff
cmovb r12, rsi
mov rcx, rdi
mov edx, r12d
call sub.ADVAPI32.dll_SystemFunction036
test al, al
jne 0x14005c7c0
mov rcx, r15
mov rdx, rbx
mov r8d, 0x47
mov r9, r14
call fcn.140030ec0
mov rcx, r15
call fcn.140031080
mov rcx, r15
call fcn.140031090
jmp 0x14005c7c0
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140154030
nop
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.140085c80
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140154030
mov rcx, rdi
mov rdx, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp 0x1400878a0
sub rsp, 0x28
lea r8, [0x14019d110]
call fcn.1400878c0
mov eax, 1
add rsp, 0x28
ret
Function at 0x14005c760
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
xor r8d, r8d
jmp 0x14005c760
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1401e5d38]
xor rax, rsp
mov qword [rsp + 0x28], rax
test r8b, r8b
jne 0x14005c798
movzx eax, byte [0x1401ecd54]
test al, 1
jne 0x14005c828
test rsi, rsi
je 0x14005c80a
mov r13d, 0xffffffff
lea rbx, str....._base_rand_util_win.cc
lea r14, str.success
lea r15, [rsp + 0x20]
jmp 0x14005c7c8
add rdi, r12
sub rsi, r12
je 0x14005c80a
cmp rsi, r13
mov r12d, 0xffffffff
cmovb r12, rsi
mov rcx, rdi
mov edx, r12d
call sub.ADVAPI32.dll_SystemFunction036
test al, al
jne 0x14005c7c0
mov rcx, r15
mov rdx, rbx
mov r8d, 0x47
mov r9, r14
call fcn.140030ec0
mov rcx, r15
call fcn.140031080
mov rcx, r15
call fcn.140031090
jmp 0x14005c7c0
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140154030
nop
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.140085c80
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140154030
mov rcx, rdi
mov rdx, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp 0x1400878a0
sub rsp, 0x28
lea r8, [0x14019d110]
call fcn.1400878c0
mov eax, 1
add rsp, 0x28
ret
Function at 0x14005cfc0
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
movaps xmmword [rsp + 0x30], xmm6
mov rax, qword [0x1401e5d38]
xor rax, rsp
mov qword [rsp + 0x28], rax
movsd xmm6, qword [0x1401ecd80]
xorpd xmm0, xmm0
ucomisd xmm6, xmm0
jne 0x14005d114
jp 0x14005d114
mov rdi, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov esi, eax
call rdi
mov rcx, rax
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x1401ecd90]
mov ecx, dword [0x1401ed290]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x24]
jg 0x14005d134
mov eax, dword [0x1401ecda0]
mov ecx, dword [0x1401ed290]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x24]
jg 0x14005d16e
rdtsc
mov rdi, rax
mov rbx, rdx
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r14, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, esi
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub r14, qword [0x1401ecd98]
xorps xmm0, xmm0
cvtsi2sd xmm0, r14
cvtsi2sd xmm1, qword [rsp + 0x20]
divsd xmm0, xmm1
xorpd xmm6, xmm6
movsd xmm1, qword [0x140197a40]
ucomisd xmm1, xmm0
ja 0x14005d114
shl rbx, 0x20
or rdi, rbx
sub rdi, qword [0x1401ecd88]
movq xmm1, rdi
punpckldq xmm1, xmmword [0x1401909c0]
subpd xmm1, xmmword [0x1401909d0]
movapd xmm6, xmm1
unpckhpd xmm6, xmm1
addsd xmm6, xmm1
divsd xmm6, xmm0
movsd qword [0x1401ecd80], xmm6
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140154030
movapd xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x1401ecd90]
call fcn.140153df0
cmp dword [0x1401ecd90], 0xffffffff
jne 0x14005d042
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x1401ecd88], rdx
lea rcx, [0x1401ecd90]
call fcn.140153e88
jmp 0x14005d042
lea rcx, [0x1401ecda0]
call fcn.140153df0
cmp dword [0x1401ecda0], 0xffffffff
jne 0x14005d067
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x20]
mov qword [0x1401ecd98], rax
lea rcx, [0x1401ecda0]
call fcn.140153e88
jmp 0x14005d067
Function at 0x14005e9f0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x38
movaps xmmword [rsp + 0x20], xmm6
mov edi, edx
mov rsi, rcx
lea rax, [0x140198dd0]
mov qword [rcx], rax
add rcx, 8
call fcn.14005aa80
lea rcx, [rsi + 0x10]
call fcn.14005aa80
mov byte [rsi + 0x18], 0
lea rcx, [rsi + 0x40]
xorps xmm6, xmm6
movups xmmword [rsi + 0x1c], xmm6
movups xmmword [rsi + 0x2c], xmm6
mov dword [rsi + 0x3c], 0
call fcn.14005aa80
mov byte [rsi + 0x48], 0
movups xmmword [rsi + 0x50], xmm6
mov qword [rsi + 0x60], 0
lea rax, [rsi + 0x70]
movups xmmword [rsi + 0x70], xmm6
mov qword [rsi + 0x68], rax
movups xmmword [rsi + 0x80], xmm6
movups xmmword [rsi + 0x90], xmm6
movups xmmword [rsi + 0xa0], xmm6
movups xmmword [rsi + 0xb0], xmm6
movups xmmword [rsi + 0xc0], xmm6
movups xmmword [rsi + 0xd0], xmm6
mov qword [rsi + 0xe0], 0
mov dword [rsi + 0xe8], 0x3f800000
mov dword [rsi + 0xf0], 0
movups xmmword [rsi + 0xf8], xmm6
movups xmmword [rsi + 0x108], xmm6
mov dword [rsi + 0x118], 0x3f800000
movups xmmword [rsi + 0x120], xmm6
movups xmmword [rsi + 0x130], xmm6
mov dword [rsi + 0x140], 0x3f800000
movups xmmword [rsi + 0x148], xmm6
movups xmmword [rsi + 0x158], xmm6
mov dword [rsi + 0x168], 0x3f800000
movups xmmword [rsi + 0x170], xmm6
movups xmmword [rsi + 0x180], xmm6
mov dword [rsi + 0x190], 0x3f800000
mov qword [rsi + 0x1b0], 0
movups xmmword [rsi + 0x198], xmm6
mov dword [rsi + 0x1a8], 0
mov eax, dword [0x14019fc08]
mov dword [rsi + 0x1b8], eax
lea rcx, [rsi + 0x1c0]
call fcn.14008a900
movups xmmword [rsi + 0x2f8], xmm6
mov qword [rsi + 0x308], 0
lea rcx, [rsi + 0x310]
xor edx, edx
call fcn.140052920
lea rcx, [rsi + 0x320]
xor edx, edx
call fcn.140052920
lea rcx, [rsi + 0x330]
xor edx, edx
call fcn.140052920
movups xmmword [rsi + 0x340], xmm6
movups xmmword [rsi + 0x350], xmm6
mov dword [rsi + 0x360], 0x3f800000
movups xmmword [rsi + 0x368], xmm6
movups xmmword [rsi + 0x378], xmm6
movups xmmword [rsi + 0x388], xmm6
mov byte [rsi + 0x398], 0
mov dword [rsi + 0x39c], edi
mov byte [rsi + 0x3a0], 0
movups xmmword [rsi + 0x3a8], xmm6
movups xmmword [rsi + 0x3b8], xmm6
call fcn.140002a70
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [rsi + 0x1a8], eax
mov eax, eax
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rax, rcx
mov qword [rsi + 0x1a0], rax
mov rcx, rsi
call fcn.14005ec50
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x20], rax
test rcx, rcx
je 0x14005ec19
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [0x1401ff008]
call fcn.14005d900
lea r8, str.TraceLog
mov rcx, rax
mov rdx, rsi
xor r9d, r9d
call fcn.14005daa0
mov qword [0x1401ed1b8], rsi
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rdi
pop rsi
ret
Function at 0x140068df0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x28
test rdx, rdx
je 0x140068e05
mov r8d, r8d
add rsp, 0x28
jmp fcn.140068500
test r8d, r8d
jne 0x140068e0f
call fcn.140097b40
xor eax, eax
add rsp, 0x28
ret
Function at 0x14006e4a0
Capabilities:
Check if file exists
Read file via mapping

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xb0
mov rsi, rcx
mov rax, qword [0x1401e5d38]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [section..rdata]
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
lea rdx, str.MapImageToMemory
lea r8, str....._base_filesmemory_mapped_file_win.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r9d, 0x1b
call fcn.14003b9f0
lea rcx, [rsp + 0x50]
xor edi, edi
mov rdx, rbx
xor r8d, r8d
call fcn.140051c40
mov rcx, rsi
call fcn.1400564a0
test al, al
je 0x14006e617
mov rcx, rsi
call fcn.1400564b0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rax
xor edx, edx
mov r8d, 0x11000002
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rbx, rax
cmp qword [rsi + 0x40], rax
je 0x14006e5bc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi + 0x40]
inc rax
cmp rax, 2
jb 0x14006e59b
call fcn.14003ba10
mov rcx, qword [rsi + 0x40]
call fcn.14005bb90
mov qword [rsi + 0x40], 0
mov rax, rbx
inc rax
cmp rax, 2
jb 0x14006e5b0
mov qword [rsi + 0x40], rbx
call fcn.14003ba10
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsi + 0x40]
lea rax, [rbx + 1]
cmp rax, 2
jae 0x14006e5ca
xor edi, edi
jmp 0x14006e617
mov qword [rsp + 0x20], 0
xor edi, edi
mov rcx, rbx
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsi + 0x30], rax
test rax, rax
je 0x14006e617
lea rcx, [0x14019bb98]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x30]
call fcn.14009d594
mov eax, dword [rax + 0x50]
mov qword [rsi + 0x38], rax
mov dil, 1
lea rcx, [rsp + 0x50]
call fcn.140051f30
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140154030
mov eax, edi
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
ret
Function at 0x14006e640
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov edi, r8d
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x1401e5d38]
xor rax, rsp
mov qword [rsp + 0xc0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xb0], rax
movaps xmm0, xmmword [section..rdata]
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
lea rdx, str.MapFileRegionToMemory
lea r8, str....._base_filesmemory_mapped_file_win.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x3a
call fcn.14003b9f0
lea rcx, [rsp + 0x60]
xor r14d, r14d
mov rdx, r15
xor r8d, r8d
call fcn.140051c40
mov rcx, rsi
call fcn.1400564a0
test al, al
je 0x14006e8b9
cmp edi, 3
ja case.default.0x14006e6fe
mov eax, edi
lea rcx, [0x14006e8e8]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov edi, 2
jmp 0x14006e710
xor edi, edi
jmp 0x14006e710
mov edi, 4
xor r15d, r15d
jmp 0x14006e725
mov r14, qword [rbx + 8]
mov r15, r14
shr r15, 0x20
mov edi, 4
mov rcx, rsi
call fcn.1400564b0
mov dword [rsp + 0x20], r14d
mov qword [rsp + 0x28], 0
mov rcx, rax
xor edx, edx
mov r8d, edi
mov r9d, r15d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov r14, rax
cmp qword [rsi + 0x40], rax
je 0x14006e7a1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi + 0x40]
inc rax
cmp rax, 2
jb 0x14006e780
call fcn.14003ba10
mov rcx, qword [rsi + 0x40]
call fcn.14005bb90
mov qword [rsi + 0x40], 0
mov rax, r14
inc rax
cmp rax, 2
jb 0x14006e795
mov qword [rsi + 0x40], r14
call fcn.14003ba10
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rsi + 0x40]
inc r14
cmp r14, 2
jae 0x14006e7b2
xor r14d, r14d
jmp 0x14006e8b9
mov dword [rsp + 0x3c], 0
lea rdx, [0x14019bba8]
mov rcx, rbx
call fcn.14006e960
test al, al
je 0x14006e7ff
mov rcx, rsi
call fcn.140056c70
xor r14d, r14d
test rax, rax
jle 0x14006e8b9
mov qword [rsi + 0x38], rax
xor r8d, r8d
xor eax, eax
jmp 0x14006e883
mov rcx, rsi
call fcn.14006e4a0
mov r14d, eax
jmp 0x14006e8b9
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov rcx, qword [rbx]
mov rdx, qword [rbx + 8]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x40]
lea r9, [rsp + 0x30]
call fcn.14006eb60
mov rcx, qword [rbx + 8]
movsxd rax, dword [rsp + 0x3c]
mov r8, rax
sar r8, 0x3f
add rax, rcx
adc r8, 0
mov edx, r8d
and edx, 1
neg rdx
xor r8, rdx
setne r8b
mov r14, qword [rsp + 0x40]
test r14, r14
js 0x14006e7aa
test r8b, r8b
jne 0x14006e7aa
test rdx, rdx
js 0x14006e7aa
mov r8, r14
shr r8, 0x20
mov qword [rsi + 0x38], rcx
and edi, 2
add edi, 2
mov rcx, qword [rsi + 0x40]
mov qword [rsp + 0x20], rax
mov edx, edi
mov r9d, r14d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsi + 0x30], rax
test rax, rax
je 0x14006e7aa
movsxd rcx, dword [rsp + 0x3c]
add rax, rcx
mov qword [rsi + 0x30], rax
mov r14b, 1
lea rcx, [rsp + 0x60]
call fcn.140051f30
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140154030
mov eax, r14d
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140073ff0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1401ed338]
mov ecx, dword [0x1401ed290]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x24]
jg 0x140074025
lea rcx, [0x1401ed328]
add rsp, 0x28
jmp fcn.140052890
lea rcx, [0x1401ed338]
call fcn.140153df0
cmp dword [0x1401ed338], 0xffffffff
jne 0x140074015
xorps xmm0, xmm0
movups xmmword [0x1401ed328], xmm0
lea rcx, [0x1401ed328]
xor edx, edx
call fcn.140052920
lea rcx, [0x1401ed338]
call fcn.140153e88
jmp 0x140074015

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

Disassembly:
push rsi
mov eax, ecx
test r8, r8
je 0x14007502c
cmp r8, 1
jne 0x140074fc2
xor ecx, ecx
jmp 0x14007500e
mov r9, r8
and r9, 0xfffffffffffffffe
xor ecx, ecx
lea r10, [0x14019bde0]
nop word cs:[rax + rax]
movzx r11d, al
movzx esi, byte [rdx + rcx]
xor esi, r11d
shr eax, 8
xor eax, dword [r10 + rsi*4]
movzx r11d, al
movzx esi, byte [rdx + rcx + 1]
xor esi, r11d
shr eax, 8
xor eax, dword [r10 + rsi*4]
add rcx, 2
cmp r9, rcx
jne 0x140074fe0
test r8b, 1
je 0x14007502c
movzx r8d, al
movzx ecx, byte [rdx + rcx]
xor ecx, r8d
lea rdx, [0x14019bde0]
shr eax, 8
xor eax, dword [rdx + rcx*4]
pop rsi
ret

Function at 0x14007a520
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1401ed3c0]
mov ecx, dword [0x1401ed290]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x24]
jg 0x14007a555
lea rcx, [0x1401ed3b0]
add rsp, 0x28
jmp fcn.140052890
lea rcx, [0x1401ed3c0]
call fcn.140153df0
cmp dword [0x1401ed3c0], 0xffffffff
jne 0x14007a545
xorps xmm0, xmm0
movups xmmword [0x1401ed3b0], xmm0
lea rcx, [0x1401ed3b0]
xor edx, edx
call fcn.140052920
lea rcx, [0x1401ed3c0]
call fcn.140153e88
jmp 0x14007a545

Function at 0x14007b3c0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov rcx, qword [rcx + 0x30]
lea rdx, [rsi + 0x18]
mov rax, qword [rcx]
mov rax, qword [rax + 0x90]
call qword [0x1401ff008]
mov byte [rsi + 0x429], 1
mov rcx, qword [rsi + 0x30]
mov rax, qword [rcx]
mov rax, qword [rax + 0x50]
call qword [0x1401ff008]
test rax, rax
je 0x14007b432
mov eax, dword [0x1401ed3c0]
mov ecx, dword [0x1401ed290]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x24]
jg 0x14007b439
lea rcx, [0x1401ed3b0]
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp fcn.1400528d0
nop
add rsp, 0x20
pop rsi
ret
lea rcx, [0x1401ed3c0]
call fcn.140153df0
cmp dword [0x1401ed3c0], 0xffffffff
jne 0x14007b41e
xorps xmm0, xmm0
movups xmmword [0x1401ed3b0], xmm0
lea rcx, [0x1401ed3b0]
xor edx, edx
call fcn.140052920
lea rcx, [0x1401ed3c0]
call fcn.140153e88
jmp 0x14007b41e
Function at 0x140080c90
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov r15, qword [rcx + 0x10]
cmp r15, qword [rcx + 0x18]
jne 0x140080e66
mov rbx, qword [rsi]
mov r14, qword [rsi + 8]
mov rax, r14
sub rax, rbx
jbe 0x140080d00
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
lea rbx, [rax + rcx]
inc rbx
shr rbx, 1
shl rbx, 3
mov rcx, r14
sub rcx, rbx
mov r8, r15
sub r8, r14
mov rdx, r14
call fcn.140156ae0
sub r15, rbx
mov qword [rsi + 0x10], r15
sub qword [rsi + 8], rbx
jmp 0x140080e66
mov rax, r15
sub rax, rbx
sar rax, 2
cmp r15, rbx
mov r13d, 1
cmovne r13, rax
mov rax, r13
shr rax, 0x3d
jne 0x140080e81
mov r12, r13
shr r12, 2
lea rcx, [r13*8]
call fcn.140153c88
lea rcx, [rax + r12*8]
mov r9, r15
sub r9, r14
lea rdx, [rax + r13*8]
mov r8, rcx
sub r15, r14
je 0x140080e43
and r9, 0xfffffffffffffff8
mov r8, r9
add r8, rcx
add r15, 0xfffffffffffffff8
cmp r15, 0x68
jae 0x140080d6e
mov r9, rcx
jmp 0x140080e30
lea r9, [rax + r12*8]
sub r9, r14
cmp r9, 0x20
jae 0x140080d83
mov r9, rcx
jmp 0x140080e30
shr r15, 3
lea r9, [r15 + 1]
add r15, 0xfffffffffffffffd
mov r10, r15
shr r10, 2
inc r10
cmp r15, 4
jae 0x140080da4
xor r11d, r11d
jmp 0x140080df8
shl r12, 3
mov r15, r10
and r15, 0xfffffffffffffffe
add r12, rax
add r12, 0x30
xor r11d, r11d
nop dword [rax]
movups xmm0, xmmword [r14 + r11]
movups xmm1, xmmword [r14 + r11 + 0x10]
movups xmmword [r12 + r11 - 0x30], xmm0
movups xmmword [r12 + r11 - 0x20], xmm1
movups xmm0, xmmword [r14 + r11 + 0x20]
movups xmm1, xmmword [r14 + r11 + 0x30]
movups xmmword [r12 + r11 - 0x10], xmm0
movups xmmword [r12 + r11], xmm1
add r11, 0x40
add r15, 0xfffffffffffffffe
jne 0x140080dc0
mov r15, r9
and r15, 0xfffffffffffffffc
test r10b, 1
je 0x140080e1b
movups xmm0, xmmword [r14 + r11]
movups xmm1, xmmword [r14 + r11 + 0x10]
movups xmmword [rcx + r11], xmm0
movups xmmword [rcx + r11 + 0x10], xmm1
cmp r9, r15
je 0x140080e43
lea r9, [rcx + r15*8]
lea r14, [r14 + r15*8]
nop dword [rax + rax]
mov r10, qword [r14]
mov qword [r9], r10
add r9, 8
add r14, 8
cmp r9, r8
jne 0x140080e30
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], r8
mov qword [rsi + 0x18], rdx
mov r15, r8
test rbx, rbx
je 0x140080e66
mov rcx, rbx
call fcn.140153cd8
mov r15, qword [rsi + 0x10]
mov rax, qword [rdi]
mov qword [r15], rax
add qword [rsi + 0x10], 8
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.140001be1
int3
Function at 0x140080e90
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov rbx, qword [rcx + 8]
cmp rbx, qword [rcx]
je 0x140080eb6
mov r14, rbx
jmp 0x140081073
mov r15, qword [rsi + 0x10]
mov rax, qword [rsi + 0x18]
cmp r15, rax
jae 0x140080f0b
sub rax, r15
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
lea r12, [rax + rcx]
inc r12
sar r12, 1
lea r14, [r15 + r12*8]
sub r15, rbx
je 0x140080efa
sub r14, r15
mov rcx, r14
mov rdx, rbx
mov r8, r15
call fcn.140156ae0
mov rbx, qword [rsi + 0x10]
mov qword [rsi + 8], r14
lea rax, [rbx + r12*8]
mov qword [rsi + 0x10], rax
jmp 0x140081073
mov rcx, rax
sub rcx, rbx
sar rcx, 2
cmp rax, rbx
mov r13d, 1
cmovne r13, rcx
mov rax, r13
shr rax, 0x3d
jne 0x14008108f
lea r12, [r13 + 3]
shr r12, 2
lea rcx, [r13*8]
call fcn.140153c88
lea r14, [rax + r12*8]
mov r8, r15
sub r8, rbx
lea rcx, [rax + r13*8]
mov rdx, r14
sub r15, rbx
je 0x140081053
and r8, 0xfffffffffffffff8
mov rdx, r8
add rdx, r14
add r15, 0xfffffffffffffff8
mov r8, r14
mov r9, rbx
cmp r15, 0x68
jb 0x140081040
lea r10, [rax + r12*8]
sub r10, rbx
mov r8, r14
mov r9, rbx
cmp r10, 0x20
jb 0x140081040
shr r15, 3
lea r8, [r15 + 1]
add r15, 0xfffffffffffffffd
mov r9, r15
shr r9, 2
inc r9
cmp r15, 4
jae 0x140080fb4
xor r10d, r10d
jmp 0x140081008
shl r12, 3
mov r11, r9
and r11, 0xfffffffffffffffe
lea r15, [r12 + rax]
add r15, 0x30
xor r10d, r10d
nop word [rax + rax]
movups xmm0, xmmword [rbx + r10]
movups xmm1, xmmword [rbx + r10 + 0x10]
movups xmmword [r15 + r10 - 0x30], xmm0
movups xmmword [r15 + r10 - 0x20], xmm1
movups xmm0, xmmword [rbx + r10 + 0x20]
movups xmm1, xmmword [rbx + r10 + 0x30]
movups xmmword [r15 + r10 - 0x10], xmm0
movups xmmword [r15 + r10], xmm1
add r10, 0x40
add r11, 0xfffffffffffffffe
jne 0x140080fd0
mov r11, r8
and r11, 0xfffffffffffffffc
test r9b, 1
je 0x14008102b
movups xmm0, xmmword [rbx + r10]
movups xmm1, xmmword [rbx + r10 + 0x10]
movups xmmword [r14 + r10], xmm0
movups xmmword [r14 + r10 + 0x10], xmm1
cmp r8, r11
je 0x140081053
lea r8, [r14 + r11*8]
lea r9, [rbx + r11*8]
nop dword [rax + rax]
mov r10, qword [r9]
mov qword [r8], r10
add r8, 8
add r9, 8
cmp r8, rdx
jne 0x140081040
mov qword [rsi], rax
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], rdx
mov qword [rsi + 0x18], rcx
test rbx, rbx
je 0x140081073
mov rcx, rbx
call fcn.140153cd8
mov r14, qword [rsi + 8]
mov rax, qword [rdi]
mov qword [r14 - 8], rax
add qword [rsi + 8], 0xfffffffffffffff8
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.140001be1
int3

Function at 0x1400827f0
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x140082805
mov dword [rsi], eax
cmp eax, 0xffffffff
setne al
add rsp, 0x20
pop rsi
ret
Function at 0x140084bb0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov esi, ecx
mov edi, 3
call fcn.140051560
test al, al
jne 0x140084bce
call fcn.140051530
movzx edi, al
mov ecx, esi
mov edx, edi
call fcn.14005b1d0
mov eax, dword [0x1401ed4a8]
mov ecx, dword [0x1401ed290]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x24]
jg 0x140084c10
movsxd rdx, esi
inc rdx
lea rcx, [0x1401ed498]
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.1400528d0
lea rcx, [0x1401ed4a8]
call fcn.140153df0
cmp dword [0x1401ed4a8], 0xffffffff
jne 0x140084bf8
lea rcx, [0x1401ed498]
xor edx, edx
call fcn.140052920
lea rcx, [0x1401ed4a8]
call fcn.140153e88
jmp 0x140084bf8

Function at 0x140084c50
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov esi, ecx
call fcn.14005b1d0
mov eax, dword [0x1401ed4a8]
mov ecx, dword [0x1401ed290]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x24]
jg 0x140084c94
movsxd rdx, esi
inc rdx
lea rcx, [0x1401ed498]
add rsp, 0x20
pop rsi
jmp fcn.1400528d0
lea rcx, [0x1401ed4a8]
call fcn.140153df0
cmp dword [0x1401ed4a8], 0xffffffff
jne 0x140084c7d
lea rcx, [0x1401ed498]
xor edx, edx
call fcn.140052920
lea rcx, [0x1401ed4a8]
call fcn.140153e88
jmp 0x140084c7d