joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140223960
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rsi, rdx
mov r14, rcx
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rax, qword [rdx]
lea r12, [rdx + 8]
test rax, rax
mov rcx, r12
cmove rcx, rax
mov edx, dword [rcx + 8]
xor ebp, ebp
test edx, edx
setne bpl
lea rbx, [rsi + 0x28]
xor ecx, ecx
cmp rax, 2
cmovb rbx, rcx
mov dword [rsp + 0x20], edx
mov edx, dword [rbx + 8]
mov dword [rsp + 0x24], edx
test edx, edx
mov edx, 2
cmove rdx, rbp
lea rbp, [rsi + 0x48]
cmp rax, 3
cmovb rbp, rcx
mov ebp, dword [rbp + 8]
test ebp, ebp
mov ebx, 3
cmove rbx, rdx
lea rdx, [rsi + 0x68]
cmp rax, 4
cmovb rdx, rcx
mov dword [rsp + 0x28], ebp
mov edx, dword [rdx + 8]
mov dword [rsp + 0x2c], edx
test edx, edx
mov edx, 4
cmove rdx, rbx
lea rbp, [rsi + 0x88]
cmp rax, 5
cmovb rbp, rcx
mov ebp, dword [rbp + 8]
test ebp, ebp
mov ebx, 5
cmove rbx, rdx
lea rdx, [rsi + 0xa8]
cmp rax, 6
cmovb rdx, rcx
mov dword [rsp + 0x30], ebp
mov edx, dword [rdx + 8]
mov dword [rsp + 0x34], edx
test edx, edx
mov edx, 6
cmove rdx, rbx
lea rbp, [rsi + 0xc8]
cmp rax, 7
cmovb rbp, rcx
mov ebp, dword [rbp + 8]
test ebp, ebp
mov ebx, 7
cmove rbx, rdx
lea rdx, [rsi + 0xe8]
cmp rax, 8
cmovb rdx, rcx
mov dword [rsp + 0x38], ebp
mov edx, dword [rdx + 8]
mov dword [rsp + 0x3c], edx
test edx, edx
mov edx, 8
cmove rdx, rbx
lea rbp, [rsi + 0x108]
cmp rax, 9
cmovb rbp, rcx
mov ebp, dword [rbp + 8]
test ebp, ebp
mov ebx, 9
cmove rbx, rdx
cmp rax, 0xa
lea rax, [rsi + 0x128]
cmovb rax, rcx
mov dword [rsp + 0x40], ebp
mov eax, dword [rax + 8]
mov dword [rsp + 0x44], eax
test eax, eax
mov r15d, 0xa
cmove r15, rbx
mov rbx, qword [r14]
lea r13, [r14 + 8]
test rbx, rbx
cmovne rbx, r13
mov rcx, rbx
mov rdx, r15
call fcn.1402230e0
mov edi, eax
test al, al
je 0x140223b0f
test r15, r15
je 0x140223b0f
mov ebp, 1
mov edx, dword [rsp + rbp*4 + 0x1c]
mov rcx, rbx
call fcn.1402230e0
mov edi, eax
test al, al
je 0x140223b0f
lea rax, [rbp + 1]
cmp rbp, r15
mov rbp, rax
jb 0x140223af1
test dil, dil
je 0x140223b5c
test r15, r15
je 0x140223b5c
xor ebp, ebp
xor edi, edi
mov rcx, r13
cmp qword [r14], rbp
ja 0x140223b27
xor ecx, ecx
mov rbx, r12
cmp qword [rsi], rbp
ja 0x140223b31
xor ebx, ebx
mov rdx, qword [rbx]
mov r8, qword [rbx + 8]
call fcn.140222ee0
test al, al
je 0x140223b5c
mov rcx, rbx
call fcn.140222900
inc rbp
add r12, 0x20
add r13, 0x20
mov dil, 1
cmp rbp, r15
jb 0x140223b1b
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401d1390
mov eax, edi
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14023f600
Capabilities:
Encode data using base64

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov r14, rcx
mov edi, 2
cmp rdx, 1
jne 0x14023f63a
mov rsi, qword [r14 + 8]
cmp rdi, rsi
ja 0x14023f735
jae 0x14023f72b
mov rax, qword [r14 + 0x18]
test rax, rax
js 0x14023f655
cvtsi2ss xmm0, rax
jmp 0x14023f66a
lea rax, [rdx - 1]
test rdx, rax
jne 0x14023f648
mov rdi, rdx
jmp 0x14023f617
mov rcx, rdx
call fcn.140178830
mov rdi, rax
jmp 0x14023f617
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [r14 + 0x20]
call fcn.1401ef858
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x14033df20]
cvttss2si rax, xmm0
sar rdx, 0x3f
and rax, rdx
or rax, rcx
cmp rsi, 3
jb 0x14023f717
mov rcx, rsi
shr rcx, 1
movabs rdx, 0x5555555555555555
and rdx, rcx
mov rbx, rsi
sub rbx, rdx
movabs rdx, 0x3333333333333333
mov rcx, rbx
shr rcx, 2
and rbx, rdx
and rcx, rdx
add rcx, rbx
mov rdx, rcx
shr rdx, 4
add rdx, rcx
movabs rcx, 0xf0f0f0f0f0f0f0f
and rcx, rdx
movabs rdx, 0x101010101010101
imul rdx, rcx
shr rdx, 0x38
cmp edx, 1
ja 0x14023f717
cmp rax, 2
jb 0x14023f71f
dec rax
bsr rcx, rax
xor ecx, 0x3f
neg cl
mov eax, 1
shl rax, cl
jmp 0x14023f71f
mov rcx, rax
call fcn.140178830
cmp rdi, rax
cmovbe rdi, rax
cmp rdi, rsi
jb 0x14023f735
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, r14
mov rdx, rdi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp 0x140215d60
Function at 0x1402575a0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x80
mov r15, r8
mov rsi, rdx
mov r14, rcx
mov r10d, dword [rsp + 0xe0]
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r8d, dword [rcx + 0x18]
lea ecx, [r10 + 4]
mov edi, ecx
shr edi, 6
xor edx, edx
mov ebx, 0
cmp edi, r8d
jae 0x1402575fa
mov eax, edi
mov rbx, qword [r9 + rax*8]
shr rbx, cl
shl ebx, 5
and ebx, 0x20
lea ecx, [r10 + 3]
mov eax, ecx
shr eax, 6
cmp eax, r8d
jae 0x140257617
mov eax, eax
mov rdx, qword [r9 + rax*8]
shr rdx, cl
shl edx, 4
and edx, 0x10
or edx, ebx
lea ecx, [r10 + 2]
mov eax, ecx
shr eax, 6
xor ebx, ebx
mov edi, 0
cmp eax, r8d
jae 0x14025763d
mov eax, eax
mov rdi, qword [r9 + rax*8]
shr rdi, cl
shl edi, 3
and edi, 8
or edx, edi
lea ecx, [r10 + 1]
mov eax, ecx
shr eax, 6
cmp eax, r8d
jae 0x14025765c
mov eax, eax
mov rbx, qword [r9 + rax*8]
shr rbx, cl
shl ebx, 2
and ebx, 4
or edx, ebx
mov eax, r10d
shr eax, 6
xor ebx, ebx
cmp eax, r8d
jae 0x14025767c
mov eax, eax
mov rbx, qword [r9 + rax*8]
mov ecx, r10d
shr rbx, cl
add ebx, ebx
and ebx, 2
or edx, ebx
test r10d, r10d
je 0x1402576a4
dec r10d
mov eax, r10d
shr eax, 6
xor ecx, ecx
cmp eax, r8d
jae 0x1402576a2
mov eax, eax
mov rax, qword [r9 + rax*8]
xor ecx, ecx
bt rax, r10
setb cl
or edx, ecx
mov r12d, edx
shr r12, 5
lea eax, [r12 - 1]
neg r12
and eax, edx
xor edx, 0x3f
mov edi, r12d
and edi, edx
or edi, eax
mov rax, rdi
shr rax, 1
and edi, 1
add rdi, rax
xor ebx, ebx
mov r8d, 0xd8
mov rcx, rsi
xor edx, edx
call fcn.1401d34c0
mov r13, rdi
not r13
mov r8, rbx
xor r8, rdi
dec r8
and r8, r13
sar r8, 0x3f
mov qword [rsp + 0x20], rsi
mov rcx, r14
mov rdx, rsi
mov r9, r15
call fcn.140254620
inc rbx
add r15, 0xd8
cmp rbx, 0x11
jne 0x1402576e3
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x70], rax
movaps xmm0, xmmword [0x14033b990]
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
mov ecx, dword [r14 + 0x40]
test ecx, ecx
jle 0x14025775b
xor edx, edx
xor eax, eax
or rax, qword [rsi + rdx*8 + 0x48]
inc rdx
cmp rcx, rdx
jne 0x14025774c
jmp 0x14025775d
xor eax, eax
test rcx, rcx
je 0x1402577f3
movsxd rcx, ecx
mov r9, qword [r14 + 0x38]
lea rbx, [rsi + 0x48]
xor edi, edi
lea r8, [rsp + 0x30]
sub rdx, rdx
jmp 0x140257780
mov rdx, qword [r9 + rdi*8]
sbb rdx, qword [rbx + rdi*8]
mov qword [r8 + rdi*8], rdx
lea rdi, [rdi + 1]
dec rcx
jne 0x140257780
sbb rdx, rdx
mov ecx, dword [r14 + 0x40]
test ecx, ecx
jle 0x1402577bc
xor edx, edx
mov rbx, rax
test rax, rax
je 0x1402577af
mov rbx, qword [rsp + rdx*8 + 0x30]
mov qword [rsp + rdx*8 + 0x30], rbx
inc rdx
cmp rcx, rdx
jne 0x1402577a2
test rcx, rcx
je 0x1402577f3
and r12d, 1
mov rax, r12
neg rax
dec r12
movsxd rcx, ecx
xor edx, edx
mov rbx, qword [rsp + rdx*8 + 0x30]
and rbx, rax
mov rdi, qword [rsi + rdx*8 + 0x48]
and rdi, r12
or rdi, rbx
mov qword [rsi + rdx*8 + 0x48], rdi
inc rdx
cmp rcx, rdx
jne 0x1402577d3
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1401d1390
nop
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14026ead0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rsi
sub rsp, 0x20
lea r9, [0x1403b95b0]
xor ecx, ecx
mov r8d, 0xedb88320
mov esi, ecx
shr esi, 1
mov edx, ecx
and edx, 1
neg edx
and edx, r8d
xor edx, esi
mov esi, edx
shr esi, 1
bt ecx, 1
mov eax, 0
sbb eax, eax
and eax, r8d
xor eax, esi
mov esi, eax
shr esi, 1
bt edx, 1
mov edx, 0
sbb edx, edx
and edx, r8d
xor edx, esi
mov esi, edx
shr esi, 1
bt eax, 1
mov eax, 0
sbb eax, eax
and eax, r8d
xor eax, esi
mov esi, eax
shr esi, 1
bt edx, 1
mov edx, 0
sbb edx, edx
and edx, r8d
xor edx, esi
mov esi, edx
shr esi, 1
bt eax, 1
mov eax, 0
sbb eax, eax
and eax, r8d
xor eax, esi
bt edx, 1
mov edx, 0
sbb edx, edx
and edx, r8d
mov esi, eax
shr esi, 2
shr edx, 1
xor edx, esi
bt eax, 1
mov eax, 0
sbb eax, eax
and eax, r8d
xor eax, edx
mov dword [r9], eax
inc rcx
add r9, 4
cmp rcx, 0x100
jne 0x14026eae4
mov eax, 0x100
lea rcx, [0x1403b95b0]
mov edx, dword [rcx + rax*4 - 0x400]
movzx esi, dl
shr edx, 8
xor edx, dword [rcx + rsi*4]
mov dword [rcx + rax*4], edx
inc rax
cmp rax, 0x800
jne 0x14026eba2
lea rax, [0x1402b97b0]
mov qword [0x1403bb5b0], rax
mov qword [0x1403b95a8], rax
lea rsi, [0x1402b9870]
mov qword [0x1403bb5b8], rsi
call fcn.1402b9990
test eax, eax
jne 0x14026ebf3
mov qword [0x1403b95a8], rsi
add rsp, 0x20
pop rsi
ret
Function at 0x1402f4cc0
Capabilities:
Parse pe header

Disassembly:
cmp rdx, 0x40
jb 0x1402f4d0e
cmp byte [rcx], 0x4d
jne 0x1402f4d0e
cmp byte [rcx + 1], 0x5a
jne 0x1402f4d0e
mov r9d, dword [rcx + 0x3c]
mov r10, rdx
sub r10, r9
xor eax, eax
cmp r10, 0x18
jb 0x1402f4d10
cmp r9, rdx
jae 0x1402f4d10
cmp r9d, 0x40
jb 0x1402f4d10
mov r10d, r9d
and r10d, 7
jne 0x1402f4d10
cmp byte [rcx + r9], 0x50
jne 0x1402f4d0e
cmp byte [rcx + r9 + 1], 0x45
jne 0x1402f4d0e
cmp byte [rcx + r9 + 2], 0
je 0x1402f4d11
xor eax, eax
ret
cmp byte [rcx + r9 + 3], 0
jne 0x1402f4d0e
add r9, 0x18
xor eax, eax
sub rdx, r9
jbe 0x1402f4d10
cmp rdx, 2
jb 0x1402f4d10
cmp word [rcx + r9], r8w
sete al
jmp 0x1402f4d10

Function at 0x140304f20
Capabilities:
Parse pe header

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1b0
mov r15, r8
mov rbx, rdx
mov r14, rcx
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
movaps xmm0, xmmword [0x14033b990]
lea rdi, [rsp + 0x160]
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rsi, [rcx + 0x18]
mov rcx, rsi
call fcn.14020f780
mov r8d, 0x40
mov rcx, r14
mov rdx, rax
mov r9, rdi
call fcn.140307d90
test al, al
je 0x140304fe2
movzx eax, word [rsp + 0x160]
cmp eax, 0x5a4d
jne 0x140305017
mov rcx, rsi
call fcn.14020f780
movsxd rdi, dword [rsp + 0x19c]
add rdi, rax
mov r8d, 0x108
mov rcx, r14
mov rdx, rdi
mov r9, rbx
call fcn.140307d90
test al, al
je 0x14030505c
cmp dword [rbx], 0x4550
jne 0x140305098
mov sil, 1
test r15, r15
je 0x140304ff6
mov qword [r15], rdi
jmp 0x140304ff6
mov ecx, 1
call fcn.14017e5e0
test al, al
jne 0x1403050de
xor esi, esi
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.1401d1390
mov eax, esi
add rsp, 0x1b0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov ecx, 1
call fcn.14017e5e0
test al, al
je 0x140304ff4
lea rdx, [0x14039236f]
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x15a
mov r9d, 1
call fcn.14007d0b0
lea rcx, [rsp + 0x38]
lea rdx, [0x1403925fe]
mov r8d, 0x21
jmp 0x140305110
mov ecx, 1
call fcn.14017e5e0
test al, al
je 0x140304ff4
lea rdx, [0x14039236f]
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x162
mov r9d, 1
call fcn.14007d0b0
lea rcx, [rsp + 0x38]
lea rdx, [0x140392620]
jmp 0x14030510a
mov ecx, 1
call fcn.14017e5e0
test al, al
je 0x140304ff4
lea rdx, [0x14039236f]
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x168
mov r9d, 1
call fcn.14007d0b0
lea rcx, [rsp + 0x38]
lea rdx, [0x140392640]
mov r8d, 0x23
jmp 0x140305110
lea rdx, [0x14039236f]
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x154
mov r9d, 1
call fcn.14007d0b0
lea rcx, [rsp + 0x38]
lea rdx, [0x1403925de]
mov r8d, 0x1f
call fcn.14020f8f0
movzx r8d, byte [r14 + 0x17]
test r8b, r8b
jns 0x140305126
mov r8, qword [r14 + 8]
mov r14, qword [r14]
mov rcx, rax
mov rdx, r14
call fcn.14020f8f0
mov rcx, rdi
call fcn.14007d550
jmp 0x140304ff4
Function at 0x140305140
Capabilities:
Parse pe header

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1b0
mov r15, r8
mov rbx, rdx
mov r14, rcx
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
movaps xmm0, xmmword [0x14033b990]
lea rdi, [rsp + 0x160]
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rsi, [rcx + 0x18]
mov rcx, rsi
call fcn.14020f780
mov r8d, 0x40
mov rcx, r14
mov rdx, rax
mov r9, rdi
call fcn.140307d90
test al, al
je 0x140305202
movzx eax, word [rsp + 0x160]
cmp eax, 0x5a4d
jne 0x140305237
mov rcx, rsi
call fcn.14020f780
movsxd rdi, dword [rsp + 0x19c]
add rdi, rax
mov r8d, 0xf8
mov rcx, r14
mov rdx, rdi
mov r9, rbx
call fcn.140307d90
test al, al
je 0x14030527c
cmp dword [rbx], 0x4550
jne 0x1403052b8
mov sil, 1
test r15, r15
je 0x140305216
mov qword [r15], rdi
jmp 0x140305216
mov ecx, 1
call fcn.14017e5e0
test al, al
jne 0x1403052fe
xor esi, esi
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.1401d1390
mov eax, esi
add rsp, 0x1b0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov ecx, 1
call fcn.14017e5e0
test al, al
je 0x140305214
lea rdx, [0x14039236f]
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x15a
mov r9d, 1
call fcn.14007d0b0
lea rcx, [rsp + 0x38]
lea rdx, [0x1403925fe]
mov r8d, 0x21
jmp 0x140305330
mov ecx, 1
call fcn.14017e5e0
test al, al
je 0x140305214
lea rdx, [0x14039236f]
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x162
mov r9d, 1
call fcn.14007d0b0
lea rcx, [rsp + 0x38]
lea rdx, [0x140392620]
jmp 0x14030532a
mov ecx, 1
call fcn.14017e5e0
test al, al
je 0x140305214
lea rdx, [0x14039236f]
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x168
mov r9d, 1
call fcn.14007d0b0
lea rcx, [rsp + 0x38]
lea rdx, [0x140392640]
mov r8d, 0x23
jmp 0x140305330
lea rdx, [0x14039236f]
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x154
mov r9d, 1
call fcn.14007d0b0
lea rcx, [rsp + 0x38]
lea rdx, [0x1403925de]
mov r8d, 0x1f
call fcn.14020f8f0
movzx r8d, byte [r14 + 0x17]
test r8b, r8b
jns 0x140305346
mov r8, qword [r14 + 8]
mov r14, qword [r14]
mov rcx, rax
mov rdx, r14
call fcn.14020f8f0
mov rcx, rdi
call fcn.14007d550
jmp 0x140305214
Function at 0x140002060
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov eax, dword [rcx + 0x48]
lea rbx, [rcx + 0x28]
mov rsi, qword [rcx]
lea r11, [rcx + 0x28]
add rbx, rax
mov rdi, rcx
movabs rbp, 0x9e3779b185ebca87
movabs r15, 0x27d4eb2f165667c5
movabs r14, 0xc2b2ae3d27d4eb4f
movabs r12, 0x7a1435883d4d519d
cmp rsi, 0x20
jb 0x14000215b
mov rcx, qword [rcx + 8]
mov r8, qword [rdi + 0x18]
mov r9, qword [rdi + 0x20]
mov rax, r8
mov rdx, qword [rdi + 0x10]
mov r10, r9
rol r10, 0x12
rol rax, 0xc
add r10, rax
mov rax, rdx
rol rax, 7
add r10, rax
mov rax, rcx
rol rax, 1
add r10, rax
movabs rax, 0x85ebca77c2b2ae63
imul rcx, r14
imul rdx, r14
imul r8, r14
imul r9, r14
rol rcx, 0x1f
imul rcx, rbp
rol rdx, 0x1f
xor r10, rcx
rol r8, 0x1f
imul r10, rbp
imul rdx, rbp
imul r8, rbp
sub r10, r12
rol r9, 0x1f
xor r10, rdx
imul r10, rbp
imul r9, rbp
sub r10, r12
xor r10, r8
imul r10, rbp
sub r10, r12
xor r10, r9
imul r10, rbp
add rax, r10
add rax, rsi
jmp 0x140002163
lea rax, [rsi + r15]
add rax, qword [rcx + 0x18]
lea rdx, [rdi + 0x30]
cmp rdx, rbx
ja 0x14000219a
nop dword [rax]
mov rcx, qword [r11]
add rdx, 8
imul rcx, r14
add r11, 8
rol rcx, 0x1f
imul rcx, rbp
xor rax, rcx
rol rax, 0x1b
imul rax, rbp
sub rax, r12
cmp rdx, rbx
jbe 0x140002170
lea rdx, [r11 + 4]
movabs r8, 0x165667b19e3779f9
cmp rdx, rbx
ja 0x1400021c5
mov ecx, dword [r11]
mov r11, rdx
imul rcx, rbp
xor rax, rcx
rol rax, 0x17
imul rax, r14
add rax, r8
cmp r11, rbx
jae 0x1400021eb
nop word [rax + rax]
movzx ecx, byte [r11]
inc r11
imul rcx, r15
xor rax, rcx
rol rax, 0xb
imul rax, rbp
cmp r11, rbx
jb 0x1400021d0
mov rbx, qword [rsp + 0x20]
mov rcx, rax
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
shr rcx, 0x21
xor rcx, rax
imul rcx, r14
mov rdx, rcx
shr rdx, 0x1d
xor rdx, rcx
imul rdx, r8
mov rax, rdx
shr rax, 0x20
xor rax, rdx
pop r15
pop r14
pop r12
ret

Function at 0x14000a320
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x250
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, r8
lea rax, [rsp + 0x30]
mov rbx, rcx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x14000a365
xor al, al
jmp 0x14000a3b2
cmp word [rbx], 0
je 0x14000a37d
nop dword [rax + rax]
add rbx, 2
dec rdi
cmp word [rbx], 0
jne 0x14000a370
cmp word [rsp + 0x30], 0
je 0x14000a3ab
lea rcx, [rsp + 0x30]
sub rcx, rbx
nop dword [rax]
cmp rdi, 1
jb 0x14000a3d3
movzx eax, word [rcx + rbx]
dec rdi
mov word [rbx], ax
add rbx, 2
cmp word [rcx + rbx], 0
jne 0x14000a390
xor eax, eax
mov word [rbx], ax
mov al, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14000b5a0
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
call fcn.14000fc14
int3
Function at 0x14000abe0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x2030
call fcn.14001f590
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2020], rax
mov r11d, dword [0x14002fdd0]
lea rsi, [0x140032e10]
mov rdi, rcx
test r11d, r11d
jne 0x14000ac59
mov r8d, 0x1000
lea rdx, str._HOME_
lea rcx, [rsp + 0x20]
call fcn.14000a3e0
test al, al
je 0x14000ad39
lea rcx, [rsp + 0x20]
call fcn.14001421c
movsxd r11, dword [0x14002fdd0]
mov qword [rsi + r11*8], rax
inc r11d
mov dword [0x14002fdd0], r11d
xor r9d, r9d
test r11d, r11d
jle 0x14000ac94
mov r10, rsi
mov r8, qword [r10]
mov rax, rdi
sub r8, rdi
nop dword [rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14000ac84
add rax, 2
test ecx, ecx
jne 0x14000ac70
test edx, edx
je 0x14000acb7
inc r9d
add r10, 8
cmp r9d, r11d
jl 0x14000ac64
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x14000aca0
cmp rax, 2
jne 0x14000acbb
cmp word [rdi + 2], 0x3a
jne 0x14000acbb
mov al, 1
jmp 0x14000ad18
xor edx, edx
mov qword [rsp + 0x2048], rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
test eax, eax
jne 0x14000ace6
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000ad0d
mov bl, 1
cmp dword [0x14002fdd0], 0x400
jge 0x14000ad0d
mov rcx, rdi
call fcn.14001421c
movsxd rdx, dword [0x14002fdd0]
mov qword [rsi + rdx*8], rax
inc edx
mov dword [0x14002fdd0], edx
movzx eax, bl
mov rbx, qword [rsp + 0x2048]
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.14000b5a0
mov rsi, qword [rsp + 0x2050]
add rsp, 0x2030
pop rdi
ret
lea rcx, str._HOME_
call fcn.14000aa80
int3
Function at 0x14000ae60
Capabilities:
Check if file exists
Delete file
Get file attributes
Terminate process

Disassembly:
sub rsp, 0x68
mov rcx, qword [0x14002fdd8]
test rcx, rcx
je 0x14000ae9b
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000ae8e
mov rcx, qword [0x14002fdd8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x14002fdd8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x14002fde8], 0
je 0x14000af8e
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x78], rbp
lea rbp, [0x1400298e8]
mov qword [rsp + 0x80], rsi
lea rsi, [0x140030610]
mov qword [rsp + 0x88], rdi
xor edi, edi
mov qword [rsp + 0x60], r14
mov r14d, 0x414
mov word [rsp + 0x40], r14w
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000af6f
test al, 0x10
je 0x14000af6f
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
inc ebx
cmp ebx, 0x14
jl 0x14000af15
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x60]
add rsp, 0x68
ret
Function at 0x14000be94
Capabilities:
Parse pe header

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

Function at 0x14000fc08
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 0x14000fa73
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000fa73
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000fa73
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000fa73
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000fa73
cmp dword [rcx + 0x84], 0xe
jbe 0x14000fa73
cmp dword [rcx + 0xf8], 0
je 0x14000fa73
mov ecx, ebx
call fcn.14000fb24
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.14000f900
nop
cmp dword [rbp + 0x20], 0
je 0x14000fac1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000facc
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000fa04
Function at 0x140019018
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14001909f
mov rsi, rbx
cmp word [rax], bp
je 0x14001905e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140019048
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140019044
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140016848
mov rdi, rax
test rax, rax
je 0x14001908c
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14001fc30
mov rbp, rdi
xor ecx, ecx
call fcn.140015958
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001b20c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14001b222
mov al, 1
jmp 0x14001b282
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14001b233
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14001b280
mov ecx, dword [rcx + 0x18]
nop
call fcn.140019360
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001b280
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14001b280
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001b280
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14001b282
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x14001f4a0
Capabilities:
Parse pe header

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