joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140086b7c
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x7a8]
sub rsp, 0x8a0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140100070]
xor rax, rsp
mov qword [rbp + 0x790], rax
mov rbx, rcx
xor edx, edx
mov r8d, 0x802
lea rcx, [rbp - 0x80]
call qword [sym.imp.VCRUNTIME140.dll_memset]
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x801a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x140086d02
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x38]
call fcn.14007ef18
nop
lea rdx, str.AdobeRTTransferRTDebugLog.txt
lea rcx, [rsp + 0x38]
call fcn.140081868
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x58]
call fcn.14007e64c
nop
mov rcx, rax
call fcn.14007d6e8
mov dil, al
mov esi, 0x1000
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x140086c6e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, rsi
jb 0x140086c69
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140086c69
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a9870
test dil, dil
je 0x140086cc1
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.14007c300
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x140086d11
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov r8, rcx
cmp rdx, rsi
jb 0x140086cba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub r8, rcx
add r8, 0xfffffffffffffff8
cmp r8, 0x1f
ja 0x140086cf6
call fcn.1400a9870
jmp 0x140086d11
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x140086d02
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, rsi
jb 0x140086cfd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140086cfd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a9870
lea rdx, [0x1400d6958]
mov rcx, rbx
call fcn.140074e28
mov rax, rbx
mov rcx, qword [rbp + 0x790]
xor rcx, rsp
call fcn.1400a95a0
lea r11, [rsp + 0x8a0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x140089678
Capabilities:
Check if file exists

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140100070]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.14007c478
cmp qword [rsp + 0x38], 8
lea rcx, [rsp + 0x20]
cmovae rcx, qword [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov rdx, qword [rsp + 0x38]
cmp eax, 1
sete bl
cmp rdx, 8
jb 0x1400896fc
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400896f7
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400896f7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a9870
mov al, bl
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400a95a0
add rsp, 0x50
pop rbx
ret
Function at 0x14008afc4
Capabilities:
Check if file exists
Delete file

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x140100070]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, r8
mov rsi, rdx
mov r14, rcx
mov r15d, 1
cmp qword [rdx + 0x10], 0
je 0x14008b163
call fcn.1400a50ac
mov rdi, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x10]
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call qword [case.0x140008940.0]
jmp 0x14008b03a
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [r14], 0
jne 0x14008b040
cmp byte [rdi + 0x38], 0
je 0x14008b029
lea rdx, [rbp - 0x28]
mov rcx, rdi
call fcn.1400a538c
mov rsi, qword [rax + 0x10]
mov r14d, 0x1000
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x14008b090
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, r14
jb 0x14008b08b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008b08b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a9870
test rsi, rsi
je 0x14008b14e
lea rdx, [rbp - 0x28]
mov rcx, rdi
call fcn.1400a538c
nop
lea rcx, [0x1400e1168]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strlen]
nop
lea r9, [rbp - 0x28]
mov rcx, qword [rbp - 0x28]
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
cmovae r9, rcx
mov r8, qword [rbp - 0x18]
cmp r8, rax
jne 0x14008b11c
lea rdx, [0x1400e1168]
mov rcx, r9
call qword [sym.imp.VCRUNTIME140.dll_memcmp]
nop
test eax, eax
jne 0x14008b114
xor r15d, r15d
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14008b0f6
mov rcx, qword [rbx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x14008b114
cmp qword [rbx + 0x18], 8
jb 0x14008b10b
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rbp - 0x28]
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x14008b14e
inc rdx
mov rax, rcx
cmp rdx, r14
jb 0x14008b149
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008b149
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a9870
mov rcx, qword [rdi]
mov rax, qword [rcx + 8]
mov edx, 1
mov rcx, rdi
call qword [case.0x140008940.0]
mov eax, r15d
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400a95a0
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14008ee04
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp - 1], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov rax, qword [0x140100070]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rax, qword [0x140104c28]
xor edi, edi
test rax, rax
je 0x14008ee46
mov al, byte [rax]
jmp 0x14008ef80
mov ecx, 1
call fcn.1400a9880
mov qword [0x140104c28], rax
mov byte [rax], dil
lea rcx, [rbp + 7]
call fcn.140097230
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], rdi
mov qword [rbp + 0x37], rdi
mov qword [rbp + 0x3f], 7
mov word [rbp + 0x27], di
lea rcx, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae rcx, qword [rbp + 7]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x14008eedf
lea rcx, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae rcx, qword [rbp + 7]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x14008eedf
xor r8d, r8d
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 7]
call fcn.14007e160
mov rax, qword [rbp - 0x11]
mov rdx, qword [rbp - 0x19]
sub rax, rdx
sar rax, 5
test rax, rax
je 0x14008eee3
mov rax, qword [0x140104c28]
mov byte [rax], 1
mov rdx, qword [rbp - 0x19]
mov rax, qword [0x140104c28]
mov bl, byte [rax]
test rdx, rdx
je 0x14008ef3b
mov r8, qword [rbp - 0x11]
call fcn.140081524
mov rdx, qword [rbp - 9]
mov rcx, qword [rbp - 0x19]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008ef2a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008ef72
call fcn.1400a9870
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], rdi
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x14008ef7e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008ef79
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008ef79
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400a9870
mov al, bl
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400a95a0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140098660
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1c8]
sub rsp, 0x2c0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x140100070]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rdi, rcx
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp - 0x60]
call qword [sym.imp.VCRUNTIME140.dll_memset]
call fcn.140098474
test al, al
je 0x1400987f2
lea rdx, str.IE_is_protected_mode_
lea rcx, [rsp + 0x78]
call fcn.140074e28
nop
lea rdx, str.LogSession
lea rcx, [rsp + 0x38]
call fcn.140074e28
nop
lea rcx, [rsp + 0x38]
call fcn.140086f20
mov rbx, rax
lea rdx, [0x1400d6958]
lea rcx, [rsp + 0x58]
call fcn.140074e28
mov r8, rax
mov rax, qword [rbx]
lea rdx, [rsp + 0x78]
mov rcx, rbx
mov rax, qword [rax + 0x80]
call qword [case.0x140008940.0]
nop
mov ebx, 0x1000
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x140098752
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, rbx
jb 0x14009874d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400987dc
call fcn.1400a9870
movdqa xmm0, xmmword [0x1400e2ca0]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x14009879a
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, rbx
jb 0x140098795
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400987dc
call fcn.1400a9870
movdqa xmm0, xmmword [0x1400e2ca0]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x1400987e8
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, rbx
jb 0x1400987e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400987e3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400a9870
mov rcx, rdi
call fcn.1400984f0
jmp 0x140098827
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x801a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea rcx, [0x1400e0b1c]
lea rdx, [rbp - 0x60]
test eax, eax
cmovne rdx, rcx
mov rcx, rdi
call fcn.14007ef18
mov rax, rdi
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1400a95a0
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140098ce8
Capabilities:
Get session user name

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1b8]
sub rsp, 0x2b0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140100070]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rbx, rcx
mov dword [rsp + 0x20], 0x100
xor esi, esi
mov word [rbp + 0x190], si
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.14007ef18
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.14007c300
nop
lea rdx, str.AdobeHeadlights
lea rcx, [rsp + 0x50]
call fcn.140074e28
nop
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.1400760a4
mov rdx, rax
mov rcx, rbx
call fcn.140074ebc
nop
mov edi, 0x1000
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140098dde
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, rdi
jb 0x140098dd9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140098e6d
call fcn.1400a9870
movdqa xmm0, xmmword [0x1400e2ca0]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], sil
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140098e26
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, rdi
jb 0x140098e21
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140098e6d
call fcn.1400a9870
movdqa xmm0, xmmword [0x1400e2ca0]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], sil
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x140098e79
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, rdi
jb 0x140098e74
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140098e74
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400a9870
mov rax, rbx
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1400a95a0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140099af0
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xb0
mov qword [rbp - 0x51], 0xfffffffffffffffe
mov rax, qword [0x140100070]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r14d, r9d
mov rbx, r8
mov rdi, rdx
mov r15, rcx
xor r12d, r12d
cmp qword [rcx], r12
je 0x140099cd6
cmp qword [rdx + 0x10], r12
je 0x140099cd6
lea esi, [r12 + 4]
cmp r9d, esi
je 0x140099b7c
cmp r9d, 1
jne 0x140099cd6
mov rcx, rbx
cmp qword [r8 + 0x18], 8
jb 0x140099b60
mov rcx, qword [r8]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [rax*2 + 2]
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x140099b96
mov rax, qword [rbx]
jmp 0x140099b96
mov rcx, rbx
cmp qword [r8 + 0x18], 8
jb 0x140099b89
mov rcx, qword [r8]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
mov dword [rbp - 0x59], eax
lea rax, [rbp - 0x59]
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140099ba3
mov rdx, qword [rdi]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
mov r9d, r14d
xor r8d, r8d
mov rcx, qword [r15]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x140099cf6
mov r8, rbx
lea rdx, str.Set_registry_value
lea rcx, [rbp - 9]
call fcn.1400942a8
nop
lea r8, str._with_key:
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.14008a310
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rbp - 0x49]
call fcn.140080cac
mov ebx, 0x1000
mov rdx, qword [rbp - 0x31]
cmp rdx, 8
jb 0x140099c3b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, rbx
jb 0x140099c36
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140099cca
call fcn.1400a9870
movdqa xmm0, xmmword [0x1400e2c90]
movdqu xmmword [rbp - 0x39], xmm0
mov word [rbp - 0x49], r12w
mov rdx, qword [rbp - 0x11]
cmp rdx, 8
jb 0x140099c85
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, rbx
jb 0x140099c80
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140099cca
call fcn.1400a9870
movdqa xmm0, xmmword [0x1400e2c90]
movdqu xmmword [rbp - 0x19], xmm0
mov word [rbp - 0x29], r12w
mov rdx, qword [rbp + 0xf]
cmp rdx, 8
jb 0x140099cd6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, rbx
jb 0x140099cd1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140099cd1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400a9870
xor al, al
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400a95a0
add rsp, 0xb0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov al, 1
jmp 0x140099cd8
Function at 0x1400a03a4
Capabilities:
Check if file exists
Delete file

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rdi
mov rax, qword [0x140100070]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rdx
mov rcx, rdx
cmp qword [rdx + 0x18], 0x10
jb 0x1400a03dd
mov rcx, qword [rdx]
mov rbx, qword [rdx + 0x10]
add rbx, rcx
cmp qword [rdx + 0x18], 0x10
jb 0x1400a03ee
mov rdi, qword [rdx]
movdqa xmm0, xmmword [0x1400e2c90]
movdqu xmmword [rbp - 0x18], xmm0
xor eax, eax
mov word [rbp - 0x28], ax
mov rdx, rbx
sub rdx, rdi
lea rcx, [rbp - 0x28]
call fcn.1400816d8
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x28]
call fcn.140083cdc
nop
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x1400a044e
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x1400a0491
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a048c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a048c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a9870
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400a95a0
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret

Function at 0x1400af7b0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
xor r8d, r8d
mov r11, rdx
sub r11, rcx
mov r9, rcx
cmp rcx, rdx
cmova r11, r8
test r11, r11
je 0x1400af80f
mov r10, rcx
mov qword [rsp], rbx
neg r10
mov ebx, 0x9e3779b9
nop dword [rax + rax]
movsx rcx, byte [r9]
lea r9, [r9 + 1]
mov rdx, r8
mov rax, r8
shr rax, 2
shl rdx, 6
add rax, rdx
add rax, rbx
add rcx, rax
lea rax, [r10 + r9]
xor r8, rcx
cmp rax, r11
jne 0x1400af7e0
mov rbx, qword [rsp]
movabs rax, 0x200009c482fb3f8b
mul r8
shr rdx, 0x1c
imul eax, edx, 0x7fffd8ee
sub r8d, eax
lea eax, [r8 + 0x2710]
add rsp, 8
ret
Function at 0x140008fe0
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140013d28], rbx
je 0x140009047
cmp rax, rbx
jne 0x14000903a
mov ebx, 1
mov esi, ebx
jmp 0x14000904c
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000901f
mov ebx, 1
mov eax, dword [0x140013d30]
cmp eax, ebx
jne 0x140009064
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x1400090d0
mov eax, dword [0x140013d30]
test eax, eax
jne 0x1400090c5
mov dword [0x140013d30], ebx
lea r15, [0x14000bd58]
lea rdi, [0x14000bd40]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x1400090b7
test eax, eax
jne 0x1400090bb
cmp qword [rdi], r14
je 0x1400090ac
mov rax, qword [rdi]
mov rcx, qword [0x14000bd20]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14000908e
test eax, eax
je 0x1400090cb
mov eax, 0xff
jmp 0x140009226
mov dword [0x140013744], ebx
mov edi, 0x1f
mov eax, dword [0x140013d30]
cmp eax, ebx
jne 0x1400090f7
lea rdx, [0x14000bd38]
lea rcx, [0x14000bd28]
call sub.msvcrt.dll__initterm
mov dword [0x140013d30], 2
test esi, esi
jne 0x140009105
mov rax, r14
xchg qword [0x140013d28], rax
cmp qword [0x140013d38], r14
je 0x140009138
lea rcx, [0x140013d38]
call fcn.1400094d0
test eax, eax
je 0x140009138
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140013d38]
mov r9, qword [0x14000bd20]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x140009151
mov eax, 0xff
jmp 0x140009226
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x1400091d7
test ax, ax
je 0x14000916c
test edx, edx
jne 0x1400091d7
sub ax, bx
cmp ax, di
ja 0x140009182
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x14000916c
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140001880
mov dword [0x140013740], eax
cmp dword [0x140013760], r14d
jne 0x1400091c0
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140013744], r14d
jne 0x1400091d5
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140013740]
jmp 0x140009226
cmp ax, 0x22
jne 0x1400091eb
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14000915a
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.1400b9000
add rsp, 0x28
jmp 0x140008fe0
Function at 0x140006cf4
Capabilities:
Read file on windows

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, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x140006d22
xor eax, eax
jmp 0x140006e08
cmp qword [rcx + 0x68], 0
je 0x140006d33
call fcn.140006e24
jmp 0x140006e08
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140006d4a
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140006d4c
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140006d7e
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.140009c50
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x140006e02
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x140006db5
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x140006dde
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.140013eb8
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x140006e02
cmp rsi, rbx
ja 0x140006dbc
test rsi, rsi
je 0x140006e02
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.140013eb8
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x140008b20
Capabilities:
Parse pe header

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

Function at 0x140017168
Capabilities:
Parse pe header

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