joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140132bf0
Capabilities:
Create process on windows

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0xb0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0xe0], rbx
mov rax, qword [0x1402bb010]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rsi, rdx
mov rdi, rcx
xor ebp, ebp
mov dword [rsp + 0x30], ebp
xor bl, bl
mov edx, dword [rdx + 0x368]
cmp edx, 0x42c25a0
ja 0x140132cab
je 0x140132cda
sub edx, 0x6af66d
je 0x140132c9e
sub edx, 0x3c12b60
je 0x140132e51
sub edx, 0x384
je 0x140132c8e
sub edx, 0xf
je 0x140132c66
cmp edx, 0x38
jmp 0x140132cc8
call fcn.14008a0f0
cmp dword [rax + 0x160], 0xffff0001
je 0x140132e51
mov rdx, rsi
mov rcx, rdi
call fcn.140132610
movzx ebx, al
jmp 0x140132e51
mov rdx, rsi
call fcn.140132300
movzx ebx, al
jmp 0x140132e51
call fcn.140131e90
movzx ebx, al
jmp 0x140132e51
mov eax, edx
sub eax, 0x42c25a1
je 0x140132d1a
sub eax, 1
je 0x140132d0a
sub eax, 1
je 0x140132cfa
sub eax, 1
je 0x140132cea
cmp eax, 0x2704
je 0x140132cda
mov rdx, rsi
call fcn.140132610
movzx ebx, al
jmp 0x140132e51
mov rdx, rsi
call fcn.1401312e0
movzx ebx, al
jmp 0x140132e51
mov rdx, rsi
call fcn.1401320d0
movzx ebx, al
jmp 0x140132e51
mov rdx, rsi
call fcn.140131c60
movzx ebx, al
jmp 0x140132e51
mov rdx, rsi
call fcn.140131510
movzx ebx, al
jmp 0x140132e51
call fcn.14012f5a0
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x80]
call fcn.14004c520
nop
movdqa xmm0, xmmword [0x14024d4b0]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], bp
mov dword [rsp + 0x30], 1
mov rbx, qword [rsp + 0x90]
lea rdx, [rbx + 2]
cmp rdx, 8
jb 0x140132d7b
lea rcx, [rsp + 0x38]
call fcn.14005a7e0
mov qword [rsp + 0x48], rbp
mov r8d, 2
lea rdx, [0x14022abc0]
lea rcx, [rsp + 0x38]
call fcn.140054130
lea rdx, [rsp + 0x80]
cmp qword [rsp + 0x98], 8
cmovae rdx, qword [rsp + 0x80]
mov r8, rbx
lea rcx, [rsp + 0x38]
call fcn.140054130
mov r8d, 1
lea rdx, [0x14022abbc]
lea rcx, [rsp + 0x38]
call fcn.140054130
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], 7
mov word [rax], bp
lea rcx, [rsp + 0x38]
call fcn.1400524a0
lea r9, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae r9, qword [rsp + 0x60]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rbp
lea r8, [0x14022abc8]
lea rdx, [0x14022abf8]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rcx, [rsp + 0x60]
call fcn.1400524a0
nop
lea rcx, [rsp + 0x80]
call fcn.1400524a0
mov bl, 1
movzx eax, bl
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14016ee40
mov rbx, qword [rsp + 0xe0]
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14013930c
Capabilities:
Create process on windows

Disassembly:
cmp edx, 0x42c25a1
jne 0x14013940e
push rbx
sub rsp, 0xa0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1402bb010]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x78]
call fcn.14004c520
nop
lea r8, [rsp + 0x78]
lea rdx, [0x14022abc0]
lea rcx, [rsp + 0x38]
call fcn.140073d90
nop
mov r8d, 1
lea rdx, [0x14022abbc]
mov rcx, rax
call fcn.140054130
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
xor ebx, ebx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
lea rcx, [rsp + 0x38]
call fcn.1400524a0
lea r9, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae r9, qword [rsp + 0x58]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rbx
lea r8, [0x14022abc8]
lea rdx, [0x14022abf8]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rcx, [rsp + 0x58]
call fcn.1400524a0
nop
lea rcx, [rsp + 0x78]
call fcn.1400524a0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14016ee40
add rsp, 0xa0
pop rbx
ret

Function at 0x1401544c0
Capabilities:
Check for time delay via gettickcount
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 0x28
call fcn.14015b0d0
mov rcx, rax
call fcn.14015c730
call fcn.14015b0d0
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x48]
call fcn.14015b0d0
mov rcx, rax
add rsp, 0x28
jmp fcn.14015f840
Function at 0x14015ff10
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbp
lea rbp, [rsp - 0x1310]
mov eax, 0x1410
call fcn.140170820
sub rsp, rax
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x1420], rbx
mov rax, qword [0x1402bb010]
xor rax, rsp
mov qword [rbp + 0x1300], rax
mov byte [rsp + 0x30], 0
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.140057dc0
nop
call qword [0x1401a93f0]
mov dword [rbp + 0x12f4], 0xffffffff
mov dword [rsp + 0x74], eax
mov r8d, 1
mov edx, r8d
nop dword [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, r8d
mov dword [rsp + rdx*4 + 0x74], eax
inc r8d
inc rdx
cmp rdx, 0x270
jl 0x14015ff80
mov dword [rsp + 0x70], 0x270
lea rcx, [rsp + 0x70]
call fcn.1400740c0
btr eax, 0x1f
mov ebx, eax
call fcn.14008a0f0
mov dword [rax + 0x18c], ebx
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80025
mov edx, 0x80000
lea r9d, [rdx + 0x51]
mov r8d, 0xc0000
lea rcx, [rsp + 0x30]
call fcn.14011ac70
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov byte [rsp + 0x50], 5
mov qword [rsp + 0x58], rbx
lea rdx, str.qrSeqNum
lea rcx, [rsp + 0x30]
call fcn.140059640
nop
movzx edx, byte [rax]
movzx ecx, byte [rsp + 0x50]
mov byte [rax], cl
mov byte [rsp + 0x50], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x58]
mov qword [rax + 8], rdx
mov qword [rsp + 0x58], rcx
movzx edx, byte [rsp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.140055ff0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov byte [rsp + 0x50], 6
mov eax, eax
mov qword [rsp + 0x58], rax
lea rdx, str.uiProcessId
lea rcx, [rsp + 0x30]
call fcn.140059640
nop
movzx edx, byte [rax]
movzx ecx, byte [rsp + 0x50]
mov byte [rax], cl
mov byte [rsp + 0x50], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x58]
mov qword [rax + 8], rdx
mov qword [rsp + 0x58], rcx
movzx edx, byte [rsp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.140055ff0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.140052230
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rdx, qword [rsp + 0x50]
lea rcx, [0x1402dd448]
cmp qword [0x1402dd460], 0x10
cmovae rcx, qword [0x1402dd448]
mov r9d, 0x30d40
mov r8, qword [0x1402f1c50]
call qword [0x1401a9e38]
lea rcx, [rsp + 0x50]
call fcn.140047920
nop
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140055ff0
mov rcx, qword [rbp + 0x1300]
xor rcx, rsp
call fcn.14016ee40
mov rbx, qword [rsp + 0x1420]
add rsp, 0x1410
pop rbp
ret
Function at 0x140169b50
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0xc0
mov qword [r11 - 0x80], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov rax, qword [0x1402bb010]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rbx, rdx
mov rdx, rcx
lea rcx, [r11 - 0x38]
call qword [0x1401a9808]
nop
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x50]
call fcn.140169740
nop
cmp qword [rsp + 0x60], 0
jne 0x140169bb3
mov ebx, 1
jmp 0x140169c54
mov rdx, rbx
lea rcx, [rsp + 0x70]
call qword [0x1401a9810]
lea rcx, [rsp + 0x70]
cmp qword [rsp + 0x88], 8
cmovae rcx, qword [rsp + 0x70]
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
mov esi, 2
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140169c44
mov dword [rsp + 0x40], ebx
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rdx, qword [rsp + 0x50]
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x40]
mov r8d, dword [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
cmove ebx, esi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140169c49
mov ebx, 3
lea rcx, [rsp + 0x70]
call fcn.1400524a0
nop
lea rcx, [rsp + 0x50]
call fcn.140047920
nop
lea rcx, [rsp + 0x90]
call fcn.1400524a0
mov eax, ebx
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14016ee40
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140169ca0
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x1402bb010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdx, rcx
lea rcx, [rsp + 0x40]
call qword [0x1401a9808]
cmp qword [rax + 0x18], 8
jb 0x140169ccd
mov rax, qword [rax]
xor ecx, ecx
xor r9d, r9d
mov qword [rsp + 0x30], rcx
xor r8d, r8d
mov dword [rsp + 0x28], ecx
xor edx, edx
mov rcx, rax
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
lea rcx, [rsp + 0x40]
mov rbx, rax
call fcn.1400524a0
cmp rbx, 0xffffffffffffffff
jne 0x140169d22
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14016ee40
add rsp, 0x70
pop rbx
ret
xor edx, edx
mov qword [rsp + 0x88], rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
mov rcx, rbx
cmp eax, 0xffffffff
jne 0x140169d49
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x140169d51
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rdi, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14016ee40
add rsp, 0x70
pop rbx
ret
Function at 0x14016e3b0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
xor r10d, r10d
mov r11, rcx
test r8d, r8d
je 0x14016e490
cmp r8d, 0x40
jb 0x14016e46d
lea eax, [r8 - 1]
add rcx, rax
add rax, rdx
cmp r11, rax
ja 0x14016e3e5
cmp rcx, rdx
jae 0x14016e46d
mov r9d, r8d
mov qword [rsp], rbx
and r9d, 0xffffffc0
mov ebx, 0x20
nop word [rax + rax]
movdqu xmm0, xmmword [r10 + r11]
lea eax, [rbx - 0x10]
movdqu xmm1, xmmword [r10 + rdx]
pxor xmm1, xmm0
movdqu xmmword [r10 + r11], xmm1
add r10d, 0x40
movdqu xmm0, xmmword [rax + r11]
movdqu xmm1, xmmword [rax + rdx]
pxor xmm1, xmm0
movdqu xmmword [rax + r11], xmm1
mov eax, ebx
movdqu xmm0, xmmword [rax + r11]
movdqu xmm1, xmmword [rax + rdx]
pxor xmm1, xmm0
movdqu xmmword [rax + r11], xmm1
lea eax, [rbx + 0x10]
add ebx, 0x40
movdqu xmm0, xmmword [rax + r11]
movdqu xmm1, xmmword [rax + rdx]
pxor xmm1, xmm0
movdqu xmmword [rax + r11], xmm1
cmp r10d, r9d
jb 0x14016e400
mov rbx, qword [rsp]
cmp r10d, r8d
jae 0x14016e490
mov eax, r10d
sub rdx, r11
add rax, r11
sub r8d, r10d
nop
movzx ecx, byte [rdx + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub r8, 1
jne 0x14016e480
add rsp, 8
ret
Function at 0x180008e70
Capabilities:
Read file via mapping

Disassembly:
push rdi
push r14
sub rsp, 0xd8
mov rax, qword [0x180064138]
xor rax, rsp
mov qword [rsp + 0xb0], rax
xor eax, eax
xor edi, edi
mov qword [rdx], rax
mov r14, rdx
mov qword [rdx + 8], rax
test rcx, rcx
je 0x180008fe8
mov edx, 1
mov qword [rsp + 0x30], rdi
mov r8d, edx
mov dword [rsp + 0x28], 1
xor r9d, r9d
mov qword [rsp + 0xc8], rsi
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
test rax, rax
je 0x180008fde
cmp rax, 0xffffffffffffffff
je 0x180008fd5
mov qword [rsp + 0x28], rdi
lea r8d, [rdi + 2]
xor r9d, r9d
mov dword [rsp + 0x20], edi
xor edx, edx
mov qword [rsp + 0xd0], rbp
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rbp, rax
test rax, rax
je 0x180008fcd
xor r9d, r9d
mov qword [rsp + 0xc0], r15
xor r8d, r8d
mov qword [rsp + 0x20], rdi
lea edx, [rdi + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r15, rax
test rax, rax
je 0x180008fbc
lea r9d, [rdi + 2]
mov qword [rsp + 0x100], rbx
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
xor eax, eax
lea rcx, [rsp + 0x40]
mov qword [r14], rax
xor edx, edx
mov qword [r14 + 8], rax
mov edi, 1
call fcn.18000a900
mov r8d, ebx
lea rcx, [rsp + 0x40]
mov rdx, r15
call fcn.18000a940
lea rcx, [rsp + 0x40]
call fcn.18000a620
movups xmm0, xmmword [rsp + 0x98]
movups xmmword [r14], xmm0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rbx, qword [rsp + 0x100]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r15, qword [rsp + 0xc0]
mov rbp, qword [rsp + 0xd0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0xc8]
mov eax, edi
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.18001e0c0
add rsp, 0xd8
pop r14
pop rdi
ret

Function at 0x180009130
Capabilities:
Check if file exists
Copy file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, r8d
mov rbx, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x180009187
test esi, esi
jne 0x1800091c5
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1800091c5
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1800091c5
mov rdx, rbx
mov rcx, rdi
call fcn.180009090
test eax, eax
je 0x18000919c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
xor edx, edx
mov rcx, rbx
call fcn.180009690
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_CopyFileW]
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1800091e0
Capabilities:
Check if file exists
Delete file
Get common file path
Move file

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180009210
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x180009210
lea edx, [rax + 1]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.180009690
mov eax, 1
add rsp, 0x20
pop rbx
ret

Function at 0x180009320
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x30
mov edi, edx
lea rax, [rsp + 0x68]
mov rsi, rcx
mov qword [rsp + 0x20], rax
xor ebp, ebp
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360wpapp.exe
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x68], rbp
mov r9d, 0x201
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1800093c5
mov rcx, qword [rsp + 0x68]
lea eax, [rdi + rdi]
mov dword [rsp + 0x60], eax
xor r9d, r9d
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x28], rax
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x68]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
mov rbx, qword [rsp + 0x50]
jne 0x1800093c5
mov eax, dword [rsp + 0x60]
shr eax, 1
cmp eax, edi
jb 0x1800093b4
test edi, edi
je 0x1800093b8
lea eax, [rdi - 1]
mov word [rsi + rax*2], bp
mov eax, 1
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
xor eax, eax
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret

Function at 0x1800093d0
Capabilities:
Create directory
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r9d, 1
mov edi, edx
mov rbx, rcx
mov rdx, rcx
xor ecx, ecx
lea r8d, [r9 + 0x19]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x180009437
lea rdx, str.ldsLDSShellExt
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
test edi, edi
je 0x180009427
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x180009437
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret

Function at 0x180009500
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0xd8
mov rax, qword [0x180064138]
xor rax, rsp
mov qword [rsp + 0xc0], rax
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x80
call fcn.180027560
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x80
mov qword [rsp + 0x28], rax
lea r8, str.unistdate
lea rax, [rsp + 0x40]
xor r9d, r9d
lea rdx, str.Software360WallPaperEver
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.18001e0c0
add rsp, 0xd8
ret
Function at 0x180009590
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x260
mov rax, qword [0x180064138]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.180027560
lea rax, [rsp + 0x38]
xor edi, edi
mov r9d, 0x201
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x38], rdi
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360wpapp.exe
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180009675
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x270], rbx
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
mov dword [rsp + 0x30], 0x208
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
mov rbx, qword [rsp + 0x270]
jne 0x180009675
mov eax, dword [rsp + 0x30]
shr eax, 1
cmp eax, 0x104
jae 0x180009657
mov word [rsp + rax*2 + 0x40], di
jmp 0x18000965f
mov word [rsp + 0x246], di
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180009675
mov eax, 1
jmp 0x180009677
xor eax, eax
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.18001e0c0
add rsp, 0x260
pop rdi
ret

Function at 0x180009690
Capabilities:
Contain obfuscated stackstrings
Get common file path
Move file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x480
mov rax, qword [0x180064138]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov esi, edx
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x260]
mov r8d, 0x208
call fcn.180027560
lea rdx, [rsp + 0x260]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x208
call fcn.180027560
mov dword [rsp + 0x30], 0x730025
mov dword [rsp + 0x34], 0x6c005c
mov dword [rsp + 0x38], 0x730064
mov dword [rsp + 0x3c], 0x25002d
mov dword [rsp + 0x40], 0x2e0075
mov dword [rsp + 0x44], 0x6d0074
mov dword [rsp + 0x48], 0x70
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
call fcn.180029cfc
add ebx, eax
lea r9, [rsp + 0x260]
lea r8, [rsp + 0x30]
mov dword [rsp + 0x20], ebx
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.18000a3d0
mov r8d, 1
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x18000978a
xor edx, edx
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, 1
jmp 0x1800097a6
test esi, esi
je 0x1800097a4
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, 1
jmp 0x1800097a6
xor eax, eax
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.18001e0c0
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x18000d280
Capabilities:
Delete registry key

Disassembly:
push rbx
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
call fcn.180007b50
mov rcx, rax
test rax, rax
je 0x18000d368
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x60], rax
lea rdx, str.OnCommand_DeleteComputer
mov rbx, 0xffffffffffffffff
cmp rdx, 0x10000
jae 0x18000d2d5
movzx edx, dx
lea rcx, [rsp + 0x60]
call fcn.18000cc80
jmp 0x18000d2f8
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x18000d2e0
mov r8d, eax
lea rcx, [rsp + 0x60]
call fcn.18000fcf0
nop
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x28]
call fcn.18000b530
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x18000d324
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerMyComputerNameSpace444F92A9_9B07_4625_86B9_8824AB530054
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov ebx, eax
xor ecx, ecx
call fcn.180009290
mov r8d, ebx
lea rdx, str.delete_my_computer_key_08lx
lea rcx, [rsp + 0x28]
call fcn.18000b860
nop
lea rcx, [rsp + 0x28]
call fcn.18000b6c0
mov eax, ebx
add rsp, 0x50
pop rbx
ret
mov ecx, 0x80004005
call fcn.180008e40
int3
Function at 0x18000d380
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x2a0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rax, qword [0x180064138]
xor rax, rsp
mov qword [rsp + 0x290], rax
call fcn.180007b50
mov rcx, rax
test rax, rax
je 0x18000d5d3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rdx, str.OnCommand_Flush
mov rdi, 0xffffffffffffffff
cmp rdx, 0x10000
jae 0x18000d3f4
movzx edx, dx
lea rcx, [rsp + 0x40]
call fcn.18000cc80
jmp 0x18000d418
mov rax, rdi
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x18000d400
mov r8d, eax
lea rcx, [rsp + 0x40]
call fcn.18000fcf0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.18000b530
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x18000d446
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
call fcn.180009590
lea rcx, [0x180047e18]
lea rbx, [0x180047e28]
test eax, eax
cmovne rbx, rcx
mov rax, rdi
lea rax, [rax + 1]
cmp word [rbx + rax*2], 0
jne 0x18000d462
lea esi, [rax*2 + 2]
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
lea rdx, str.CLSID444F92A9_9B07_4625_86B9_8824AB530054
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x18000d4be
lea rdx, str.fail_open_reg_clsid
lea rcx, [rsp + 0x48]
call fcn.18000b860
jmp 0x18000d5a2
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x80]
call fcn.180027560
mov dword [rsp + 0x30], 0x208
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x18000d54c
cmp esi, dword [rsp + 0x30]
jne 0x18000d54c
mov r8d, esi
shr r8, 1
mov rdx, rbx
lea rcx, [rsp + 0x80]
call fcn.180033844
test eax, eax
jne 0x18000d54c
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.no_need_flush
lea rcx, [rsp + 0x48]
call fcn.18000b860
mov edi, 1
jmp 0x18000d5a2
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x48]
test ebx, ebx
je 0x18000d594
lea rdx, str.fail_set_value_clsid
call fcn.18000b860
mov edi, 0xfffffffe
jmp 0x18000d5a2
lea rdx, str.real_flush
call fcn.18000b860
xor edi, edi
lea rcx, [rsp + 0x48]
call fcn.18000b6c0
mov eax, edi
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.18001e0c0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
mov ecx, 0x80004005
call fcn.180008e40
int3