joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000f700
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1a8]
sub rsp, 0x2a0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov rax, qword [0x180075010]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov qword [rsp + 0x78], 7
xor edi, edi
mov qword [rsp + 0x70], rdi
mov word [rsp + 0x60], di
xor r8d, r8d
lea rdx, [0x180049cd0]
lea rcx, [rsp + 0x60]
call fcn.18000a8d0
nop
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], rdi
mov word [rsp + 0x40], di
xor r8d, r8d
lea rdx, [0x180049cd0]
lea rcx, [rsp + 0x40]
call fcn.18000a8d0
nop
mov rax, qword [0x180076120]
test rax, rax
jne 0x18000f7ba
mov ecx, 0x1a8
call fcn.18002be24
mov qword [rsp + 0x38], rax
test rax, rax
je 0x18000f7b0
mov rcx, rax
call fcn.18001ddb0
jmp 0x18000f7b3
mov rax, rdi
mov qword [0x180076120], rax
mov rcx, rax
call fcn.18001dee0
or rbx, 0xffffffffffffffff
cmp word [rax], 0
jne 0x18000f7d1
mov r8, rdi
jmp 0x18000f7df
mov r8, rbx
inc r8
cmp word [rax + r8*2], 0
jne 0x18000f7d4
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.18000a8d0
mov r8d, 0xc
lea rdx, str.GDVCDbus.exe
lea rcx, [rsp + 0x40]
call fcn.18000fca0
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x18000f8e7
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x80]
call fcn.18002ddc0
lea r8, str.7c4585
lea rdx, [0x18004a710]
lea rcx, [rbp - 0x80]
call fcn.180010140
mov r8d, 1
lea rdx, [0x18004a718]
lea rcx, [rsp + 0x60]
call fcn.18000a8d0
mov r9, rbx
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.18000fb70
mov r8d, 2
lea rdx, [0x18004a71c]
lea rcx, [rsp + 0x60]
call fcn.18000fca0
cmp word [rbp - 0x80], 0
jne 0x18000f899
mov rbx, rdi
jmp 0x18000f8aa
lea rax, [rbp - 0x80]
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x18000f8a0
mov r8, rbx
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.18000fca0
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rcx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rdi
mov r9d, 0x1388
mov r8b, 1
lea rdx, [0x180049cd0]
call fcn.180019b80
nop
mov r8, qword [rsp + 0x58]
cmp r8, 8
jb 0x18000f904
inc r8
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.18000aa20
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], rdi
mov word [rsp + 0x40], di
mov r8, qword [rsp + 0x78]
cmp r8, 8
jb 0x18000f934
inc r8
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.18000aa20
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.18002bf10
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x1800101c0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
xor ebx, ebx
movsxd rbp, edx
xor r11d, r11d
xor r10d, r10d
mov r14, r9
mov r15, r8
mov rdi, rcx
test edx, edx
jle 0x1800102fc
mov rsi, rcx
lea r12, [0x18004a7f0]
neg rsi
mov rdx, rcx
movzx eax, byte [rdx]
cmp al, 0x3d
jne 0x180010216
inc r11d
cmp r11d, 2
jg 0x180010269
cmp al, 0x7f
ja 0x180010269
movzx eax, al
movzx ecx, byte [rax + r12]
cmp cl, 0x7f
je 0x180010269
cmp cl, 0x40
jae 0x180010231
test r11d, r11d
jne 0x180010269
inc rdx
inc ebx
inc r10d
lea rax, [rsi + rdx]
cmp rax, rbp
jl 0x180010206
test ebx, ebx
je 0x1800102fc
lea eax, [rbx + rbx*2]
lea eax, [rax*2 + 7]
sar eax, 3
cmp dword [r9], eax
jge 0x180010273
mov dword [r9], eax
mov eax, 0xfffffff0
jmp 0x1800102fe
mov eax, 0xffffffee
jmp 0x1800102fe
xor r8d, r8d
xor r11d, r11d
mov r9d, 3
mov rax, r15
test r10d, r10d
jle 0x1800102f6
nop word [rax + rax]
movzx ecx, byte [rdi]
movzx edx, byte [rcx + r12]
xor ecx, ecx
cmp dl, 0x40
sete cl
and edx, 0x3f
sub r9d, ecx
inc r11d
mov ecx, r8d
mov r8d, edx
shl ecx, 6
or r8d, ecx
cmp r11d, 4
jne 0x1800102eb
xor r11d, r11d
test r9d, r9d
jle 0x1800102ce
mov ecx, r8d
shr ecx, 0x10
mov byte [rax], cl
inc rax
cmp r9d, 1
jle 0x1800102df
mov ecx, r8d
shr ecx, 8
mov byte [rax], cl
inc rax
cmp r9d, 2
jle 0x1800102eb
mov byte [rax], r8b
inc rax
dec r10d
inc rdi
test r10d, r10d
jg 0x180010290
sub eax, r15d
mov dword [r14], eax
xor eax, eax
mov rbx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
pop r15
pop r14
pop r12
ret

Function at 0x180010320
Capabilities:
Hash data with md5

Disassembly:
push rbx
sub rsp, 0x20
mov byte [rcx + 0x68], 0
xor eax, eax
mov qword [rcx + 0x10], rax
mov rbx, rcx
mov dword [rcx], 0x67452301
mov dword [rcx + 4], 0xefcdab89
mov dword [rcx + 8], 0x98badcfe
mov dword [rcx + 0xc], 0x10325476
cmp qword [rdx + 0x18], 0x10
mov r8, qword [rdx + 0x10]
jb 0x18001035c
mov rdx, qword [rdx]
call fcn.180011380
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x180011d90
Capabilities:
Read .ini file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x798]
sub rsp, 0x898
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x180075010]
xor rax, rsp
mov qword [rbp + 0x780], rax
mov edi, r9d
mov r14, r8
mov rsi, rdx
mov rbx, rcx
lea r9, [rcx + 0xc0]
cmp qword [r9 + 0x18], 8
jb 0x180011ddf
mov r9, qword [r9]
mov r8d, edi
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, edi
jne 0x180011f5b
mov qword [rsp + 0x50], 7
xor r15d, r15d
mov qword [rsp + 0x48], r15
mov word [rsp + 0x38], r15w
xor r8d, r8d
lea rdx, [0x180049cd0]
lea rcx, [rsp + 0x38]
call fcn.18000a8d0
nop
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp - 0x80]
call fcn.18002ddc0
mov r8d, edi
lea rdx, [0x18004aa10]
lea rcx, [rbp - 0x80]
call fcn.180010140
lea rax, [rbp - 0x80]
mov r9, r14
mov r8, rsi
lea rdx, [rsp + 0x58]
mov rcx, rbx
mov qword [rsp + 0x20], rax
cmp byte [rbx + 9], r15b
je 0x180011eb6
call fcn.180011c50
mov rbx, rax
lea rax, [rsp + 0x38]
cmp rax, rbx
je 0x180011eb4
mov r8, qword [rsp + 0x50]
cmp r8, 8
jb 0x180011e92
inc r8
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.18000aa20
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], r15
mov word [rsp + 0x38], r15w
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.180011560
nop
jmp 0x180011f07
call fcn.180011d50
mov rbx, rax
lea rax, [rsp + 0x38]
cmp rax, rbx
je 0x180011f07
mov r8, qword [rsp + 0x50]
cmp r8, 8
jb 0x180011ee5
inc r8
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.18000aa20
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], r15
mov word [rsp + 0x38], r15w
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.180011560
nop
mov r8, qword [rsp + 0x70]
cmp r8, 8
jb 0x180011f24
inc r8
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x58]
call fcn.18000aa20
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
call fcn.180034430
mov ebx, eax
mov r8, qword [rsp + 0x50]
cmp r8, 8
jb 0x180011f59
inc r8
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.18000aa20
mov eax, ebx
mov rcx, qword [rbp + 0x780]
xor rcx, rsp
call fcn.18002bf10
add rsp, 0x898
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x180011f80
Capabilities:
Read .ini file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x888
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x180075010]
xor rax, rsp
mov qword [rsp + 0x870], rax
mov r15, r9
mov r14, r8
mov rbx, rdx
mov rbp, rcx
mov qword [rsp + 0x40], rdx
mov rsi, qword [rsp + 0x8e0]
xor edi, edi
mov dword [rsp + 0x30], edi
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x70]
call fcn.18002ddc0
lea rax, [rbp + 0xc0]
cmp qword [rax + 0x18], 8
jb 0x180011fed
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x400
lea r9, [rsp + 0x70]
mov r8, rsi
mov rdx, r15
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rdi
cmp qword [rbx + 0x18], 8
jb 0x180012026
mov rax, qword [rbx]
jmp 0x180012029
mov rax, rbx
mov word [rax], di
cmp word [rsp + 0x70], di
je 0x18001204a
lea rax, [rsp + 0x70]
or rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x180012040
mov r8, rdi
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.18000a8d0
mov dword [rsp + 0x30], 1
cmp qword [rbx + 0x18], 8
jb 0x18001206e
mov rax, qword [rbx]
jmp 0x180012071
mov rax, rbx
mov r11, rsi
sub r11, rax
nop word [rax + rax]
movzx r10d, word [rax]
movzx edx, word [rax + r11]
sub r10d, edx
jne 0x180012096
add rax, 2
test edx, edx
jne 0x180012080
test r10d, r10d
jne 0x1800120e8
mov qword [rsp + 0x20], rsi
mov r9, r15
mov r8, r14
lea rdx, [rsp + 0x48]
mov rcx, rbp
cmp byte [rbp + 9], r10b
je 0x1800120bb
call fcn.180011c50
jmp 0x1800120c0
call fcn.180011d50
mov rdx, rax
mov rcx, rbx
call fcn.1800114b0
mov r8, qword [rsp + 0x60]
cmp r8, 8
jb 0x1800120e8
inc r8
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x48]
call fcn.18000aa20
mov rax, rbx
mov rcx, qword [rsp + 0x870]
xor rcx, rsp
call fcn.18002bf10
add rsp, 0x888
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180013120
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x9a0]
sub rsp, 0xaa0
mov rax, qword [0x180075010]
xor rax, rsp
mov qword [rbp + 0x990], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.18002ddc0
cmp qword [rdi + 0x58], 8
lea r8, [rdi + 0x40]
jb 0x18001316e
mov r8, qword [r8]
lea r9, str.conf
lea rdx, [0x18004ac48]
lea rcx, [rsp + 0x40]
call fcn.180010140
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x18001319f
lea rcx, [rsp + 0x40]
call fcn.1800191d0
xor edx, edx
lea rcx, [rbp + 0x150]
mov r8d, 0x208
call fcn.18002ddc0
lea r9, str.vstginf.ini
lea r8, [rsp + 0x40]
lea rdx, str._s_s
lea rcx, [rbp + 0x150]
call fcn.180010140
xor ebx, ebx
cmp word [rbp + 0x150], bx
jne 0x1800131e2
mov r8d, ebx
jmp 0x1800131fa
lea rax, [rbp + 0x150]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], bx
jne 0x1800131f0
lea rcx, [rdi + 0xc0]
lea rdx, [rbp + 0x150]
call fcn.18000a8d0
xor edx, edx
lea rcx, [rbp + 0x360]
mov r8d, 0x208
call fcn.18002ddc0
lea r9, str.useCache.ini
lea r8, [rsp + 0x40]
lea rdx, str._s_s
lea rcx, [rbp + 0x360]
call fcn.180010140
cmp word [rbp + 0x360], bx
jne 0x18001324e
mov r8, rbx
jmp 0x18001326a
lea rax, [rbp + 0x360]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], bx
jne 0x180013260
lea rcx, [rdi + 0xe0]
lea rdx, [rbp + 0x360]
call fcn.18000a8d0
xor edx, edx
lea rcx, [rbp + 0x570]
mov r8d, 0x208
call fcn.18002ddc0
lea rdx, str.DSKXRoad
lea rcx, [rsp + 0x20]
call fcn.1800196f0
cmp qword [rax + 0x18], 8
jb 0x1800132ac
mov rax, qword [rax]
mov r8, rax
lea rdx, [0x18004aca4]
lea rcx, [rbp + 0x570]
call fcn.180010140
mov r8, qword [rsp + 0x38]
cmp r8, 8
jb 0x1800132df
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x20]
inc r8
call fcn.18000aa20
lea rcx, [rbp + 0x570]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1800132fc
lea rcx, [rbp + 0x570]
call fcn.1800191d0
xor edx, edx
lea rcx, [rbp + 0x780]
mov r8d, 0x208
call fcn.18002ddc0
lea r9, str.useCache.ini
lea r8, [rbp + 0x570]
lea rdx, str._s_s
lea rcx, [rbp + 0x780]
call fcn.180010140
cmp word [rbp + 0x780], bx
je 0x18001334f
lea rax, [rbp + 0x780]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x180013345
lea rcx, [rdi + 0x100]
mov r8, rbx
lea rdx, [rbp + 0x780]
call fcn.18000a8d0
mov rcx, qword [rbp + 0x990]
xor rcx, rsp
call fcn.18002bf10
lea r11, [rsp + 0xaa0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x180016f10
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
mov rbx, r8
mov rcx, r8
mov rdi, rdx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsi]
mov r9d, 1
xor r8d, r8d
mov rdx, rdi
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x180018de0
Capabilities:
Check if file exists
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov eax, 0x1070
call fcn.18002c3d0
sub rsp, rax
mov rax, qword [0x180075010]
xor rax, rsp
mov qword [rsp + 0x1060], rax
mov rsi, rcx
mov rdi, rdx
xor ecx, ecx
call fcn.180034520
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x58], rax
call fcn.180034cf0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [rbx]
lea rdx, str.__d__d__d__d__d__d___d_:_s
mov r9d, dword [rbx + 0x10]
mov r8d, dword [rbx + 0x14]
inc r9d
mov qword [rsp + 0x48], rdi
add r8d, 0x76c
mov dword [rsp + 0x40], eax
mov eax, dword [rbx + 0xc]
mov dword [rsp + 0x38], ecx
mov ecx, dword [rbx + 4]
mov dword [rsp + 0x30], ecx
mov ecx, dword [rbx + 8]
mov dword [rsp + 0x28], ecx
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x20], eax
call fcn.180018c40
mov rcx, rsi
xor edi, edi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebp, 1
lea rdx, [0x18004b6b8]
test eax, eax
mov rcx, rsi
cmovne edi, ebp
call fcn.180030924
mov rbx, rax
test rax, rax
je 0x180018f33
test edi, edi
jne 0x180018ec4
mov eax, 0xfeff
lea r8d, [rbp + 1]
mov r9, rbx
mov word [rsp + 0x54], ax
mov edx, ebp
lea rcx, [rsp + 0x54]
call fcn.180030b70
lea rcx, [rsp + 0x60]
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x180018ed0
add eax, eax
lea rcx, [rsp + 0x60]
movsxd r8, eax
mov r9, rbx
mov rdx, rbp
call fcn.180030b70
mov eax, 0xd
lea rcx, [rsp + 0x50]
mov r9, rbx
mov word [rsp + 0x50], ax
mov rdx, rbp
lea r8d, [rax - 0xb]
call fcn.180030b70
mov eax, 0xa
lea rcx, [rsp + 0x50]
mov r9, rbx
mov word [rsp + 0x50], ax
mov rdx, rbp
lea r8d, [rax - 8]
call fcn.180030b70
mov rcx, rbx
call fcn.1800307d4
mov rcx, qword [rsp + 0x1060]
xor rcx, rsp
call fcn.18002bf10
mov rbx, qword [rsp + 0x10a0]
add rsp, 0x1070
pop rdi
pop rsi
pop rbp
ret

Function at 0x1800191d0
Capabilities:
Check if file exists
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
or r8, 0xffffffffffffffff
mov rbx, rcx
mov rdi, r8
nop dword [rax]
inc rdi
cmp word [rcx + rdi*2], 0
jne 0x1800191f0
lea eax, [rdi + 1]
movsxd rcx, eax
mov eax, 2
mul rcx
cmovo rax, r8
mov rcx, rax
call fcn.18002be60
mov rsi, rax
sub rax, rbx
nop word [rax + rax]
movzx ecx, word [rbx]
mov word [rax + rbx], cx
lea rbx, [rbx + 2]
test cx, cx
jne 0x180019220
xor r14d, r14d
movsxd rdi, edi
mov ebx, r14d
lea ebp, [r14 + 1]
test rdi, rdi
js 0x18001928f
mov qword [rsp + 0x40], r15
mov r15d, 0x5c
nop dword [rax]
cmp word [rsi + rbx*2], r15w
jne 0x18001927d
mov rcx, rsi
mov word [rsi + rbx*2], r14w
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180019278
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x180019287
mov word [rsi + rbx*2], r15w
inc rbx
cmp rbx, rdi
jle 0x180019250
jmp 0x18001928a
mov ebp, r14d
mov r15, qword [rsp + 0x40]
mov rcx, rsi
call fcn.18002be68
mov rbx, qword [rsp + 0x48]
mov eax, ebp
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x1800192b0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x180075010]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov qword [rsp + 0x290], rbx
mov rsi, rdx
xor bl, bl
mov rbp, rcx
call fcn.180019620
xor edi, edi
test al, al
je 0x18001934c
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rdi
call fcn.180019530
test al, al
je 0x18001934c
mov r8, qword [rsp + 0x30]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x298], r14
lea edx, [rdi + 0x1a]
mov r14d, 1
mov qword [rsp + 0x20], rax
mov r9d, r14d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
movzx ebx, bl
cmove ebx, r14d
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r14, qword [rsp + 0x298]
test bl, bl
jne 0x180019360
xor r9d, r9d
lea rdx, [rsp + 0x40]
xor ecx, ecx
lea r8d, [r9 + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov rbx, qword [rsp + 0x290]
lea rcx, [rsp + 0x40]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], di
jne 0x180019371
test eax, eax
je 0x18001942f
lea rcx, [rsp + 0x40]
sub rcx, 2
nop dword [rax + rax]
cmp word [rcx + 2], di
lea rcx, [rcx + 2]
jne 0x180019390
mov eax, dword [0x18004abac]
lea rdx, [rsp + 0x40]
sub rdx, 2
mov dword [rcx], eax
nop dword [rax + rax]
cmp word [rdx + 2], di
lea rdx, [rdx + 2]
jne 0x1800193b0
xor r8d, r8d
nop dword [rax]
movzx ecx, word [rsi + r8*2]
mov word [rdx + r8*2], cx
lea r8, [r8 + 1]
test cx, cx
jne 0x1800193c0
lea rcx, [rsp + 0x40]
sub rcx, 2
nop dword [rax]
cmp word [rcx + 2], di
lea rcx, [rcx + 2]
jne 0x1800193e0
mov dword [rcx], eax
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180019405
lea rcx, [rsp + 0x40]
call fcn.1800191d0
cmp word [rsp + 0x40], di
je 0x18001941f
lea rax, [rsp + 0x40]
or rdi, 0xffffffffffffffff
inc rdi
cmp word [rax + rdi*2], 0
jne 0x180019415
mov r8, rdi
lea rdx, [rsp + 0x40]
mov rcx, rbp
call fcn.18000a8d0
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.18002bf10
add rsp, 0x260
pop rdi
pop rsi
pop rbp
ret

Function at 0x180019620
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x248
mov rax, qword [0x180075010]
xor rax, rsp
mov qword [rsp + 0x230], rax
movzx eax, byte [0x1800769a0]
test al, al
jne 0x1800196d2
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.18002ddc0
mov r9d, 1
lea rdx, [rsp + 0x20]
xor ecx, ecx
lea r8d, [r9 + 0x19]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1800196cb
lea rcx, [rsp + 0x20]
call fcn.180034928
lea rdx, str.config_systemprofile
lea rcx, [rsp + 0x20]
call fcn.18002df60
test rax, rax
jne 0x1800196ab
lea rdx, str.documents_and_settingslocalservice
lea rcx, [rsp + 0x20]
call fcn.18002df60
test rax, rax
je 0x1800196cb
mov al, 1
mov byte [0x1800769a0], al
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.18002bf10
add rsp, 0x248
ret
movzx eax, byte [0x1800769a0]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.18002bf10
add rsp, 0x248
ret
Function at 0x180019ac0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov ebp, r9d
mov edi, r8d
mov rsi, rdx
mov r14, rcx
xor bl, bl
call fcn.180019620
mov r15d, 1
test al, al
je 0x180019b46
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], 0
call fcn.180019530
test al, al
je 0x180019b46
mov r8, qword [rsp + 0x30]
mov r9d, r15d
mov edx, edi
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
movzx ebx, bl
cmove ebx, r15d
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x180019b46
movzx eax, bl
jmp 0x180019b64
mov r9d, ebp
mov r8d, edi
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
movzx ecx, bl
cmovne ecx, r15d
movzx eax, cl
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x180019e10
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x1f8]
sub rsp, 0x2e0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x180075010]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
xor ebx, ebx
mov edi, ebx
mov dword [rsp + 0x20], ebx
test rcx, rcx
jne 0x180019e5b
xor eax, eax
jmp 0x18001a062
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rbx
mov word [rsp + 0x50], bx
cmp word [rcx], bx
jne 0x180019e78
mov r8, rbx
jmp 0x180019e8a
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rcx + r8*2], bx
jne 0x180019e80
mov rdx, rcx
lea rcx, [rsp + 0x50]
call fcn.18000a8d0
nop
lea rcx, [rsp + 0x50]
call fcn.18001c160
xor edx, edx
mov r8d, 0x238
lea rcx, [rbp - 0x70]
call fcn.18002ddc0
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x18001a043
mov dword [rbp - 0x70], 0x238
lea rdx, [rbp - 0x70]
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x18001a039
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], rbx
mov word [rsp + 0x30], bx
cmp word [rbp - 0x44], 0
jne 0x180019f04
mov r8, rbx
jmp 0x180019f1b
lea rax, [rbp - 0x44]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x180019f10
lea rdx, [rbp - 0x44]
lea rcx, [rsp + 0x30]
call fcn.18000a8d0
nop
lea rcx, [rsp + 0x30]
call fcn.18001c160
lea r8, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r8, qword [rsp + 0x50]
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rcx, qword [rsp + 0x30]
mov r9, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x40]
call fcn.180014700
test eax, eax
je 0x180019fb3
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.18001bb50
or edi, 1
lea r9, [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x180019f89
mov rax, qword [rax]
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
mov r9, qword [r9]
mov r8, rax
mov rdx, qword [rsp + 0x60]
call fcn.180014700
test eax, eax
je 0x180019fb3
xor sil, sil
jmp 0x180019fb6
mov sil, 1
test dil, 1
je 0x180019fdb
and edi, 0xfffffffe
mov r8, qword [rbp - 0x78]
cmp r8, 8
jb 0x180019fdb
inc r8
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x70]
call fcn.18000aa20
test sil, sil
jne 0x18001a00e
mov r8, qword [rsp + 0x48]
cmp r8, 8
jb 0x180019ffd
inc r8
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.18000aa20
lea rdx, [rbp - 0x70]
mov rcx, r14
call sub.KERNEL32.dll_Process32NextW
jmp 0x180019edd
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rbp - 0x68]
mov r8, qword [rsp + 0x48]
cmp r8, 8
jb 0x18001a043
inc r8
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.18000aa20
jmp 0x18001a043
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov r8, qword [rsp + 0x68]
cmp r8, 8
jb 0x18001a060
inc r8
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.18000aa20
mov eax, ebx
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.18002bf10
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret