joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b320
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x20]
cmp r12, qword [r14 + 0x10]
jbe 0x42b5d9
push rbp
mov rbp, rsp
sub rsp, 0x98
mov qword [rsp + 0x48], 0
mov rax, qword [sym.imp.kernel32.dll_DuplicateHandle]
lea rcx, [rsp + 0x48]
mov qword [rsp], rax
mov qword [rsp + 8], 0xffffffffffffffff
mov qword [rsp + 0x10], 0xfffffffffffffffe
mov qword [rsp + 0x18], 0xffffffffffffffff
mov qword [rsp + 0x20], rcx
movups xmmword [rsp + 0x28], xmm15
mov qword [rsp + 0x38], 2
call fcn.0042bb80
xorps xmm15, xmm15
mov r14, qword [0x0061eff0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x40], 0
nop
je 0x42b5b0
mov rax, qword [r14 + 0x30]
mov qword [rsp + 0x80], rax
test byte [rax], al
lea rcx, [rax + 0x310]
mov qword [rsp + 0x88], rcx
nop
mov rax, rcx
call fcn.004091e0
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x80]
mov qword [rdx + 0x318], rcx
mov rax, qword [sym.imp.kernel32.dll_GetCurrentThreadId]
call fcn.0042b840
mov rcx, qword [rsp + 0x80]
mov qword [rcx + 0x48], rax
cmp qword [rcx + 0x330], 0
jne 0x42b469
cmp byte [0x0061edf2], 0
je 0x42b469
mov rax, qword [sym.imp.kernel32.dll_CreateWaitableTimerExW]
mov qword [rsp], rax
movups xmmword [rsp + 8], xmm15
mov qword [rsp + 0x18], 2
mov qword [rsp + 0x20], 0x100003
call fcn.0042ba00
xorps xmm15, xmm15
mov r14, qword [0x0061eff0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
mov qword [rcx + 0x330], rax
nop dword [rax]
test rax, rax
je 0x42b588
nop
nop
mov rax, qword [rsp + 0x88]
call fcn.00409400
movups xmmword [rsp + 0x50], xmm15
movups xmmword [rsp + 0x60], xmm15
movups xmmword [rsp + 0x70], xmm15
mov rcx, qword [sym.imp.kernel32.dll_VirtualQuery]
lea rdx, [rsp + 0x50]
mov qword [rsp], rcx
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], 0x30
call fcn.0042b980
xorps xmm15, xmm15
mov r14, qword [0x0061eff0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
je 0x42b560
mov rcx, qword [rsp + 0x58]
lea rdx, [rcx + 0x4000]
mov qword [rsp + 0x90], r14
mov rsi, qword [r14 + 8]
cmp rsi, rdx
jb 0x42b541
sub rsi, rcx
add rsi, 0xffffffffffffc000
nop word [rax + rax]
cmp rsi, 0x4000000
ja 0x42b541
mov qword [r14], rdx
lea rax, [rcx + 0x53a0]
mov qword [r14 + 0x10], rax
mov qword [r14 + 0x18], rax
nop dword [rax + rax]
call fcn.00451300
xorps xmm15, xmm15
mov r14, qword [0x0061eff0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
add rsp, 0x98
pop rbp
nop
ret
mov rcx, qword [rsp + 0x90]
test byte [rcx], al
lea rax, [0x004a1ecc]
mov ebx, 0xc
call fcn.0042e000
nop dword [rax]
call fcn.00452c80
xorps xmm15, xmm15
mov r14, qword [0x0061eff0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rax, [0x004a6808]
mov ebx, 0x22
call fcn.0042e000
call fcn.00452c80
xorps xmm15, xmm15
mov r14, qword [0x0061eff0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rax, [0x004a8345]
mov ebx, 0x30
call fcn.0042e000
call fcn.00452c80
xorps xmm15, xmm15
mov r14, qword [0x0061eff0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rax, [0x004a6e86]
mov ebx, 0x25
call fcn.0042e000
nop
call fcn.0044f5c0
nop
jmp fcn.0042b320
Function at 0x43a740
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x43a8a7
push rbp
mov rbp, rsp
sub rsp, 0x18
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x43a752
cmp edx, ecx
jne 0x43a895
nop word [rax + rax]
test rsi, rsi
jne 0x43a895
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x43a7b4
nop
call fcn.004530a0
xorps xmm15, xmm15
mov r14, qword [0x0061eff0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
call fcn.0043a660
mov rcx, qword [rsp + 0x28]
mov edx, dword [rcx]
mov ebx, edx
sar edx, 0x1f
shr edx, 0x1b
add edx, ebx
mov esi, edx
and edx, 0xffffffe0
sub ebx, edx
test ebx, ebx
jl 0x43a890
mov rdx, qword [0x005cbf18]
sar esi, 5
mov rax, rcx
mov ecx, ebx
mov edi, 1
shl edi, cl
movsxd rsi, esi
cmp ecx, 0x20
sbb r8d, r8d
and edi, r8d
cmp rdx, rsi
jbe 0x43a885
mov rcx, qword [0x005cbf10]
lea rcx, [rcx + rsi*4]
lock or dword [rcx], edi
mov rcx, qword [0x005cca70]
mov qword [rax + 8], rcx
mov rcx, rax
nop
mov qword [0x005cca70], rax
nop
mov edx, 1
lea rsi, [0x005cca78]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1228]
shr rdx, 0x3d
test dl, dl
jne 0x43a873
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
nop
nop
xchg qword [rcx + 0x1228], rdx
add rsp, 0x18
pop rbp
ret
lea rax, [0x004a74f9]
mov ebx, 0x28
nop
call fcn.0042e000
mov rax, rsi
mov rcx, rdx
call fcn.00451840
call fcn.0042ca60
lea rax, [0x004a6aba]
mov ebx, 0x23
call fcn.0042e000
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0044f5c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.0043a740
Function at 0x443b40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x443cb7
movzx edx, byte [rax]
test edx, edx
jne 0x443b74
nop dword [rax]
test r8b, r8b
jne 0x443b74
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x443b87
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x443c77
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x443c65
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x443c57
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x443bdd
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x443c20
mov eax, 1
cmp rax, rbx
ja 0x443c0b
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call fcn.00451900
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x443c4f
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x443c13
mov rcx, r11
mov eax, r12d
jmp 0x443be2
mov rcx, rbx
call fcn.00451840
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00451840
mov eax, r8d
mov rcx, rbx
call fcn.00451900
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x443cad
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x443c70
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x443b8d
mov eax, edx
mov rcx, rbx
call fcn.00451840
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00451840
nop
int3

Function at 0x449260
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x44930f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x00449360]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.0044f480
xorps xmm15, xmm15
mov r14, qword [0x0061eff0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0044f5c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.00449260
Function at 0x4513a0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x403143
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.00407be0
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0044f5c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x403120
cmp byte [0x0061edea], 0
je 0x4513b5
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x44e600
jmp 0x403120

Function at 0x4513c0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x0061f0a0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x0061edea], 0
je 0x4513f5
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x0061f360]
aesenc xmm0, xmmword [0x0061f370]
aesenc xmm0, xmmword [0x0061f380]
movq rax, xmm0
ret
jmp 0x407e00

Function at 0x451400
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x0061f0a0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x0061edea], 0
je 0x451436
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x0061f360]
aesenc xmm0, xmmword [0x0061f370]
aesenc xmm0, xmmword [0x0061f380]
movq rax, xmm0
ret
jmp 0x407e60

Function at 0x453100
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x453134
mov rcx, 0x28
jmp 0x45313f
shl rcx, 3
add rcx, 0x1480
mov qword [0x0061eff0], rcx
pop rbp
ret
Function at 0x469be0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x469caa
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.00403080
xorps xmm15, xmm15
mov r14, qword [0x0061eff0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x469c8f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x0048d480]
xor ebx, ebx
mov rcx, rdx
call fcn.0043de80
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.0046a1c0
inc rbx
cmp rcx, rbx
jae 0x469c7e
mov edi, 1
lea rsi, [0x0048d480]
call fcn.0043df60
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x00563818]
lea rsi, [0x00563148]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0044f5c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00469be0

Function at 0x483340
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x48343e
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rsi
nop dword [rax]
test r8, r8
je 0x4833c2
cmp r8, rdi
ja 0x483432
cmp rsi, rbx
je 0x4833a5
mov rdx, rbx
lea rdi, [rsi + r8]
lea rdi, [rdi - 1]
nop
nop
cmp rdi, rbx
jb 0x4833a2
mov rdi, rsi
lea r9, [rdx + r8]
lea r9, [r9 - 1]
cmp r9, rsi
jae 0x48341f
mov rbx, rdx
mov rsi, rdi
nop
jmp 0x4833a5
mov rbx, rdx
test byte [rax], al
lea rdx, [r8 - 1]
cmp rcx, rdx
jbe 0x483417
movzx ecx, byte [rax + 0x400]
movzx edx, byte [rax + 0x401]
xor edi, edi
jmp 0x483400
add rsp, 0x10
pop rbp
ret
movzx r9d, byte [rsi + rdi]
inc ecx
movzx r10d, cl
mov r11d, dword [rax + r10*4]
add edx, r11d
movzx r12d, dl
mov r13d, dword [rax + r12*4]
mov dword [rax + r10*4], r13d
mov dword [rax + r12*4], r11d
lea r10d, [r11 + r13]
movzx r10d, r10b
xor r9d, dword [rax + r10*4]
mov byte [rbx + rdi], r9b
inc rdi
nop dword [rax]
cmp r8, rdi
jg 0x4833c8
mov byte [rax + 0x400], cl
mov byte [rax + 0x401], dl
add rsp, 0x10
pop rbp
ret
mov rax, rdx
call fcn.00451840
lea rax, [0x0048d080]
lea rbx, [0x00563278]
call fcn.0042da00
mov rcx, r8
mov rdx, rdi
call fcn.004518c0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], r9
call fcn.0044f5c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
jmp fcn.00483340
Function at 0x14001acc0
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140032738], rbx
je 0x14001ad27
cmp rax, rbx
jne 0x14001ad1a
mov ebx, 1
mov esi, ebx
jmp 0x14001ad2c
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14001acff
mov ebx, 1
mov eax, dword [0x140032740]
cmp eax, ebx
jne 0x14001ad44
mov edi, 0x1f
mov ecx, edi
call fcn.140150000
jmp 0x14001adb0
mov eax, dword [0x140032740]
test eax, eax
jne 0x14001ada5
mov dword [0x140032740], ebx
lea r15, [0x1400206d8]
lea rdi, [0x1400206c0]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x14001ad97
test eax, eax
jne 0x14001ad9b
cmp qword [rdi], r14
je 0x14001ad8c
mov rax, qword [rdi]
mov rcx, qword [0x140020620]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14001ad6e
test eax, eax
je 0x14001adab
mov eax, 0xff
jmp 0x14001af06
mov dword [0x140031ff0], ebx
mov edi, 0x1f
mov eax, dword [0x140032740]
cmp eax, ebx
jne 0x14001add7
lea rdx, [0x1400206b8]
lea rcx, [0x140020628]
call sub.msvcrt.dll__initterm
mov dword [0x140032740], 2
test esi, esi
jne 0x14001ade5
mov rax, r14
xchg qword [0x140032738], rax
cmp qword [0x140032758], r14
je 0x14001ae18
lea rcx, [0x140032758]
call fcn.14001b3b0
test eax, eax
je 0x14001ae18
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140032758]
mov r9, qword [0x140020620]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14001ae31
mov eax, 0xff
jmp 0x14001af06
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x14001aeb7
test ax, ax
je 0x14001ae4c
test edx, edx
jne 0x14001aeb7
sub ax, bx
cmp ax, di
ja 0x14001ae62
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x14001ae4c
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140004034
mov dword [0x140031fec], eax
cmp dword [0x140032010], r14d
jne 0x14001aea0
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140031ff0], r14d
jne 0x14001aeb5
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140031fec]
jmp 0x14001af06
cmp ax, 0x22
jne 0x14001aecb
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14001ae3a
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.14001b444
add rsp, 0x28
jmp 0x14001acc0
Function at 0x140013ec0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140013cec

Function at 0x180024200
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180024228
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180024228
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x18002a810
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
test edx, edx
je 0x18002a82d
mov eax, 1
cmp edx, eax
jne 0x18002a882
mov qword [0x180075668], rcx
add rsp, 0x28
ret
cmp qword [0x180060a70], 0
je 0x18002a87d
cmp qword [0x180060a78], 8
mov qword [rsp + 0x20], rbx
lea rbx, [0x180060a60]
mov rcx, rbx
cmovae rcx, qword [0x180060a60]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp qword [0x180060a78], 8
cmovae rbx, qword [0x180060a60]
xor eax, eax
mov qword [0x180060a70], rax
mov word [rbx], ax
mov rbx, qword [rsp + 0x20]
mov eax, 1
add rsp, 0x28
ret
Function at 0x1405bc058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1405bc1df
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 0x1405bc089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405bc06f
add dl, dl
jne 0x1405bc096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405bc0f6
xor eax, eax
add dl, dl
jne 0x1405bc0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405bc1ad
add dl, dl
jne 0x1405bc0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405bc0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405bc0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405bc0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1405bc0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1405bc07e
mov eax, 1
add dl, dl
jne 0x1405bc106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405bc113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405bc0fb
sub eax, ebx
mov ebx, 1
jne 0x1405bc14c
mov ecx, 1
add dl, dl
jne 0x1405bc12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1405bc13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405bc123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405bc07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1405bc168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1405bc175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405bc15d
cmp eax, 0x7d00
jae 0x1405bc19b
cmp eax, 0x500
jb 0x1405bc196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405bc07e
cmp eax, 0x7f
ja 0x1405bc19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405bc07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1405bc1d2
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 0x1405bc07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001820
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
mov byte [rsp], al
mov eax, 1
imul rax, rax, 1
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x20]
mov r8, qword [rsp + 0x20]
movzx eax, byte [r8 + rax]
mov byte [rdx + rcx], al
mov eax, 1
imul rax, rax, 2
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x20]
mov r8, qword [rsp + 0x20]
movzx eax, byte [r8 + rax]
mov byte [rdx + rcx], al
mov eax, 1
imul rax, rax, 3
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x20]
mov r8, qword [rsp + 0x20]
movzx eax, byte [r8 + rax]
mov byte [rdx + rcx], al
mov eax, 1
imul rax, rax, 3
mov rcx, qword [rsp + 0x20]
movzx edx, byte [rsp]
mov byte [rcx + rax], dl
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
lea rcx, str.cw
mov edx, 1
imul rdx, rdx, 0
mov r8, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
mov byte [r8 + rdx], al
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
lea rcx, str.cw
mov edx, 1
imul rdx, rdx, 1
mov r8, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
mov byte [r8 + rdx], al
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
lea rcx, str.cw
mov edx, 1
imul rdx, rdx, 2
mov r8, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
mov byte [r8 + rdx], al
mov eax, 1
imul rax, rax, 3
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
lea rcx, str.cw
mov edx, 1
imul rdx, rdx, 3
mov r8, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
mov byte [r8 + rdx], al
mov eax, 1
imul rax, rax, 0
movzx ecx, byte [rsp + 0x28]
lea rdx, [0x14000e350]
movzx ecx, byte [rdx + rcx]
mov rdx, qword [rsp + 0x20]
movzx eax, byte [rdx + rax]
xor eax, ecx
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x20]
mov byte [rdx + rcx], al
add rsp, 0x18
ret
Function at 0x1400019c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [0x14000e010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x28], 0
jmp 0x1400019f1
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0x10
jge 0x140001a16
movsxd rax, dword [rsp + 0x28]
movsxd rcx, dword [rsp + 0x28]
mov rdx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x50]
movzx eax, byte [r8 + rax]
mov byte [rdx + rcx], al
jmp 0x1400019e7
mov dword [rsp + 0x24], 0x10
mov dword [rsp + 0x30], 1
cmp dword [rsp + 0x24], 0xb0
jge 0x140001afe
mov dword [rsp + 0x2c], 0
jmp 0x140001a48
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 4
jge 0x140001a71
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x24]
lea eax, [rax + rcx - 4]
cdqe
movsxd rcx, dword [rsp + 0x2c]
mov rdx, qword [rsp + 0x58]
movzx eax, byte [rdx + rax]
mov byte [rsp + rcx + 0x34], al
jmp 0x140001a3e
mov eax, dword [rsp + 0x24]
cdq
and edx, 0xf
add eax, edx
and eax, 0xf
sub eax, edx
test eax, eax
jne 0x140001aa6
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x21], al
movzx edx, byte [rsp + 0x21]
lea rcx, [rsp + 0x34]
call fcn.140001820
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov byte [rsp + 0x20], 0
jmp 0x140001ab8
movzx eax, byte [rsp + 0x20]
inc al
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
cmp eax, 4
jge 0x140001af9
mov eax, dword [rsp + 0x24]
sub eax, 0x10
cdqe
mov rcx, qword [rsp + 0x58]
movzx eax, byte [rcx + rax]
movzx ecx, byte [rsp + 0x20]
movzx ecx, byte [rsp + rcx + 0x34]
xor eax, ecx
movsxd rcx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x58]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
jmp 0x140001aad
jmp 0x140001a26
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140008560
add rsp, 0x48
ret

Function at 0x140002650
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov dword [rsp], 0
jmp 0x14000266a
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
cmp dword [rsp], 0x10
jge 0x140002697
movsxd rax, dword [rsp]
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
lea rcx, [0x14000e550]
movsxd rdx, dword [rsp]
mov r8, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
mov byte [r8 + rdx], al
jmp 0x140002662
add rsp, 0x18
ret

Function at 0x140002830
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp], 0
jmp 0x140002858
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
mov rax, qword [rsp + 0x28]
cmp qword [rsp], rax
jae 0x1400028b5
xor edx, edx
mov rax, qword [rsp]
mov ecx, 8
div rcx
mov rax, rdx
shl rax, 3
movzx ecx, al
mov rax, qword [rsp + 0x30]
shr rax, cl
and rax, 0xff
movsx eax, al
mov rcx, qword [rsp]
mov rdx, qword [rsp + 0x20]
add rdx, rcx
mov rcx, rdx
movsx ecx, byte [rcx]
xor ecx, eax
mov eax, ecx
mov rcx, qword [rsp]
mov rdx, qword [rsp + 0x20]
add rdx, rcx
mov rcx, rdx
mov byte [rcx], al
jmp 0x14000284d
add rsp, 0x18
ret