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

Disassembly:
sub rsp, 0x78
xor r8d, r8d
movaps xmmword [rsp + 0x50], xmm7
cmp dword [0x18001c020], 2
mov r10, rdx
jl 0x18000bc67
movdqa xmm7, xmmword [0x180019020]
lea rax, [r10 + 0x28]
lea rdx, [rcx + 0x28]
cmp rcx, rax
ja 0x18000ba5a
cmp rdx, r10
jae 0x18000bc67
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x40], xmm8
movaps xmmword [rsp + 0x30], xmm9
movaps xmmword [rsp + 0x20], xmm10
movaps xmmword [rsp + 0x10], xmm11
movaps xmmword [rsp], xmm12
movdqa xmm4, xmmword [0x180019220]
lea r9, [rcx + 8]
movdqa xmm9, xmmword [0x180019050]
mov eax, 4
movdqa xmm6, xmmword [0x180019250]
mov rdx, r10
movdqa xmm11, xmmword [0x180019040]
sub rdx, rcx
movdqa xmm12, xmmword [0x180019060]
movd xmm8, eax
mov eax, 0x1f
movd xmm5, eax
mov eax, 5
movd xmm10, eax
nop
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea r9, [r9 + 0x10]
paddd xmm2, xmm7
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm8
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmm9
psubd xmm2, xmm0
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm6
pmuldq xmm1, xmm6
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm10
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmm11
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm12
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx + r9 - 0x18]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
pxor xmm3, xmm0
movq qword [r9 - 0x18], xmm3
paddd xmm2, xmm7
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm8
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmm9
psubd xmm2, xmm0
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm6
pmuldq xmm1, xmm6
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm10
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmm11
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm12
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx + r9 - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [r9 - 0x10], xmm3
cmp r8d, 0x10
jl 0x18000bad0
movaps xmm12, xmmword [rsp]
movaps xmm11, xmmword [rsp + 0x10]
movaps xmm10, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm8, xmmword [rsp + 0x40]
movaps xmm6, xmmword [rsp + 0x60]
cmp r8d, 0x15
jge 0x18000bcbf
movsxd rax, r8d
sub r10, rcx
lea r9, [rcx + rax*2]
mov ecx, r8d
lea r9, [r9 + 2]
mov eax, 0x4bda12f7
imul r8d
inc r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x36
sub ecx, eax
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x33
sub ecx, eax
add cx, 0x34
xor cx, word [r9 + r10 - 2]
mov word [r9 - 2], cx
cmp r8d, 0x15
jl 0x18000bc71
movaps xmm7, xmmword [rsp + 0x50]
add rsp, 0x78
ret
Function at 0x180014580
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x38
cmp word [rcx + 0xe], 0
mov r10, rcx
je 0x18001479a
xor r8d, r8d
cmp dword [0x18001c020], 2
jl 0x180014749
movdqa xmm2, xmmword [0x180019020]
mov eax, 4
movdqa xmm4, xmmword [0x180019220]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x180019030]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [rsp + 0x20], xmm7
movdqa xmm7, xmmword [0x180019250]
movaps xmmword [rsp + 0x10], xmm8
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmmword [rsp], xmm10
movdqa xmm0, xmm1
movd xmm10, eax
psrld xmm0, xmm10
mov eax, 5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180019050]
psubd xmm2, xmm0
movdqa xmm1, xmm2
movd xmm8, eax
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm7
pmuldq xmm1, xmm7
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm8
movdqa xmm0, xmm1
psrld xmm0, xmm10
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180019040]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
paddw xmm2, xmmword [0x180019060]
pxor xmm2, xmm0
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movq qword [rcx], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movdqa xmm0, xmm1
psrld xmm0, xmm10
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180019050]
psubd xmm3, xmm0
movdqa xmm1, xmm3
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm7
punpckldq xmm1, xmm3
pmuldq xmm1, xmm7
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm8
movdqa xmm0, xmm1
psrld xmm0, xmm10
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180019040]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx + 8]
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x180019060]
pxor xmm2, xmm0
movq qword [rcx + 8], xmm2
movaps xmm10, xmmword [rsp]
mov rax, rcx
movaps xmm8, xmmword [rsp + 0x10]
movaps xmm7, xmmword [rsp + 0x20]
add rsp, 0x38
ret
mov r9, r10
nop dword [rax]
mov ecx, r8d
lea r9, [r9 + 2]
mov eax, 0x2f684bdb
mul r8d
mov eax, r8d
inc r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
imul eax, eax, 0x36
sub ecx, eax
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x33
sub ecx, eax
add cx, 0x34
xor word [r9 - 2], cx
cmp r8d, 8
jl 0x180014750
mov rax, r10
add rsp, 0x38
ret
Function at 0x1800147b0
Capabilities:
Encode data using xor

Disassembly:
cmp word [rcx + 6], 0
mov r10, rcx
je 0x1800148fa
xor r8d, r8d
cmp dword [0x18001c020], 2
jl 0x1800148a2
movdqa xmm5, xmmword [0x180019020]
mov eax, 0x1f
movdqa xmm2, xmm5
movdqa xmm0, xmm5
punpckhdq xmm0, xmm5
pmuldq xmm0, xmmword [0x180019220]
punpckldq xmm2, xmm5
pmuldq xmm2, xmmword [0x180019220]
movd xmm4, eax
mov eax, 4
shufps xmm2, xmm0, 0xdd
movd xmm0, eax
mov eax, 5
psrad xmm2, xmm0
movdqa xmm0, xmm2
psrld xmm0, xmm4
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x180019050]
psubd xmm5, xmm0
movdqa xmm1, xmm5
movdqa xmm0, xmm5
punpckhdq xmm0, xmm5
pmuldq xmm0, xmmword [0x180019250]
punpckldq xmm1, xmm5
pmuldq xmm1, xmmword [0x180019250]
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm5
movd xmm0, eax
psrad xmm1, xmm0
mov rax, rcx
movdqa xmm0, xmm1
psrld xmm0, xmm4
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180019040]
psubd xmm5, xmm0
pshuflw xmm0, xmm5, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx]
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x180019060]
pxor xmm2, xmm0
movq qword [rcx], xmm2
ret
mov r9, r10
nop word [rax + rax]
mov ecx, r8d
lea r9, [r9 + 2]
mov eax, 0x2f684bdb
mul r8d
mov eax, r8d
inc r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
imul eax, eax, 0x36
sub ecx, eax
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x33
sub ecx, eax
add cx, 0x34
xor word [r9 - 2], cx
cmp r8d, 4
jl 0x1800148b0
mov rax, r10
ret
Function at 0x14140b058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x14140b1df
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 0x14140b089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14140b06f
add dl, dl
jne 0x14140b096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14140b0f6
xor eax, eax
add dl, dl
jne 0x14140b0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14140b1ad
add dl, dl
jne 0x14140b0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14140b0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14140b0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14140b0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14140b0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14140b07e
mov eax, 1
add dl, dl
jne 0x14140b106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14140b113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14140b0fb
sub eax, ebx
mov ebx, 1
jne 0x14140b14c
mov ecx, 1
add dl, dl
jne 0x14140b12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14140b13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14140b123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14140b07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14140b168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14140b175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14140b15d
cmp eax, 0x7d00
jae 0x14140b19b
cmp eax, 0x500
jb 0x14140b196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14140b07e
cmp eax, 0x7f
ja 0x14140b19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14140b07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14140b1d2
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 0x14140b07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001154
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x10], 0
mov dword [rbp - 0x1c], 0x30
mov eax, dword [rbp - 0x1c]
mov rax, qword gs:[rax]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 8]
mov qword [rbp - 0x18], rax
mov dword [rbp - 4], 0
jmp 0x1400011ac
mov rax, qword [rbp - 0x10]
cmp rax, qword [rbp - 0x18]
jne 0x14000119e
mov dword [rbp - 4], 1
jmp 0x1400011e3
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [0x14010d490]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 0
mov rcx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
lock cmpxchg qword [rdx], rcx
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x14000118b
mov rax, qword [0x14010d4a0]
mov eax, dword [rax]
cmp eax, 1
jne 0x1400011fd
mov ecx, 0x1f
call fcn.1400eeef0
jmp 0x14000123c
mov rax, qword [0x14010d4a0]
mov eax, dword [rax]
test eax, eax
jne 0x140001232
mov rax, qword [0x14010d4a0]
mov dword [rax], 1
mov rax, qword [0x14010d4e0]
mov rdx, rax
mov rax, qword [0x14010d4d0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
jmp 0x14000123c
mov dword [0x140111024], 1
mov rax, qword [0x14010d4a0]
mov eax, dword [rax]
cmp eax, 1
jne 0x140001270
mov rax, qword [0x14010d4c0]
mov rdx, rax
mov rax, qword [0x14010d4b0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov rax, qword [0x14010d4a0]
mov dword [rax], 2
cmp dword [rbp - 4], 0
jne 0x140001294
mov rax, qword [0x14010d490]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0
mov rdx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x48]
xchg qword [rax], rdx
mov rax, qword [0x14010d3e0]
mov rax, qword [rax]
test rax, rax
je 0x1400012bf
mov rax, qword [0x14010d3e0]
mov rax, qword [rax]
mov r8d, 0
mov edx, 2
mov ecx, 0
call rax
call fcn.1400ee178
mov rax, qword [0x14010d520]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call rax
mov rdx, qword [0x14010d480]
mov qword [rdx], rax
lea rax, section..text
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler
call fcn.1400ed970
mov eax, dword [0x140111004]
lea rdx, [0x140111008]
mov ecx, eax
call fcn.14000147c
call fcn.1400ed707
mov rax, qword [0x14010d410]
mov rax, qword [rax]
mov rdx, qword [0x140111010]
mov qword [rax], rdx
mov rcx, qword [0x140111010]
mov rdx, qword [0x140111008]
mov eax, dword [0x140111004]
mov r8, rcx
mov ecx, eax
call fcn.1400016d0
mov dword [0x14011101c], eax
mov eax, dword [0x140111020]
test eax, eax
jne 0x14000135d
mov eax, dword [0x14011101c]
mov ecx, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
mov eax, dword [0x140111024]
test eax, eax
jne 0x14000136c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
mov eax, dword [0x14011101c]
add rsp, 0x70
pop rbp
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14010d440]
mov dword [rax], 1
mov rax, qword [0x14010d450]
mov dword [rax], 1
mov rax, qword [0x14010d460]
mov dword [rax], 1
mov rax, qword [0x14010d400]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
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 0x1400013f5
mov eax, 0
jmp 0x140001476
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 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x1400ed980
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 sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.1400eece0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x1400ee652
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140111168]
test eax, eax
je 0x1400ee6ea
lea rax, [0x140111140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140111170]
mov qword [rbp - 8], rax
jmp 0x1400ee6ce
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 0x1400ee6c2
cmp qword [rbp - 0x10], 0
je 0x1400ee6c2
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 0x1400ee688
lea rax, [0x140111140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x1400ee6eb
nop
add rsp, 0x30
pop rbp
ret
Function at 0x1400ee7f0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400ee818
mov eax, 0
jmp 0x1400ee866
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 0x1400ee841
mov eax, 0
jmp 0x1400ee866
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x1400ee861
mov eax, 0
jmp 0x1400ee866
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x1400ee86c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x1400ee8ea
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x1400ee8e1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x1400ee8e1
mov rax, qword [rbp - 8]
jmp 0x1400ee8ff
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x1400ee8b4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x10000be20
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x100011150]
jne 0x10000be3b
rol rcx, 0x10
test cx, 0xffff
jne 0x10000be37
ret 0
ror rcx, 0x10
jmp 0x10000c29c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x100011690]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov r11, qword [0x100011788]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.ntdll.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x10000c321
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x100011690]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.ntdll.dll_RtlVirtualUnwind
jmp 0x10000c343
mov rax, qword [rsp + 0x88]
mov qword [0x100011788], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x100011728], rax
mov rax, qword [0x100011788]
mov qword [0x100011600], rax
mov rax, qword [rsp + 0x90]
mov qword [0x100011710], rax
mov dword [0x1000115f0], 0xc0000409
mov dword [0x1000115f4], 1
mov rax, qword [0x100011150]
mov qword [rsp + 0x68], rax
mov rax, qword [0x100011158]
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x100001560]
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, 0x88
ret

Function at 0x10000c138
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x10000c185
cmp rcx, 0xffffffffffffffff
je 0x10000c185
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x10000c17d
cmp dword [rcx + 0x3c], edx
jl 0x10000c17d
cmp dword [rcx + 0x3c], 0x10000000
jae 0x10000c17d
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 0x10000c185
mov rax, rdx
add rsp, 0x18
ret

Function at 0x1000a053e
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 0x1000a0541
cmp al, 0x6b
xor dword [rcx + rax], edx
test al, 0x21
sbb byte [rsi], dl
test dword [rdi], esi
jge 0x1000a05ba
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 0x140001154
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x10], 0
mov dword [rbp - 0x1c], 0x30
mov eax, dword [rbp - 0x1c]
mov rax, qword gs:[rax]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 8]
mov qword [rbp - 0x18], rax
mov dword [rbp - 4], 0
jmp 0x1400011ac
mov rax, qword [rbp - 0x10]
cmp rax, qword [rbp - 0x18]
jne 0x14000119e
mov dword [rbp - 4], 1
jmp 0x1400011e3
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [0x14016b490]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 0
mov rcx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
lock cmpxchg qword [rdx], rcx
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x14000118b
mov rax, qword [0x14016b4a0]
mov eax, dword [rax]
cmp eax, 1
jne 0x1400011fd
mov ecx, 0x1f
call fcn.14014d830
jmp 0x14000123c
mov rax, qword [0x14016b4a0]
mov eax, dword [rax]
test eax, eax
jne 0x140001232
mov rax, qword [0x14016b4a0]
mov dword [rax], 1
mov rax, qword [0x14016b4e0]
mov rdx, rax
mov rax, qword [0x14016b4d0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
jmp 0x14000123c
mov dword [0x14016f024], 1
mov rax, qword [0x14016b4a0]
mov eax, dword [rax]
cmp eax, 1
jne 0x140001270
mov rax, qword [0x14016b4c0]
mov rdx, rax
mov rax, qword [0x14016b4b0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov rax, qword [0x14016b4a0]
mov dword [rax], 2
cmp dword [rbp - 4], 0
jne 0x140001294
mov rax, qword [0x14016b490]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0
mov rdx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x48]
xchg qword [rax], rdx
mov rax, qword [0x14016b3e0]
mov rax, qword [rax]
test rax, rax
je 0x1400012bf
mov rax, qword [0x14016b3e0]
mov rax, qword [rax]
mov r8d, 0
mov edx, 2
mov ecx, 0
call rax
call fcn.14014cab8
mov rax, qword [0x14016b520]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call rax
mov rdx, qword [0x14016b480]
mov qword [rdx], rax
lea rax, section..text
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler
call fcn.14014c2b0
mov eax, dword [0x14016f004]
lea rdx, [0x14016f008]
mov ecx, eax
call fcn.14000147c
call fcn.14014c047
mov rax, qword [0x14016b410]
mov rax, qword [rax]
mov rdx, qword [0x14016f010]
mov qword [rax], rdx
mov rcx, qword [0x14016f010]
mov rdx, qword [0x14016f008]
mov eax, dword [0x14016f004]
mov r8, rcx
mov ecx, eax
call fcn.1400016d0
mov dword [0x14016f01c], eax
mov eax, dword [0x14016f020]
test eax, eax
jne 0x14000135d
mov eax, dword [0x14016f01c]
mov ecx, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
mov eax, dword [0x14016f024]
test eax, eax
jne 0x14000136c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
mov eax, dword [0x14016f01c]
add rsp, 0x70
pop rbp
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14016b440]
mov dword [rax], 1
mov rax, qword [0x14016b450]
mov dword [rax], 1
mov rax, qword [0x14016b460]
mov dword [rax], 1
mov rax, qword [0x14016b400]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
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 0x1400013f5
mov eax, 0
jmp 0x140001476
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 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret