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

Disassembly:
push rbp
sub rsp, 0x90
lea rbp, [rsp + 0x80]
vmovdqa xmmword [rbp], xmm6
and rsp, 0xffffffffffffffe0
mov rax, qword [rcx + 0x220]
mov r8d, dword [0x141596508]
or r8d, dword [0x14159650c]
or r8d, 0xc5b22372
add r8d, 0x20fef6de
cmp r8d, 0xccc3efa4
ja 0x14010a720
cmp rax, 3
ja 0x14010a8b6
shl rax, 4
vmovdqu xmm0, xmmword [rdx]
vmovdqu xmmword [rcx + rax + 0x1e0], xmm0
mov rax, qword [rcx + 0x220]
cmp rax, 3
jae 0x14010a7b1
mov edx, eax
and edx, 1
or rax, 1
add rax, rdx
mov qword [rcx + 0x220], rax
mov eax, dword [0x14159652c]
add eax, dword [str.tAIK]
or eax, 0x96c5cdbb
add eax, 0xe06ced19
mov ecx, eax
xor ecx, 0x774200cc
and eax, 0x774280dc
or eax, ecx
cmp eax, 0x79f825ce
jb 0x14010a780
jmp 0x14010a860
mov qword [rcx + 0x220], 0
vmovdqa ymm0, ymmword [rcx + 0x1e0]
vmovdqa ymm1, ymmword [rcx + 0x200]
vpunpckhqdq ymm2, ymm0, ymm1
vpermq ymm2, ymm2, 0xd8
vpunpcklqdq ymm0, ymm0, ymm1
vpermq ymm0, ymm0, 0xd8
vpsrlq ymm1, ymm2, 0x28
vpbroadcastd ymm3, dword [0x14024a000]
vpor ymm1, ymm1, ymm3
vpsrlq ymm3, ymm0, 0x2e
vpsllq ymm2, ymm2, 0x12
vpor ymm3, ymm2, ymm3
vpsrlq ymm4, ymm0, 0x1a
vpblendd ymm2, ymm4, ymm2, 0xaa
vpcmpeqd ymm4, ymm4, ymm4
vpxor ymm2, ymm2, ymm4
vpbroadcastq ymm5, qword [0x14024a008]
vpbroadcastq ymm6, qword [0x14024a010]
vpor ymm2, ymm2, ymm6
vpxor ymm2, ymm2, ymm4
vpsllq ymm3, ymm3, 0x1a
vpblendd ymm0, ymm0, ymm3, 0xaa
vpand ymm0, ymm0, ymm5
vmovdqa ymmword [rsp + 0x20], ymm0
vmovdqa ymmword [rsp + 0x40], ymm2
vmovdqa ymmword [rsp + 0x60], ymm1
lea rdx, [rsp + 0x20]
vzeroupper
call fcn.14010a960
nop dword [rax + rax]
mov eax, dword [0x141596530]
sub eax, dword [0x141596534]
mov ecx, eax
not ecx
mov edx, eax
and edx, 0xf10ad96
and ecx, 0xf0ef5269
imul ecx, edx
mov edx, eax
and edx, 0xf0ef5269
or eax, 0xf0ef5269
imul eax, edx
add eax, ecx
add eax, 0x148f30c1
mov ecx, eax
and ecx, 0x59865a35
add ecx, ecx
sub eax, ecx
cmp eax, 0x26e1825e
je 0x14010a860
vmovaps xmm6, xmmword [rbp]
lea rsp, [rbp + 0x10]
pop rbp
ret
mov eax, dword [0x141596510]
mov ecx, dword [0x141596514]
mov edx, ecx
and edx, eax
add eax, ecx
sub eax, edx
or eax, 0x6d7bef7b
and eax, 0x7fffff7f
cmp eax, 0x97fa4906
je 0x14010a90b
mov eax, dword [0x141596518]
mov ecx, dword [0x14159651c]
mov edx, eax
and edx, ecx
or eax, ecx
add eax, edx
xor eax, 0xfd95d7e2
imul rax, rax, 0x690a48e5
shr rax, 0x3d
and eax, 1
ud2
ud2
Function at 0x14010bcf0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x120
lea rbp, [rsp + 0x80]
and rsp, 0xffffffffffffffe0
mov rsi, rcx
nop dword [rax]
mov eax, dword [0x141596578]
mov ecx, dword [0x14159657c]
mov r8d, eax
not r8d
and r8d, ecx
mov r9d, ecx
not r9d
and r9d, eax
imul r9d, r8d
mov r8d, eax
and r8d, ecx
or eax, ecx
imul eax, r8d
add eax, r9d
imul eax, eax, 0xe77430fb
or eax, 0x6634bd9
add eax, 0xe0111949
cmp eax, 0x9e87cfc7
jb 0x14010bd10
cmp byte [rsi + 0x228], 0
jne 0x14010befe
cmp qword [rsi + 0x220], 0
jne 0x14010be94
nop word cs:[rax + rax]
mov eax, dword [0x141596580]
or eax, dword [0x141596584]
xor eax, 0x9c75ad46
add eax, 0x8a145a23
imul rax, rax, 0x456a033f
shr rax, 0x3e
cmp eax, 0x9b0db808
je 0x14010bd80
vmovdqu ymm0, ymmword [rdx]
vmovdqu ymm1, ymmword [rdx + 0x20]
vpunpckhqdq ymm2, ymm0, ymm1
vpermq ymm2, ymm2, 0xd8
vpunpcklqdq ymm0, ymm0, ymm1
vpermq ymm0, ymm0, 0xd8
vpbroadcastd ymm1, dword [0x14024a000]
vpsrlq ymm3, ymm2, 0x28
vpor ymm4, ymm3, ymm1
vpsllq ymm1, ymm2, 0x12
vpsrlq ymm2, ymm0, 0x2e
vpor ymm2, ymm1, ymm2
vpsrlq ymm3, ymm0, 0x1a
vpbroadcastq ymm5, qword [0x14024a008]
vpblendd ymm1, ymm3, ymm1, 0xaa
vpbroadcastq ymm3, qword [0x14024a010]
vmovdqa ymmword [rsp + 0x100], ymm3
vpxor ymm3, ymm1, ymm3
vpor ymm1, ymm1, ymm5
vpand ymm3, ymm1, ymm3
vpsllq ymm1, ymm2, 0x1a
vpblendd ymm0, ymm0, ymm1, 0xaa
nop word cs:[rax + rax]
mov eax, dword [0x141596588]
or eax, dword [0x14159658c]
add eax, 0x71b55110
cmp eax, 0xa08131ae
ja 0x14010be30
mov eax, dword [0x141596590]
mov ecx, dword [0x141596594]
mov edx, eax
xor edx, ecx
not edx
and edx, ecx
add edx, edx
sub ecx, edx
add ecx, eax
imul eax, ecx, 0x8e46315d
add eax, 0xa8601328
cmp eax, 0xa84279ad
vmovdqa ymmword [rsp + 0x80], ymm4
vmovdqa ymmword [rsp + 0x60], ymm5
vmovdqa ymmword [rsp + 0x40], ymm3
vmovdqa ymmword [rsp + 0x20], ymm0
jbe 0x14010bf00
jmp 0x14010bfa8
ud2
ud2
mov eax, dword [0x141596598]
and eax, dword [str.bHw_]
mov edi, eax
or edi, 0x9a404a41
not eax
and eax, 0x840038
and edi, 0xfa515ac7
or edi, eax
mov eax, edi
xor eax, 0x2481a8
xor edi, 0x7d497617
mov ecx, edi
and ecx, 0xe5980440
and eax, 0x6593bf
imul eax, ecx
mov ecx, edi
and ecx, 0x20538be
or edi, 0x265bbbf
imul edi, ecx
add edi, eax
vpand ymm0, ymm0, ymm5
vmovdqa ymmword [rsp + 0xa0], ymm0
vmovdqa ymmword [rsp + 0xc0], ymm3
vmovdqa ymmword [rsp + 0xe0], ymm4
lea rdx, [rsp + 0xa0]
mov rcx, rsi
vzeroupper
call fcn.14010a960
vmovdqa ymm0, ymmword [rsp + 0x20]
vmovdqa ymm3, ymmword [rsp + 0x40]
vmovdqa ymm5, ymmword [rsp + 0x60]
vmovdqa ymm4, ymmword [rsp + 0x80]
cmp edi, 0xcb60bbbf
jbe 0x14010c009
vpxor ymm0, ymm0, ymmword [rsp + 0x100]
vpor ymm1, ymm5, ymmword [rsp + 0x20]
vpand ymm0, ymm1, ymm0
vmovdqa ymmword [rsp + 0xa0], ymm0
vmovdqa ymmword [rsp + 0xc0], ymm3
vmovdqa ymmword [rsp + 0xe0], ymm4
lea rdx, [rsp + 0xa0]
mov rcx, rsi
vzeroupper
call fcn.14020c860
vmovdqa ymm0, ymmword [rsp + 0x20]
vmovdqa ymm3, ymmword [rsp + 0x40]
vmovdqa ymm5, ymmword [rsp + 0x60]
vmovdqa ymm4, ymmword [rsp + 0x80]
jmp 0x14010bf00
lea rsp, [rbp + 0xa0]
pop rdi
pop rsi
pop rbp
vzeroupper
ret
Function at 0x14015df00
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rsi, rcx
mov rcx, qword [rcx]
nop word cs:[rax + rax]
mov eax, dword [0x14159ddf0]
xor edx, edx
div dword [0x14159ddf4]
or eax, 0xa77f7fe3
imul rax, rax, 0x2c94b6a9
shr rax, 0x39
or eax, 0x9ddefde4
cmp eax, 0xdec02542
je 0x14015df20
cmp rcx, 0xffffffffffffffff
je 0x14015e12f
lea rdx, [rcx + 1]
lea rax, [rcx + rcx]
cmp rax, rdx
cmova rdx, rax
movabs rax, 0x249249249249249
nop dword [rax]
mov r8d, dword [0x14159ddfc]
add r8d, dword [0x14159ddf8]
mov r9d, r8d
not r9d
or r9d, 0xa40a9a04
and r9d, 0xb43e9b04
mov r10d, r8d
and r10d, 2
or r10d, r9d
xor r10d, 0x3eefdbff
and r8d, 0x100002
or r8d, r10d
cmp rdx, 5
mov r12d, 4
cmovae r12, rdx
cmp r8d, 0x328dc4fc
je 0x14015df70
mov edx, r12d
not edx
mov r8, r12
and r8, 0xffffffffffffffc7
and edx, 0x38
imul rdx, r8
mov r8d, r12d
and r8d, 0x38
mov rdi, r12
or rdi, 0x38
imul rdi, r8
xor ebx, ebx
cmp r12, rax
setbe bl
test rcx, rcx
je 0x14015e010
imul rax, rcx, 0x38
mov rcx, qword [rsi + 8]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x38], rax
mov r13d, 8
jmp 0x14015e013
xor r13d, r13d
add rdi, rdx
shl rbx, 3
mov eax, dword [0x14159de00]
mov ecx, eax
not ecx
or ecx, dword [0x14159de04]
lea edx, [rax + rcx]
inc edx
add eax, ecx
mov ecx, edx
and ecx, 0x6fc6e9cb
xor edx, 0x90391634
add eax, edx
inc eax
sub eax, ecx
mov ecx, eax
not ecx
and ecx, 0x9f788a0
mov edx, eax
and edx, 0x608775f
imul edx, ecx
mov ecx, eax
and ecx, 0x9f788a0
or eax, 0x9f788a0
imul eax, ecx
add eax, edx
and eax, 0x8eec8c0
cmp eax, 0xa5e2ee5d
jbe 0x14015e092
mov qword [rsp + 0x30], r13
lea rcx, [rsp + 0x40]
lea r9, [rsp + 0x28]
mov rdx, rbx
mov r8, rdi
call fcn.1400316e0
lea r14, [rsp + 0x40]
lea r15, [rsp + 0x28]
nop dword [rax]
mov eax, dword [0x14159de08]
or eax, dword [0x14159de0c]
imul rbp, rax, 0x38785d17
shr rbp, 0x3a
mov qword [rsp + 0x30], r13
mov rcx, r14
mov rdx, rbx
mov r8, rdi
mov r9, r15
call fcn.1400316e0
cmp ebp, 0xf3fa30e1
je 0x14015e0a0
cmp qword [rsp + 0x40], 0
jne 0x14015e0f0
mov rax, qword [rsp + 0x48]
xor ecx, ecx
test cl, cl
je 0x14015e131
jmp 0x14015e16b
mov eax, dword [0x14159de10]
or eax, dword [0x14159de14]
add eax, 0xa0ad734f
mov ecx, eax
not ecx
mov edx, eax
and edx, 0x99394435
and ecx, 0x66c6bbca
imul ecx, edx
mov edx, eax
and edx, 0x66c6bbca
or eax, 0x66c6bbca
imul eax, edx
add eax, ecx
cmp eax, 0x1a07685a
je 0x14015e0f0
ud2
mov ecx, dword [0x14159de18]
or ecx, dword [0x14159de1c]
mov edx, ecx
and edx, 0xaabfe6c1
and ecx, 0x2ac60c1
mov r8d, edx
xor r8d, 0xa913961c
add r8d, edx
sub r8d, ecx
mov qword [rsi + 8], rax
mov qword [rsi], r12
cmp r8d, 0x6358123e
jne 0x14015e174
mov qword [rsi + 8], rax
mov qword [rsi], r12
jmp 0x14015e131
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1401db8b0
Capabilities:
Encode data using base64
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov rsi, rcx
mov rcx, qword [rcx]
mov eax, dword [0x1415a85f8]
xor edx, edx
div dword [0x1415a85fc]
nop word [rax + rax]
mov eax, dword [0x1415a8600]
sub eax, dword [0x1415a8604]
add eax, 0x50668ff9
imul rax, rax, 0x748e363f
shr rax, 0x3e
cmp eax, 0x5a7b3322
je 0x1401db8d0
nop word cs:[rax + rax]
mov eax, dword [0x1415a8608]
xor eax, dword [0x1415a860c]
imul rax, rax, 0x3ca7641d
shr rax, 0x3d
not eax
and eax, 0x7bd7bfbf
cmp eax, 0x9ff978d8
ja 0x1401db900
cmp rcx, 0xffffffffffffffff
je 0x1401dbac7
lea rax, [rcx + 1]
lea rdx, [rcx + rcx]
cmp rdx, rax
cmove rdx, rax
test rcx, rcx
cmovle rdx, rax
cmp rdx, 5
mov edi, 4
cmovae rdi, rdx
xor r10d, r10d
mov rax, rdi
shr rax, 0x3b
sete r10b
mov r8, rdi
shl r8, 4
shl r10, 2
test rcx, rcx
je 0x1401dba10
shl rcx, 4
nop dword [rax + rax]
mov eax, dword [0x1415a8610]
add eax, dword [0x1415a8614]
or eax, 0x5ffbefff
xor eax, 0xff9bbe9b
cmp eax, 0x23eb5fb2
jb 0x1401db980
mov rax, qword [rsi + 8]
mov qword [rsp + 0x28], rax
mov eax, dword [0x1415a8618]
xor edx, edx
div dword [0x1415a861c]
add eax, 0x8e700378
mov edx, eax
and edx, 0xf964bc4c
or eax, 0xf964bc4c
add eax, edx
cmp eax, 0x47a68643
jae 0x1401db9e0
mov qword [rsp + 0x38], rcx
nop word cs:[rax + rax]
mov eax, dword [0x1415a8620]
xor edx, edx
div dword [0x1415a8624]
or eax, 0x1f36131
add eax, 0x47672271
or eax, 0xad70108d
mov qword [rsp + 0x38], rcx
cmp eax, 0x4521bee4
je 0x1401db9e0
mov eax, 4
jmp 0x1401dba12
xor eax, eax
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x40]
lea r9, [rsp + 0x28]
mov rdx, r10
call fcn.1400316e0
cmp qword [rsp + 0x40], 0
jne 0x1401dbaa0
mov rax, qword [rsp + 0x48]
mov ecx, 0xa7e44469
nop dword [rax + rax]
mov edx, dword [0x1415a8648]
mov r8d, dword [0x1415a864c]
mov r9d, r8d
not r9d
mov r10d, edx
and r10d, r9d
or r9d, edx
not r9d
imul r9d, r10d
mov r10d, edx
and r10d, r8d
or edx, r8d
imul edx, r10d
add edx, r9d
imul rdx, rcx
shr rdx, 0x3f
imul edx, edx, 0x586510ee
add edx, 0x40329105
cmp edx, 0x4428f906
ja 0x1401dba40
mov qword [rsi + 8], rax
mov qword [rsi], rdi
add rsp, 0x58
pop rdi
pop rsi
ret
mov eax, dword [0x1415a8628]
sub eax, dword [0x1415a862c]
add eax, 0x92bb7c90
mov ecx, eax
xor ecx, 0xd86ed788
xor eax, 0x76bbdae7
and eax, ecx
cmp eax, 0x1833c868
ja 0x1401dbaa0
mov eax, dword [0x1415a8630]
sub eax, dword [0x1415a8634]
mov ecx, eax
not ecx
or ecx, 0xc5638309
or eax, 0x3a9c7cf6
and eax, ecx
mov ecx, eax
xor ecx, 0x268f55be
add ecx, eax
and eax, 0x1970aa41
sub ecx, eax
or ecx, 0xc9c107cc
cmp ecx, 0x155189f0
jb 0x1401dbb2f
mov eax, dword [0x1415a8638]
mov ecx, dword [0x1415a863c]
mov edx, eax
xor edx, ecx
not ecx
and ecx, eax
add ecx, ecx
sub ecx, edx
imul eax, ecx, 0x19b65bdd
add eax, 0xec359bfc
ud2
ud2
Function at 0x14020b1a0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
sub rsp, 0x28
call qword [sym.imp.ADVAPI32.dll_SystemFunction036]
nop
add rsp, 0x28
ret

Function at 0x14020b310
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov rax, qword [rsp + 0x60]
mov r10d, dword [rsp + 0x68]
mov dword [rsp + 0x28], r10d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
add rsp, 0x38
ret

Function at 0x14020b390
Capabilities:
Get hostname

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
nop
add rsp, 0x28
ret

Function at 0x14020cd60
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
nop
add rsp, 0x28
ret

Function at 0x14020ceb0
Capabilities:
Create directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop
add rsp, 0x28
ret

Function at 0x14020d130
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
nop
add rsp, 0x28
ret

Function at 0x14020d270
Capabilities:
Get file attributes

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop
add rsp, 0x28
ret

Function at 0x14020d5c0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
nop
add rsp, 0x28
ret

Function at 0x14020e598
Capabilities:
Parse pe header

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

Function at 0x140211d74
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140211de3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140211de3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140211de3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140211de3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140211de3
cmp dword [rcx + 0x84], 0xe
jbe 0x140211de3
cmp dword [rcx + 0xf8], 0
je 0x140211de3
mov ecx, ebx
call fcn.140211e94
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140211c70
nop
cmp dword [rbp + 0x20], 0
je 0x140211e31
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140211e3c
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140211d74
Function at 0x140211f78
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140211d74
Function at 0x14021503c
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14021506c
xor eax, eax
jmp 0x14021512f
mov rbp, rbx
cmp word [rax], si
je 0x140215091
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140215078
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140215074
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140214f5c
movsxd r14, eax
test eax, eax
jne 0x1402150cf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140215065
mov rcx, r14
call fcn.140215f18
mov rdi, rax
test rax, rax
jne 0x1402150e8
xor ecx, ecx
call fcn.1402135bc
jmp 0x1402150c4
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140214f5c
test eax, eax
jne 0x140215119
mov rcx, rdi
call fcn.1402135bc
jmp 0x140215123
xor ecx, ecx
call fcn.1402135bc
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140218620
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14021402c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1402186aa
cmp byte [rbp - 0x21], r15b
je 0x1402186a5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1402186e0
call fcn.140216728
test eax, eax
jne 0x1402186cc
cmp byte [rbp - 0x21], r15b
je 0x1402186c4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1402186e0
cmp byte [rbp - 0x21], r15b
je 0x1402186dd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14021360c
test eax, eax
jne 0x140218780
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14021402c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14021871f
cmp byte [rbp - 0x21], r15b
je 0x140218754
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140218754
call fcn.140216728
test eax, eax
jne 0x140218740
cmp byte [rbp - 0x21], r15b
je 0x140218739
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140218754
cmp byte [rbp - 0x21], r15b
je 0x140218751
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14021360c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140218780
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140218783
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140218791
mov rcx, rdi
call fcn.1402135bc
cmp byte [rbp + 0x3f], r15b
je 0x1402187a0
mov rcx, qword [rbp + 0x27]
call fcn.1402135bc
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14021b5d0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14021b5f8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14021b5f8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140247950
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rsi, rcx
nop word cs:[rax + rax]
mov eax, dword [0x1415aa618]
add eax, dword [0x1415aa61c]
xor eax, 0x23e7d6a5
add eax, 0xf96af30c
cmp eax, 0xf5586359
ja 0x140247970
cmp rdx, 0xffffffffffffffff
je 0x140247b84
movabs rcx, 0x3ffffffffffffff
inc rdx
mov r8d, 4
xor r9d, r9d
nop dword [rax]
mov rax, qword [rsi]
lea r12, [rax + rax]
cmp r12, rdx
cmovbe r12, rdx
cmp r12, 5
cmovb r12, r8
test r9b, r9b
jne 0x1402479b0
mov edx, dword [0x1415aa620]
sub edx, dword [0x1415aa624]
or edx, 0xda5d3186
cmp edx, 0x75df1df6
mov rdi, r12
shl rdi, 5
nop word [rax + rax]
xor ebx, ebx
cmp r12, rcx
setbe dl
mov r8d, dword [0x1415aa628]
mov r9d, dword [0x1415aa62c]
not r8d
not r9d
or r9d, r8d
not r9d
add r9d, 0x20b543e0
xor r9d, 0x2d1871f0
cmp r9d, 0x3c45c07d
jb 0x1402479f0
mov bl, dl
test rax, rax
je 0x140247a4a
shl rax, 5
mov rcx, qword [rsi + 8]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x38], rax
mov r13d, 8
jmp 0x140247a4d
xor r13d, r13d
shl rbx, 3
mov eax, dword [0x1415aa630]
sub eax, dword [0x1415aa634]
mov ecx, eax
not ecx
and ecx, 0xbc9cb849
and eax, 0x436347b6
sub eax, ecx
mov ecx, eax
not ecx
or eax, 0x662a90d
or ecx, 0xf99d56f2
and ecx, eax
not ecx
imul eax, ecx, 0xb1b7ba65
cmp eax, 0x5dff0f84
jae 0x140247aa8
mov qword [rsp + 0x30], r13
lea rcx, [rsp + 0x40]
lea r9, [rsp + 0x28]
mov rdx, rbx
mov r8, rdi
call fcn.1400316e0
lea r14, [rsp + 0x40]
lea r15, [rsp + 0x28]
nop word cs:[rax + rax]
mov ebp, dword [0x1415aa638]
mov eax, dword [0x1415aa63c]
mov ecx, eax
not ecx
mov edx, ebp
and edx, ecx
or ecx, ebp
not ecx
imul ecx, edx
mov edx, ebp
and edx, eax
or ebp, eax
imul ebp, edx
add ebp, ecx
and ebp, 0x94912234
mov qword [rsp + 0x30], r13
mov rcx, r14
mov rdx, rbx
mov r8, rdi
mov r9, r15
call fcn.1400316e0
cmp ebp, 0x182b1fc0
je 0x140247ac0
cmp qword [rsp + 0x40], 0
jne 0x140247b84
mov rax, qword [rsp + 0x48]
xor ecx, ecx
nop dword [rax]
test cl, cl
jne 0x140247b20
mov ecx, dword [0x1415aa648]
mov edx, dword [0x1415aa64c]
mov r8d, ecx
not r8d
and r8d, edx
mov r9d, edx
not r9d
and r9d, ecx
imul r9d, r8d
mov r8d, ecx
and r8d, edx
or ecx, edx
imul ecx, r8d
add ecx, r9d
not ecx
and ecx, 0xe83a1081
mov edx, ecx
not edx
xor ecx, 0x1db65a98
and edx, 0x1db65a98
add edx, edx
sub edx, ecx
xor edx, 0xe40ba2f5
cmp edx, 0x2d3b670
jae 0x140247bb6
jmp 0x140247c2d
ud2
mov ecx, dword [0x1415aa654]
mov edx, ecx
xor edx, edx
not edx
and edx, dword [0x1415aa650]
xor edx, ecx
mov ecx, edx
and ecx, 0x5fb65e6c
add ecx, ecx
neg ecx
add ecx, edx
add ecx, 0xdfb65e6c
mov edx, ecx
and edx, 0x452aa893
add edx, edx
sub ecx, edx
add ecx, 0x452aa893
mov edx, ecx
not edx
mov r8d, ecx
and r8d, 0x70b35ed7
and edx, 0x8f4ca128
imul edx, r8d
mov r8d, ecx
and r8d, 0x8f4ca128
or ecx, 0x8f4ca128
imul ecx, r8d
add ecx, edx
mov qword [rsi + 8], rax
mov qword [rsi], r12
cmp ecx, 0xcde95ae3
jne 0x140247c36
mov qword [rsi + 8], rax
mov qword [rsi], r12
jmp 0x140247bb6
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14000fa00
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x140068cb0]
mov rbx, rcx
and dword [rax + 0x2d9c], 0
test rcx, rcx
je 0x14000fa69
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.14000fa74
lea rdx, [0x14003d9ac]
mov rcx, rbx
mov rdi, rax
call fcn.140009788
mov rbx, rax
test rax, rax
je 0x14000fa69
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret