joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7ff7cd6b9bac
Capabilities:
Delete file

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 rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov rax, qword [str.U6_Bm]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor r14d, r14d
mov ebx, r14d
mov dword [rbp - 0x19], ebx
lea rsi, [0x7ff7cd6f5cc8]
cmp qword [0x7ff7cd6f5cd8], r14
je 0x7ff7cd6b9c65
mov rbx, qword [str.RarSFX]
mov qword [rbp - 0x11], r14
xorps xmm0, xmm0
movdqu xmmword [rbp - 1], xmm0
mov rcx, rbx
call fcn.7ff7cd6c75dc
mov r8, rax
mov rdx, rbx
lea rcx, [rbp - 0x11]
call fcn.7ff7cd69129c
nop
mov dword [rbp - 0x19], 1
mov rdx, rsi
lea rcx, [rbp + 0xf]
call fcn.7ff7cd6a7b08
nop
lea ebx, [r14 + 3]
mov dword [rbp - 0x19], ebx
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rdx, qword [rbp - 0x11]
cmp qword [rax + 0x18], 8
jb 0x7ff7cd6b9c50
mov rax, qword [rax]
mov r8d, 6
mov rcx, rax
call fcn.7ff7cd6b104c
test eax, eax
mov dil, 1
je 0x7ff7cd6b9c68
mov dil, r14b
test bl, 2
je 0x7ff7cd6b9c7a
and ebx, 0xfffffffd
lea rcx, [rbp + 0xf]
call fcn.7ff7cd691fa0
nop
test bl, 1
je 0x7ff7cd6b9cbf
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x7ff7cd6b9cbf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7cd6b9cba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff7cd6b9dea
call fcn.7ff7cd6c1e6c
test dil, dil
je 0x7ff7cd6b9dbb
lea rcx, [0x7ff7cd6f5ca0]
call fcn.7ff7cd6a7cd8
mov qword [rbp - 0x11], r14
mov qword [rbp - 1], r14
mov qword [rbp + 7], r14
cmp qword [0x7ff7cd6f5ce0], 8
cmovae rsi, qword [0x7ff7cd6f5cc8]
mov r8, qword [0x7ff7cd6f5cd8]
mov rdx, rsi
lea rcx, [rbp - 0x11]
call fcn.7ff7cd698d04
nop
mov rcx, qword [rbp - 1]
cmp rcx, qword [rbp + 7]
jae 0x7ff7cd6b9d2a
lea rax, [rcx + 1]
mov qword [rbp - 1], rax
lea rax, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rax, qword [rbp - 0x11]
mov dword [rax + rcx*2], r14d
jmp 0x7ff7cd6b9d3d
xor r9d, r9d
mov r8b, r14b
lea edx, [r9 + 1]
lea rcx, [rbp - 0x11]
call fcn.7ff7cd691744
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xf], xmm0
movups xmmword [rbp + 0x1f], xmm0
movups xmmword [rbp + 0x2f], xmm0
mov qword [rbp + 0x3f], rax
mov dword [rbp + 0x17], 3
mov eax, 0x14
mov word [rbp + 0x2f], ax
lea rax, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rax, qword [rbp - 0x11]
mov qword [rbp + 0x1f], rax
lea rcx, [rbp + 0xf]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
nop
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x7ff7cd6b9dbb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7cd6b9db6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff7cd6b9de4
call fcn.7ff7cd6c1e6c
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.7ff7cd6c1f80
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.7ff7cd6c7564
int3
call fcn.7ff7cd6c7564
int3
Function at 0x7ff7cd6b9f2c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x180
mov rax, qword [str.U6_Bm]
xor rax, rsp
mov qword [rsp + 0x170], rax
xor ebp, ebp
mov rdi, r8
cmp qword [0x7ff7cd6ebdc8], rbp
mov rbx, rdx
mov rsi, rcx
jne 0x7ff7cd6b9f9f
lea r9d, [rbp + 0x64]
mov ecx, 0x400
lea r8, [rsp + 0xa0]
lea edx, [rbp + 0xf]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
movzx eax, word [rsp + 0xa0]
mov word [0x7ff7cd6f5da8], ax
lea rax, [0x7ff7cd6f5da8]
mov qword [0x7ff7cd6ebdc8], rax
mov word [0x7ff7cd6f5daa], bp
mov r8d, 0x32
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.7ff7cd6ad3e0
lea r9, [0x7ff7cd6ebdb0]
mov dword [rsp + 0x28], edi
lea r8, [rsp + 0x30]
mov word [rbx], bp
xor edx, edx
mov qword [rsp + 0x20], rbx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov word [rbx + rdi*2 - 2], bp
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.7ff7cd6c1f80
mov rbx, qword [rsp + 0x1b8]
add rsp, 0x180
pop rdi
pop rsi
pop rbp
ret
Function at 0x7ff7cd6ba494
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov r14, r9
mov rbx, r8
xor r15d, r15d
mov sil, r15b
cmp qword [rdx + 0x18], 8
jb 0x7ff7cd6ba4c5
mov rdx, qword [rdx]
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rdi, qword [rbp + 0x40]
test eax, eax
jne 0x7ff7cd6ba624
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x7ff7cd6ba4f6
mov rdx, qword [rbx]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x7ff7cd6ba615
mov eax, dword [rbp - 0x30]
shr rax, 1
mov rcx, qword [rdi + 0x10]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], r15
cmp rcx, rax
cmovbe rcx, rax
inc rcx
mov edx, 0x10000
cmp rcx, rdx
cmovb rdx, rcx
lea rcx, [rbp - 0x18]
call fcn.7ff7cd6913a4
nop
mov rax, qword [rbp - 0x10]
mov rcx, qword [rbp - 0x18]
sub rax, rcx
sar rax, 1
add eax, eax
mov dword [rbp - 0x2c], eax
cmp qword [rbx + 0x18], 8
jb 0x7ff7cd6ba56f
mov rbx, qword [rbx]
lea rax, [rbp - 0x2c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x28]
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x7ff7cd6ba5d9
mov word [rbp + 0x28], r15w
mov rdx, qword [rbp - 0x10]
cmp rdx, qword [rbp - 8]
je 0x7ff7cd6ba5af
mov word [rdx], r15w
add qword [rbp - 0x10], 2
jmp 0x7ff7cd6ba5bc
lea r8, [rbp + 0x28]
lea rcx, [rbp - 0x18]
call fcn.7ff7cd6b93a4
mov rbx, qword [rbp - 0x18]
mov rcx, rbx
call fcn.7ff7cd6c75dc
mov r8, rax
mov rdx, rbx
mov rcx, r14
call fcn.7ff7cd6920b0
mov sil, 1
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x7ff7cd6ba615
mov rdx, qword [rbp - 8]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7cd6ba610
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff7cd6ba65f
call fcn.7ff7cd6c1e6c
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test sil, sil
jne 0x7ff7cd6ba642
cmp r14, rdi
je 0x7ff7cd6ba642
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x7ff7cd6ba636
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, r14
call fcn.7ff7cd6920b0
mov al, sil
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.7ff7cd6c7564
int3
Function at 0x7ff7cd6ba7b4
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x250
mov rax, qword [str.U6_Bm]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rsi, rcx
lea rax, [rsp + 0x30]
xor ecx, ecx
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
lea rbx, [rsp + 0x30]
lea rax, str.unknown_folder
test edi, edi
cmovne rbx, rax
mov rcx, rbx
call fcn.7ff7cd6c75dc
mov r8, rax
mov rdx, rbx
mov rcx, rsi
call fcn.7ff7cd6920b0
test edi, edi
sete al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.7ff7cd6c1f80
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x7ff7cd6bf564
Capabilities:
Hide graphical window

Disassembly:
push rbx
sub rsp, 0x20
and dword [0x7ff7cd6f5dec], 0
mov edx, 1
mov rbx, rcx
mov byte [0x7ff7cd6f5de1], 1
mov byte [0x7ff7cd6f5de2], 1
call qword [sym.imp.USER32.dll_ShowWindow]
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 2]
call fcn.7ff7cd692298
cmp qword [0x7ff7cd6ebd40], 0
jne 0x7ff7cd6bf5af
cmp byte [0x7ff7cd6f5deb], 0
je 0x7ff7cd6bf5b8
cmp dword [0x7ff7cd6f5de4], 0
jne 0x7ff7cd6bf5cd
xor r9d, r9d
mov edx, 0x111
mov rcx, rbx
lea r8d, [r9 + 1]
call qword [sym.imp.USER32.dll_SendMessageW]
add rsp, 0x20
pop rbx
ret

Function at 0x7ff7cd6bf6e0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [str.U6_Bm]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rcx
xor edi, edi
cmp byte [0x7ff7cd6f5cf0], dil
je 0x7ff7cd6bf812
cmp qword [0x7ff7cd6f5d08], rdi
je 0x7ff7cd6bf812
mov qword [rbp + 0x27], rdi
movdqa xmm0, xmmword [0x7ff7cd6d89c0]
movdqu xmmword [rbp + 0x37], xmm0
mov word [rbp + 0x27], di
lea rdx, [rbp + 0x27]
lea rcx, [0x7ff7cd6f5cf8]
call fcn.7ff7cd6bca58
lea rax, [rbp + 0x1f]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x17]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareWinRAR_SFX
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x7ff7cd6bf7d6
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x7ff7cd6bf797
mov rcx, qword [rbx]
lea rdx, [rbp + 0x27]
cmp qword [rbp + 0x3f], 8
cmovae rdx, qword [rbp + 0x27]
mov eax, dword [rbx + 0x10]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
mov rcx, qword [rbp + 0x17]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp + 0x17]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp + 0x3f]
cmp rdx, 8
jb 0x7ff7cd6bf812
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7cd6bf80d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff7cd6bf833
call fcn.7ff7cd6c1e6c
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.7ff7cd6c1f80
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.7ff7cd6c7564
int3
Function at 0x7ff7cd6bf96c
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [str.U6_Bm]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rcx
mov rdx, rcx
cmp qword [rcx + 0x18], 8
jb 0x7ff7cd6bf99c
mov rdx, qword [rcx]
lea rcx, str.sfxcmd
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
xor edi, edi
mov qword [rbp - 0x28], rdi
movdqa xmm0, xmmword [0x7ff7cd6d89c0]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], di
mov qword [rbp - 0x30], rdi
lea r8, [rbp - 0x28]
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.7ff7cd6acdbc
test al, al
je 0x7ff7cd6bfa23
mov rax, qword [rbp - 0x30]
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x7ff7cd6bf9e9
mov rcx, qword [rbx]
movzx ecx, word [rcx + rax*2]
call fcn.7ff7cd6ad19c
test al, al
je 0x7ff7cd6bfa03
mov rax, qword [rbp - 0x30]
inc rax
mov qword [rbp - 0x30], rax
jmp 0x7ff7cd6bf9dc
cmp qword [rbx + 0x18], 8
jb 0x7ff7cd6bfa0d
mov rbx, qword [rbx]
mov rax, qword [rbp - 0x30]
lea rdx, [rbx + rax*2]
lea rcx, str.sfxpar
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x7ff7cd6bfa5f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7cd6bfa5a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff7cd6bfa7b
call fcn.7ff7cd6c1e6c
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.7ff7cd6c1f80
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop rbp
ret
call fcn.7ff7cd6c7564
int3
Function at 0x7ff7cd6c139c
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x7ff7cd69003c]
lea rsi, [0x7ff7cd690000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x7ff7cd6c1414
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x7ff7cd6c1414
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x7ff7cd6c1414
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x7ff7cd6c1408
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x7ff7cd6c1426
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x7ff7cd6c13f6
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x7ff7cd6c1416

Function at 0x7ff7cd6c2f60
Capabilities:
Parse pe header

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

Function at 0x7ff7cd6cbcf4
Capabilities:
Parse pe header

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

Function at 0x7ff7cd6d5c10
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x7ff7cd6d5c38
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x7ff7cd6d5c38
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140005cc0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov r14, r8
mov rbp, rdx
mov rdi, rcx
mov rbx, r8
je 0x140005d58
test r8, r8
jle 0x140005d50
nop word [rax + rax]
mov rcx, rdi
call fcn.140008690
test rax, rax
jle 0x140005d2e
cmp rbx, rax
mov rsi, rbx
mov rdx, rbp
cmovge rsi, rax
mov rax, qword [rdi + 0x40]
mov r8, rsi
mov rcx, qword [rax]
call fcn.14002fee0
mov rax, qword [rdi + 0x58]
sub rbx, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
jmp 0x140005d48
mov rax, qword [rdi]
mov rcx, rdi
movzx edx, byte [rbp]
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140005d50
dec rbx
mov esi, 1
add rbp, rsi
test rbx, rbx
jg 0x140005cf0
sub r14, rbx
mov rax, r14
jmp 0x140005dd6
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], r15
mov r9, qword [rax]
test r9, r9
je 0x140005d71
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140005d73
xor ecx, ecx
movsxd rsi, ecx
test r14, r14
jle 0x140005dcb
test ecx, ecx
jle 0x140005dac
cmp r14, rsi
mov rcx, r9
cmovl rsi, r14
mov r8, rsi
call fcn.14002fee0
mov rax, qword [rdi + 0x58]
add rbp, rsi
sub r14, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
test r14, r14
jle 0x140005dcb
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140005dcb
mov r8, r14
mov edx, 1
mov rcx, rbp
call fcn.1400393ec
sub r14, rax
mov r15, qword [rsp + 0x40]
sub rbx, r14
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x140005df0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140005e12
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x140005e8c
mov rdi, r14
mov rcx, rbx
call fcn.1400086b0
test rax, rax
jle 0x140005e64
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.14002fee0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x140005e7c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + gethostname]
cmp eax, 0xffffffff
je 0x140005e84
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140005e26
sub r14, rdi
jmp 0x140005f6f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140005ea3
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140005ea5
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140005ed7
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.14002fee0
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x140005f6c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140005f12
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x140005f4d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.14003b06c
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x140005f6c
cmp rbp, rax
ja 0x140005f20
test rbp, rbp
je 0x140005f6c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.14003b06c
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
Function at 0x1400063b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400ee098]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400063dd
xor eax, eax
jmp 0x140006523
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140006417
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140006417
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140006523
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140006516
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000645a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140006469
movsx ecx, dil
jmp 0x1400064bd
lea r8, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x51]
lea r8, [rsp + 0x78]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x48]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x50]
call qword [rax + gethostname]
test eax, eax
je 0x1400064d7
sub eax, 1
je 0x1400064d7
cmp eax, 2
jne 0x140006516
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call fcn.1400343a8
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14000651b
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140006504
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call fcn.1400393ec
cmp rsi, rax
jne 0x140006516
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x14000651b
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14002de90
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14001ae70
Capabilities:
Get hostname
Get session user name

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
sub rsp, 0x210
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1400ee098]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rdi, rcx
mov dword [rbp + 0x160], 0x7c
add rcx, 0x200
lea rdx, [rbp + 0x160]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov dword [rbp + 0x160], 0x200
lea rdx, [rbp + 0x160]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
movabs rax, 0xb360f5d90872e53d
mov qword [rbp + 0x1a0], rax
movabs rax, 0x7e5d5044b5787bb6
mov qword [rbp + 0x1a8], rax
movabs rax, 0xf25d674735fcabc7
mov qword [rbp + 0x1b0], rax
movabs rax, 0xc013df1a999ea198
mov qword [rbp + 0x1b8], rax
movabs rax, 0x9c4fcfaa78069155
mov qword [rbp + 0x180], rax
movabs rax, 0x17243d37dc1e0fc1
mov qword [rbp + 0x188], rax
movabs rax, 0x9729482a5a9f85b7
mov qword [rbp + 0x190], rax
movabs rax, 0xc013df1a999ed5e0
mov qword [rbp + 0x198], rax
vmovdqu ymm0, ymmword [rbp + 0x180]
vpxor ymm1, ymm0, ymmword [rbp + 0x1a0]
vmovdqa ymmword [rbp + 0x180], ymm1
mov qword [rbp + 0x1a0], 0
vmovdqa xmm0, xmmword [0x1400de470]
vmovdqu xmmword [rbp + 0x1b0], xmm0
mov byte [rbp + 0x1a0], 0
lea rax, [rbp + 0x180]
mov r8, 0xffffffffffffffff
vzeroupper
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14001afb0
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0x1a0]
call fcn.1400086f0
nop
lea rax, [rbp + 0x1a0]
mov qword [rbp + 0x180], rax
lea rax, [rbp + 0x1c0]
mov qword [rbp + 0x188], rax
lea rdx, [rbp + 0x180]
lea rcx, [rbp]
call fcn.140002240
mov rbx, rax
mov qword [rbp + 0x180], 0
lea rcx, [rbp + 0x180]
call fcn.1400269b0
nop
mov rdx, rbx
lea rcx, [rbp + 0x180]
call fcn.140027620
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x180]
call fcn.140026eb0
nop
lea rcx, [rbp + 0x180]
call fcn.140026ca0
lea rcx, [rdi + 0x280]
lea rdx, [rbp + 0x48]
call fcn.1400073a0
lea rcx, [rbp + 0x30]
call fcn.140003410
nop
mov rdx, qword [rbp + 0x20]
cmp rdx, 0x10
jb 0x14001b092
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001b08d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001b0e5
call fcn.14002deb0
movdqa xmm0, xmmword [0x1400de470]
movdqu xmmword [rbp + 0x18], xmm0
mov byte [rbp + 8], 0
lea r9, [fcn.140007340]
mov edx, 0x20
lea r8d, [rdx - 0x1f]
lea rcx, [rbp + 0x1a0]
call fcn.14002def4
mov al, 1
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14002de90
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.14003b580
nop
int3
Function at 0x14001f050
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x14001f084
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x14001f070
ret
Function at 0x14002ebd0
Capabilities:
Parse pe header

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

Function at 0x14003b8d4
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14003b767
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003b767
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003b767
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003b767
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003b767
cmp dword [rcx + 0x84], 0xe
jbe 0x14003b767
cmp dword [rcx + 0xf8], 0
je 0x14003b767
mov ecx, ebx
call fcn.14003b808
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.14003b5f8
cmp dword [rbp + 0x20], 0
je 0x14003b7b4
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14003b7bc
int3
xor r8d, r8d
xor edx, edx
jmp 0x14003b700