joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18002c6a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x180126050]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rax, qword [rcx]
mov r10, rcx
mov rcx, qword [rcx + 8]
mov rdi, r8
mov rbx, rdx
cmp rax, rcx
je 0x18002c88c
mov rdx, qword [rdx]
sub rcx, rax
cmp rdx, rcx
jae 0x18002c88c
lea rax, [rdx + 5]
cmp rax, rcx
ja 0x18002c88c
lea r8, [rdx + 1]
mov qword [rbx], r8
mov rax, qword [r10]
cmp byte [rdx + rax], 2
jne 0x18002c88c
lea rcx, [r8 + 1]
mov qword [rbx], rcx
lea rdx, [rcx + 1]
mov rax, qword [r10]
movzx r9d, byte [rax + r8]
lea r8, [rdx + 1]
mov qword [rbx], rdx
mov rax, qword [r10]
shl r9d, 0x18
movzx ecx, byte [rcx + rax]
mov qword [rbx], r8
mov rax, qword [r10]
shl ecx, 0x10
or r9d, ecx
movzx ecx, byte [rdx + rax]
lea rdx, [r8 + 1]
mov qword [rbx], rdx
mov r11, qword [r10]
shl ecx, 8
or r9d, ecx
movzx eax, byte [r8 + r11]
or r9d, eax
cmp r9d, 0xa
jne 0x18002c88c
mov rcx, qword [r10 + 8]
lea rax, [rdx + 5]
sub rcx, r11
cmp rax, rcx
ja 0x18002c88c
lea r8, [rdx + 1]
mov qword [rbx], r8
mov rax, qword [r10]
cmp byte [rdx + rax], 2
jne 0x18002c88c
lea rcx, [r8 + 1]
mov qword [rbx], rcx
lea rdx, [rcx + 1]
mov rax, qword [r10]
movzx r11d, byte [rax + r8]
lea r8, [rdx + 1]
mov qword [rbx], rdx
mov rax, qword [r10]
shl r11d, 0x18
movzx ecx, byte [rax + rcx]
mov qword [rbx], r8
mov rax, qword [r10]
shl ecx, 0x10
or r11d, ecx
movzx ecx, byte [rax + rdx]
lea rdx, [r8 + 1]
shl ecx, 8
or r11d, ecx
mov qword [rbx], rdx
mov rcx, qword [r10]
movzx eax, byte [rcx + r8]
or r11d, eax
mov rax, qword [r10 + 8]
sub rax, rcx
mov esi, r11d
sub rax, rdx
cmp rsi, rax
ja 0x18002c88c
movdqa xmm2, xmmword [0x1800e68d0]
mov ecx, 1
mov dword [rsp + 0x20], 0x2d2d4352
xor eax, eax
mov dword [rsp + 0x24], 0xf7babac9
mov dword [rsp + 0x28], 0x61726f43
movd xmm3, ecx
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x2c], 0x776f7242
mov dword [rsp + 0x30], 0x2d756e45
mov dword [rsp + 0x34], 0x61746144
mov dword [rsp + 0x38], 0x37313630
mov dword [rsp + 0x3c], 0x30313032
nop word [rax + rax]
movdqu xmm0, xmmword [rcx]
lea rcx, [rcx + 0x10]
movd xmm1, eax
add eax, 4
pshufd xmm1, xmm1, 0
paddd xmm1, xmm2
pslld xmm0, xmm3
paddd xmm1, xmm0
movdqu xmmword [rcx - 0x10], xmm1
cmp eax, 8
jl 0x18002c840
mov rax, qword [rdi]
lea rcx, [rsp + 0x20]
mov qword [rdi + 8], rax
mov r9, rdi
mov rdx, qword [r10]
mov r8d, r11d
add rdx, qword [rbx]
call fcn.180033f20
add qword [rbx], rsi
jmp 0x18002c88e
xor al, al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800bd270
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x18006bb70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x1f8]
sub rsp, 0x2d0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x180126050]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rbx, rdx
mov rdi, rcx
mov rcx, rdx
call fcn.18001ca30
mov rcx, qword [rdi]
test rcx, rcx
je 0x18006bdc3
lea rdx, str.RegOpenKeyExW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
lea rdx, str.RegEnumKeyExW
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
lea rdx, str.RegCloseKey
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
test r15, r15
je 0x18006bdc3
test rsi, rsi
je 0x18006bdc3
test rax, rax
je 0x18006bdc3
mov dword [rsp + 0x78], 0x6f0053
mov dword [rsp + 0x7c], 0x740066
mov dword [rbp - 0x80], 0x610077
mov dword [rbp - 0x7c], 0x650072
mov dword [rbp - 0x78], 0x4d005c
mov dword [rbp - 0x74], 0x630069
mov dword [rbp - 0x70], 0x6f0072
mov dword [rbp - 0x6c], 0x6f0073
mov dword [rbp - 0x68], 0x740066
mov dword [rbp - 0x64], 0x43005c
mov dword [rbp - 0x60], 0x460054
mov dword [rbp - 0x5c], 0x54005c
mov dword [rbp - 0x58], 0x500049
xor r12d, r12d
mov word [rbp - 0x54], r12w
mov qword [rsp + 0x68], r12
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rsp + 0x78]
mov rcx, 0xffffffff80000002
call r15
test eax, eax
jne 0x18006bdc3
mov edi, r12d
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x70], 0x104
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x70]
lea r8, [rbp - 0x50]
xor edx, edx
mov rcx, qword [rsp + 0x68]
call rsi
test eax, eax
jne 0x18006bdbb
nop dword [rax]
nop dword [rax + rax]
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r12w
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x40]
call fcn.1800034c0
nop
mov rdx, qword [rbx + 8]
cmp qword [rbx + 0x10], rdx
je 0x18006bd6b
mov qword [rdx + 0x10], r12
mov qword [rdx + 0x18], r12
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rdx + 0x10], xmm1
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r12w
add qword [rbx + 8], 0x20
jmp 0x18006bd79
lea r8, [rsp + 0x40]
mov rcx, rbx
call fcn.18001cbc0
nop
lea rcx, [rsp + 0x40]
call fcn.180003440
inc edi
mov dword [rsp + 0x70], 0x104
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x70]
lea r8, [rbp - 0x50]
mov edx, edi
mov rcx, qword [rsp + 0x68]
call rsi
test eax, eax
je 0x18006bd00
mov rcx, qword [rsp + 0x68]
call r14
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1800bd270
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x18006c630
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 0x21], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x180126050]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rdi, rcx
xor ebx, ebx
mov rcx, qword [rcx]
test rcx, rcx
je 0x18006c7d1
lea rdx, str.RegOpenKeyExW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
lea rdx, str.RegQueryValueExW
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
lea rdx, str.RegCloseKey
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test r15, r15
je 0x18006c7d1
test r14, r14
je 0x18006c7d1
test rax, rax
je 0x18006c7d1
mov dword [rbp - 9], 0x65004b
mov dword [rbp - 5], 0x620079
mov dword [rbp - 1], 0x61006f
mov dword [rbp + 3], 0x640072
mov dword [rbp + 7], 0x4c0020
mov dword [rbp + 0xb], 0x790061
mov dword [rbp + 0xf], 0x75006f
mov dword [rbp + 0x13], 0x5c0074
mov dword [rbp + 0x17], 0x720050
mov dword [rbp + 0x1b], 0x6c0065
mov dword [rbp + 0x1f], 0x61006f
mov dword [rbp + 0x23], 0x64
mov qword [rbp - 0x29], rbx
mov qword [rbp - 0x29], rbx
mov qword [rbp - 0x19], rbx
mov edx, 0x20019
lea rcx, [rbp - 0x29]
call fcn.18009e8e0
mov rcx, rax
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp - 9]
call r15
test eax, eax
jne 0x18006c7ab
xor eax, eax
mov qword [rbp + 0x27], rax
mov qword [rbp + 0x2f], rax
mov dword [rbp + 0x37], eax
mov dword [rbp - 0x11], 0x14
lea rax, [rbp - 0x11]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x27]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1800e2ad8]
mov rcx, qword [rbp - 0x19]
call r14
test eax, eax
jne 0x18006c7a5
xor edx, edx
lea r8d, [rbx + 0x10]
lea rcx, [rbp + 0x27]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstoul]
mov ebx, eax
mov rcx, qword [rbp - 0x19]
call rsi
lea rcx, [rbp - 0x29]
call fcn.18009ea40
test ebx, ebx
je 0x18006c7c4
mov edx, ebx
mov rcx, rdi
call fcn.18006c800
mov ebx, eax
lea rcx, [rbp - 0x29]
call fcn.18009ea40
mov eax, ebx
jmp 0x18006c7d3
xor eax, eax
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1800bd270
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x18006c800
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov qword [rbp - 0x61], 0xfffffffffffffffe
mov qword [rsp + 0x110], rbx
mov rax, qword [0x180126050]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov ebx, edx
mov rdi, rcx
mov rcx, qword [rcx]
test rcx, rcx
je 0x18006c9d4
lea rdx, str.RegOpenKeyExW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
lea rdx, str.RegQueryValueExW
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
lea rdx, str.RegCloseKey
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test r14, r14
je 0x18006c9d4
test rsi, rsi
je 0x18006c9d4
test rax, rax
je 0x18006c9d4
mov dword [rbp - 0x29], 0x65004b
mov dword [rbp - 0x25], 0x620079
mov dword [rbp - 0x21], 0x61006f
mov dword [rbp - 0x1d], 0x640072
mov dword [rbp - 0x19], 0x4c0020
mov dword [rbp - 0x15], 0x790061
mov dword [rbp - 0x11], 0x75006f
mov dword [rbp - 0xd], 0x5c0074
mov dword [rbp - 9], 0x750053
mov dword [rbp - 5], 0x730062
mov dword [rbp - 1], 0x690074
mov dword [rbp + 3], 0x750074
mov dword [rbp + 7], 0x650074
mov dword [rbp + 0xb], 0x73
xor r15d, r15d
mov qword [rbp - 0x69], r15
mov qword [rbp - 0x69], r15
mov qword [rbp - 0x59], r15
mov edx, 0x20019
lea rcx, [rbp - 0x69]
call fcn.18009e8e0
mov rcx, rax
lea rax, [rbp - 0x59]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp - 0x29]
call r14
test eax, eax
je 0x18006c9cb
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x39], xmm0
movdqa xmm1, xmmword [0x1800e68a0]
movdqu xmmword [rbp - 0x39], xmm1
mov word [rbp - 0x49], r15w
mov r8d, ebx
lea rdx, str._08x
lea rcx, [rbp - 0x49]
call fcn.18001e8f0
xor eax, eax
mov qword [rbp + 0xf], rax
mov qword [rbp + 0x17], rax
mov dword [rbp + 0x1f], eax
mov dword [rbp - 0x51], 0x14
lea rdx, [rbp - 0x49]
cmp qword [rbp - 0x31], 8
cmovae rdx, qword [rbp - 0x49]
lea rax, [rbp - 0x51]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xf]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbp - 0x59]
call rsi
test eax, eax
jne 0x18006c9ba
xor edx, edx
lea r8d, [r15 + 0x10]
lea rcx, [rbp + 0xf]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstoul]
mov ebx, eax
mov rcx, qword [rbp - 0x59]
call rdi
nop
lea rcx, [rbp - 0x49]
call fcn.180003440
nop
lea rcx, [rbp - 0x69]
call fcn.18009ea40
mov eax, ebx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1800bd270
mov rbx, qword [rsp + 0x110]
add rsp, 0xd0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x18006ca00
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x180126050]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor edx, edx
mov dword [rsp + 0x20], 0x114
mov r8d, 0x110
lea rcx, [rsp + 0x24]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x18006ca63
cmp dword [rsp + 0x24], 6
jb 0x18006ca63
mov al, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1800bd270
add rsp, 0x158
ret
xor al, al
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1800bd270
add rsp, 0x158
ret
Function at 0x18006d529
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test rdx, rdx
je 0x18006d69d
push rbp
push rbx
push rsi
push r14
lea rbp, [rsp - 0x188]
sub rsp, 0x288
mov rax, qword [0x180126050]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rcx, qword [rcx]
mov r14, r9
mov rbx, r8
mov rsi, rdx
test rcx, rcx
je 0x18006d682
lea rdx, str.RegQueryValueExW
mov qword [rsp + 0x280], rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x18006d67a
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
cmp qword [rbx + 0x18], 8
mov dword [rsp + 0x30], 0x208
jb 0x18006d5a8
mov rbx, qword [rbx]
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rsp + 0x60]
mov rdx, rbx
mov rcx, rsi
mov qword [rsp + 0x20], rax
call rdi
lea rcx, [r14 + 0x50]
lea rdx, [rsp + 0x60]
call fcn.1800034c0
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x208
mov qword [rsp + 0x28], rax
lea rdx, str.Profile
lea rax, [rsp + 0x60]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, rsi
call rdi
lea rcx, [r14 + 0x70]
lea rdx, [rsp + 0x60]
call fcn.1800034c0
xor eax, eax
mov dword [rsp + 0x38], 0x65004b
mov word [rsp + 0x54], ax
lea rdx, [rsp + 0x38]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x3c], 0x620079
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r14
mov rcx, rsi
mov dword [rsp + 0x40], 0x61006f
mov dword [rsp + 0x44], 0x640072
mov dword [rsp + 0x48], 0x61004c
mov dword [rsp + 0x4c], 0x6f0079
mov dword [rsp + 0x50], 0x740075
mov dword [rsp + 0x30], 4
call rdi
mov rdi, qword [rsp + 0x280]
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1800bd270
add rsp, 0x288
pop r14
pop rsi
pop rbx
pop rbp
ret
Function at 0x18006e870
Capabilities:
Check os version

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x160
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x180126050]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, rcx
xor esi, esi
mov qword [rsp + 0x28], rsi
lea ecx, [rsi + 1]
call fcn.1800bd294
mov qword [rsp + 0x28], rax
mov byte [rax], sil
xor edx, edx
mov r8d, 0x118
lea rcx, [rsp + 0x34]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x30], 0x11c
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x18006e8f0
cmp dword [rsp + 0x34], 6
setae cl
mov rax, qword [rsp + 0x28]
mov byte [rax], cl
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
lea rcx, [rsp + 0x28]
call fcn.1800203f0
test al, al
je 0x18006e91b
lea rcx, [rsp + 0x28]
call fcn.18001fc90
test al, al
jne 0x18006e91b
xor bl, bl
jmp 0x18006e9b5
lea rbx, [rdi + 8]
mov rdx, rbx
xor ecx, ecx
call fcn.18009e5e0
test al, al
jne 0x18006e93e
mov qword [rbx + 0x10], rsi
cmp qword [rbx + 0x18], 8
jb 0x18006e93b
mov rbx, qword [rbx]
mov word [rbx], si
lea rbx, [rdi + 0x28]
mov rdx, rbx
mov ecx, 0x1a
call fcn.18009e5e0
test al, al
jne 0x18006e964
mov qword [rbx + 0x10], rsi
cmp qword [rbx + 0x18], 8
jb 0x18006e961
mov rbx, qword [rbx]
mov word [rbx], si
lea rbx, [rdi + 0x48]
mov rdx, rbx
mov ecx, 2
call fcn.18009e5e0
test al, al
jne 0x18006e98a
mov qword [rbx + 0x10], rsi
cmp qword [rbx + 0x18], 8
jb 0x18006e987
mov rbx, qword [rbx]
mov word [rbx], si
lea rbx, [rdi + 0x68]
mov rdx, rbx
mov ecx, 0xb
call fcn.18009e5e0
test al, al
jne 0x18006e9b0
mov qword [rbx + 0x10], rsi
cmp qword [rbx + 0x18], 8
jb 0x18006e9ad
mov rbx, qword [rbx]
mov word [rbx], si
mov byte [rdi], 1
mov bl, 1
lea rcx, [rsp + 0x28]
call fcn.18001f540
movzx eax, bl
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1800bd270
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x18006eab0
Capabilities:
Query environment variable

Disassembly:
mov r11, rsp
push rsi
push rdi
push r14
sub rsp, 0x60
mov qword [r11 - 0x50], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x20], rbp
mov rax, qword [0x180126050]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, r8
mov rdi, rdx
mov qword [r11 - 0x48], rdx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x18006eaf7
mov rdx, qword [r8]
mov rcx, qword [r8 + 0x10]
test rcx, rcx
je 0x18006eb13
mov rax, rdx
cmp word [rax], 0x25
je 0x18006eb4c
add rax, 2
sub rcx, 1
jne 0x18006eb03
mov rdx, rbx
mov rcx, rdi
call fcn.1800052b0
nop
mov dword [rsp + 0x20], 1
mov rax, rdi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800bd270
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
test rax, rax
je 0x18006eb13
sub rax, rdx
sar rax, 1
cmp rax, 0xffffffffffffffff
je 0x18006eb13
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.1800052b0
nop
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x18006eb78
mov rcx, qword [rbx]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, eax
test eax, eax
jne 0x18006ebab
mov rdx, rbx
mov rcx, rdi
call fcn.1800052b0
mov dword [rsp + 0x20], 1
lea rcx, [rsp + 0x38]
call fcn.180003440
jmp 0x18006eb27
lea ecx, [rax + 2]
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1800bd5c0
mov r14, rax
cmp qword [rbx + 0x18], 8
jb 0x18006ebd6
mov rbx, qword [rbx]
lea r8d, [rsi + 1]
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x18006ec02
cmp eax, esi
ja 0x18006ec02
mov eax, eax
mov word [r14 + rax*2], bp
mov rdx, r14
lea rcx, [rsp + 0x38]
call fcn.1800034c0
mov rcx, r14
call fcn.1800bd2d0
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rdi + 0x10], xmm1
movdqa xmm0, xmmword [0x1800e68a0]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], bp
jmp 0x18006eb94
Function at 0x18006f980
Capabilities:
Contain obfuscated stackstrings
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x238]
sub rsp, 0x330
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x180126050]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov rbx, rdx
mov dword [rbp - 0x40], 0x61004d
mov dword [rbp - 0x3c], 0x720063
mov dword [rbp - 0x38], 0x6d006f
mov dword [rbp - 0x34], 0x640065
mov dword [rbp - 0x30], 0x46005c
mov dword [rbp - 0x2c], 0x61006c
mov dword [rbp - 0x28], 0x680073
mov dword [rbp - 0x24], 0x46005c
mov dword [rbp - 0x20], 0x61006c
mov dword [rbp - 0x1c], 0x680073
mov dword [rbp - 0x18], 0x650048
mov dword [rbp - 0x14], 0x70006c
mov dword [rbp - 0x10], 0x720065
mov dword [rbp - 0xc], 0x650053
mov dword [rbp - 8], 0x760072
mov dword [rbp - 4], 0x630069
mov dword [rbp], 0x2e0065
mov dword [rbp + 4], 0x780065
mov dword [rbp + 8], 0x65
xor edi, edi
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x10]
call sub.VCRUNTIME140.dll_memset
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rdi + 0x29]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [0x1800e68a0]
movdqu xmmword [rsp + 0x60], xmm1
mov word [rsp + 0x50], di
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x50]
call fcn.1800034c0
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x1800e68a0]
movdqu xmmword [rsp + 0x40], xmm1
mov word [rsp + 0x30], di
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x30]
call fcn.1800034c0
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x68]
call fcn.18001dd60
nop
lea rcx, [rsp + 0x30]
call fcn.180003440
nop
lea rcx, [rsp + 0x50]
call fcn.180003440
lea rcx, [rbp - 0x68]
call fcn.18001bfb0
test al, al
jne 0x18006fafd
xor bl, bl
jmp 0x18006fb48
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x78]
call fcn.18009de80
nop
mov r8, qword [rbp - 0x78]
test r8, r8
jne 0x18006fb19
xor bl, bl
jmp 0x18006fb3d
lea rax, [rsp + 0x78]
cmp rbx, rax
je 0x18006fb3b
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rdx, qword [rsp + 0x78]
mov rcx, rbx
call fcn.180003540
mov bl, 1
lea rcx, [rsp + 0x78]
call fcn.180003440
nop
lea rcx, [rbp - 0x68]
call fcn.180003440
movzx eax, bl
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.1800bd270
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x180080690
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x1a8]
sub rsp, 0x280
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x180126050]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rsi, rdx
mov r15, rcx
mov qword [rsp + 0x40], rdx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r12
mov edi, r12d
mov qword [rsp + 0x58], r12
mov r14d, 0xf
mov qword [rsp + 0x60], r14
mov byte [rsp + 0x48], dil
cmp qword [rcx], r12
jne 0x180080730
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rdx + 0x10], xmm1
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r14
mov byte [rsp + 0x48], r12b
jmp 0x1800807db
mov r9, qword [r15]
mov edx, 1
mov r8d, 0x200
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rbx, rax
mov rax, r14
sub rax, rdi
cmp rbx, rax
ja 0x180080788
lea rax, [rdi + rbx]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x48]
cmp r14, 0x10
cmovae rax, qword [rsp + 0x48]
add rdi, rax
mov r8, rbx
lea rdx, [rsp + 0x70]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rbx], 0
jmp 0x18008079f
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x70]
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.18002e670
cmp rbx, 0x200
jne 0x1800807b7
mov r14, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x58]
jmp 0x180080730
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rsi + 0x10], xmm1
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], 0
mov dword [rsp + 0x30], 1
lea rcx, [rsp + 0x48]
call fcn.180005490
mov rax, rsi
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1800bd270
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret