joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4028b0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x00404360]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x40291d
mov rcx, r8
call fcn.00402790
test eax, eax
je 0x40291d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x40291d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x402914
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x40291f
add rax, 0x28
cmp rax, r9
jne 0x402900
xor eax, eax
add rsp, 0x28
ret

Function at 0x402db0
Capabilities:
Write file on windows

Disassembly:
lea rcx, [0x00401540]
jmp 0x401510
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.00402c60
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.00402c60
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
jmp 0x401530
Function at 0x7ff7c15a1778
Capabilities:
Accept command line arguments

Disassembly:
push r13
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rdi
mov r13, rdx
mov esi, ecx
mov ecx, 0x8001
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
call fcn.7ff7c15e7330
mov edi, eax
test eax, eax
js 0x7ff7c15a1867
mov ecx, 0x10
call fcn.7ff7c15a164c
mov r14, rax
mov qword [rsp + 0x70], rax
mov eax, 1
cmp esi, eax
cmovl eax, esi
cmp byte [0x7ff7c1620a28], 0
cmovne esi, eax
movsxd r8, esi
and qword [r14], 0
lea r15, [r14 + 8]
and qword [r15], 0
lea r9, [r13 + 8]
dec r8
mov rcx, r15
call fcn.7ff7c15be994
mov esi, eax
test eax, eax
jns 0x7ff7c15a180e
cmp eax, 0x8007000e
jne 0x7ff7c15a18b3
jmp 0x7ff7c15a18ae
mov rax, qword [r15]
mov rdx, qword [0x7ff7c1620e78]
mov qword [0x7ff7c1620e78], rax
mov qword [r14], rdx
lea rcx, [fcn.7ff7c15a16f0]
call fcn.7ff7c15e79e0
test eax, eax
jne 0x7ff7c15a18ae
mov qword [0x7ff7c1620a20], r14
jmp 0x7ff7c15a183f
test edi, edi
jns 0x7ff7c15a187c
cmp edi, 0x8007000e
jne 0x7ff7c15a1865
call fcn.7ff7c15bffac
cmp dword [0x7ff7c1621210], 0
je 0x7ff7c15a185e
call fcn.7ff7c15e7398
mov cl, 1
call fcn.7ff7c15e72d4
mov eax, edi
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r15
pop r14
pop r13
ret
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov r8, rax
call fcn.7ff7c15a29f8
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
call fcn.7ff7c15a16f0
cmp byte [0x7ff7c1620a29], 0
jne 0x7ff7c15a1865
test edi, edi
js 0x7ff7c15a1865
xor eax, eax
jmp 0x7ff7c15a1867
mov esi, 0x8000ffff
mov rcx, r14
call fcn.7ff7c15a16b0
mov ecx, esi
call fcn.7ff7c15bc23c
int3
Function at 0x7ff7c15a25bc
Capabilities:
Check if file exists
Get common file path
Get startup folder

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x178]
sub rsp, 0x270
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x7ff7c1620328]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rdi, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll_memset
mov rax, qword [0x7ff7c161b338]
lea rcx, [0x7ff7c161b338]
mov rax, qword [rax + 0x18]
call qword [0x7ff7c15f6588]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x23]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ebx, eax
test eax, eax
js 0x7ff7c15a26ae
lea r8, str.MicrosoftMicrosoft_Security_ClientSupport
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.7ff7c15af034
nop
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x7ff7c15a267f
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.7ff7c15a4168
jmp 0x7ff7c15a2684
mov ebx, 0x80004005
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x7ff7c15a26aa
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x7ff7c15f6588]
test ebx, ebx
jns 0x7ff7c15a26c6
call fcn.7ff7c15a3e90
mov rcx, rax
lea rdx, [rsp + 0x30]
call fcn.7ff7c15aeca0
mov ebx, eax
test eax, eax
js 0x7ff7c15a2710
lea r8, str.Application.etl
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.7ff7c15af034
nop
mov rdx, rax
mov rcx, rdi
call fcn.7ff7c15a4168
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x7ff7c15a2710
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x7ff7c15f6588]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x7ff7c15a2736
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x7ff7c15f6588]
mov eax, ebx
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.7ff7c15e78d0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x7ff7c15a59d0
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x7ff7c1620328]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebx, ebx
lea rdx, str.GetLanguageFromRegistry
lea rcx, [rsp + 0x20]
mov byte [rsp + 0x20], bl
call fcn.7ff7c15b71c4
test eax, eax
jns 0x7ff7c15a5a44
mov rcx, qword [0x7ff7c161b240]
lea rdx, [0x7ff7c161b240]
cmp rcx, rdx
je 0x7ff7c15a5a2f
test byte [rcx + 0x1c], 1
je 0x7ff7c15a5a2f
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0xa]
mov r9d, eax
lea r8, [0x7ff7c15f8590]
call fcn.7ff7c15a1eb4
xor al, al
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.7ff7c15e78d0
add rsp, 0x50
pop rbx
ret
mov word [rsp + 0x24], bx
cmp byte [rsp + 0x20], bl
je 0x7ff7c15a5a9c
lea rcx, [rsp + 0x24]
call fcn.7ff7c15b23cc
test eax, eax
jns 0x7ff7c15a5a95
mov rcx, qword [0x7ff7c161b240]
lea rdx, [0x7ff7c161b240]
cmp rcx, rdx
je 0x7ff7c15a5a8e
test byte [rcx + 0x1c], 1
je 0x7ff7c15a5a8e
mov rcx, qword [rcx + 0x10]
lea r8, [0x7ff7c15f8590]
mov edx, 0xb
mov r9d, eax
call fcn.7ff7c15a1eb4
mov eax, 0x409
jmp 0x7ff7c15a5aa2
movzx eax, word [rsp + 0x24]
jmp 0x7ff7c15a5aa2
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
test ax, ax
je 0x7ff7c15a5a2f
mov r9d, 0x10
movzx ecx, ax
lea r8, [rsp + 0x28]
lea edx, [r9 + 0x48]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x7ff7c15a5a2f
mov eax, 0x800
test word [rsp + 0x36], ax
je 0x7ff7c15a5a2f
mov al, 1
jmp 0x7ff7c15a5a31
Function at 0x7ff7c15a6f5c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
push rbp
push rbx
push rdi
push r12
mov rbp, rsp
sub rsp, 0x38
and dword [rcx + 0x37c], 0
mov rdi, rcx
add rcx, 0x380
mov edx, 0x1b9e
call fcn.7ff7c15b1d3c
cmp byte [rdi + 0x557], 0
je 0x7ff7c15a6faa
mov rcx, rdi
call fcn.7ff7c15a7dc4
mov rcx, rdi
call fcn.7ff7c15a82b8
mov rcx, qword [rdi + 8]
xor r9d, r9d
mov r12d, 0x5265c00
mov r8d, r12d
lea edx, [r9 + 0x32]
call qword [sym.imp.USER32.dll_SetTimer]
or dword [rbp + 0x40], 0xffffffff
and qword [rbp + 0x48], 0
and qword [rbp + 0x28], 0
call fcn.7ff7c15abfac
lea rax, [rbp + 0x28]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMicrosoftMicrosoft_Security_Client
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x7ff7c15a703f
mov rcx, qword [0x7ff7c161b240]
lea rdx, [0x7ff7c161b240]
cmp rcx, rdx
je 0x7ff7c15a7111
test byte [rcx + 0x1c], 1
je 0x7ff7c15a7111
mov rcx, qword [rcx + 0x10]
lea r8, [0x7ff7c15f86e8]
mov edx, 0x77
mov r9d, eax
call fcn.7ff7c15a1eb4
jmp 0x7ff7c15a7111
and dword [rbp + 0x30], 0
mov rbx, qword [rbp + 0x28]
mov dword [rbp + 0x38], 4
call fcn.7ff7c15abfac
lea rax, [rbp + 0x38]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x30]
lea rax, [rbp + 0x40]
mov rcx, rbx
lea rdx, str.UpdateStatusInterval
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r8d, eax
test eax, eax
jne 0x7ff7c15a70c2
cmp dword [rbp + 0x30], 4
je 0x7ff7c15a7111
mov rcx, qword [0x7ff7c161b240]
lea rdx, [0x7ff7c161b240]
cmp rcx, rdx
je 0x7ff7c15a7111
test byte [rcx + 0x1c], 2
je 0x7ff7c15a7111
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x78]
lea r9, str.UpdateStatusInterval
lea r8, [0x7ff7c15f86e8]
call fcn.7ff7c15a1e54
jmp 0x7ff7c15a7111
cmp r8d, 2
je 0x7ff7c15a7111
mov rcx, qword [0x7ff7c161b240]
lea rdx, [0x7ff7c161b240]
cmp rcx, rdx
je 0x7ff7c15a7111
test byte [rcx + 0x1c], 1
je 0x7ff7c15a7111
mov rcx, qword [rcx + 0x10]
lea r9, str.UpdateStatusInterval
movzx eax, r8w
mov edx, 0x79
or eax, 0x80070000
test r8d, r8d
cmovle eax, r8d
lea r8, [0x7ff7c15f86e8]
mov dword [rsp + 0x20], eax
call fcn.7ff7c15a595c
mov ebx, dword [rbp + 0x40]
cmp ebx, 0xffffffff
mov rcx, qword [rbp + 0x28]
cmove ebx, r12d
test rcx, rcx
je 0x7ff7c15a712a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rdi + 8]
xor r9d, r9d
mov r8d, ebx
lea edx, [r9 + 0x5a]
call qword [sym.imp.USER32.dll_SetTimer]
mov r9, qword [rdi + 8]
xor r8d, r8d
mov rcx, rdi
lea edx, [r8 + 2]
call fcn.7ff7c15a9e88
xor eax, eax
add rsp, 0x38
pop r12
pop rdi
pop rbx
pop rbp
ret
Function at 0x7ff7c15a9144
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x7ff7c1620328]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov r8d, 0x104
lea rdx, [rbp - 0x20]
xor ecx, ecx
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x7ff7c15a91cc
call fcn.7ff7c15a51a0
mov ebx, eax
mov rcx, qword [0x7ff7c161b240]
lea rax, [0x7ff7c161b240]
cmp rcx, rax
je 0x7ff7c15a9311
test byte [rcx + 0x1c], 1
je 0x7ff7c15a9311
mov rcx, qword [rcx + 0x10]
lea r8, [0x7ff7c15f86e8]
mov edx, 0x5b
mov r9d, ebx
call fcn.7ff7c15a1eb4
jmp 0x7ff7c15a9311
lea rcx, [rbp - 0x20]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea rdx, str.msascui.exe
lea rcx, [rbp - 0x20]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
jne 0x7ff7c15a9236
mov rcx, qword [0x7ff7c161b240]
lea rax, [0x7ff7c161b240]
cmp rcx, rax
je 0x7ff7c15a9311
test byte [rcx + 0x1c], 1
je 0x7ff7c15a9311
mov rcx, qword [rcx + 0x10]
lea rax, [rbp - 0x20]
mov edx, 0x5c
mov qword [rsp + 0x20], rax
lea r9, str.msascui.exe
lea r8, [0x7ff7c15f86e8]
call fcn.7ff7c15a58a4
jmp 0x7ff7c15a9311
xor eax, eax
lea rdi, [rsp + 0x70]
xor r9d, r9d
xor r8d, r8d
lea edx, [rax + 0x68]
mov ecx, edx
rep stosb byte [rdi], al
lea ecx, [rax + 0x18]
mov dword [rsp + 0x70], edx
lea rdi, [rsp + 0x50]
xor edx, edx
rep stosb byte [rdi], al
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rcx, [rbp - 0x20]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x7ff7c15a92cd
call fcn.7ff7c15a51a0
mov ebx, eax
mov rcx, qword [0x7ff7c161b240]
lea rax, [0x7ff7c161b240]
cmp rcx, rax
je 0x7ff7c15a9311
test byte [rcx + 0x1c], 1
je 0x7ff7c15a9311
mov rcx, qword [rcx + 0x10]
lea r9, [rbp - 0x20]
mov edx, 0x5d
mov dword [rsp + 0x20], ebx
lea r8, [0x7ff7c15f86e8]
call fcn.7ff7c15a595c
jmp 0x7ff7c15a9311
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x7ff7c161b240]
lea rax, [0x7ff7c161b240]
cmp rcx, rax
je 0x7ff7c15a9311
test byte [rcx + 0x1c], 4
je 0x7ff7c15a9311
mov rcx, qword [rcx + 0x10]
lea r8, [0x7ff7c15f86e8]
mov edx, 0x5e
call fcn.7ff7c15a1e00
mov eax, ebx
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.7ff7c15e78d0
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret

Function at 0x7ff7c15ab0a0
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [rsp + 0x70]
mov r10d, r9d
mov r9d, dword [rsp + 0x60]
mov r11, r8
mov dword [rsp + 0x28], eax
mov rcx, rdx
mov rax, qword [rsp + 0x68]
mov r8d, r10d
mov rdx, r11
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x30
pop rbx
ret
Function at 0x7ff7c15ab170
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [rsp + 0xb0]
mov r10, r9
mov r9, qword [rsp + 0x80]
mov r11, r8
mov qword [rsp + 0x48], rax
mov rcx, rdx
mov rax, qword [rsp + 0xa8]
mov r8, r10
mov qword [rsp + 0x40], rax
mov rdx, r11
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
add rsp, 0x50
pop rbx
ret

Function at 0x7ff7c15ab2a0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [rsp + 0x70]
mov r10, r9
mov r9, qword [rsp + 0x60]
mov r11, r8
mov qword [rsp + 0x28], rax
mov rcx, rdx
mov rax, qword [rsp + 0x68]
mov r8, r10
mov rdx, r11
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add rsp, 0x30
pop rbx
ret

Function at 0x7ff7c15ab8b0
Capabilities:
Modify service

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [rsp + 0xc8]
mov r10d, r9d
mov r9d, dword [rsp + 0x90]
mov r11d, r8d
mov qword [rsp + 0x50], rax
mov rcx, rdx
mov rax, qword [rsp + 0xc0]
mov r8d, r10d
mov qword [rsp + 0x48], rax
mov edx, r11d
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
add rsp, 0x60
pop rbx
ret

Function at 0x7ff7c15aba50
Capabilities:
Shutdown system

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [rsp + 0x70]
mov r11d, r9d
mov r10, r8
mov rbx, rdx
test eax, eax
jne 0x7ff7c15aba6c
test r8, r8
je 0x7ff7c15aba73
cmp eax, 0xd0000000
jb 0x7ff7c15aba82
mov ecx, 0xa0
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x7ff7c15abaa2
mov r9d, dword [rsp + 0x60]
mov r8d, r11d
mov dword [rsp + 0x28], eax
mov rdx, r10
mov eax, dword [rsp + 0x68]
mov rcx, rbx
mov dword [rsp + 0x20], eax
call qword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownExW]
add rsp, 0x30
pop rbx
ret

Function at 0x7ff7c15abac0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [rsp + 0x70]
mov r10, r9
mov r9, qword [rsp + 0x60]
mov r11, r8
mov qword [rsp + 0x28], rax
mov rcx, rdx
mov eax, dword [rsp + 0x68]
mov r8, r10
mov rdx, r11
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
add rsp, 0x30
pop rbx
ret

Function at 0x7ff7c15abb90
Capabilities:
Read .ini file

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [rsp + 0x70]
mov r10, r9
mov r9, qword [rsp + 0x60]
mov r11, r8
mov qword [rsp + 0x28], rax
mov rcx, rdx
mov eax, dword [rsp + 0x68]
mov r8, r10
mov rdx, r11
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add rsp, 0x30
pop rbx
ret
Function at 0x7ff7c15abd50
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [rsp + 0xc8]
mov r10, r9
mov r9, qword [rsp + 0x90]
mov r11, r8
mov qword [rsp + 0x50], rax
mov rcx, rdx
mov rax, qword [rsp + 0xc0]
mov r8, r10
mov qword [rsp + 0x48], rax
mov rdx, r11
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
add rsp, 0x60
pop rbx
ret

Function at 0x7ff7c15aeca0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x240
mov rax, qword [0x7ff7c1620328]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rax, qword gs:[0x58]
mov rbp, rdx
mov edx, 4
or r14, 0xffffffffffffffff
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x7ff7c1621248], eax
jg 0x7ff7c15aee0a
mov rdx, qword [0x7ff7c1621250]
cmp dword [rdx - 0x10], 0
jne 0x7ff7c15aedd6
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20a
call sub.msvcrt.dll_memset
call fcn.7ff7c15abfac
mov esi, 0x104
lea rdx, [rsp + 0x20]
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
test eax, eax
jne 0x7ff7c15aed4f
call fcn.7ff7c15abfac
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x7ff7c15aede0
cmp edi, esi
ja 0x7ff7c15aed68
lea rdx, [rsp + 0x20]
lea rcx, [0x7ff7c1621250]
call fcn.7ff7c15b1034
mov ebx, eax
jmp 0x7ff7c15aedcb
lea ecx, [rdi + 1]
mov eax, 2
mul rcx
cmovo rax, r14
mov rcx, rax
call fcn.7ff7c15a164c
mov rsi, rax
call fcn.7ff7c15abfac
mov rdx, rsi
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x7ff7c15aeda9
mov rdx, rsi
lea rcx, [0x7ff7c1621250]
call fcn.7ff7c15b1034
mov ebx, eax
jmp 0x7ff7c15aedc2
call fcn.7ff7c15abfac
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_free]
test ebx, ebx
js 0x7ff7c15aede0
mov rdx, qword [0x7ff7c1621250]
mov rcx, rbp
call fcn.7ff7c15b1034
mov ebx, eax
mov eax, ebx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.7ff7c15e78d0
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
lea rcx, [0x7ff7c1621248]
call fcn.7ff7c15e8108
cmp dword [0x7ff7c1621248], r14d
jne 0x7ff7c15aecee
mov rax, qword [0x7ff7c161b338]
lea rcx, [0x7ff7c161b338]
mov rax, qword [rax + 0x18]
call qword [0x7ff7c15f6588]
add rax, 0x18
lea rcx, [0x7ff7c15ed020]
mov qword [0x7ff7c1621250], rax
call fcn.7ff7c15e79e0
lea rcx, [0x7ff7c1621248]
call fcn.7ff7c15e809c
jmp 0x7ff7c15aecee
Function at 0x7ff7c15af740
Capabilities:
Get common file path
Get program files directory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x7ff7c1620328]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor r9d, r9d
lea rax, [rsp + 0x40]
mov rbx, rdx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 0x26]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test eax, eax
js 0x7ff7c15af7b5
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.7ff7c15a41ec
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.7ff7c15e78d0
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
mov ecx, 4
call fcn.7ff7c15a164c
mov edx, edi
mov rcx, rax
call fcn.7ff7c15a4f24
lea rdx, [0x7ff7c16172e8]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call sub.msvcrt.dll__CxxThrowException
int3

Function at 0x7ff7c15af7e0
Capabilities:
Get common file path
Get program files directory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x7ff7c1620328]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor r9d, r9d
lea rax, [rsp + 0x40]
mov rbx, rdx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 0x2a]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test eax, eax
js 0x7ff7c15af855
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.7ff7c15a41ec
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.7ff7c15e78d0
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
mov ecx, 4
call fcn.7ff7c15a164c
mov edx, edi
mov rcx, rax
call fcn.7ff7c15a4f24
lea rdx, [0x7ff7c16172e8]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x7ff7c15af880
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x7ff7c1620328]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rax, qword gs:[0x58]
mov rdi, rdx
mov edx, 4
or rbx, 0xffffffffffffffff
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x7ff7c1621298], eax
jg 0x7ff7c15af960
mov rdx, qword [0x7ff7c16212a0]
xor esi, esi
cmp dword [rdx - 0x10], esi
jne 0x7ff7c15af933
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea edx, [rsi + 0x23]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x7ff7c15af93b
lea rax, [rsp + 0x30]
inc rbx
cmp word [rax + rbx*2], si
jne 0x7ff7c15af90f
mov r8d, ebx
lea rdx, [rsp + 0x30]
lea rcx, [0x7ff7c16212a0]
call fcn.7ff7c15a4330
mov rdx, qword [0x7ff7c16212a0]
mov rcx, rdi
call fcn.7ff7c15b1034
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.7ff7c15e78d0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
lea rcx, [0x7ff7c1621298]
call fcn.7ff7c15e8108
cmp dword [0x7ff7c1621298], ebx
jne 0x7ff7c15af8cb
mov rax, qword [0x7ff7c161b338]
lea rcx, [0x7ff7c161b338]
mov rax, qword [rax + 0x18]
call qword [0x7ff7c15f6588]
add rax, 0x18
lea rcx, [0x7ff7c15ed160]
mov qword [0x7ff7c16212a0], rax
call fcn.7ff7c15e79e0
lea rcx, [0x7ff7c1621298]
call fcn.7ff7c15e809c
jmp 0x7ff7c15af8cb

Function at 0x7ff7c15af9c0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x7ff7c1620328]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rax, qword gs:[0x58]
mov rdi, rdx
mov edx, 4
or rbx, 0xffffffffffffffff
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x7ff7c16212a8], eax
jg 0x7ff7c15afaa0
mov rdx, qword [0x7ff7c16212b0]
xor esi, esi
cmp dword [rdx - 0x10], esi
jne 0x7ff7c15afa73
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea edx, [rsi + 0x25]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x7ff7c15afa7b
lea rax, [rsp + 0x30]
inc rbx
cmp word [rax + rbx*2], si
jne 0x7ff7c15afa4f
mov r8d, ebx
lea rdx, [rsp + 0x30]
lea rcx, [0x7ff7c16212b0]
call fcn.7ff7c15a4330
mov rdx, qword [0x7ff7c16212b0]
mov rcx, rdi
call fcn.7ff7c15b1034
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.7ff7c15e78d0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
lea rcx, [0x7ff7c16212a8]
call fcn.7ff7c15e8108
cmp dword [0x7ff7c16212a8], ebx
jne 0x7ff7c15afa0b
mov rax, qword [0x7ff7c161b338]
lea rcx, [0x7ff7c161b338]
mov rax, qword [rax + 0x18]
call qword [0x7ff7c15f6588]
add rax, 0x18
lea rcx, [0x7ff7c15ed1a0]
mov qword [0x7ff7c16212b0], rax
call fcn.7ff7c15e79e0
lea rcx, [0x7ff7c16212a8]
call fcn.7ff7c15e809c
jmp 0x7ff7c15afa0b
Function at 0x7ff7c15afdf0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x7ff7c1620328]
xor rax, rsp
mov qword [rsp + 0x240], rax
and qword [rsp + 0x20], 0
mov rdi, r8
mov ebx, edx
call fcn.7ff7c15abfac
lea r8, [rsp + 0x20]
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov ecx, eax
test eax, eax
js 0x7ff7c15afe8d
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call sub.msvcrt.dll_memset
mov rbx, qword [rsp + 0x20]
call fcn.7ff7c15abfac
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
cmp eax, 1
je 0x7ff7c15afe7e
call fcn.7ff7c15abfac
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
jmp 0x7ff7c15afe8d
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.7ff7c15b1034
mov ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.7ff7c15e78d0
mov rbx, qword [rsp + 0x260]
add rsp, 0x250
pop rdi
ret