joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14027e630
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
mov eax, 0x60
call fcn.1402a7660
sub rsp, rax
mov rax, qword [0x140363e40]
xor rax, rsp
mov qword [rsp + 0x58], rax
movups xmm0, xmmword [rdx]
mov rdi, qword [rsp + 0xc0]
xor ebp, ebp
mov r15, r9
mov rsi, r8
mov r12, rcx
mov r14d, ebp
mov ebx, ebp
movups xmmword [rsp + 0x38], xmm0
test rdi, rdi
je 0x14027e712
mov rcx, qword [r12]
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x30]
mov dword [rsp + 0x30], reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x48]
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
call fcn.14012b8a0
test eax, eax
mov ecx, ebp
mov rdx, rdi
sete cl
inc dword [rsp + 0x38]
or r14d, ecx
sub rdx, rbx
cmp rdx, 0x10
jbe 0x14027e6c9
mov edx, reloc.WS2_32.dll_recv
jmp 0x14027e6ce
test rdx, rdx
je 0x14027e705
mov r9, r15
lea r8, [rsp + 0x48]
sub r9, rsi
lea rcx, [rsi + rbx]
sub r8, rsi
sub r8, rbx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8 + rcx]
xor al, byte [rcx + r9]
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x14027e6f0
add rbx, 0x10
cmp rbx, rdi
jb 0x14027e680
test r14d, r14d
sete bpl
mov eax, ebp
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1402a72d0
add rsp, 0x60
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14027f330
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movzx r9d, byte [rdx]
lea eax, [r8 - 1]
movzx r11d, r9b
movsxd r10, eax
shr r11b, 7
xor edi, edi
mov esi, r8d
mov rbx, rcx
test eax, eax
jle 0x14027f394
mov r8, rcx
sub rdx, rcx
mov edi, eax
nop word [rax + rax]
movzx ecx, byte [r8 + rdx + 1]
lea r8, [r8 + 1]
add r9b, r9b
movzx eax, cl
shr al, 7
or al, r9b
movzx r9d, cl
mov byte [r8 - 1], al
sub r10, 1
jne 0x14027f370
cmp esi, 0x10
mov eax, 0x87
mov rsi, qword [rsp + 0x10]
mov ecx, 0x1b
cmove ecx, eax
movsxd rax, edi
mov rdi, qword [rsp + 0x18]
neg r11b
and cl, r11b
add r9b, r9b
xor cl, r9b
mov byte [rax + rbx], cl
mov rbx, qword [rsp + 8]
ret
Function at 0x1402801a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
mov r11, qword [rcx]
mov rsi, rdx
mov r10, qword [rcx + 8]
mov rbx, rcx
mov r9, qword [rcx + 0x10]
mov rdi, qword [rcx + 0x18]
mov rax, qword [rcx + 0x20]
shl r11, 0x38
cmp dword [rcx + 0x30], 0
je 0x14028041e
test r8, r8
je 0x14028041e
mov r14d, dword [rcx + 0x2c]
cmp r8, r14
jne 0x14028041e
mov ecx, dword [rcx + 0x28]
dec ecx
cmp ecx, 6
ja case.default.0x14028020d
lea r8, [0x140000000]
mov edx, dword [r8 + rcx*4 + 0x280438]
add rdx, r8
jmp rdx
movzx ecx, byte [rbx + 0x3e]
shl rcx, 0x30
or r11, rcx
movzx ecx, byte [rbx + 0x3d]
shl rcx, 0x28
or r11, rcx
movzx ecx, byte [rbx + 0x3c]
shl rcx, 0x20
or r11, rcx
movzx ecx, byte [rbx + 0x3b]
shl rcx, 0x18
or r11, rcx
movzx ecx, byte [rbx + 0x3a]
shl rcx, 0x10
or r11, rcx
movzx ecx, byte [rbx + 0x39]
shl rcx, 8
or r11, rcx
movzx ecx, byte [rbx + 0x38]
or r11, rcx
xor rax, r11
cmp dword [rbx + 0x30], 0
jbe 0x1402802b6
mov r8d, dword [rbx + 0x30]
nop word [rax + rax]
add rdi, rax
add r10, r9
ror r9, 0x33
xor r9, r10
ror rax, 0x30
xor rax, rdi
ror r10, 0x20
add rdi, r9
add r10, rax
mov rdx, rdi
ror r9, 0x2f
mov rcx, rdi
shr rdx, 0x20
xor r9, rdi
ror rax, 0x2b
shl rcx, 0x20
mov rdi, rdx
or rdi, rcx
xor rax, r10
sub r8, 1
jne 0x140280270
xor r10, r11
mov ecx, 0xff
cmp r14d, 0x10
mov r8d, 0xee
cmovne r8d, ecx
mov ecx, dword [rbx + 0x34]
xor r8, rdi
test ecx, ecx
je 0x140280326
mov r11d, ecx
nop dword [rax]
add r8, rax
add r10, r9
ror r9, 0x33
xor r9, r10
ror rax, 0x30
xor rax, r8
ror r10, 0x20
add r8, r9
add r10, rax
mov rdx, r8
ror r9, 0x2f
mov rcx, r8
shr rdx, 0x20
xor r9, r8
ror rax, 0x2b
shl rcx, 0x20
mov r8, rdx
or r8, rcx
xor rax, r10
sub r11, 1
jne 0x1402802e0
mov rdx, rax
xor rdx, r8
xor rdx, r9
xor rdx, r10
mov ecx, edx
mov byte [rsi], dl
shr ecx, 8
mov byte [rsi + 1], cl
mov ecx, edx
shr ecx, 0x10
mov byte [rsi + 2], cl
mov ecx, edx
shr ecx, 0x18
shr rdx, 0x20
mov byte [rsi + 3], cl
mov ecx, edx
shr ecx, 8
mov byte [rsi + 5], cl
mov ecx, edx
mov byte [rsi + 4], dl
shr ecx, 0x10
shr edx, 0x18
mov byte [rsi + 6], cl
mov byte [rsi + 7], dl
cmp dword [rbx + 0x2c], 8
je 0x140280417
mov ecx, dword [rbx + 0x34]
xor r9, 0xdd
test ecx, ecx
je 0x1402803d6
mov r11d, ecx
nop dword [rax]
nop dword [rax + rax]
add r8, rax
add r10, r9
ror r9, 0x33
xor r9, r10
ror rax, 0x30
xor rax, r8
ror r10, 0x20
add r8, r9
add r10, rax
mov rdx, r8
ror r9, 0x2f
mov rcx, r8
shr rdx, 0x20
xor r9, r8
ror rax, 0x2b
shl rcx, 0x20
mov r8, rdx
or r8, rcx
xor rax, r10
sub r11, 1
jne 0x140280390
xor rax, r8
xor rax, r9
xor rax, r10
mov ecx, eax
mov byte [rsi + 8], al
shr ecx, 8
mov byte [rsi + 9], cl
mov ecx, eax
shr ecx, 0x10
mov byte [rsi + 0xa], cl
mov ecx, eax
shr ecx, 0x18
shr rax, 0x20
mov byte [rsi + 0xb], cl
mov ecx, eax
shr ecx, 8
mov byte [rsi + 0xd], cl
mov ecx, eax
shr ecx, 0x10
mov byte [rsi + 0xc], al
shr eax, 0x18
mov byte [rsi + 0xf], al
mov byte [rsi + 0xe], cl
mov eax, 1
jmp 0x140280420
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov r14, qword [rsp + 0x20]
ret
Function at 0x140297440
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push r12
push r13
push r14
mov eax, 0x50
call fcn.1402a7660
sub rsp, rax
mov r14, qword [rsp + 0xa8]
lea r10, [rax - 0x51]
mov rbp, qword [rsp + 0xb0]
xor r11d, r11d
cmp r14, 1
mov eax, r11d
mov r13, r9
mov r12, r8
mov r9, qword [rcx]
setne al
add rax, rbp
mov rsi, rcx
cmp rax, r9
jbe 0x14029749e
xor eax, eax
add rsp, 0x50
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret
mov qword [rsp + 0x80], rbx
cmp r14, 1
je 0x1402975a0
lea r10, [r8 - 1]
add r10, r9
movzx ebx, byte [r10]
cmp dword [rsp + 0xb8], r11d
je 0x1402974db
sub r9, rbx
mov eax, 1
sub r9, rbp
dec r9
mov qword [rcx], r9
jmp 0x1402975d7
lea rcx, [rbx + rax]
mov qword [rsp + 0x98], r15
mov r15d, 0x100
mov r8, r9
sub r8, rcx
mov rax, r9
xor r8, rcx
xor rax, rcx
or r8, rax
xor r8, r9
shr r8, 0x3f
dec r8
cmp r9, r15
cmovb r15, r9
test r15, r15
je 0x14029757a
mov qword [rsp + 0x90], rdi
mov rdi, rbx
shr rdi, 0x3f
nop dword [rax]
nop dword [rax + rax]
mov rax, r11
lea r10, [r10 - 1]
shr rax, 0x3f
mov rcx, rbx
sub rcx, r11
inc r11
shr rcx, 0x3f
xor cl, al
xor al, dil
or cl, al
dec cl
movzx edx, cl
movzx ecx, byte [r10 + 1]
xor rcx, rbx
and rdx, rcx
not rdx
and r8, rdx
cmp r11, r15
jb 0x140297530
mov rdi, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
mov r15, qword [rsp + 0x98]
lea rax, [rbx + 1]
not r8
movzx r10d, r8b
dec r10
shr r10, 0x3f
neg r10
and rax, r10
sub r9, rax
mov qword [rsi], r9
mov rax, qword [rsp + 0xc0]
mov r9, r13
mov qword [rsp + 0x40], rax
mov r8, r12
mov rax, qword [rsp + 0xa0]
mov rcx, rsi
mov qword [rsp + 0x38], r10
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
call fcn.140297070
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret
Function at 0x14029bab0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
mov eax, 0x68
call fcn.1402a7660
sub rsp, rax
mov rax, qword [0x140363e40]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov eax, dword [rcx + 0x3c]
mov rdi, r9
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test eax, eax
je 0x14029bbe3
movups xmm0, xmmword [rcx + 0x10]
mov r15, qword [rcx + 0x20]
lea rbx, [rcx + 0x10]
dec eax
mov dword [rsp + 0x28], 1
mov dword [rcx + 0x3c], eax
xor r9d, r9d
mov eax, dword [rbx + 8]
xor r8d, r8d
and al, 0x7f
mov dword [rsp + 0x30], edi
movups xmmword [rsp + 0x48], xmm0
and byte [rsp + 0x54], 0x7f
xor edx, edx
mov byte [rsp + 0x50], al
mov rcx, r15
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call fcn.14012ab70
test eax, eax
je 0x14029bbe3
mov eax, dword [rsp + 0x30]
lea r8, [rsp + 0x30]
mov r9, r14
mov dword [rsp + 0x20], eax
mov rdx, rbp
mov rcx, r15
call fcn.14012b8a0
test eax, eax
je 0x14029bbe3
mov r9, rdi
lea rdx, [rsp + 0x38]
mov r8, rbp
mov rcx, rsi
call fcn.14029c1e0
test eax, eax
je 0x14029bbe3
lea rax, [rbx + 0xf]
xor r8d, r8d
lea rcx, [rsp + 0x38]
cmp rcx, rax
ja 0x14029bbb9
lea rax, [rsp + 0x47]
cmp rax, rbx
jb 0x14029bbb9
lea rcx, [rsp + 0x38]
mov eax, r8d
sub rbx, rcx
nop
lea rdx, [rsp + 0x38]
add rdx, rax
inc rax
movzx ecx, byte [rbx + rdx]
xor byte [rdx], cl
cmp rax, 0x10
jl 0x14029bba0
jmp 0x14029bbcc
movdqu xmm1, xmmword [rsp + 0x38]
movdqu xmm0, xmmword [rbx]
xorps xmm1, xmm0
movdqu xmmword [rsp + 0x38], xmm1
mov rax, qword [rsp + 0x38]
or rax, qword [rsp + 0x40]
je 0x14029bbff
mov rdx, rdi
mov rcx, rbp
call fcn.140001240
xor eax, eax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1402a72d0
add rsp, 0x68
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov dword [rsi + 0x38], r8d
mov eax, edi
jmp 0x14029bbe5

Function at 0x1402a7fd8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1402a8022
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1402a8022
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1402a8022
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1402a8022
cmp dword [rcx + 0x84], 0xe
jbe 0x1402a8022
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1402a8024
xor al, al
add rsp, 0x28
ret
Function at 0x140001480
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x140005550]
mov dword [rax], 1
mov rax, qword [0x140005560]
mov dword [rax], 1
mov rax, qword [0x140005570]
mov dword [rax], 1
mov rax, qword [0x140005540]
mov dword [rax], 1
mov rax, qword [0x140005410]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400014de
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x14000150a
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x140001530
cmp eax, 0x20b
je 0x140001557
jmp 0x140001586
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x140001543
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000158b
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x140001572
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000158b
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140001bb0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov r8, rbx
mov rdx, qword [rbp + 0x20]
mov rcx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x1400027e2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140009168]
test eax, eax
je 0x14000287a
lea rax, [0x140009140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140009170]
mov qword [rbp - 8], rax
jmp 0x14000285e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x140002852
cmp qword [rbp - 0x10], 0
je 0x140002852
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140002818
lea rax, [0x140009140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14000287b
nop
add rsp, 0x30
pop rbp
ret
Function at 0x63e8c0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x63e8cd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x63e8dd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x63e8c5
lea eax, [rcx + 1]
jmp 0x63e8eb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x63e8fe
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x63e8e4
sub eax, 3
jb 0x63e91e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x63e96d
sar eax, 1
movsxd rbp, eax
jb 0x63e954
jmp 0x63e92c
add ebx, ebx
jne 0x63e92a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x63e954
inc ecx
add ebx, ebx
jne 0x63e93a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x63e954
call r11
adc ecx, ecx
add ebx, ebx
jne 0x63e94d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x63e93c
add ecx, 2
jmp 0x63e959
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.0063e882
jmp 0x63e8cd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xd7200
mov dl, 0x11
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x63e9b9
cmp rsi, rcx
jae 0x63e9c1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x63e9a0
cmp al, 0x8f
ja 0x63e9a0
cmp byte [rsi - 2], 0xf
je 0x63e9a6
sub al, 0xe8
cmp al, 1
ja 0x63e98a
cmp rsi, rcx
jae 0x63e9c1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x63e990
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x63e9c1
lodsb al, byte [rsi]
jmp 0x63e9a0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x238000]
mov eax, dword [rdi]
or eax, eax
je 0x63ea1e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x23e2a4]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x63e9ce
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x63ea18
mov qword [rbx], rax
add rbx, 8
jmp 0x63e9ee
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x63ea58
cmp al, 0xef
ja 0x63ea4a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x63ea2a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x63ea39
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x63eaac
sub rsp, 0xffffffffffffff80
jmp 0x4623e0
Function at 0x14000a920
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x14001b170], rbx
je 0x14000a96c
cmp rax, rbx
jne 0x14000a95f
mov ebx, 1
mov esi, ebx
jmp 0x14000a971
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000a944
mov ebx, 1
mov eax, dword [0x14001b178]
cmp eax, ebx
jne 0x14000a987
mov ecx, 0x1f
call fcn.1400ab000
jmp 0x14000a9ec
mov eax, dword [0x14001b178]
test eax, eax
jne 0x14000a9e6
mov dword [0x14001b178], ebx
lea r15, [0x14000c4b8]
lea rdi, [0x14000c4a0]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x14000a9d8
test eax, eax
jne 0x14000a9dc
cmp qword [rdi], 0
je 0x14000a9cd
mov rax, qword [rdi]
mov rcx, qword [0x14000c480]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x14000a9ae
test eax, eax
je 0x14000a9ec
mov eax, 0xff
jmp 0x14000aac8
mov dword [0x14001a104], ebx
mov eax, dword [0x14001b178]
cmp eax, ebx
jne 0x14000aa13
lea rdx, [0x14000c498]
lea rcx, [0x14000c488]
call sub.msvcrt.dll__initterm
mov dword [0x14001b178], 2
test esi, esi
jne 0x14000aa20
xor eax, eax
xchg qword [0x14001b170], rax
cmp qword [0x14001b180], 0
je 0x14000aa54
lea rcx, [0x14001b180]
call fcn.14000ac90
test eax, eax
je 0x14000aa54
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14001b180]
mov r9, qword [0x14000c480]
call r9
mov r8, qword [0x14001a118]
mov rdx, qword [0x14001a110]
mov ecx, dword [0x14001a108]
call fcn.140005fbc
mov dword [0x14001a100], eax
cmp dword [0x14001a120], 0
jne 0x14000aa84
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14001a104], 0
jne 0x14000aa99
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14001a100]
jmp 0x14000aac8
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.14000ad24
add rsp, 0x28
jmp 0x14000a920

Function at 0x14000ab7c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000abc8
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000abc0
cmp dword [rcx + 0x3c], edx
jl 0x14000abc0
cmp dword [rcx + 0x3c], 0x10000000
jae 0x14000abc0
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x14000abc8
mov rax, rdx
add rsp, 0x18
ret
Function at 0x1400bdd3e
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0xbea9bea8
stosb byte [rdi], al
adc ebp, ebp
test eax, 0xed13aabe
xor dword [rcx], edi
push rbx
jp 0x1400bdd41
cmp al, 0x6b
xor dword [rcx + rax], edx
test al, 0x21
sbb byte [rsi], dl
test dword [rdi], esi
jge 0x1400bddba
mov esp, 0xd7d832c4
cmp dword [rdx], edi
add edi, dword [rdx + 0x15d22562]
pop rdx
xchg esp, eax
sub edx, dword [rbx]
sbb byte [rdx - 2], 0x1f
lahf
adc dword [rax - 0x8ac05af], esp
test byte [rdi - 0x3bef3adf], cl
invalid
invalid
Function at 0x140011208
Capabilities:
Terminate process

Disassembly:
jmp 0x140013220
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011285
Capabilities:
Execute command

Disassembly:
jmp 0x140011970
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x138], rax
lea rcx, [0x1400230a2]
call fcn.140011384
mov dword [rbp + 4], 0x2710
xor eax, eax
cmp eax, 1
je 0x140011b8f
lea rcx, [0x14001ade4]
call qword [sym.imp.ucrtbased.dll_system]
mov edx, dword [rbp + 4]
lea rcx, [0x14001ade8]
call fcn.1400111a9
lea rcx, str.1._
call fcn.1400111a9
lea rcx, str.2._
call fcn.1400111a9
lea rcx, str.3._
call fcn.1400111a9
lea rcx, [0x14001ae3c]
call fcn.1400111a9
lea rdx, [rbp + 0x24]
lea rcx, [0x14001ae44]
call fcn.14001109b
mov eax, dword [rbp + 0x24]
mov dword [rbp + 0x134], eax
cmp dword [rbp + 0x134], 1
je 0x140011a48
cmp dword [rbp + 0x134], 2
je 0x140011ab0
cmp dword [rbp + 0x134], 3
je 0x140011b4b
jmp 0x140011b8a
lea rcx, [0x14001ade4]
call qword [sym.imp.ucrtbased.dll_system]
mov edx, dword [rbp + 4]
lea rcx, [0x14001ade8]
call fcn.1400111a9
lea rcx, [0x14001ae48]
call fcn.1400111a9
lea rdx, [rbp + 0x44]
lea rcx, [0x14001ae44]
call fcn.14001109b
mov eax, dword [rbp + 0x44]
mov ecx, dword [rbp + 4]
add ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov r8d, dword [rbp + 4]
mov edx, dword [rbp + 0x44]
lea rcx, [0x14001ae60]
call fcn.1400111a9
mov ecx, 0xdac
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140011b8a
xor eax, eax
cmp eax, 1
je 0x140011b4b
lea rcx, [0x14001ade4]
call qword [sym.imp.ucrtbased.dll_system]
mov edx, dword [rbp + 4]
lea rcx, [0x14001ade8]
call fcn.1400111a9
lea rcx, [0x14001ae90]
call fcn.1400111a9
lea rdx, [rbp + 0x64]
lea rcx, [0x14001ae44]
call fcn.14001109b
mov eax, dword [rbp + 4]
cmp dword [rbp + 0x64], eax
jle 0x140011b16
lea rcx, [0x14001aea8]
call fcn.1400111a9
mov ecx, 0xdac
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140011b4b
mov eax, dword [rbp + 0x64]
mov ecx, dword [rbp + 4]
sub ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov r8d, dword [rbp + 4]
mov edx, dword [rbp + 0x64]
lea rcx, [0x14001aec8]
call fcn.1400111a9
mov ecx, 0xdac
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140011ab0
lea rcx, [0x14001ade4]
call qword [sym.imp.ucrtbased.dll_system]
lea rcx, [0x14001aef0]
call fcn.1400111a9
mov ecx, 0xdac
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
jmp 0x140011b91
jmp 0x1400119b4
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001ada0]
call fcn.140011320
mov rax, rdi
mov rcx, qword [rbp + 0x138]
xor rcx, rbp
call fcn.1400111c2
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x14001128f
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014560
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014580
xor al, al
jmp 0x140014601
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014593
xor al, al
jmp 0x140014601
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400145bd
xor al, al
jmp 0x140014601
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400145d1
xor al, al
jmp 0x140014601
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400145e3
xor al, al
jmp 0x140014601
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400145ff
xor al, al
jmp 0x140014601
mov al, 1
add rsp, 0x38
ret