joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180005b50
Capabilities:
Print debug messages

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov eax, dword [0x18002a1b8]
mov ecx, dword [0x18002a1bc]
lea edx, [rax - 1]
imul edx, eax
mov eax, edx
xor eax, 0xfffffffe
test eax, edx
sete byte [rsp + 0x26]
cmp ecx, 0xa
setl byte [rsp + 0x27]
mov eax, 0xc4536a49
lea r14, str.Nrsi:wuov
mov rsi, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea r15, [0x180029240]
lea rdi, [0x180029030]
mov r13, qword [sym.imp.KERNEL32.dll_DebugBreak]
mov r12d, 0x69b7bd3a
mov ebp, 0x9090606
nop dword [rax]
cmp eax, 0x9090605
jg 0x180005c00
cmp eax, 0xad3531ad
je 0x180005c60
cmp eax, 0xc4536a49
jne 0x180005bc0
movzx ecx, byte [rsp + 0x26]
movzx eax, byte [rsp + 0x27]
mov edx, ecx
xor dl, al
mov edx, 0xad3531ad
cmovne edx, r12d
test al, al
mov eax, edx
cmovne eax, r12d
test cl, cl
cmove eax, edx
jmp 0x180005bc0
cmp eax, 0x9090606
je 0x180005c7c
cmp eax, 0x69b7bd3a
jne 0x180005bc0
mov rcx, r14
call rsi
mov rcx, r15
call rsi
mov rcx, rdi
call rsi
call r13
mov eax, dword [0x18002a1b8]
mov ecx, dword [0x18002a1bc]
lea edx, [rax - 1]
imul edx, eax
mov eax, edx
xor eax, 0xfffffffe
test eax, edx
sete r8b
cmp ecx, 0xa
setl bl
xor bl, r8b
mov ebx, 0xad3531ad
cmovne ebx, ebp
test eax, edx
mov eax, ebx
cmove eax, ebp
cmp ecx, 0xa
cmovge eax, ebx
jmp 0x180005bc0
mov rcx, r14
call rsi
mov rcx, r15
call rsi
mov rcx, rdi
call rsi
call r13
mov eax, 0x69b7bd3a
jmp 0x180005bc0
xor eax, eax
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x180005c90
Capabilities:
Print debug messages

Disassembly:
push rsi
sub rsp, 0x20
lea rcx, str.Nrsi:wuov
mov rsi, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rsi
lea rcx, [0x180029260]
call rsi
lea rcx, [0x180029030]
call rsi
call qword [sym.imp.KERNEL32.dll_DebugBreak]
xor eax, eax
add rsp, 0x20
pop rsi
ret

Function at 0x180005cd0
Capabilities:
Print debug messages

Disassembly:
push rsi
sub rsp, 0x20
lea rcx, str.Nrsi:wuov
mov rsi, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rsi
lea rcx, [0x180029280]
call rsi
lea rcx, [0x180029030]
call rsi
call qword [sym.imp.KERNEL32.dll_DebugBreak]
xor eax, eax
add rsp, 0x20
pop rsi
ret

Function at 0x180005d10
Capabilities:
Print debug messages

Disassembly:
push rsi
sub rsp, 0x20
lea rcx, str.Nrsi:wuov
mov rsi, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rsi
lea rcx, [0x1800292a0]
call rsi
lea rcx, [0x180029030]
call rsi
call qword [sym.imp.KERNEL32.dll_DebugBreak]
xor eax, eax
add rsp, 0x20
pop rsi
ret

Function at 0x180005d50
Capabilities:
Print debug messages

Disassembly:
push rsi
sub rsp, 0x20
lea rcx, str.Nrsi:wuov
mov rsi, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rsi
lea rcx, str.qPl_R__M_l_OK_MJmJ_J__
call rsi
lea rcx, [0x180029030]
call rsi
call qword [sym.imp.KERNEL32.dll_DebugBreak]
xor eax, eax
add rsp, 0x20
pop rsi
ret
Function at 0x180005d90
Capabilities:
Print debug messages

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov eax, dword [0x18002a238]
mov ecx, dword [0x18002a23c]
lea edx, [rax - 1]
imul edx, eax
not edx
or edx, 0xfffffffe
cmp edx, 0xffffffff
sete byte [rsp + 0x26]
cmp ecx, 0xa
setl byte [rsp + 0x27]
mov eax, 0x158cf72d
lea r14, str.Nrsi:wuov
mov rsi, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea r15, [0x1800292e0]
lea r13, [0x180029030]
mov r12, qword [sym.imp.KERNEL32.dll_DebugBreak]
mov ebp, 0xd9f5878a
mov edi, 0x5a37b59b
mov ebx, 0xebede4a4
nop
cmp eax, 0x158cf72c
jg 0x180005e60
cmp eax, 0xd9f5878a
je 0x180005eb1
cmp eax, 0xebede4a4
jne 0x180005e00
mov rcx, r14
call rsi
mov rcx, r15
call rsi
mov rcx, r13
call rsi
call r12
mov eax, dword [0x18002a238]
lea ecx, [rax - 1]
imul ecx, eax
mov eax, ecx
xor eax, 0xfffffffe
test eax, ecx
sete cl
mov eax, 0x5a37b59b
cmove eax, ebp
cmp dword [0x18002a23c], 0xa
cmovge eax, edi
setl dl
xor dl, cl
cmovne eax, ebp
jmp 0x180005e00
cmp eax, 0x5a37b59b
je 0x180005e95
cmp eax, 0x158cf72d
jne 0x180005e00
movzx ecx, byte [rsp + 0x26]
movzx eax, byte [rsp + 0x27]
mov edx, eax
xor dl, cl
test al, al
mov eax, 0x5a37b59b
cmovne eax, ebx
test cl, cl
cmove eax, edi
test dl, dl
cmovne eax, ebx
jmp 0x180005e00
mov rcx, r14
call rsi
mov rcx, r15
call rsi
mov rcx, r13
call rsi
call r12
mov eax, 0xebede4a4
jmp 0x180005e00
xor eax, eax
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x180005ed0
Capabilities:
Print debug messages

Disassembly:
push rsi
sub rsp, 0x20
lea rcx, str.Nrsi:wuov
mov rsi, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rsi
lea rcx, [0x180029300]
call rsi
lea rcx, [0x180029030]
call rsi
call qword [sym.imp.KERNEL32.dll_DebugBreak]
xor eax, eax
add rsp, 0x20
pop rsi
ret

Function at 0x180005f10
Capabilities:
Print debug messages

Disassembly:
push rsi
sub rsp, 0x20
lea rcx, str.Nrsi:wuov
mov rsi, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rsi
lea rcx, str.ZEzfa_eqtapGpd_pfaVtvp
call rsi
lea rcx, [0x180029030]
call rsi
call qword [sym.imp.KERNEL32.dll_DebugBreak]
xor eax, eax
add rsp, 0x20
pop rsi
ret

Function at 0x180005f50
Capabilities:
Print debug messages

Disassembly:
push rsi
sub rsp, 0x20
lea rcx, str.Nrsi:wuov
mov rsi, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rsi
lea rcx, [0x180029339]
call rsi
lea rcx, [0x180029030]
call rsi
call qword [sym.imp.KERNEL32.dll_DebugBreak]
xor eax, eax
add rsp, 0x20
pop rsi
ret

Function at 0x180005f90
Capabilities:
Print debug messages

Disassembly:
push rsi
sub rsp, 0x20
lea rcx, str.Nrsi:wuov
mov rsi, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rsi
lea rcx, [0x180029350]
call rsi
lea rcx, [0x180029030]
call rsi
call qword [sym.imp.KERNEL32.dll_DebugBreak]
xor eax, eax
add rsp, 0x20
pop rsi
ret
Function at 0x180005fd0
Capabilities:
Print debug messages

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov eax, dword [0x18002a240]
mov ecx, dword [0x18002a244]
lea edx, [rax - 1]
imul edx, eax
not edx
or edx, 0xfffffffe
cmp edx, 0xffffffff
sete byte [rsp + 0x26]
cmp ecx, 0xa
setl byte [rsp + 0x27]
mov eax, 0xa85532cd
lea r14, str.Nrsi:wuov
mov rsi, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea r15, [0x180029361]
lea rbp, [0x180029030]
mov rdi, qword [sym.imp.KERNEL32.dll_DebugBreak]
mov r12d, 0xcf9a279a
mov r13d, 0xa1d0a0fe
nop dword [rax + rax]
cmp eax, 0xcf9a2799
jg 0x180006080
cmp eax, 0xa1d0a0fe
je 0x1800060a6
cmp eax, 0xa85532cd
jne 0x180006040
movzx ecx, byte [rsp + 0x26]
movzx eax, byte [rsp + 0x27]
mov edx, ecx
xor dl, al
mov edx, 0x28826f8a
cmovne edx, r13d
test al, al
mov eax, edx
cmovne eax, r13d
test cl, cl
cmove eax, edx
jmp 0x180006040
cmp eax, 0xcf9a279a
je 0x1800060f9
cmp eax, 0x28826f8a
jne 0x180006040
mov rcx, r14
call rsi
mov rcx, r15
call rsi
mov rcx, rbp
call rsi
call rdi
mov eax, 0xa1d0a0fe
jmp 0x180006040
mov rcx, r14
call rsi
mov rcx, r15
call rsi
mov rcx, rbp
call rsi
call rdi
mov eax, dword [0x18002a240]
mov ecx, dword [0x18002a244]
lea edx, [rax - 1]
imul edx, eax
not edx
or edx, 0xfffffffe
cmp edx, 0xffffffff
sete al
cmp ecx, 0xa
setl bl
xor bl, al
mov ebx, 0x28826f8a
cmovne ebx, r12d
cmp edx, 0xffffffff
mov eax, ebx
cmove eax, r12d
cmp ecx, 0xa
cmovge eax, ebx
jmp 0x180006040
xor eax, eax
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x180006110
Capabilities:
Print debug messages

Disassembly:
push rsi
sub rsp, 0x20
lea rcx, str.Nrsi:wuov
mov rsi, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rsi
lea rcx, str.ZEzfaPqGpd_pfa
call rsi
lea rcx, [0x180029030]
call rsi
call qword [sym.imp.KERNEL32.dll_DebugBreak]
xor eax, eax
add rsp, 0x20
pop rsi
ret

Function at 0x180006150
Capabilities:
Print debug messages

Disassembly:
push rsi
sub rsp, 0x20
lea rcx, str.Nrsi:wuov
mov rsi, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rsi
lea rcx, [0x180029381]
call rsi
lea rcx, [0x180029030]
call rsi
call qword [sym.imp.KERNEL32.dll_DebugBreak]
xor eax, eax
add rsp, 0x20
pop rsi
ret
Function at 0x180006190
Capabilities:
Print debug messages

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov eax, dword [0x18002a248]
mov ecx, dword [0x18002a24c]
lea edx, [rax - 1]
imul edx, eax
mov eax, edx
xor eax, 0xfffffffe
test eax, edx
sete byte [rsp + 0x26]
cmp ecx, 0xa
setl byte [rsp + 0x27]
mov eax, 0xe5faae2a
lea r14, str.Nrsi:wuov
mov rsi, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea r15, [0x18002938b]
lea r13, [0x180029030]
mov r12, qword [sym.imp.KERNEL32.dll_DebugBreak]
mov ebp, 0xa9a7ad44
mov edi, 0xe24c1a40
nop dword [rax + rax]
cmp eax, 0xe5faae29
jg 0x180006270
cmp eax, 0xa9a7ad44
je 0x1800062c1
cmp eax, 0xe24c1a40
jne 0x180006200
mov rcx, r14
call rsi
mov rcx, r15
call rsi
mov rcx, r13
call rsi
call r12
mov eax, dword [0x18002a248]
mov ecx, dword [0x18002a24c]
lea edx, [rax - 1]
imul edx, eax
mov eax, edx
xor eax, 0xfffffffe
test eax, edx
sete r8b
cmp ecx, 0xa
setl bl
xor bl, r8b
mov ebx, 0xeeb9c3d6
cmovne ebx, ebp
test eax, edx
mov eax, ebx
cmove eax, ebp
cmp ecx, 0xa
cmovge eax, ebx
jmp 0x180006200
cmp eax, 0xeeb9c3d6
je 0x1800062a5
cmp eax, 0xe5faae2a
jne 0x180006200
movzx ecx, byte [rsp + 0x26]
movzx eax, byte [rsp + 0x27]
mov edx, ecx
xor dl, al
mov edx, 0xeeb9c3d6
cmovne edx, edi
test al, al
mov eax, edx
cmovne eax, edi
test cl, cl
cmove eax, edx
jmp 0x180006200
mov rcx, r14
call rsi
mov rcx, r15
call rsi
mov rcx, r13
call rsi
call r12
mov eax, 0xe24c1a40
jmp 0x180006200
xor eax, eax
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x1800062e0
Capabilities:
Print debug messages

Disassembly:
push rsi
sub rsp, 0x20
lea rcx, str.Nrsi:wuov
mov rsi, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rsi
lea rcx, str.ZwAG__YfQEAQG_z___R_WU___Z4
call rsi
lea rcx, [0x180029030]
call rsi
call qword [sym.imp.KERNEL32.dll_DebugBreak]
xor eax, eax
add rsp, 0x20
pop rsi
ret
Function at 0x180006320
Capabilities:
Print debug messages

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov eax, dword [0x18002a250]
mov ecx, dword [0x18002a254]
lea edx, [rax - 1]
imul edx, eax
not edx
or edx, 0xfffffffe
cmp edx, 0xffffffff
sete byte [rsp + 0x26]
cmp ecx, 0xa
setl byte [rsp + 0x27]
mov eax, 0x44c92b73
lea r14, str.Nrsi:wuov
mov rsi, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea r15, [0x1800293c0]
lea r12, [0x180029030]
mov r13, qword [sym.imp.KERNEL32.dll_DebugBreak]
mov ebp, 0xf7fbfc0d
mov edi, 0x3f1c9708
nop dword [rax]
cmp eax, 0x3f1c9707
jg 0x1800063b0
cmp eax, 0xf34b478b
je 0x1800063e7
cmp eax, 0xf7fbfc0d
jne 0x180006390
jmp 0x180006452
cmp eax, 0x3f1c9708
je 0x180006400
cmp eax, 0x44c92b73
jne 0x180006390
movzx ecx, byte [rsp + 0x26]
movzx eax, byte [rsp + 0x27]
mov edx, eax
xor dl, cl
test al, al
mov eax, 0xf34b478b
cmovne eax, edi
test cl, cl
mov ecx, 0xf34b478b
cmove eax, ecx
test dl, dl
cmovne eax, edi
jmp 0x180006390
mov rcx, r14
call rsi
mov rcx, r15
call rsi
mov rcx, r12
call rsi
call r13
mov eax, 0x3f1c9708
jmp 0x180006390
mov rcx, r14
call rsi
mov rcx, r15
call rsi
mov rcx, r12
call rsi
call r13
mov eax, dword [0x18002a250]
mov ecx, dword [0x18002a254]
lea edx, [rax - 1]
imul edx, eax
not edx
or edx, 0xfffffffe
cmp edx, 0xffffffff
sete al
cmp ecx, 0xa
setl bl
xor bl, al
mov ebx, 0xf34b478b
cmovne ebx, ebp
cmp edx, 0xffffffff
mov eax, ebx
cmove eax, ebp
cmp ecx, 0xa
cmovge eax, ebx
jmp 0x180006390
xor eax, eax
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x180017f28
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 0x180017f58
xor eax, eax
jmp 0x18001801b
mov rbp, rbx
cmp word [rax], si
je 0x180017f7d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180017f64
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180017f60
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.180017e48
movsxd r14, eax
test eax, eax
jne 0x180017fbb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180017f51
mov rcx, r14
call fcn.180018038
mov rdi, rax
test rax, rax
jne 0x180017fd4
xor ecx, ecx
call fcn.18001608c
jmp 0x180017fb0
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.180017e48
test eax, eax
jne 0x180018005
mov rcx, rdi
call fcn.18001608c
jmp 0x18001800f
xor ecx, ecx
call fcn.18001608c
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 0x140005420
Capabilities:
Parse pe header

Disassembly:
test rcx, rcx
je 0x140005450
mov eax, 0
cmp word [rcx], 0x5a4d
jne 0x14000544f
mov eax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x140005455
cdqe
add rax, rcx
cmp dword [rax], 0x4550
mov edx, 0
cmovne rax, rdx
ret
mov rax, rcx
jmp 0x14000544f
mov eax, 0
jmp 0x14000544f

Function at 0x140005ad0
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.140005a80
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x14000fcb0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x14058c130]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x14000fd1f
mov rcx, r9
call fcn.14000fb80
test eax, eax
je 0x14000fd1f
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
lea rdx, [r9 + rax + 0x18]
movzx eax, word [r9 + 6]
test eax, eax
je 0x14000fd1d
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x14000fd14
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x14000fd1f
add rdx, 0x28
cmp rdx, r9
jne 0x14000fd00
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret
Function at 0x140d22a58
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rdx, rax
lea rsp, [rsp + 8]
jmp 0x140d0c563

Function at 0x140d32c2a
Capabilities:
Encode data using xor

Disassembly:
movzx r8d, r11b
pop r11
not r8
push r8
mov r8, qword [rsp + r8 + 0x27]
lea rsp, [rsp + 0x10]
call fcn.140d12f13
mov r10w, word [rbp + r10 - 0x3d9cf79d]
adc rbp, 2
push 0xffffffffe9b46522
not si
not r10w
call fcn.140d082b0
mov qword [rsp], r8
push 0x1c190798
mov qword [rsp], r11
lea r8, [0x140d18680]
mov r11d, 0x4b3838aa
movzx r11d, byte [r11 + rbp - 0x4b3838aa]
xor r11d, r10d
push 0xffffffff948388b9
and r11d, 0xff
mov dword [rsp + 4], 0xe0ab47b8
shr word [rsp + 5], 0xea
mov r11d, dword [r8 + r11*4]
shr r10d, 8
xor r10d, r11d
inc rbp
xor r10d, 0x44935f38
dec rax
lea rsp, [rsp + 8]
jne 0x140d32c3e
mov r11d, 0x26a8d51e
jmp 0x140d0ead8
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 r14
push r15
mov eax, dword [rcx + 0x48]
lea rbx, [rcx + 0x28]
mov rdi, qword [rcx]
lea r11, [rcx + 0x28]
add rbx, rax
mov r9, rcx
movabs rbp, 0xc2b2ae3d27d4eb4f
movabs rsi, 0x9e3779b185ebca87
movabs r14, 0x27d4eb2f165667c5
movabs r15, 0x7a1435883d4d519d
cmp rdi, 0x20
jb 0x140002159
mov r8, qword [r9 + 0x18]
mov rdx, qword [rcx + 8]
mov rax, r8
mov r9, qword [r9 + 0x20]
mov rcx, qword [rcx + 0x10]
mov r10, r9
rol r10, 0x12
rol rax, 0xc
add r10, rax
mov rax, rcx
rol rax, 7
add r10, rax
mov rax, rdx
rol rax, 1
add r10, rax
movabs rax, 0x85ebca77c2b2ae63
imul rdx, rbp
imul rcx, rbp
imul r8, rbp
imul r9, rbp
rol rdx, 0x1f
imul rdx, rsi
rol rcx, 0x1f
xor r10, rdx
rol r8, 0x1f
imul r10, rsi
imul rcx, rsi
imul r8, rsi
sub r10, r15
rol r9, 0x1f
xor r10, rcx
imul r10, rsi
imul r9, rsi
sub r10, r15
xor r10, r8
imul r10, rsi
sub r10, r15
xor r10, r9
imul r10, rsi
add rax, r10
add rax, rdi
jmp 0x140002161
lea rax, [rdi + r14]
add rax, qword [rcx + 0x18]
lea rdx, [r11 + 8]
cmp rdx, rbx
ja 0x14000219a
nop word [rax + rax]
mov rcx, qword [r11]
add rdx, 8
imul rcx, rbp
add r11, 8
rol rcx, 0x1f
imul rcx, rsi
xor rax, rcx
rol rax, 0x1b
imul rax, rsi
sub rax, r15
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, rsi
xor rax, rcx
rol rax, 0x17
imul rax, rbp
add rax, r8
cmp r11, rbx
jae 0x1400021eb
nop word [rax + rax]
movzx ecx, byte [r11]
inc r11
imul rcx, r14
xor rax, rcx
rol rax, 0xb
imul rax, rsi
cmp r11, rbx
jb 0x1400021d0
mov rbx, qword [rsp + 0x18]
mov rcx, rax
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
shr rcx, 0x21
xor rcx, rax
imul rcx, rbp
mov rbp, qword [rsp + 0x20]
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
ret

Function at 0x14000a500
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x90
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
lea rbx, [rsp + 0x30]
xor r14d, r14d
mov rbp, rdx
mov word [rsp + 0x30], r14w
mov rsi, rcx
mov edi, 0x28
test al, al
je 0x14000a5b1
nop word [rax + rax]
mov r8d, 2
mov byte [rsp + 0x20], al
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x21], r14b
lea rcx, [rsp + 0x24]
call fcn.1400103f0
cmp rax, 1
jne 0x14000a5e7
mov rcx, rdi
mov rax, rbx
cmp word [rbx], r14w
je 0x14000a58d
add rax, 2
dec rcx
cmp word [rax], r14w
jne 0x14000a580
cmp rcx, 1
jb 0x14000a5e7
movzx ecx, word [rsp + 0x24]
inc rsi
mov word [rax], cx
add rbx, 2
mov word [rax + 2], r14w
dec rdi
movzx eax, byte [rsi]
test al, al
jne 0x14000a550
mov rdx, rbp
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14000c890
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.1400100b4
int3
Function at 0x14000a670
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 0x14000a6b5
xor al, al
jmp 0x14000a702
cmp word [rbx], 0
je 0x14000a6cd
nop dword [rax + rax]
add rbx, 2
dec rdi
cmp word [rbx], 0
jne 0x14000a6c0
cmp word [rsp + 0x30], 0
je 0x14000a6fb
lea rcx, [rsp + 0x30]
sub rcx, rbx
nop dword [rax]
cmp rdi, 1
jb 0x14000a723
movzx eax, word [rcx + rbx]
dec rdi
mov word [rbx], ax
add rbx, 2
cmp word [rcx + rbx], 0
jne 0x14000a6e0
xor eax, eax
mov word [rbx], ax
mov al, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14000c890
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
call fcn.1400100b4
int3
Function at 0x14000b800
Capabilities:
Check if file exists
Delete file
Get file attributes
Terminate process

Disassembly:
sub rsp, 0x68
mov rcx, qword [0x14002fdd8]
test rcx, rcx
je 0x14000b83b
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000b82e
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 0x14000b92e
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x78], rbp
lea rbp, [0x1400298f0]
mov qword [rsp + 0x80], rsi
lea rsi, [0x140040610]
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 0x14000b90f
test al, 0x10
je 0x14000b90f
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 0x14000b8b5
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 0x14000d184
Capabilities:
Parse pe header

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

Function at 0x14000fea4
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 0x14000ff13
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000ff13
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000ff13
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000ff13
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000ff13
cmp dword [rcx + 0x84], 0xe
jbe 0x14000ff13
cmp dword [rcx + 0xf8], 0
je 0x14000ff13
mov ecx, ebx
call fcn.14000ffc4
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.14000fda0
nop
cmp dword [rbp + 0x20], 0
je 0x14000ff61
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000ff6c
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000fea4

Function at 0x1400100a8
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 0x14000ff13
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000ff13
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000ff13
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000ff13
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000ff13
cmp dword [rcx + 0x84], 0xe
jbe 0x14000ff13
cmp dword [rcx + 0xf8], 0
je 0x14000ff13
mov ecx, ebx
call fcn.14000ffc4
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.14000fda0
nop
cmp dword [rbp + 0x20], 0
je 0x14000ff61
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000ff6c
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000fea4