joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140051bd0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x600
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x630], rbx
mov rax, qword [0x14012a4f8]
xor rax, rsp
mov qword [rsp + 0x5f0], rax
mov esi, edx
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor ebp, ebp
mov dword [rsp + 0x30], ebp
mov word [rsp + 0x1d0], bp
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x1d2]
call fcn.1400ad2f0
lea r9d, [rbp + 1]
lea r8d, [rbp + 0x2e]
lea rdx, [rsp + 0x1d0]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov qword [rsp + 0x98], 7
mov qword [rsp + 0x90], rbp
mov word [rsp + 0x80], bp
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x1d0]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0x78]
call fcn.140025a70
nop
lea r8d, [rbp + 0x22]
lea rdx, str.BaiduCommonI18NIPCSUpdateCache
lea rcx, [rsp + 0x78]
call fcn.1400258f0
lea rcx, [rsp + 0xa0]
call fcn.140051620
nop
lea r8, [rsp + 0xa0]
lea rdx, [0x1400fc944]
lea rcx, [rsp + 0x50]
call fcn.140037b60
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.140025da0
nop
cmp qword [rsp + 0x70], 8
jb 0x140051cee
mov rcx, qword [rsp + 0x58]
call fcn.1400ad0b8
lea rcx, [rsp + 0x78]
call fcn.14004f040
lea rcx, [rsp + 0x38]
call fcn.1400b2cc4
mov word [rsp + 0x3e0], bp
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x3e2]
call fcn.1400ad2f0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
lea rcx, [rsp + 0x3e0]
call qword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
mov rdx, qword [rsp + 0x38]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], esi
mov r9d, edi
lea r8, str._d_d_0x
mov edx, 0x80
lea rcx, [rsp + 0xd0]
call fcn.1400ae9a8
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xd0]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x78]
call fcn.1400258f0
mov qword [rbx + 0x20], 7
mov qword [rbx + 0x18], rbp
mov word [rbx + 8], bp
mov dword [rsp + 0x30], 1
lea rdx, [rsp + 0x78]
mov rcx, rbx
call fcn.14004fc30
nop
cmp qword [rsp + 0xc0], 8
jb 0x140051dc7
mov rcx, qword [rsp + 0xa8]
call fcn.1400ad0b8
mov qword [rsp + 0xc0], 7
mov qword [rsp + 0xb8], rbp
mov word [rsp + 0xa8], bp
cmp qword [rsp + 0x98], 8
jb 0x140051e00
mov rcx, qword [rsp + 0x80]
call fcn.1400ad0b8
mov rax, rbx
jmp 0x140051e03
mov rax, rbx
mov rcx, qword [rsp + 0x5f0]
xor rcx, rsp
call fcn.1400ad2c0
mov rbx, qword [rsp + 0x630]
add rsp, 0x600
pop rdi
pop rsi
pop rbp
ret
Function at 0x140051e30
Capabilities:
Get common file path
Get startup folder

Disassembly:
push rdi
sub rsp, 0x260
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x278], rbx
mov rax, qword [0x14012a4f8]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rcx
mov qword [rsp + 0x30], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
mov word [rsp + 0x40], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x42]
call fcn.1400ad2f0
lea r9d, [rdi + 1]
lea r8d, [rdi + 0x2e]
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov qword [rbx + 0x20], 7
mov qword [rbx + 0x18], rdi
mov word [rbx + 8], di
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x40]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140025a70
mov dword [rsp + 0x20], 1
mov r8d, 0x22
lea rdx, str.BaiduCommonI18NIPCSUpdateCache
mov rcx, rbx
call fcn.1400258f0
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400ad2c0
mov rbx, qword [rsp + 0x278]
add rsp, 0x260
pop rdi
ret

Function at 0x140051f10
Capabilities:
Check mutex on windows

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x60
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov rax, qword [0x14012a4f8]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, rdx
mov rbx, rcx
mov qword [r11 - 0x20], 7
xor eax, eax
mov qword [r11 - 0x28], rax
mov word [rsp + 0x30], ax
lea r8d, [rax + 0x12]
lea rdx, str.GlobalMutex_Name_
lea rcx, [r11 - 0x40]
call fcn.140025a70
nop
cmp qword [rdi + 0x20], 8
jb 0x140051f6f
mov rcx, qword [rdi + 8]
jmp 0x140051f73
lea rcx, [rdi + 8]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov rdx, rax
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x28]
call fcn.1400258f0
lea r8, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae r8, qword [rsp + 0x30]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rbx], rax
test rax, rax
je 0x140051fe5
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140051fe5
cmp qword [rsp + 0x48], 8
jb 0x140051fde
mov rcx, qword [rsp + 0x30]
call fcn.1400ad0b8
mov eax, 1
jmp 0x140051ff9
cmp qword [rsp + 0x48], 8
jb 0x140051ff7
mov rcx, qword [rsp + 0x30]
call fcn.1400ad0b8
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400ad2c0
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x140069b50
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x14012a4f8]
xor rax, rsp
mov qword [rsp + 0x10], rax
mov eax, edx
mov r11d, edx
mov rbx, rcx
and eax, 0xfffffff0
mov byte [rsp], 0x54
mov byte [rsp + 1], 0x5a
mov byte [rsp + 2], 0x8f
mov byte [rsp + 3], 0x6a
mov byte [rsp + 4], 0xa
mov byte [rsp + 5], 0x7c
mov byte [rsp + 6], 0x4e
mov byte [rsp + 7], 0x72
mov byte [rsp + 8], 0xa8
mov byte [rsp + 9], 0x1b
mov byte [rsp + 0xa], 0xa
mov byte [rsp + 0xb], 0xed
mov byte [rsp + 0xc], 0x20
mov byte [rsp + 0xd], 0x43
mov byte [rsp + 0xe], 0x76
mov byte [rsp + 0xf], 0xc5
mov r10d, 0
jbe 0x140069c20
inc rcx
dec eax
shr eax, 4
inc eax
mov r10d, eax
mov r9d, eax
shl r10d, 4
nop dword [rax + rax]
lea rdx, [rsp + 1]
mov r8d, 4
nop dword [rax + rax]
movzx eax, byte [rdx - 1]
add rcx, 4
add rdx, 4
xor byte [rcx - 5], al
movzx eax, byte [rdx - 4]
xor byte [rcx - 4], al
movzx eax, byte [rdx - 3]
xor byte [rcx - 3], al
movzx eax, byte [rdx - 2]
xor byte [rcx - 2], al
sub r8, 1
jne 0x140069bf0
sub r9, 1
jne 0x140069be0
movsxd rax, r10d
cmp r10d, r11d
jae 0x140069c52
sub r11d, r10d
lea rcx, [rax + rbx]
lea rdx, [rsp]
mov r8d, r11d
nop word [rax + rax]
movzx eax, byte [rdx]
inc rcx
inc rdx
xor byte [rcx - 1], al
sub r8, 1
jne 0x140069c40
mov rcx, qword [rsp + 0x10]
xor rcx, rsp
call fcn.1400ad2c0
add rsp, 0x20
pop rbx
ret
Function at 0x140073d80
Capabilities:
Create process on windows

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov rdi, rcx
lea rbx, [rcx + 0x50]
mov qword [rsp + 0x50], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
cmp dword [0x140131218], 0
je 0x140073dce
call fcn.14004e530
mov rcx, rax
lea r8, str.statistics::UploadOutProc::RegisterToServer
lea rdx, [0x1400fccb8]
call fcn.14004de70
cmp dword [rdi + 0x40], 0
je 0x140073de7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
jmp 0x140073ea7
mov rcx, rdi
call fcn.140073f60
test eax, eax
je 0x140073e0d
mov dword [rdi + 0x40], 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
jmp 0x140073ea7
cmp qword [rdi + 0x38], 8
jb 0x140073e1a
mov r8, qword [rdi + 0x20]
jmp 0x140073e1e
lea r8, [rdi + 0x20]
xor eax, eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jbe 0x140073e63
mov rcx, rdi
call fcn.140073f60
test eax, eax
je 0x140073e9c
mov dword [rdi + 0x40], 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
jmp 0x140073ea7
cmp dword [0x140131218], 0
je 0x140073e9c
cmp qword [rdi + 0x38], 8
jb 0x140073e79
mov rdi, qword [rdi + 0x20]
jmp 0x140073e7d
add rdi, 0x20
call fcn.14004e530
mov rcx, rax
mov r9, rdi
lea r8, str.statistics::UploadOutProc::RegisterToServer
lea rdx, str._s__error_start__s
call fcn.14004de70
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x1400740d0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x2e0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x318], rbx
mov rax, qword [0x14012a4f8]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
mov rdi, r8
mov qword [rsp + 0x20], r8
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x78], 7
xor eax, eax
mov qword [rsp + 0x70], rax
mov word [rsp + 0x60], ax
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.140025740
nop
mov r8d, 4
lea rdx, str..
lea rcx, [rsp + 0x58]
call fcn.1400258f0
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rcx, qword [rsp + 0x60]
lea rdx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x14007426c
nop dword [rax]
cmp word [rsp + 0xac], 0x2e
je 0x140074253
mov qword [rsp + 0x50], 7
xor eax, eax
mov qword [rsp + 0x48], rax
mov word [rsp + 0x38], ax
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140025740
nop
mov r8d, 1
lea rdx, [0x1400fc944]
lea rcx, [rsp + 0x30]
call fcn.1400258f0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xac]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0xac]
lea rcx, [rsp + 0x30]
call fcn.1400258f0
test byte [rsp + 0x80], 0x10
je 0x140074216
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rsi
call fcn.1400740d0
jmp 0x140074235
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1400742c0
test eax, eax
je 0x140074235
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140039eb0
nop
cmp qword [rsp + 0x50], 8
jb 0x14007424e
mov rcx, qword [rsp + 0x38]
call fcn.1400ad0b8
mov rdi, qword [rsp + 0x20]
jmp 0x140074253
mov rdi, qword [rsp + 0x20]
lea rdx, [rsp + 0x80]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140074180
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
cmp qword [rsp + 0x78], 8
jb 0x14007428f
mov rcx, qword [rsp + 0x60]
call fcn.1400ad0b8
mov eax, 1
jmp 0x140074294
mov eax, 1
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.1400ad2c0
mov rbx, qword [rsp + 0x318]
add rsp, 0x2e0
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400742c0
Capabilities:
Delete file

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0xb0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov rax, qword [0x14012a4f8]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rbx, rdx
mov qword [r11 - 0x40], 0xf
xor edi, edi
mov qword [r11 - 0x48], rdi
mov byte [rsp + 0x60], dil
lea rdx, [r11 - 0x60]
mov rcx, rbx
call fcn.14004f380
cmp eax, 2
je 0x140074347
cmp eax, 3
jne 0x14007432e
cmp qword [rbx + 0x20], 8
jb 0x140074323
mov rcx, qword [rbx + 8]
jmp 0x140074327
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
cmp qword [rsp + 0x78], 0x10
jb 0x140074340
mov rcx, qword [rsp + 0x60]
call fcn.1400ad0b8
xor eax, eax
jmp 0x14007454f
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x140074523
cmp rax, 0xa00000
ja 0x140074523
mov r9d, 0xe
xor r8d, r8d
lea rdx, str.1E385666583E1
lea rcx, [rsp + 0x58]
call fcn.140072ed0
cmp rax, 0xffffffffffffffff
je 0x14007450d
mov r9, rax
xor r8d, r8d
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.140031780
nop
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.140069c70
lea r11, [rsp + 0x38]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x50]
cmp rcx, 0x10
cmovae r11, rdx
cmp byte [r11], 0x68
jne 0x1400744d3
mov r8, qword [rsp + 0x48]
cmp r8, 1
jae 0x1400743f5
call fcn.1400aedac
mov rcx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x38]
lea rax, [rsp + 0x38]
cmp rcx, 0x10
cmovae rax, rdx
cmp byte [rax + 1], 0x74
jne 0x1400744d3
cmp r8, 2
jae 0x140074426
call fcn.1400aedac
mov rcx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x38]
lea rax, [rsp + 0x38]
cmp rcx, 0x10
cmovae rax, rdx
cmp byte [rax + 2], 0x74
jne 0x1400744d3
cmp r8, 3
jae 0x140074452
call fcn.1400aedac
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x38]
lea rax, [rsp + 0x38]
cmp rcx, 0x10
cmovae rax, rdx
cmp byte [rax + 3], 0x70
jne 0x1400744d3
cmp rcx, 0x10
jb 0x140074473
mov rcx, rdx
call fcn.1400ad0b8
mov qword [rsp + 0x50], 0xf
mov qword [rsp + 0x48], rdi
mov byte [rsp + 0x38], 0
cmp qword [rsp + 0xa0], 0x10
jb 0x14007449e
mov rcx, qword [rsp + 0x88]
call fcn.1400ad0b8
mov qword [rsp + 0xa0], 0xf
mov qword [rsp + 0x98], rdi
mov byte [rsp + 0x88], 0
cmp qword [rsp + 0x78], 0x10
jb 0x1400744cc
mov rcx, qword [rsp + 0x60]
call fcn.1400ad0b8
mov eax, 1
jmp 0x14007454f
cmp rcx, 0x10
jb 0x1400744e1
mov rcx, rdx
call fcn.1400ad0b8
mov qword [rsp + 0x50], 0xf
mov qword [rsp + 0x48], rdi
mov byte [rsp + 0x38], 0
cmp qword [rsp + 0xa0], 0x10
jb 0x14007450d
mov rcx, qword [rsp + 0x88]
call fcn.1400ad0b8
nop
cmp qword [rsp + 0x78], 0x10
jb 0x14007451f
mov rcx, qword [rsp + 0x60]
call fcn.1400ad0b8
xor eax, eax
jmp 0x14007454f
cmp qword [rbx + 0x20], 8
jb 0x140074530
mov rcx, qword [rbx + 8]
jmp 0x140074534
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
cmp qword [rsp + 0x78], 0x10
jb 0x14007454d
mov rcx, qword [rsp + 0x60]
call fcn.1400ad0b8
xor eax, eax
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1400ad2c0
mov rbx, qword [rsp + 0xc0]
add rsp, 0xb0
pop rdi
ret
Function at 0x140075440
Capabilities:
Read pipe
Write pipe

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rbx, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x40], eax
xor eax, eax
lea r9, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x80], eax
lea rax, [rsp + 0x80]
lea rdx, [rsp + 0x40]
mov r8d, 0x10
mov qword [rsp + 0x28], rax
mov rcx, rbx
mov dword [rsp + 0x20], 0x10
call qword [sym.imp.KERNEL32.dll_TransactNamedPipe]
test eax, eax
jne 0x1400754aa
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
mov r8d, dword [rsp + 0x50]
xor edx, edx
mov ecx, 0x10000000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, qword [rsp + 0x70]
mov qword [rdi], rax
mov rax, qword [rsp + 0x58]
mov qword [rdi + 8], rax
mov eax, 1
add rsp, 0x60
pop rdi
ret
Function at 0x1400763e0
Capabilities:
Check if file exists

Disassembly:
push rsi
sub rsp, 0x250
mov rax, qword [0x14012a4f8]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rax, str.weather.exe
mov rsi, rcx
mov qword [rsp + 0x20], rax
lea rax, str.WeatherEntryDll.dll
mov qword [rsp + 0x28], rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400764b2
mov qword [rsp + 0x268], rbx
mov qword [rsp + 0x270], rdi
xor edi, edi
mov rbx, rdi
nop dword [rax]
lea rcx, [rsp + 0x32]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x30], di
call fcn.1400ad2f0
mov r8, qword [rsp + rbx*8 + 0x20]
lea rcx, [rsp + 0x30]
mov rdx, rsi
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14007649d
inc rbx
cmp rbx, 2
jb 0x140076440
lea rdx, str.WeatherTool
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
setne dil
mov eax, edi
jmp 0x1400764a2
mov eax, 1
mov rbx, qword [rsp + 0x268]
mov rdi, qword [rsp + 0x270]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400ad2c0
add rsp, 0x250
pop rsi
ret

Function at 0x140076680
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x260
mov rax, qword [0x14012a4f8]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rdx
xor eax, eax
lea rcx, [rsp + 0x42]
xor edx, edx
mov r8d, 0x206
mov dword [rsp + 0x30], 0x104
mov word [rsp + 0x40], ax
call fcn.1400ad2f0
lea r8, [0x1400f9500]
lea rdx, str.softwareWeatherTool
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
lea r11, [rsp + 0x38]
lea rdx, [rsp + 0x40]
mov r9d, 0x20119
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140076728
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea rdx, str.PartnerID
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400ad2c0
add rsp, 0x260
pop rbx
ret
Function at 0x140076780
Capabilities:
Encode data using base64

Disassembly:
push rbx
lea r10d, [rdx + 2]
mov eax, 0xaaaaaaab
mov r11d, edx
mov ebx, r9d
mov r9, rcx
mul r10d
mov rax, qword [rsp + 0x30]
mov r10d, edx
shr r10d, 1
shl r10d, 2
test rax, rax
je 0x1400767ae
mov dword [rax], r10d
cmp ebx, r10d
jae 0x1400767ba
mov eax, 0xfffffffe
pop rbx
ret
mov qword [rsp + 0x10], rdi
lea rdi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789____________________________________________________________________________________________________________________________________________
cmp r11d, 3
jb 0x140076855
mov eax, 0xaaaaaaab
mul r11d
shr edx, 1
nop word [rax + rax]
movzx eax, byte [r9]
add r8, 4
add r9, 3
shr rax, 2
add r11d, 0xfffffffd
movzx eax, byte [rax + rdi]
mov byte [r8 - 4], al
movzx eax, byte [r9 - 3]
and eax, 3
shl eax, 4
movsxd rcx, eax
movzx eax, byte [r9 - 2]
shr eax, 4
or rcx, rax
movzx eax, byte [rcx + rdi]
mov byte [r8 - 3], al
movzx eax, byte [r9 - 2]
and eax, 0xf
shl eax, 2
movsxd rcx, eax
movzx eax, byte [r9 - 1]
shr rax, 6
or rcx, rax
movzx eax, byte [rcx + rdi]
mov byte [r8 - 2], al
movzx eax, byte [r9 - 1]
and eax, 0x3f
sub rdx, 1
movzx eax, byte [rax + rdi]
mov byte [r8 - 1], al
jne 0x1400767e0
test r11d, r11d
je 0x1400768b6
movzx eax, byte [r9]
shr rax, 2
movzx eax, byte [rax + rdi]
mov byte [r8], al
movzx ecx, byte [r9]
and cl, 3
shl cl, 4
cmp r11d, 1
jbe 0x140076883
movzx eax, byte [r9 + 1]
shr al, 4
or cl, al
movzx eax, cl
movzx eax, byte [rax + rdi]
mov byte [r8 + 1], al
cmp r11d, 2
jae 0x140076898
mov al, 0x3d
jmp 0x1400768a9
movzx eax, byte [r9 + 1]
and eax, 0xf
shl eax, 2
cdqe
movzx eax, byte [rax + rdi]
mov byte [r8 + 2], al
mov byte [r8 + 3], 0x3d
add r8, 4
mov rdi, qword [rsp + 0x10]
cmp r10d, ebx
jae 0x1400768c4
mov byte [r8], 0
xor eax, eax
pop rbx
ret
Function at 0x140076a70
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x14012a4f8]
xor rax, rsp
mov qword [rsp + 0x10], rax
mov eax, edx
mov r11d, edx
mov rbx, rcx
and eax, 0xfffffff0
mov byte [rsp], 0x53
mov byte [rsp + 1], 0x39
mov byte [rsp + 2], 0x73
mov byte [rsp + 3], 0x83
mov byte [rsp + 4], 0x39
mov byte [rsp + 5], 0x45
mov byte [rsp + 6], 0x25
mov byte [rsp + 7], 0x86
mov byte [rsp + 8], 1
mov byte [rsp + 9], 0x94
mov byte [rsp + 0xa], 0x55
mov byte [rsp + 0xb], 0x17
mov byte [rsp + 0xc], 0x49
mov byte [rsp + 0xd], 0x48
mov byte [rsp + 0xe], 0x28
mov byte [rsp + 0xf], 0x97
mov r10d, 0
jbe 0x140076b40
inc rcx
dec eax
shr eax, 4
inc eax
mov r10d, eax
mov r9d, eax
shl r10d, 4
nop dword [rax + rax]
lea rdx, [rsp + 1]
mov r8d, 4
nop dword [rax + rax]
movzx eax, byte [rdx - 1]
add rcx, 4
add rdx, 4
xor byte [rcx - 5], al
movzx eax, byte [rdx - 4]
xor byte [rcx - 4], al
movzx eax, byte [rdx - 3]
xor byte [rcx - 3], al
movzx eax, byte [rdx - 2]
xor byte [rcx - 2], al
sub r8, 1
jne 0x140076b10
sub r9, 1
jne 0x140076b00
movsxd rax, r10d
cmp r10d, r11d
jae 0x140076b72
sub r11d, r10d
lea rcx, [rax + rbx]
lea rdx, [rsp]
mov r8d, r11d
nop word [rax + rax]
movzx eax, byte [rdx]
inc rcx
inc rdx
xor byte [rcx - 1], al
sub r8, 1
jne 0x140076b60
mov rcx, qword [rsp + 0x10]
xor rcx, rsp
call fcn.1400ad2c0
add rsp, 0x20
pop rbx
ret

Function at 0x140077040
Capabilities:
Get process image filename

Disassembly:
push rbx
push rsi
push r12
push r13
sub rsp, 0x288
mov rax, qword [0x14012a4f8]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r12, r8
mov rsi, rdx
call fcn.140076f50
lea rcx, [rsp + 0x62]
xor r13d, r13d
xor edx, edx
mov r8d, 0x206
mov ebx, eax
mov word [rsp + 0x60], r13w
call fcn.1400ad2f0
cmp ebx, 0xffffffff
je 0x14007719f
mov qword [rsp + 0x2c8], rbp
mov qword [rsp + 0x280], rdi
nop word [rax + rax]
mov r8d, ebx
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x14007718f
lea rdx, [rsp + 0x60]
mov r8d, 0x104
mov rcx, rax
call sub.PSAPI.DLL_GetProcessImageFileNameW
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
cmp rcx, 1
je 0x14007710f
lea r8, [0x1400fe2fc]
mov rdx, r12
mov rcx, rsi
call fcn.1400ae0f0
lea r8, [rsp + 0x60]
mov rdx, r12
mov rcx, rsi
call fcn.1400ae0f0
lea rcx, str.ntdll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbp, rax
test rax, rax
je 0x14007718f
mov r8d, ebx
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x14007718f
lea r8, [rsp + 0x30]
mov r9d, 0x30
xor edx, edx
mov rcx, rax
mov qword [rsp + 0x20], r13
call rbp
or ebx, 0xffffffff
mov rcx, rdi
test eax, eax
cmove ebx, dword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 0xffffffff
jne 0x1400770b0
mov rbp, qword [rsp + 0x2c8]
mov rdi, qword [rsp + 0x280]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400ad2c0
add rsp, 0x288
pop r13
pop r12
pop rsi
pop rbx
ret
Function at 0x1400775b0
Capabilities:
Get token membership

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x14012a4f8]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor ebx, ebx
lea rax, [rsp + 0x68]
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
lea r8d, [rbx + 0x20]
mov r9d, 0x220
mov dl, 2
mov dword [rsp + 0x28], ebx
mov byte [rsp + 0x70], 0
mov byte [rsp + 0x71], 0
mov byte [rsp + 0x72], 0
mov dword [rsp + 0x20], ebx
mov byte [rsp + 0x73], 0
mov byte [rsp + 0x74], 0
mov byte [rsp + 0x75], 5
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rsp + 0x60], eax
test eax, eax
je 0x140077657
mov rdx, qword [rsp + 0x68]
lea r8, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov ecx, dword [rsp + 0x60]
test eax, eax
cmove ecx, ebx
mov dword [rsp + 0x60], ecx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400ad2c0
add rsp, 0x80
pop rbx
ret

Function at 0x1400777d0
Capabilities:
Create process on windows
Self delete
Terminate process

Disassembly:
push rbx
sub rsp, 0x520
mov rax, qword [0x14012a4f8]
xor rax, rsp
mov qword [rsp + 0x510], rax
mov ebx, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0x100
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edx, 0xf
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
lea rdx, [rsp + 0x30]
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor r9d, r9d
lea r8, [rsp + 0x30]
lea edx, [r9 + 5]
lea ecx, [rdx - 1]
call qword [sym.imp.SHELL32.dll_SHChangeNotify]
lea r9, [rsp + 0x30]
lea r8, str._c_del__q___s_
lea rcx, [rsp + 0x240]
mov edx, 0x168
call fcn.1400ae9a8
xor r11d, r11d
lea r9, [rsp + 0x240]
mov dword [rsp + 0x28], r11d
lea r8, str.cmd.exe
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], r11
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_ExitProcess]