joyce8/EMBER2024-capa huggingface dataset:
Function at 0x490140
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub cl, byte [rdi]
test byte [rsi + rcx*2 + 0x75], dh
jmp 0x129985c
test byte [rsi + 0xf000002], dh
test dword [rax + 2], esi
add byte [rax], al
add byte [rax - 0x3f7bc3fc], cl
mov rax, qword [rcx + 0x10]
mov edx, dword [rcx + 0x3c]
jmp 0x49020a
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 8], 0x5b41
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 0xa], 0x5a41
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 0xc], 0x5941
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 0xe], 0x5841
je 0x4902b4
jne 0x4902b4
jmp 0x1b7eb52
ret
mov qword [rcx + 0x10], rdx
jmp 0x490385
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 6], 0x5c41
jmp 0x49014e
cmp edx, 0x8664
je 0x4902d1
cmp edx, 0x14c
jne 0x49018b
je 0x49026b
jne 0x49026b
jmp 0x498bbe
jne 0x4902c6
add byte [rax], al
add byte [rax], al
jmp 0x490193
jne 0x490342
je 0x10928d3d
mov r9, qword [rcx + 0x10]
lea rdx, [r9 + 1]
mov qword [rcx + 0x10], rdx
je 0x490303
jne 0x490303
jmp 0x4902f4
je 0x490285
jne 0x490285
add byte [rax], al
add byte [rax], al
mov rdx, qword [rcx + 8]
mov byte [rdx + r8], 0x58
mov qword [rcx + 0x10], r9
jmp 0x49018b
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x11], 0x5e
mov rdx, qword [rcx + 8]
je 0x49028c
jne 0x49028c
je 0x2594706
mov byte [rax + rdx + 2], 0x5d
pop rbp
je 0x490342
jmp 0x4901e5
mov byte [rax + rdx + 4], 0x5a
mov rdx, qword [rcx + 8]
lea r8, [rax + 6]
je 0x4902c6
jmp 0x4901d7
mov byte [rax + rdx + 3], 0x5b
mov rdx, qword [rcx + 8]
jmp 0x49024b
mov rdx, qword [rcx + 8]
mov byte [rdx + rax], 0x5f
mov rdx, qword [rcx + 8]
mov byte [rax + rdx + 1], 0x5e
mov rdx, qword [rcx + 8]
je 0x49023c
jne 0x49023c
jmp 0x482972
jmp 0x4901b0
jne 0x4902f4
mov byte [r9 + rdx + 0x12], 0x5d
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x13], 0x5b
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x14], 0x5a
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x15], 0x59
jmp 0x4902dd
je 0x89a8e00
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x10], 0x5f
jmp 0x490228
jne 0x490317
jmp 0x5594790
mov byte [rax + rdx + 5], 0x59
lea r9, [rax + 7]
jmp 0x4902e5
mov r8, qword [rcx + 8]
lea rdx, [rax + 1]
jmp 0x490339
lea r8, [r9 + 0x16]
add r9, 0x17
je 0x490212
jne 0x490212
jmp 0x4902b2
jmp 0x4901a0
je 0x490317
jmp 0x4902c3
mov byte [r8 + r9], 0x8b
mov r8, qword [rcx + 8]
mov r9, qword [rcx + 0x10]
je 0x490383
jne 0x490383
jmp 0x490317
mov qword [rcx + 0x10], rdx
mov byte [r8 + r9], 0xe5
mov r8, qword [rcx + 8]
mov r9, qword [rcx + 0x10]
lea rdx, [r9 + 1]
jmp 0x49035d
lea rdx, [r9 + 1]
jmp 0x4902f9
mov qword [rcx + 0x10], rdx
je 0x49036d
jne 0x49036d
jmp 0x89a8e8e
mov rdx, qword [rcx + 8]
je 0x49025f
jne 0x49025f
je 0x481641
inc dword [rax]
add byte [rax], al
add byte [rdi], cl
test byte [rsi - 2], bh
invalid
je 0x4901e1
jne 0x4901e1
add byte [rax], al
add byte [rax], al
mov byte [r8 + rax], 0x48
mov r8, qword [rcx + 8]
je 0x4901ed
jne 0x4901ed
jmp 0xffffffffc68cae72
jmp 0x49032f
mov byte [r8 + r9], 0x5d
mov r8, qword [rcx + 8]
mov r9, qword [rcx + 0x10]
mov word [r8 + r9], 0x5f41
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 2], 0x5e41
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 4], 0x5d41
je 0x4902f4
jmp 0x49028a
invalid
Function at 0x49a860
Capabilities:
Encrypt data using speck
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
jmp 0x49aab8
mov edi, edx
jmp 0x49ab91
je 0x49aabe
jne 0x49aabe
je 0x539f0218
push rsi
push rdi
push rbp
push rbx
jmp 0x49abba
sub rsp, 0xa8
jmp 0x49a9b8

Function at 0x4a8c50
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov eax, dword [rdx]
mov dword [rcx + 0x10], eax
mov eax, dword [rdx + 4]
mov dword [rcx + 0x14], eax
mov eax, dword [rdx + 8]
mov dword [rcx + 0x18], eax
mov eax, dword [rdx + 0xc]
mov dword [rcx + 0x1c], eax
lea rax, [rdx + 0x10]
cmp r8d, 0x100
cmovne rax, rdx
lea r8, str.expand_32_byte_kexpand_16_byte_k
lea r9, [0x004bfbe0]
cmove r9, r8
mov edx, dword [rax]
mov dword [rcx + 0x20], edx
mov edx, dword [rax + 4]
mov dword [rcx + 0x24], edx
mov edx, dword [rax + 8]
mov dword [rcx + 0x28], edx
mov eax, dword [rax + 0xc]
mov dword [rcx + 0x2c], eax
mov dword [rcx], 0x61707865
mov rax, qword [r9 + 4]
mov qword [rcx + 4], rax
mov eax, dword [r9 + 0xc]
mov dword [rcx + 0xc], eax
ret

Function at 0x4a8d90
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov qword [rsp + 0x50], rcx
mov eax, dword [rdx]
mov dword [rsp + 0xc], eax
mov eax, dword [rdx + 4]
mov dword [rsp + 0x10], eax
mov eax, dword [rdx + 8]
mov dword [rsp + 0x14], eax
mov r12d, dword [rdx + 0xc]
mov r13d, dword [rdx + 0x10]
mov r14d, dword [rdx + 0x14]
mov r15d, dword [rdx + 0x18]
mov r10d, dword [rdx + 0x1c]
mov edi, dword [rdx + 0x20]
mov r11d, dword [rdx + 0x24]
mov ebx, dword [rdx + 0x28]
mov ebp, dword [rdx + 0x2c]
mov ecx, dword [rdx + 0x30]
mov eax, dword [rdx + 0x34]
mov r9d, dword [rdx + 0x38]
mov r8d, dword [rdx + 0x3c]
mov dword [rsp + 0x4c], 0xfffffff8
mov dword [rsp + 0x48], r8d
mov dword [rsp + 0x44], r9d
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x3c], ecx
mov edx, ecx
mov dword [rsp + 0x38], ebp
mov dword [rsp + 8], ebp
mov dword [rsp + 0x34], ebx
mov dword [rsp], ebx
mov dword [rsp + 0x30], r11d
mov dword [rsp + 0x2c], edi
mov ebp, edi
mov dword [rsp + 0x28], r10d
mov edi, r10d
mov dword [rsp + 0x24], r15d
mov dword [rsp + 0x20], r14d
mov ebx, r14d
mov dword [rsp + 0x1c], r13d
mov dword [rsp + 0x18], r12d
mov r14d, r12d
mov r12d, dword [rsp + 0x14]
mov r10d, dword [rsp + 0x10]
mov ecx, dword [rsp + 0xc]
nop

Function at 0x4aed00
Capabilities:
Hash data using sha512

Disassembly:
test rcx, rcx
je 0x4aed8b
mov qword [rcx + 0x48], 0
mov qword [rcx], 0
movabs rax, 0x6a09e667f3bcc908
mov qword [rcx + 8], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [rcx + 0x10], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rcx + 0x18], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rcx + 0x20], rax
movabs rax, 0x510e527fade682d1
mov qword [rcx + 0x28], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rcx + 0x30], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rcx + 0x38], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rcx + 0x40], rax
xor eax, eax
ret
mov eax, 1
ret
Function at 0x4af7b0
Capabilities:
Encrypt data using curve25519

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xc0
mov rsi, rdx
mov rdi, rcx
mov edx, 0x20
mov rcx, r8
mov r8, rsi
call fcn.004af520
and byte [rsi], 0xf8
mov al, byte [rsi + 0x1f]
and al, 0x3f
or al, 0x40
mov byte [rsi + 0x1f], al
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov rdx, rsi
call fcn.004ac170
mov rcx, rdi
mov rdx, rbx
call fcn.004ac0f0
add rsp, 0xc0
pop rbx
pop rdi
pop rsi
ret
Function at 0x4af810
Capabilities:
Encrypt data using curve25519

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x198
mov qword [rsp + 0x28], rcx
xor eax, eax
nop word [rax + rax]
movzx ecx, byte [r8 + rax]
mov byte [rsp + rax + 0x30], cl
add rax, 1
cmp rax, 0x20
jne 0x4af830
and byte [rsp + 0x30], 0xf8
mov al, byte [rsp + 0x4f]
and al, 0x3f
or al, 0x40
mov byte [rsp + 0x4f], al
lea rbp, [rsp + 0x140]
mov rcx, rbp
call fcn.004a9570
lea rbx, [rsp + 0x170]
mov rcx, rbx
call fcn.004a9200
lea rsi, [rsp + 0xb0]
mov rcx, rsi
mov rdx, rbp
mov r8, rbx
call fcn.004a9220
mov rcx, rbx
mov rdx, rbx
mov r8, rbp
call fcn.004ab4a0
mov rcx, rbx
mov rdx, rbx
call fcn.004a9800
mov rcx, rbp
mov rdx, rsi
mov r8, rbx
call fcn.004a9fa0
lea rcx, [rsp + 0x80]
call fcn.004a9200
lea rdi, [rsp + 0x110]
mov rcx, rdi
call fcn.004a91e0
lea rcx, [rsp + 0x50]
mov rdx, rbp
call fcn.004a9550
lea r14, [rsp + 0xe0]
mov rcx, r14
call fcn.004a9200
mov r13d, 0xfe
xor r15d, r15d
nop word cs:[rax + rax]
nop
mov ebp, r15d
mov eax, r13d
shr rax, 3
movzx r15d, byte [rsp + rax + 0x30]
mov ecx, r13d
and cl, 7
shr r15d, cl
and r15d, 1
xor ebp, r15d
lea rsi, [rsp + 0x80]
mov rcx, rsi
lea r12, [rsp + 0x50]
mov rdx, r12
mov r8d, ebp
call fcn.004a93b0
mov rcx, rdi
mov rdx, r14
mov r8d, ebp
call fcn.004a93b0
lea rbp, [rsp + 0xb0]
mov rcx, rbp
mov rdx, r12
mov r8, r14
call fcn.004ab4a0
mov rcx, rbx
mov rdx, rsi
mov r8, rdi
call fcn.004ab4a0
mov rcx, rsi
mov rdx, rsi
mov r8, rdi
call fcn.004a9220
mov rcx, rdi
mov rdx, r12
mov r8, r14
call fcn.004a9220
mov rcx, r14
mov rdx, rbp
mov r8, rsi
call fcn.004a9fa0
mov rcx, rdi
mov rdx, rdi
mov r8, rbx
call fcn.004a9fa0
mov rcx, rbp
mov rdx, rbx
call fcn.004a9a90
mov rcx, rbx
mov rdx, rsi
call fcn.004a9a90
mov rcx, r12
mov rdx, r14
mov r8, rdi
call fcn.004a9220
mov rcx, rdi
mov rdx, r14
mov r8, rdi
call fcn.004ab4a0
mov rcx, rsi
mov rdx, rbx
mov r8, rbp
call fcn.004a9fa0
mov rcx, rbx
mov rdx, rbx
mov r8, rbp
call fcn.004ab4a0
mov rcx, rdi
mov rdx, rdi
call fcn.004a9a90
mov rcx, r14
mov rdx, rbx
call fcn.004aaae0
mov rcx, r12
mov rdx, r12
call fcn.004a9a90
mov rcx, rbp
mov rdx, rbp
mov r8, r14
call fcn.004a9220
mov rcx, r14
lea rdx, [rsp + 0x140]
mov r8, rdi
call fcn.004a9fa0
mov rcx, rdi
mov rdx, rbx
mov r8, rbp
call fcn.004a9fa0
add r13d, 0xffffffff
cmp r13d, 0xffffffff
jne 0x4af900
lea rsi, [rsp + 0x80]
lea rdx, [rsp + 0x50]
mov rcx, rsi
mov r8d, r15d
call fcn.004a93b0
lea rdi, [rsp + 0x110]
lea rdx, [rsp + 0xe0]
mov rcx, rdi
mov r8d, r15d
call fcn.004a93b0
mov rcx, rdi
mov rdx, rdi
call fcn.004a9800
mov rcx, rsi
mov rdx, rsi
mov r8, rdi
call fcn.004a9fa0
mov rcx, qword [rsp + 0x28]
mov rdx, rsi
call fcn.004aa810
add rsp, 0x198
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140027de0
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001b784
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001b784
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140027f30
cmp rax, 0xffffffffffffffff
je 0x140027f30
xor edi, edi
test rbp, rbp
jle 0x140027edb
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001dd70
mov rbx, rax
test rax, rax
jne 0x140027e68
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140027ed1
mov edx, 0x8000
mov ecx, r14d
call fcn.140015928
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001c460
cmp eax, 0xffffffff
je 0x140027eb1
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140027e78
mov edx, r15d
mov ecx, r14d
call fcn.140015928
jmp 0x140027ed1
cmp byte [rsi + 0x38], dil
je 0x140027ec8
cmp dword [rsi + 0x34], 5
jne 0x140027ec8
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140027ed1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140019e48
jmp 0x140027f44
jns 0x140027f44
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001b784
cmp rax, 0xffffffffffffffff
jne 0x140027efc
cmp byte [rsi + 0x30], dil
je 0x140027f44
mov edi, dword [rsi + 0x2c]
jmp 0x140027f44
mov ecx, r14d
call fcn.140016f28
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140027f44
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140027f44
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140027f3d
mov eax, dword [rsi + 0x2c]
jmp 0x140027f42
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001b784
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14077a5c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14077a5ca
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x14077a5f3
pop rbp
sub rbp, 0x33
sub rbp, 0x77a5c0
sub rsp, 0x20
jmp 0x14077a612
mov rax, 0x77a5c0
add rax, rbp
add rax, 0x84
mov rcx, 0x647
mov rdx, 0x762f37c8
xor byte [rax], dl
inc rax
dec rcx
jne 0x14077a631
jmp 0x14077a648
add byte [rcx + 0x21], 0x43
hlt
Function at 0x140004b90
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp dword [0x1400697c8], 0
jne 0x140004bb0
cmp dword [0x1400697cc], 0
jne 0x140004bb0
mov eax, 1
jmp 0x140004c6b
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [0x140071dc8]
mov qword [0x1400701a8], rax
cmp qword [0x1400701a8], 0
je 0x140004c69
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [0x140071dc8]
mov qword [0x1400701b0], rax
cmp qword [0x1400701b0], 0
je 0x140004c51
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140004d10]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1400701a0], rax
cmp qword [0x1400701a0], 0
je 0x140004c39
mov eax, 1
jmp 0x140004c6b
mov rcx, qword [0x1400701b0]
call qword [0x140071d98]
mov qword [0x1400701b0], 0
mov rcx, qword [0x1400701a8]
call qword [0x140071d98]
mov qword [0x1400701a8], 0
xor eax, eax
add rsp, 0x38
ret

Function at 0x140005d70
Capabilities:
Compress data via winapi

Disassembly:
sub rsp, 0x38
lea rcx, [0x140039e20]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
lea rdx, str.RtlDecompressBuffer
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140071a98], rax
lea rdx, str.RtlGetCompressionWorkSpaceSize
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140071aa0], rax
cmp qword [rsp + 0x20], 0
je 0x140005ddb
cmp qword [0x140071a98], 0
je 0x140005ddb
cmp qword [0x140071aa0], 0
je 0x140005ddb
mov eax, 1
jmp 0x140005ddd
xor eax, eax
add rsp, 0x38
ret
Function at 0x14000c0e0
Capabilities:
Get common file path

Disassembly:
push rdi
sub rsp, 0xc80
xor eax, eax
mov word [rsp + 0x20], ax
lea rax, [rsp + 0x22]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov r8d, 0x104
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14000c297
xor eax, eax
mov word [rsp + 0x230], ax
lea rax, [rsp + 0x232]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov edx, 0x104
lea rcx, [rsp + 0x230]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jbe 0x14000c297
xor eax, eax
mov word [rsp + 0x440], ax
lea rax, [rsp + 0x442]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov edx, 0x104
lea rcx, [rsp + 0x440]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jbe 0x14000c297
xor eax, eax
mov word [rsp + 0x650], ax
lea rax, [rsp + 0x652]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
lea r9, [rsp + 0x230]
lea r8, str._sexplorer.exe
mov edx, 0x104
lea rcx, [rsp + 0x650]
call fcn.140029e0c
xor eax, eax
mov word [rsp + 0xa70], ax
lea rax, [rsp + 0xa72]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
lea r9, [rsp + 0x440]
lea r8, [0x14003a708]
mov edx, 0x104
lea rcx, [rsp + 0xa70]
call fcn.140029e0c
xor eax, eax
mov word [rsp + 0x860], ax
lea rax, [rsp + 0x862]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
lea r9, [rsp + 0x440]
lea r8, [0x14003a728]
mov edx, 0x104
lea rcx, [rsp + 0x860]
call fcn.140029e0c
lea rdx, [rsp + 0x650]
lea rcx, [rsp + 0x20]
call qword [0x1400724f0]
test eax, eax
je 0x14000c290
lea rdx, [rsp + 0xa70]
lea rcx, [rsp + 0x20]
call qword [0x1400724f0]
test eax, eax
je 0x14000c290
lea rdx, [rsp + 0x860]
lea rcx, [rsp + 0x20]
call qword [0x1400724f0]
test eax, eax
jne 0x14000c297
mov eax, 1
jmp 0x14000c299
xor eax, eax
add rsp, 0xc80
pop rdi
ret
Function at 0x14000ccc0
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x48
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14000cdca
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14000cdbf
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14000cdb4
mov r8d, 0x7fff
mov rdx, qword [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14000cda9
mov edx, 0x7fff
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x14000cda9
mov r9, qword [rsp + 0x28]
lea r8, [0x14003a8a0]
mov edx, 0x7fff
mov rcx, qword [rsp + 0x30]
call fcn.140029e0c
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x14000cda9
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, 1
jmp 0x14000cdcc
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
add rsp, 0x48
ret

Function at 0x14000cde0
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x48
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14000ceea
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14000cedf
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14000ced4
mov r8d, 0x7fff
mov rdx, qword [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14000cec9
mov edx, 0x7fff
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x14000cec9
mov r9, qword [rsp + 0x28]
lea r8, str._s_svchost.exe
mov edx, 0x7fff
mov rcx, qword [rsp + 0x30]
call fcn.140029e0c
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x14000cec9
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, 1
jmp 0x14000ceec
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
add rsp, 0x48
ret
Function at 0x14000cf00
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x48
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14000d00a
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14000cfff
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14000cff4
mov r8d, 0x7fff
mov rdx, qword [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14000cfe9
mov edx, 0x7fff
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x14000cfe9
mov r9, qword [rsp + 0x28]
lea r8, str._scmd.exe
mov edx, 0x7fff
mov rcx, qword [rsp + 0x30]
call fcn.140029e0c
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x14000cfe9
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, 1
jmp 0x14000d00c
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
add rsp, 0x48
ret
Function at 0x140012520
Capabilities:
Persist via run registry key

Disassembly:
sub rsp, 0x68
lea rdx, [rsp + 0x30]
lea rcx, [0x140065c70]
call fcn.140012830
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x14001267f
mov edx, 0xfffe
mov ecx, 0x40
call qword [0x140071da8]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x140012674
lea rax, str.69CF428B_78D4_49A9_B9AB_B631EBDB1D7A
mov qword [rsp + 0x28], rax
lea rax, str.svhost.exe
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x38]
lea r8, str._s_s__s
mov edx, 0x7fff
mov rcx, qword [rsp + 0x40]
call qword [0x140072500]
mov dword [rsp + 0x50], eax
cmp dword [0x140067924], 1
jne 0x140012604
lea r8, [rsp + 0x48]
lea rdx, [0x14003b1e0]
mov rcx, 0xffffffff80000001
call qword [0x140072358]
test eax, eax
jne 0x140012604
mov eax, dword [rsp + 0x50]
inc eax
cdqe
shl rax, 1
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x14006bac0]
mov rcx, qword [rsp + 0x48]
call qword [0x140072350]
mov rcx, qword [rsp + 0x48]
call qword [0x140072360]
cmp dword [0x140067920], 1
jne 0x140012669
lea r8, [rsp + 0x48]
lea rdx, [0x14003b240]
mov rcx, 0xffffffff80000002
call qword [0x140072358]
test eax, eax
jne 0x140012669
mov eax, dword [rsp + 0x50]
inc eax
cdqe
shl rax, 1
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.AB1F3E47_AEF1_400E_A108_233A046C3A34
mov rcx, qword [rsp + 0x48]
call qword [0x140072350]
mov rcx, qword [rsp + 0x48]
call qword [0x140072360]
mov rcx, qword [rsp + 0x40]
call qword [0x140071dc0]
mov rcx, qword [rsp + 0x38]
call qword [0x140071dc0]
mov eax, 1
add rsp, 0x68
ret

Function at 0x140012690
Capabilities:
Persist via run registry key

Disassembly:
sub rsp, 0x38
cmp dword [0x140067924], 1
jne 0x1400126d7
lea r8, [rsp + 0x20]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000001
call qword [0x140072358]
test eax, eax
jne 0x1400126d7
lea rdx, [0x14006bac0]
mov rcx, qword [rsp + 0x20]
call qword [0x1400723a8]
mov rcx, qword [rsp + 0x20]
call qword [0x140072360]
cmp dword [0x140067920], 1
jne 0x14001271a
lea r8, [rsp + 0x20]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000002
call qword [0x140072358]
test eax, eax
jne 0x14001271a
lea rdx, str.AB1F3E47_AEF1_400E_A108_233A046C3A34
mov rcx, qword [rsp + 0x20]
call qword [0x1400723a8]
mov rcx, qword [rsp + 0x20]
call qword [0x140072360]
mov eax, 1
add rsp, 0x38
ret
Function at 0x14001daf0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
lea rax, [0x1400728a0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x14001dbb0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x140072890], rax
cmp qword [0x140072890], 0
je 0x14001db34
mov eax, 1
jmp 0x14001db36
xor eax, eax
add rsp, 0x38
ret