joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180a54108
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.180a5428f
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x180a54139
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180a5411f
add dl, dl
jne 0x180a54146
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180a541a6
xor eax, eax
add dl, dl
jne 0x180a54155
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180a5425d
add dl, dl
jne 0x180a54166
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180a54173
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180a54180
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180a5418d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x180a5419a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x180a5412e
mov eax, 1
add dl, dl
jne 0x180a541b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180a541c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180a541ab
sub eax, ebx
mov ebx, 1
jne 0x180a541fc
mov ecx, 1
add dl, dl
jne 0x180a541de
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180a541eb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180a541d3
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180a5412e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x180a54218
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180a54225
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180a5420d
cmp eax, 0x7d00
jae 0x180a5424b
cmp eax, 0x500
jb 0x180a54246
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180a5412e
cmp eax, 0x7f
ja 0x180a5424e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180a5412e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x180a54282
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x180a5412e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000341b
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm14
movaps xmmword [rsp + 0x70], xmm13
movaps xmmword [rsp + 0x60], xmm12
movaps xmmword [rsp + 0x50], xmm11
movaps xmmword [rsp + 0x40], xmm10
movaps xmmword [rsp + 0x30], xmm9
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x10], xmm7
movaps xmmword [rsp], xmm6
aesimc xmm0, xmmword [rdx + 0x10]
aesimc xmm1, xmmword [rdx + 0x20]
aesimc xmm2, xmmword [rdx + 0x30]
aesimc xmm3, xmmword [rdx + 0x40]
aesimc xmm4, xmmword [rdx + 0x50]
aesimc xmm5, xmmword [rdx + 0x60]
aesimc xmm6, xmmword [rdx + 0x70]
aesimc xmm7, xmmword [rdx + 0x80]
aesimc xmm8, xmmword [rdx + 0x90]
aesimc xmm9, xmmword [rdx + 0xa0]
aesimc xmm10, xmmword [rdx + 0xb0]
aesimc xmm11, xmmword [rdx + 0xc0]
aesimc xmm12, xmmword [rdx + 0xd0]
movaps xmm13, xmmword [rdx]
movaps xmm14, xmmword [rdx + 0xe0]
movaps xmmword [rcx], xmm13
movdqa xmmword [rcx + 0x10], xmm0
movdqa xmmword [rcx + 0x20], xmm1
movdqa xmmword [rcx + 0x30], xmm2
movdqa xmmword [rcx + 0x40], xmm3
movdqa xmmword [rcx + 0x50], xmm4
movdqa xmmword [rcx + 0x60], xmm5
movdqa xmmword [rcx + 0x70], xmm6
movdqa xmmword [rcx + 0x80], xmm7
movdqa xmmword [rcx + 0x90], xmm8
movdqa xmmword [rcx + 0xa0], xmm9
movdqa xmmword [rcx + 0xb0], xmm10
movdqa xmmword [rcx + 0xc0], xmm11
movdqa xmmword [rcx + 0xd0], xmm12
movaps xmmword [rcx + 0xe0], xmm14
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x50]
movaps xmm12, xmmword [rsp + 0x60]
movaps xmm13, xmmword [rsp + 0x70]
movaps xmm14, xmmword [rsp + 0x80]
add rsp, 0x98
ret

Function at 0x14000392a
Capabilities:
Create directory

Disassembly:
mov r8, rdx
mov rdx, rcx
xor ecx, ecx
jmp fcn.14011c6b4
Function at 0x140013a4f
Capabilities:
Encrypt data using dpapi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rdi, rdx
mov rbx, rcx
mov eax, dword [rdx + 0x10]
mov rsi, qword [rdx]
lea rcx, [rsp + 0x50]
mov dword [rcx], eax
lea rax, [rsp + 0x40]
and dword [rax], 0
mov qword [rcx + 8], rsi
and qword [rax + 8], 0
and dword [rsp + 0x28], 0
mov qword [rsp + 0x30], rax
and qword [rsp + 0x20], 0
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call sub.crypt32.dll_CryptUnprotectData
mov rax, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
mov qword [rbx], rax
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rcx
mov rdx, qword [rdi + 8]
mov rcx, rsi
call fcn.1400f7fd9
nop
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
Function at 0x14002fd17
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aeskeygenassist xmm0, xmmword [rdx], 2
movdqa xmmword [rcx], xmm0
ret

Function at 0x140039b40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x140039bd0
cmp r11, r10
ja 0x140039c46
cmp r10, rdx
ja 0x140039c5a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x140039bd2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140039bb0
jmp 0x140039c34
ja 0x140039bda
mov r11, r10
cmp rax, r8
jne 0x140039b74
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x140039c10
mov rdi, r8
sub ecx, edx
jns 0x140039c2b
jmp 0x140039c36
cmp r8, rsi
je 0x140039c6b
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140039c36
xor al, 1
cmp rdi, rsi
jne 0x140039bf0
jmp 0x140039c36
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140034f70
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140033800
ud2
lea rcx, [0x1402a02f2]
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.140033ba0
ud2
Function at 0x14003f253
Capabilities:
Hash data with crc32

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov r9, r8
mov rax, rdx
not ecx
lea rdi, [0x140238858]
mov ebx, 0xff
lea rsi, str._home_wyene_.cargo_registry_src_index.crates.io_6f17d22bba15001f_crc32fast_1.4.0_src_baseline.rs
cmp r9, 0x40
jb 0x14003f383
mov r14d, 4
sub r14, 1
jb 0x14003f278
cmp r9, 0xf
jbe 0x14003f3b0
movzx edx, byte [rax + 0xf]
movzx r8d, byte [rax + 0xe]
mov ebp, dword [rdi + r8*4 + 0x400]
xor ebp, dword [rdi + rdx*4]
movzx edx, byte [rax + 0xd]
xor ebp, dword [rdi + rdx*4 + 0x800]
movzx edx, byte [rax + 0xc]
xor ebp, dword [rdi + rdx*4 + 0xc00]
movzx edx, byte [rax + 0xb]
xor ebp, dword [rdi + rdx*4 + 0x1000]
movzx edx, byte [rax + 0xa]
xor ebp, dword [rdi + rdx*4 + 0x1400]
movzx edx, byte [rax + 9]
xor ebp, dword [rdi + rdx*4 + 0x1800]
movzx edx, byte [rax + 8]
xor ebp, dword [rdi + rdx*4 + 0x1c00]
movzx edx, byte [rax + 7]
xor ebp, dword [rdi + rdx*4 + 0x2000]
movzx edx, byte [rax + 6]
xor ebp, dword [rdi + rdx*4 + 0x2400]
movzx edx, byte [rax + 5]
xor ebp, dword [rdi + rdx*4 + 0x2800]
movzx edx, byte [rax + 4]
xor ebp, dword [rdi + rdx*4 + 0x2c00]
mov edx, ecx
shr edx, 0x18
movzx r8d, byte [rax + 3]
xor r8d, edx
xor ebp, dword [rdi + r8*4 + 0x3000]
mov edx, ecx
shr edx, 0x10
and edx, ebx
movzx r8d, byte [rax + 2]
xor r8d, edx
xor ebp, dword [rdi + r8*4 + 0x3400]
mov edx, ecx
shr edx, 8
and edx, ebx
movzx r8d, byte [rax + 1]
xor r8d, edx
xor ebp, dword [rdi + r8*4 + 0x3800]
and ecx, ebx
movzx edx, byte [rax]
xor edx, ecx
xor ebp, dword [rdi + rdx*4 + 0x3c00]
mov rcx, rax
mov rdx, r9
mov r8, rsi
call fcn.14003f897
mov r9, rdx
mov ecx, ebp
jmp 0x14003f288
xor edx, edx
cmp r9, rdx
je 0x14003f3a1
mov r8b, byte [rax + rdx]
xor r8b, cl
movzx r8d, r8b
shr ecx, 8
xor ecx, dword [rdi + r8*4]
inc rdx
jmp 0x14003f385
not ecx
mov eax, ecx
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
lea r8, str._home_wyene_.cargo_registry_src_index.crates.io_6f17d22bba15001f_crc32fast_1.4.0_src_baseline.rs
mov ecx, 0xf
mov rdx, r9
call fcn.140032f20
ud2
Function at 0x140040498
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x140225028]
test ecx, ecx
je 0x1400404b1
dec ecx
add rsp, 0x28
jmp sub.kernel32.dll_TlsGetValue
lea rcx, [0x140225010]
call fcn.1400cc650
mov ecx, eax
jmp 0x1400404a8

Function at 0x1400404c1
Capabilities:
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rdx
mov rax, rcx
mov ecx, dword [rcx + 0x18]
test ecx, ecx
je 0x1400404e2
dec ecx
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp sub.kernel32.dll_TlsSetValue
mov rcx, rax
call fcn.1400cc650
mov ecx, eax
jmp 0x1400404d5

Function at 0x140044cff
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
mov rbx, qword [rcx]
xor ecx, ecx
test rbx, rbx
setne cl
call fcn.140044d4a
test rbx, rbx
je 0x140044d38
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140044d75
mov cl, byte [rdi + 8]
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140044d6d

Function at 0x140044d75
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [rcx]
xor r9d, r9d
movabs r10, 0x100000001b3
cmp r8, r9
je 0x140044d9b
movzx r11d, byte [rdx + r9]
xor rax, r11
imul rax, r10
inc r9
jmp 0x140044d85
mov qword [rcx], rax
ret
Function at 0x14006c5ad
Capabilities:
Link many functions at runtime

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rcx
mov r14, qword [0x1402f60d0]
test r14, r14
jne 0x14006c6d4
lea rcx, str.api_ms_win_core_synch_l1_2_0.dll
call sub.kernel32.dll_GetModuleHandleA
test rax, rax
je 0x14006c614
mov rbx, rax
lea rdx, str.WaitOnAddress
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14006c614
mov rdi, rax
lea rdx, str.WakeByAddressSingle
mov rcx, rbx
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14006c614
mov r15, rax
xor ebx, ebx
jmp 0x14006c695
lea rcx, str.ntdll.dll
call sub.kernel32.dll_GetModuleHandleA
test rax, rax
je 0x14006c6e8
mov rdi, rax
lea rdx, str.NtCreateKeyedEvent
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14006c6e8
mov r14, rax
lea rdx, str.NtReleaseKeyedEvent
mov rcx, rdi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14006c6e8
mov rbx, rax
lea rdx, str.NtWaitForKeyedEvent
mov rcx, rdi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14006c6e8
mov rdi, rax
lea rcx, [rsp + 0x28]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call r14
test eax, eax
jne 0x14006c6e8
mov r15, qword [rsp + 0x28]
mov ecx, 0x18
call fcn.1400c69fc
mov r14, rax
mov qword [rax], rbx
mov qword [rax + 8], rdi
mov qword [rax + 0x10], r15
xor eax, eax
lock cmpxchg qword [0x1402f60d0], r14
je 0x14006c6d4
mov rdi, rax
mov rcx, qword [r14]
mov rdx, qword [r14 + 0x10]
call fcn.14006c72e
mov rcx, r14
call fcn.140062f93
mov r14, rdi
and qword [rsi + 8], 0
mov qword [rsi], r14
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, str.parking_lot_requires_either_NT_Keyed_Events__WinXP__or_WaitOnAddress_WakeByAddress__Win8__home_wyene_.cargo_registry_src_index.crates.io_6f17d22bba15001f_parking_lot_core_0.9.9_src_thread_parker_windows_mod.rs
lea r8, str.b_
mov edx, 0x5b
call fcn.14006c73c
ud2

Function at 0x14006ce56
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x140225048]
test ecx, ecx
je 0x14006ce6f
dec ecx
add rsp, 0x28
jmp sub.kernel32.dll_TlsGetValue
lea rcx, [0x140225030]
call fcn.1400cc650
mov ecx, eax
jmp 0x14006ce66
Function at 0x14006f353
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov r8, rdx
mov rsi, rcx
mov edi, 0x20
mov ebx, 0xffffffff
test rdi, rdi
je 0x14006f3e0
cmp rdi, rbx
mov edx, 0xffffffff
cmovb rdx, rdi
lea r14, [r8 + rdx]
sub rdi, rdx
mov rcx, r8
call sub.advapi32.dll_SystemFunction036
mov r8, r14
test al, al
jne 0x14006f36c
call sub.kernel32.dll_GetLastError
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov qword [rsp + 0x20], rdi
mov ecx, 8
mov edx, 8
call fcn.14000bb52
mov qword [rax], rdi
lea rcx, str.couldnt_generate_random_bytesNoTimerCoarseTimerNotMonotonicTinyVariantionsTooManyStuck_home_wyene_.cargo_registry_src_index.crates.io_6f17d22bba15001f_rand_0.5.6_src_rngs_thread.rscould_not_initialize_thread_rng:
mov qword [rsi], rcx
mov qword [rsi + 8], 0x1e
mov qword [rsi + 0x10], rax
lea rax, fcn.14006db21
mov qword [rsi + 0x18], rax
mov byte [rsi + 0x20], 0
jmp 0x14006f3e4
mov byte [rsi + 0x20], 5
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x14006f70f
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x140225070]
test ecx, ecx
je 0x14006f728
dec ecx
add rsp, 0x28
jmp sub.kernel32.dll_TlsGetValue
lea rcx, [0x140225058]
call fcn.1400cc650
mov ecx, eax
jmp 0x14006f71f
Function at 0x140070564
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
mov eax, 0x2090
call fcn.14011cfa0
sub rsp, rax
mov rdi, rcx
call fcn.14006f70f
cmp rax, 2
jb 0x140070595
mov rsi, rax
cmp qword [rax + 8], 0
je 0x140070595
add rsi, 8
jmp 0x1400706c8
call fcn.14006f70f
cmp rax, 1
je 0x1400706c6
mov rsi, rax
test rax, rax
jne 0x1400705e5
mov ecx, 0x10
mov edx, 8
call fcn.14000bb52
mov rsi, rax
lea rax, [0x140225058]
mov qword [rsi], rax
and qword [rsi + 8], 0
mov ecx, dword [0x140225070]
test ecx, ecx
je 0x1400706d6
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
test rdi, rdi
je 0x140070601
mov rbx, qword [rdi]
and qword [rdi], 0
test rbx, rbx
jne 0x1400706b5
xor ecx, ecx
call fcn.14006f333
lea rdx, [rsp + 0x28]
mov byte [rdx + 0x13], 5
lea rdi, [rsp + 0x78]
mov rcx, rdi
call fcn.14006dd84
cmp qword [rdi], 0
jne 0x1400706e9
lea rdx, [rsp + 0x80]
lea rdi, [rsp + 0x1088]
mov r8d, 0x1008
mov rcx, rdi
call sub.msvcrt.dll_memcpy
mov ecx, 0x1088
mov edx, 8
call fcn.14000bb52
mov rbx, rax
mov eax, 1
mov qword [rbx], rax
mov qword [rbx + 8], rax
xorps xmm0, xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x30], xmm0
movups xmmword [rbx + 0x40], xmm0
mov qword [rbx + 0x50], 0x10
lea rcx, [rbx + 0x58]
mov r8d, 0x1008
mov rdx, rdi
call sub.msvcrt.dll_memcpy
mov eax, 0x2000000
mov qword [rbx + 0x1060], rax
mov qword [rbx + 0x1068], rax
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rbx + 0x1070], xmm0
mov rax, qword [rsp + 0x38]
mov qword [rbx + 0x1080], rax
add rsi, 8
mov rcx, qword [rsi]
mov qword [rsi], rbx
call fcn.14006f333
jmp 0x1400706c8
xor esi, esi
mov rax, rsi
add rsp, 0x2090
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x140225058]
call fcn.1400cc650
mov ecx, eax
jmp 0x1400705dd
mov rax, qword [rsp + 0xa0]
lea rcx, [rsp + 0x40]
mov qword [rcx + 0x20], rax
movups xmm0, xmmword [rsp + 0x80]
movups xmm1, xmmword [rsp + 0x90]
movaps xmmword [rcx + 0x10], xmm1
movaps xmmword [rcx], xmm0
lea rax, [rsp + 0x68]
mov qword [rax], rcx
lea rdx, [0x140266e48]
lea rcx, [rsp + 0x1088]
mov qword [rcx], rdx
mov edx, 1
mov qword [rcx + 8], rdx
and qword [rcx + 0x20], 0
lea r8, [0x14007087d]
mov qword [rax + 8], r8
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rdx
lea rdx, [0x140266e58]
call fcn.140032e60
ud2
Function at 0x1400a6bc6
Capabilities:
Decrypt data via sspi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
mov rsi, rcx
mov r8, qword [rdx + 0x98]
mov rcx, qword [rdx + 0x80]
mov rdx, qword [rdx + 0x90]
lea r9, [0x14026c678]
call fcn.1400a692b
xor ecx, ecx
test rax, rax
cmove edx, ecx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rcx + 0x30], xmm0
mov dword [rcx], edx
mov dword [rcx + 4], 1
mov qword [rcx + 8], rax
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movabs rax, 0x400000000
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
lea rcx, [rdi + 0xc0]
xor r8d, r8d
xor r9d, r9d
call sub.secur32.dll_DecryptMessage
cmp eax, 0x80090318
je 0x1400a6ca3
test eax, eax
je 0x1400a6cbf
cmp eax, 0x90317
je 0x1400a6d37
cmp eax, 0x90321
jne 0x1400a6d3f
mov dword [rdi + 0x40], 0x10000
xor ebx, ebx
mov byte [rdi + 0x44], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x98]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.1400a6b66
and qword [rdi + 0xf8], 0
mov byte [rsi + 1], bl
jmp 0x1400a6d4d
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0xf8], rax
mov byte [rsi + 1], 0
jmp 0x1400a6d3b
mov r8, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x80]
mov rdx, qword [rdi + 0x90]
sub r8, rcx
mov r9d, dword [rsp + 0x30]
add r9, r8
lea rbx, [rdi + 0x60]
and qword [rdi + 0x70], 0
call fcn.1400a6d57
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.14010f5a4
and qword [rdi + 0x78], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x98]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.1400a6b66
xor eax, eax
cmp qword [rdi + 0x98], rbx
sete al
mov qword [rdi + 0xf8], rax
mov byte [rsi + 1], 0
jmp 0x1400a6d4d
mov byte [rsi + 1], 1
xor ebx, ebx
jmp 0x1400a6d4d
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
mov byte [rsi], bl
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400a7223
Capabilities:
Receive data
Receive data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rdi, r8
mov rsi, rcx
mov qword [rcx + 0x38], rdx
mov rcx, r8
call fcn.1400a70ef
mov rbx, rax
mov r14, rdx
lea r15, [rsp + 0x28]
mov rcx, rsi
call fcn.1400a71c6
test rdx, rdx
jne 0x1400a6ff3
mov rcx, r15
mov rdx, rsi
call fcn.1400a5b75
mov eax, dword [rsp + 0x28]
cmp eax, 2
je 0x1400a707e
test eax, eax
je 0x1400a6ff3
cmp qword [rsi + 0xf8], 0
je 0x1400a6fd6
mov rcx, r15
mov rdx, rsi
call fcn.1400a6997
cmp qword [rsp + 0x28], 0
jne 0x1400a707e
cmp qword [rsp + 0x30], 0
je 0x1400a6ff3
and qword [rsi + 0xf8], 0
mov rcx, r15
mov rdx, rsi
call fcn.1400a6bc6
cmp byte [rsp + 0x28], 0
jne 0x1400a707e
cmp byte [rsp + 0x29], 0
je 0x1400a6f7c
mov rcx, rsi
call fcn.1400a71c6
mov r13, rax
mov r15, rdx
test rax, rax
je 0x1400a7083
cmp r14, r15
mov r12, r15
cmovb r12, r14
lea r9, [0x14026bee0]
mov rcx, r12
mov rdx, rbx
mov r8, r14
call fcn.1400a694d
mov rbx, rax
mov r14, rdx
lea r9, [0x14026bef8]
mov rcx, r13
mov rdx, r15
mov r8, r12
call fcn.140067432
mov r9, rdx
lea rcx, [0x14026bf10]
mov qword [rsp + 0x20], rcx
mov rcx, rbx
mov rdx, r14
mov r8, rax
call fcn.140070a91
mov rax, qword [rsi + 0x78]
add rax, r12
cmp rax, qword [rsi + 0x70]
ja 0x1400a70c4
mov qword [rsi + 0x78], rax
mov rcx, rdi
mov rdx, r12
call fcn.1400a715c
xor r15d, r15d
jmp 0x1400a70aa
mov r15, qword [rsp + 0x30]
mov qword [rsp + 0x28], r15
mov rcx, r15
call fcn.140047f09
cmp al, 0xd
jne 0x1400a70aa
and qword [rsi + 0x38], 0
lea rcx, [rsp + 0x28]
call fcn.140074d6d
mov eax, 1
jmp 0x1400a70b1
and qword [rsi + 0x38], 0
xor eax, eax
mov rdx, r15
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x14026c04e]
lea r8, [0x14026c090]
mov edx, 0x3b
call fcn.140033ba0
ud2
cmp dword [rcx], 2
jne 0x1400a6f50
add rcx, 8
jmp fcn.14010a84b
Function at 0x1400a8a4b
Capabilities:
Decrypt data via sspi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
mov rsi, rcx
mov r8, qword [rdx + 0x198]
mov rcx, qword [rdx + 0x180]
mov rdx, qword [rdx + 0x190]
lea r9, [0x14026c678]
call fcn.1400a692b
xor ecx, ecx
test rax, rax
cmove edx, ecx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rcx + 0x30], xmm0
mov dword [rcx], edx
mov dword [rcx + 4], 1
mov qword [rcx + 8], rax
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movabs rax, 0x400000000
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
lea rcx, [rdi + 0x1c0]
xor r8d, r8d
xor r9d, r9d
call sub.secur32.dll_DecryptMessage
cmp eax, 0x80090318
je 0x1400a8b2e
test eax, eax
je 0x1400a8b4d
cmp eax, 0x90317
je 0x1400a8bce
cmp eax, 0x90321
jne 0x1400a8bd6
mov dword [rdi + 0x140], 0x10000
xor ebx, ebx
mov byte [rdi + 0x144], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x198]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.1400a89eb
and qword [rdi + 0x1f8], 0
mov byte [rsi + 1], bl
jmp 0x1400a8be4
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x1f8], rax
mov byte [rsi + 1], 0
jmp 0x1400a8bd2
mov r8, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x180]
mov rdx, qword [rdi + 0x190]
sub r8, rcx
mov r9d, dword [rsp + 0x30]
add r9, r8
lea rbx, [rdi + 0x160]
and qword [rdi + 0x170], 0
call fcn.1400a6d57
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.14010f5a4
and qword [rdi + 0x178], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x198]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.1400a89eb
xor eax, eax
cmp qword [rdi + 0x198], rbx
sete al
mov qword [rdi + 0x1f8], rax
mov byte [rsi + 1], 0
jmp 0x1400a8be4
mov byte [rsi + 1], 1
xor ebx, ebx
jmp 0x1400a8be4
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
mov byte [rsi], bl
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400b86d0
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rax, r8
mov rbx, rdx
mov rdi, rcx
lea rcx, [rsp + 0x58]
mov r8d, 0xb
mov rdx, rax
call fcn.1400b8587
mov dword [rsp + 0x38], 0x800
and dword [rsp + 0x3c], 0
mov ecx, 0x800
call fcn.140066829
lea r15, [rsp + 0x40]
mov qword [r15], rax
mov qword [r15 + 8], rdx
and qword [r15 + 0x10], 0
mov rsi, qword [rsp + 0x58]
lea r13, [rsp + 0x38]
lea r12, [rsp + 0x3c]
mov r14, qword [rsp + 0x40]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov rcx, rbx
mov rdx, rsi
xor r8d, r8d
mov r9, r12
call sub.advapi32.dll_RegQueryValueExW
cmp eax, 0xea
jne 0x1400b8767
mov edx, dword [rsp + 0x38]
mov rcx, r15
call fcn.14010f53e
jmp 0x1400b8732
test eax, eax
jne 0x1400b8789
mov eax, dword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x3c]
cmp eax, 0xb
jbe 0x1400b87a7
movabs rax, 0xde00000002
jmp 0x1400b8791
shl rax, 0x20
or rax, 2
mov qword [rdi], rax
mov byte [rdi + 0x18], 0xc
mov rdx, qword [rsp + 0x48]
mov rcx, r14
call fcn.140076c0d
jmp 0x1400b87bb
mov rcx, qword [rsp + 0x50]
mov qword [rdi + 0x10], rcx
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rdi], xmm0
mov byte [rdi + 0x18], al
mov rdx, qword [rsp + 0x60]
mov rcx, rsi
call fcn.14000822d
nop
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x1400c16d0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.140033390
cmp rax, rcx
je 0x1400c16f5
cmp rdx, 4
jae 0x1400c16f8
xor eax, eax
xor r8d, r8d
jmp 0x1400c1790
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x14022c130]
movdqa xmm3, xmmword [0x14022c140]
pxor xmm1, xmm1
nop dword [rax]
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x1400c1720
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x1400c17a7
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x1400c1790
ret