joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140061680
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
movaps xmmword [rsp + 0x50], xmm6
mov rdi, rcx
mov rax, qword [0x1401c6b58]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea r14, [rsp + 0x32]
xor esi, esi
lea r15, [0x14018f0c0]
movabs r12, 0xaaaaaaaaaaaaaaaa
movaps xmm6, xmmword [section..rdata]
lea rbx, [rsp + 0x30]
xor r13d, r13d
jmp 0x1400616e7
inc r13
movzx eax, byte [0x1401ca4e8]
xor rax, 3
cmp r13, rax
jae 0x1400617be
mov rdx, r13
shl rdx, 4
add rdx, r15
mov qword [rsp + 0x40], r12
movaps xmmword [rsp + 0x30], xmm6
mov rcx, rbx
call fcn.140010b3c
movzx eax, byte [rsp + 0x30]
test al, 1
jne 0x140061720
mov ecx, eax
shr ecx, 1
mov rdx, r14
jmp 0x14006173e
mov rcx, qword [rsp + 0x38]
test rcx, rcx
js 0x14006180f
mov rdx, qword [rsp + 0x40]
je 0x14006173e
test rdx, rdx
je 0x1400617e3
mov r8, qword [rdi]
mov r10, qword [rdi + 8]
cmp r10, rcx
mov r9, rcx
cmovb r9, r10
test r9, r9
je 0x14006175d
test r8, r8
je 0x1400617e3
cmp rcx, r10
jbe 0x140061780
test al, 1
je 0x1400616d0
mov rcx, qword [rsp + 0x40]
call fcn.140148278
jmp 0x1400616d0
test r9, r9
je 0x1400617a4
xor r9d, r9d
nop dword [rax + rax]
movzx r10d, word [r8 + r9*2]
cmp r10w, word [rdx + r9*2]
jne 0x140061762
inc r9
cmp rcx, r9
jne 0x140061790
test al, 1
jne 0x1400617af
shr al, 1
movzx esi, al
jmp 0x1400617be
mov rsi, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call fcn.140148278
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140148650
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rax, str.string_view::string_view__CharT___size_t_:_received_nullptr
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str.E:_nw82_sdk_win64_node_webkit_srcoutst_nw...._third_partylibc_srcinclude_string_view
lea r9, str.__len__0____s___nullptr
mov r8d, 0x13c
call fcn.140005c64
lea rax, str.string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str.E:_nw82_sdk_win64_node_webkit_srcoutst_nw...._third_partylibc_srcinclude_string_view
lea r9, str.__len___static_cast_size_type__numeric_limits_difference_type_::max___
mov r8d, 0x13a
call fcn.140005c64
int3
Function at 0x140067c2c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
test r8, r8
je 0x140067d7f
mov rbx, rcx
mov rax, qword [rcx + 8]
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx + 0x84], 0
je 0x140067d7f
add rax, rcx
cmp word [rax + 0x14], 0x78
jb 0x140067d7f
add rax, 0x88
je 0x140067d7f
mov rsi, r8
mov rdi, rdx
mov edx, dword [rax]
mov rax, qword [rbx]
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [0x1401de008]
test rax, rax
je 0x140067d7f
cmp rdi, 0xffff
jbe 0x140067d77
mov r14, rax
mov edx, dword [rax + 0x20]
mov rax, qword [rbx]
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [0x1401de008]
mov qword [rsp + 0x30], r14
mov ecx, dword [r14 + 0x18]
lea rcx, [rax + rcx*4]
lea r12, [rdi + 1]
mov qword [rsp + 0x28], rax
xor ebp, ebp
cmp rax, rcx
je 0x140067d81
mov r14, rcx
mov r15, rax
mov r13, rcx
sub r13, rax
mov rax, r13
sar rax, 2
shr r13, 0x3f
add r13, rax
and r13, 0xfffffffffffffffe
mov edx, dword [r15 + r13*2]
mov rax, qword [rbx]
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [0x1401de008]
mov cl, byte [rdi]
test cl, cl
je 0x140067d2d
mov rdx, r12
cmp cl, byte [rax]
jne 0x140067d2a
inc rax
mov cl, byte [rdx]
inc rdx
test cl, cl
jne 0x140067d18
xor ecx, ecx
movzx ebp, cl
lea r13, [r15 + r13*2]
movzx ecx, byte [rax]
lea rax, [r13 + 4]
cmp ebp, ecx
cmovle rax, r15
mov rcx, r14
cmovs rcx, r13
jne 0x140067cd2
cmp r15, r14
je 0x140067d7f
mov r14, qword [rsp + 0x30]
mov edx, dword [r14 + 0x24]
mov rax, qword [rbx]
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [0x1401de008]
sub r13, qword [rsp + 0x28]
sar r13, 1
movzx edi, word [rax + r13]
add di, word [r14 + 0x10]
mov word [rsi], di
mov bpl, 1
jmp 0x140067d81
xor ebp, ebp
mov eax, ebp
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x140067e5a
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [rcx + 8]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x140067e91
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x140067e91
movzx edx, word [rax + rcx + 0x14]
cmp edx, 0xf0
jne 0x140067e91
movzx eax, word [rax + rcx + 0x18]
cmp eax, 0x20b
sete al
ret
xor eax, eax
ret
Function at 0x14006c470
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x28
test rdx, rdx
je 0x14006c485
mov r8d, r8d
add rsp, 0x28
jmp fcn.14006bbc0
test r8d, r8d
jne 0x14006c48f
call fcn.14009c4f0
xor eax, eax
add rsp, 0x28
ret
Function at 0x140076510
Capabilities:
Hash data using sha256

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa0
mov rsi, r8
mov r8, rdx
mov rdx, rcx
mov rax, qword [0x1401c6b58]
xor rax, rsp
mov qword [rsp + 0x98], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x7c], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmm0, xmmword [0x140195140]
movaps xmmword [rsp + 0x20], xmm0
movaps xmm0, xmmword [0x140195150]
movaps xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x8c], 0x20
lea rcx, [rsp + 0x20]
call fcn.140077500
mov ebx, dword [rsp + 0x8c]
mov ebp, dword [rsp + 0x40]
mov r14d, dword [rsp + 0x44]
lea rdi, [rsp + 0x48]
mov eax, dword [rsp + 0x88]
lea rcx, [rax + 1]
mov byte [rsp + rax + 0x48], 0x80
cmp rax, 0x38
jb 0x1400765db
cmp eax, 0x3f
je 0x1400765c4
mov r8d, 0x3f
sub r8, rax
add rcx, rdi
xor edx, edx
call fcn.14014b870
lea rcx, [rsp + 0x20]
mov r8d, 1
mov rdx, rdi
call fcn.1400ae140
xor ecx, ecx
jmp 0x1400765e1
cmp rcx, 0x38
je 0x1400765f4
mov r8d, 0x38
sub r8, rcx
add rcx, rdi
xor edx, edx
call fcn.14014b870
bswap r14d
bswap ebp
mov dword [rsp + 0x80], r14d
mov dword [rsp + 0x84], ebp
lea rcx, [rsp + 0x20]
mov r8d, 1
mov rdx, rdi
call fcn.1400ae140
xorps xmm0, xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi], xmm0
mov dword [rdi + 0x40], 0
lea eax, [rbx - 0x21]
cmp eax, 0xffffffe3
jb 0x1400766a9
shr ebx, 2
mov eax, dword [rsp + 0x20]
bswap eax
mov dword [rsi], eax
cmp ebx, 1
je 0x1400766a9
mov eax, dword [rsp + 0x24]
bswap eax
mov dword [rsi + 4], eax
cmp ebx, 2
je 0x1400766a9
mov eax, dword [rsp + 0x28]
bswap eax
mov dword [rsi + 8], eax
cmp ebx, 3
je 0x1400766a9
mov eax, dword [rsp + 0x2c]
bswap eax
mov dword [rsi + 0xc], eax
cmp ebx, 4
je 0x1400766a9
mov eax, dword [rsp + 0x30]
bswap eax
mov dword [rsi + 0x10], eax
cmp ebx, 5
je 0x1400766a9
mov eax, dword [rsp + 0x34]
bswap eax
mov dword [rsi + 0x14], eax
cmp ebx, 6
je 0x1400766a9
mov eax, dword [rsp + 0x38]
bswap eax
mov dword [rsi + 0x18], eax
cmp ebx, 7
je 0x1400766a9
mov eax, dword [rsp + 0x3c]
bswap eax
mov dword [rsi + 0x1c], eax
lea rcx, [rsp + 0x20]
mov edx, 0x70
call fcn.140081580
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140148650
mov rax, rsi
add rsp, 0xa0
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x14007d5c0
Capabilities:
Check if file exists
Read file via mapping

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rsi, rcx
mov rax, qword [0x1401c6b58]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x90], rax
movaps xmm0, xmmword [section..rdata]
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.140059c00
lea rcx, [rsp + 0x50]
xor edi, edi
mov rdx, rbx
xor r8d, r8d
call fcn.140048050
mov rcx, rsi
call fcn.140040c80
test al, al
je 0x14007d736
mov rcx, rsi
call fcn.140040c90
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 0x14007d6d4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi + 0x40]
inc rax
cmp rax, 2
jb 0x14007d6b3
call fcn.140059c20
mov rcx, qword [rsi + 0x40]
call fcn.140038f70
mov qword [rsi + 0x40], 0
mov rax, rbx
inc rax
cmp rax, 2
jb 0x14007d6c8
mov qword [rsi + 0x40], rbx
call fcn.140059c20
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsi + 0x40]
lea rax, [rbx + 1]
cmp rax, 2
jae 0x14007d6e2
xor edi, edi
jmp 0x14007d736
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 0x14007d736
lea rax, [rsi + 0x30]
mov rax, qword [rax]
lea rcx, [0x140186f30]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x30]
call fcn.1400679a4
mov eax, dword [rax + 0x50]
mov qword [rsi + 0x38], rax
mov dil, 1
lea rcx, [rsp + 0x50]
call fcn.1400480b0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140148650
mov eax, edi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret
Function at 0x14007d760
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov edi, r8d
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x1401c6b58]
xor rax, rsp
mov qword [rsp + 0xb0], 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
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.140059c00
lea rcx, [rsp + 0x60]
xor r14d, r14d
mov rdx, r15
xor r8d, r8d
call fcn.140048050
mov rcx, rsi
call fcn.140040c80
test al, al
je 0x14007d9d1
cmp edi, 3
ja case.default.0x14007d816
mov eax, edi
lea rcx, [0x140195414]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov edi, 2
jmp 0x14007d828
xor edi, edi
jmp 0x14007d828
mov edi, 4
xor r15d, r15d
jmp 0x14007d83d
mov r14, qword [rbx + 8]
mov r15, r14
shr r15, 0x20
mov edi, 4
mov rcx, rsi
call fcn.140040c90
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 0x14007d8b9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi + 0x40]
inc rax
cmp rax, 2
jb 0x14007d898
call fcn.140059c20
mov rcx, qword [rsi + 0x40]
call fcn.140038f70
mov qword [rsi + 0x40], 0
mov rax, r14
inc rax
cmp rax, 2
jb 0x14007d8ad
mov qword [rsi + 0x40], r14
call fcn.140059c20
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rsi + 0x40]
inc r14
cmp r14, 2
jae 0x14007d8ca
xor r14d, r14d
jmp 0x14007d9d1
mov dword [rsp + 0x3c], 0
lea rdx, [0x140195428]
mov rcx, rbx
call fcn.14007da70
test al, al
je 0x14007d917
mov rcx, rsi
call fcn.140041480
xor r14d, r14d
test rax, rax
jle 0x14007d9d1
mov qword [rsi + 0x38], rax
xor r8d, r8d
xor eax, eax
jmp 0x14007d99b
mov rcx, rsi
call fcn.14007d5c0
mov r14d, eax
jmp 0x14007d9d1
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.14007dd70
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 0x14007d8c2
test r8b, r8b
jne 0x14007d8c2
test rdx, rdx
js 0x14007d8c2
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 0x14007d8c2
add rsi, 0x30
movsxd rax, dword [rsp + 0x3c]
add qword [rsi], rax
mov r14b, 1
lea rcx, [rsp + 0x60]
call fcn.1400480b0
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140148650
mov eax, r14d
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14007f850
Capabilities:
Compare security identifiers

Disassembly:
sub rsp, 0x28
mov rdx, qword [rdx]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
setne al
add rsp, 0x28
ret

Function at 0x140081a60
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, rcx
mov rax, qword [0x1401c6b58]
xor rax, rsp
mov qword [rsp + 0x48], rax
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 0x140081afe
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jb 0x140081ad2
call fcn.140059c20
mov rcx, qword [rsi]
call fcn.140038f70
mov qword [rsi], 0
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140081ae4
mov qword [rsi], rdi
call fcn.140059c20
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsi]
mov byte [rsi + 8], 0
inc rax
cmp rax, 1
jbe 0x140081b02
jmp 0x140081b42
mov byte [rsi + 8], 0
lea rdx, str.WaitableEvent
lea r8, str....._base_synchronizationwaitable_event_win.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r9d, 0x20
call fcn.140059c00
lea rdx, str.handle_.is_valid__
lea rbx, [rsp + 0x40]
mov rcx, rbx
mov r8, rdi
call fcn.140064660
mov rcx, rbx
call fcn.140064810
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140148650
mov rax, rsi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
Function at 0x140087fe0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rbx, qword [rcx + 8]
cmp rbx, qword [rcx]
je 0x140088004
mov r15, rbx
jmp 0x140088138
mov r14, qword [rsi + 0x10]
mov rax, qword [rsi + 0x18]
cmp r14, rax
jae 0x14008805f
sub rax, r14
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
lea r12, [rax + rcx]
inc r12
sar r12, 1
lea r15, [r14 + r12*8]
mov rax, r14
sub rax, rbx
sub r15, rax
sub r14, rbx
je 0x14008804e
mov rcx, r15
mov rdx, rbx
mov r8, r14
call fcn.14014b1c0
mov rbx, qword [rsi + 0x10]
mov qword [rsi + 8], r15
lea rax, [rbx + r12*8]
mov qword [rsi + 0x10], rax
jmp 0x140088138
mov rcx, rax
sub rcx, rbx
sar rcx, 2
cmp rax, rbx
mov r12d, 1
cmovne r12, rcx
mov rax, r12
shr rax, 0x3d
jne 0x140088183
lea rcx, [r12*8]
call fcn.140148228
lea r15, [r12*2 + 6]
and r15, 0xfffffffffffffff8
add r15, rax
mov rdx, r14
sub rdx, rbx
mov r8, r14
mov rcx, r15
sub r8, rbx
je 0x1400880dc
sar rdx, 3
lea rcx, [r8 + r15]
shl rdx, 3
xor r8d, r8d
nop
mov r9, r15
add r9, r8
je 0x140088157
mov r10, qword [rbx + r8]
mov qword [r9], r10
add r8, 8
cmp rdx, r8
jne 0x1400880c0
lea rdx, [rax + r12*8]
mov qword [rsi], rax
mov qword [rsi + 8], r15
mov qword [rsi + 0x10], rcx
mov qword [rsi + 0x18], rdx
nop
cmp r14, rbx
je 0x140088127
add r14, 0xfffffffffffffff8
jne 0x1400880f0
lea rax, str.null_pointer_given_to_destroy_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str.E:_nw82_sdk_win64_node_webkit_srcoutst_nw...._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__loc___nullptr
mov r8d, 0x44
call fcn.140005c64
test rbx, rbx
je 0x140088138
mov rcx, rbx
call fcn.140148278
mov r15, qword [rsi + 8]
add r15, 0xfffffffffffffff8
je 0x140088157
mov rax, qword [rdi]
mov qword [r15], rax
add qword [rsi + 8], 0xfffffffffffffff8
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str.E:_nw82_sdk_win64_node_webkit_srcoutst_nw...._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x28
call fcn.140005c64
call fcn.140001c85
int3

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

Disassembly:
push rsi
mov eax, ecx
test r8, r8
je 0x14009475c
cmp r8, 1
jne 0x1400946f2
xor ecx, ecx
jmp 0x14009473e
mov r9, r8
and r9, 0xfffffffffffffffe
xor ecx, ecx
lea r10, [0x140196b00]
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 0x140094710
test r8b, 1
je 0x14009475c
movzx r8d, al
movzx ecx, byte [rdx + rcx]
xor ecx, r8d
lea rdx, [0x140196b00]
shr eax, 8
xor eax, dword [rdx + rcx*4]
pop rsi
ret
Function at 0x1400960f0
Capabilities:
Access peb ldr_data

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov rax, qword [0x1401c6b58]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov byte [rcx], 0
mov eax, dword [0x1401ca5a0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rcx, [rax + 0x1a0]
mov qword [rsi + 8], rcx
mov rcx, qword [rax + 0x1a0]
mov qword [rax + 0x1a0], rsi
mov qword [rsi + 0x10], rcx
mov qword [rsi + 0x18], rdx
mov qword [rsi + 0x38], 0
mov dword [rsi + 0x40], 0
mov byte [rsi + 0x50], 0
xorps xmm0, xmm0
movups xmmword [rsi + 0x20], xmm0
mov qword [rsi + 0x58], r8
mov qword [rsi + 0x60], r9
test byte [0x1401c5ce0], 9
jne 0x140096183
mov byte [rsi + 0x30], 0
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140148650
mov rax, rsi
add rsp, 0x30
pop rsi
ret
lea rax, [rsi + 0x18]
mov byte [rsi + 0x30], 1
mov rcx, qword [rax]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
lea rdx, [rsp + 0x20]
call qword [0x1401de008]
mov rax, qword [rsp + 0x20]
mov qword [rsi + 0x20], rax
jmp 0x14009616d
Function at 0x14009ea30
Capabilities:
Create thread

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rdx
mov rax, qword [0x1401c6b58]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rax, qword [rcx + 8]
mov edi, 8
inc rax
cmp rax, 1
ja 0x14009eb4c
mov rbx, rcx
cmp qword [rcx + 0x18], 0
jne 0x14009eb4c
lea rdi, [rbx + 8]
mov rcx, 0xffffffffffffffff
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov rcx, rdi
mov rdx, rax
call fcn.140002f00
mov rax, qword [rdi]
mov edi, 0x3b
inc rax
cmp rax, 2
jb 0x14009eb4c
lea r15, [rbx + 0x18]
mov ecx, 0x20
call fcn.140148228
mov r14, rax
mov rcx, rax
call fcn.1400ec9d4
mov r12, qword [rbx + 8]
mov ecx, 0x18
call fcn.140148228
mov rcx, qword [rsi]
xor edi, edi
mov qword [rsi], rdi
mov qword [rax], r12
mov qword [rax + 8], rcx
mov qword [rax + 0x10], r14
mov qword [rsp + 0x38], rax
mov qword [r15], r14
lea r14, [rbx + 0x10]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
lea r8, [0x14009eb90]
xor ecx, ecx
xor edx, edx
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, r14
mov rdx, rax
call fcn.140002f00
mov rax, qword [rbx + 0x10]
inc rax
cmp rax, 1
ja 0x14009eb39
mov qword [r15], 0
mov edi, 0x3b
jmp 0x14009eb42
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0x38]
call fcn.14009f116
mov rcx, qword [rsi]
mov qword [rsi], 0
test rcx, rcx
je 0x14009eb6d
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
mov edx, 1
call qword [0x1401de008]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140148650
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

Function at 0x1400a3720
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov esi, ecx
mov rax, qword [0x1401c6b58]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rax, [0x1400a37c0]
mov qword [rsp + 0x20], rax
lea rcx, [0x1401cb068]
lea rdx, [0x1400a35c0]
lea r8, [rsp + 0x20]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x1400a37b4
cmp dword [0x1401cb070], 0
je 0x1400a3771
xor esi, esi
jmp 0x1400a379c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [0x1401cb074]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x1400a376d
movsxd rax, esi
mov rsi, qword [rdi + rax*8]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140148650
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
call fcn.1401610e4
int3
Function at 0x1400a37f0
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 [0x1401c6b58]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rax, [0x1400a37c0]
mov qword [rsp + 0x28], rax
lea rcx, [0x1401cb068]
lea rdx, [0x1400a35c0]
lea r8, [rsp + 0x28]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x1400a3907
cmp dword [0x1401cb070], 0
je 0x1400a385c
mov rcx, rsi
mov rax, rdi
call qword [0x1401de008]
xor esi, esi
jmp 0x1400a38b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov ecx, dword [0x1401cb074]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, rax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
je 0x1400a38cc
lea r15, [0x1401cb078]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
movsxd rbx, ebx
lea rax, [0x1401cb080]
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.140148650
mov eax, esi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov ecx, 1
mov edx, 0x28
call fcn.140165e9c
test rax, rax
je 0x1400a384c
mov r14, rax
mov ecx, dword [0x1401cb074]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x1400a3880
mov rcx, r14
call fcn.140167d00
jmp 0x1400a384c
call fcn.1401610e4
int3

Function at 0x1400a3d20
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
add rax, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x1400a3d40
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
ret

Function at 0x1400a3d80
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
add rax, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x1400a3da0
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
ret