joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140008f88
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x378]
sub rsp, 0x478
xor ebx, ebx
mov qword [rbp + 0x3c8], rbx
mov dword [rbp + 0x3b0], ebx
mov dword [rbp + 0x3b8], ebx
call fcn.140010d6c
test al, al
je 0x140008fcf
lea rcx, str.dismcore.dll
call fcn.140005f58
jmp 0x14000917a
mov rax, qword [0x14002e920]
lea rcx, str.MSCOREE.DLL
lea r14, [0x140025f88]
mov r9d, 0x2000000
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionKnownFunctionTableDlls
cmp dword [rax + 0x5c], 0x2580
lea rax, [rbp + 0x3c8]
mov qword [rsp + 0x20], rax
cmovae r14, rcx
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140009178
mov rcx, qword [rbp + 0x3c8]
lea rax, [rbp + 0x3b8]
mov qword [rsp + 0x58], rbx
xor r9d, r9d
mov qword [rsp + 0x50], rbx
xor r8d, r8d
mov qword [rsp + 0x48], rbx
xor edx, edx
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x3b0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x140009178
cmp dword [rbp + 0x3b0], ebx
je 0x140009178
mov eax, dword [rbp + 0x3b8]
dec eax
cmp eax, 0x103
ja 0x140009178
mov esi, ebx
cmp dword [rbp + 0x3b0], ebx
jbe 0x140009173
mov r15d, 0x5c
mov qword [rsp + 0x38], rbx
lea rdi, [rsp + 0x60]
xor eax, eax
mov qword [rsp + 0x30], rbx
mov ecx, 0x410
mov qword [rsp + 0x28], rbx
rep stosb byte [rdi], al
mov rcx, qword [rbp + 0x3c8]
lea r9, [rbp + 0x3c0]
lea r8, [rsp + 0x60]
mov dword [rbp + 0x3c0], 0x104
mov edx, esi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.1400016e0
test rax, rax
je 0x140009173
jmp 0x140009107
add rax, 2
cmp word [rax], bx
jne 0x140009103
cmp word [rax - 2], r15w
je 0x14000913f
jmp 0x140009119
add rax, 2
cmp word [rax], bx
jne 0x140009115
lea rdx, [0x1400253f4]
movzx ecx, r15w
sub rdx, rax
mov word [rax], cx
lea rax, [rax + 2]
movzx ecx, word [rdx + rax]
test cx, cx
jne 0x14000912c
mov word [rax], bx
mov rdx, r14
lea rcx, [rsp + 0x60]
call fcn.14000174c
lea rcx, [rsp + 0x60]
call fcn.14000aed0
test eax, eax
je 0x140009165
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
inc esi
cmp esi, dword [rbp + 0x3b0]
jb 0x1400090a6
mov ebx, 1
mov eax, ebx
add rsp, 0x478
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14000b25c
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x330]
sub rsp, 0x430
mov r10d, ecx
cmp ecx, 0x14
jg 0x14000b3a2
je 0x14000b351
cmp ecx, 0xc
jg 0x14000b316
je 0x14000b32e
sub ecx, 1
je 0x14000b32e
sub ecx, 1
je 0x14000b32e
sub ecx, 1
je 0x14000b2cd
sub ecx, 5
je 0x14000b32e
cmp ecx, 1
jne 0x14000b52d
lea rcx, str.Hibiki.dll
call fcn.140005f58
jmp 0x14000b52d
mov rdx, qword [0x14002e920]
lea rcx, [rsp + 0x20]
add rdx, 0x276
call fcn.1400017f8
lea rdx, str.oobe_
lea rcx, [rsp + 0x20]
call fcn.14000174c
lea rdx, str.wdscore.dll
lea rcx, [rsp + 0x20]
call fcn.14000174c
lea rcx, [rsp + 0x20]
call fcn.14000aed0
jmp 0x14000b52d
sub ecx, 0xd
je 0x14000b351
sub ecx, 1
je 0x14000b347
sub ecx, 1
je 0x14000b33b
cmp ecx, 2
jne 0x14000b52d
mov ecx, r10d
call fcn.14000c7b8
jmp 0x14000b52d
lea rcx, str.ntwdblib.dll
jmp 0x14000b2c3
call fcn.1400067e8
jmp 0x14000b52d
mov rdx, qword [0x14002e920]
lea rcx, [rsp + 0x20]
add rdx, 0x276
call fcn.1400017f8
cmp r10d, 0xd
je 0x14000b396
cmp r10d, 0x14
jne 0x14000b52d
lea rdx, str.wbem_
lea rcx, [rsp + 0x20]
call fcn.14000174c
lea rdx, str.wbemcomn.dll
jmp 0x14000b2fd
lea rdx, str.elsext.dll
jmp 0x14000b2fd
cmp r10d, 0x25
jg 0x14000b43a
je 0x14000b405
sub r10d, 0x15
je 0x14000b3f9
sub r10d, 1
je 0x14000b3f2
sub r10d, 1
je 0x14000b3e6
sub r10d, 7
je 0x14000b3da
cmp r10d, 6
jne 0x14000b52d
call fcn.140008f88
jmp 0x14000b52d
lea rcx, str.wow64log.dll
jmp 0x14000b2c3
lea rcx, str.dismcore.dll
jmp 0x14000b2c3
mov ecx, 1
jmp 0x14000b3fb
xor ecx, ecx
call fcn.140008544
jmp 0x14000b52d
mov rdx, qword [0x14002e920]
lea rcx, [rsp + 0x20]
add rdx, 0x276
call fcn.1400017f8
lea rdx, str.dccw.exe
lea rcx, [rsp + 0x20]
call fcn.14000174c
lea rdx, str..local
jmp 0x14000b2fd
sub ecx, 0x26
je 0x14000b4b6
sub ecx, 0xb
je 0x14000b499
sub ecx, 8
je 0x14000b32e
cmp ecx, 1
jne 0x14000b52d
mov rdx, qword [0x14002e920]
lea rcx, [rsp + 0x20]
add rdx, 0x480
call fcn.1400017f8
lea rdx, str.DNeruK
lea rcx, [rsp + 0x20]
call fcn.14000174c
lea rdx, str._system32_
lea rcx, [rsp + 0x20]
call fcn.14000174c
lea rdx, str.Clipup.exe
jmp 0x14000b518
mov rdx, qword [0x14002e920]
lea rcx, [rsp + 0x20]
add rdx, 0x276
call fcn.1400017f8
jmp 0x14000b379
mov rdx, qword [0x14002e920]
lea rcx, [rsp + 0x20]
add rdx, 0x480
call fcn.1400017f8
xor edi, edi
lea rbx, [rsp + 0x20]
cmp word [rsp + 0x20], di
je 0x14000b4e5
add rbx, 2
cmp word [rbx], di
jne 0x14000b4dc
lea rax, [rsp + 0x20]
sub rbx, rax
lea rdx, str.kmkze.msc
lea rcx, [rsp + 0x20]
sar rbx, 1
call fcn.14000174c
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, str.Fubuki.exe
mov word [rsp + rbx*2 + 0x20], di
lea rcx, [rsp + 0x20]
call fcn.14000174c
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea r11, [rsp + 0x430]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x14000dedc
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x440
xor ebx, ebx
xor eax, eax
mov rsi, rcx
test rcx, rcx
je 0x14000e002
lea rdi, [rsp + 0x30]
mov ecx, 0x410
rep stosb byte [rdi], al
mov rdi, qword [0x14002e920]
lea rcx, [rsp + 0x30]
lea rdx, [rdi + 0x480]
call fcn.1400017f8
lea rdx, str.update.msu
lea rcx, [rsp + 0x30]
call fcn.14000174c
mov rax, rsi
cmp word [rsi], bx
je 0x14000df44
add rax, 2
cmp word [rax], bx
jne 0x14000df3b
sub rax, rsi
lea rdx, [rsp + 0x30]
sar rax, 1
cmp word [rsp + 0x30], bx
je 0x14000df5f
add rdx, 2
cmp word [rdx], bx
jne 0x14000df56
lea rcx, [rsp + 0x30]
sub rdx, rcx
mov rcx, qword [rdi + 0x10]
sar rdx, 1
lea r8, [rdx + rax]
mov edx, 8
lea r8, [r8*2 + 0x20a]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rdi, rax
test rax, rax
je 0x14000dff5
lea rdx, str._c_wusa
mov rcx, rax
call fcn.1400017f8
lea rdx, [rsp + 0x30]
call fcn.14000174c
lea rdx, str.__extract:
mov rcx, rdi
call fcn.14000174c
mov rdx, rsi
mov rcx, rdi
call fcn.14000174c
mov rdx, rdi
mov dword [rsp + 0x20], 1
lea rcx, str.cmd.exe
mov r9d, 5
call fcn.14000ed8c
mov rcx, qword [0x14002e920]
mov r8, rdi
xor edx, edx
mov ebx, eax
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, ebx
lea r11, [rsp + 0x440]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x14000e018
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x430
xor ebx, ebx
mov rbp, r9
mov rsi, rcx
test rdx, rdx
je 0x14000e0d9
test r8d, r8d
je 0x14000e0d9
test rcx, rcx
je 0x14000e0d9
call fcn.14000ea58
test eax, eax
je 0x14000e0cc
mov rdx, qword [0x14002e920]
lea rdi, [rsp + 0x20]
xor eax, eax
mov ecx, 0x410
rep stosb byte [rdi], al
lea rcx, [rsp + 0x20]
add rdx, 0x480
call fcn.1400017f8
lea rdx, str.update.msu
lea rcx, [rsp + 0x20]
call fcn.14000174c
lea rcx, [rsp + 0x20]
call fcn.140002ab0
mov rdi, rax
test rax, rax
je 0x14000e0cc
test rbp, rbp
jne 0x14000e0b4
mov rcx, rsi
call fcn.1400016ac
mov rbp, rax
mov r8, rbp
mov rdx, rsi
mov rcx, rdi
call fcn.140002c20
mov rcx, rdi
mov ebx, eax
call fcn.140002d34
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, ebx
jmp 0x14000e0db
xor eax, eax
lea r11, [rsp + 0x430]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x14000e0f4
Capabilities:
Delete file

Disassembly:
push rdi
sub rsp, 0x430
mov rdx, qword [0x14002e920]
lea rdi, [rsp + 0x20]
xor eax, eax
mov ecx, 0x410
rep stosb byte [rdi], al
lea rcx, [rsp + 0x20]
add rdx, 0x480
call fcn.1400017f8
lea rdx, str.update.msu
lea rcx, [rsp + 0x20]
call fcn.14000174c
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
add rsp, 0x430
pop rdi
ret
Function at 0x14000e7ec
Capabilities:
Create thread
Terminate thread

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x30
lea rax, [r11 + 0x10]
mov r9, rcx
mov qword [r11 - 0x10], rax
lea r8, [0x14000e274]
xor ebx, ebx
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x14000e8a2
lea rax, [rsp + 0x48]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea r8, [0x14000e148]
xor edx, edx
mov dword [rsp + 0x20], ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rsi, rax
test rax, rax
je 0x14000e879
mov edx, 0x3a98
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x14000e870
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x2710
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x14000e899
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x14002e468]
cmp ecx, 1
mov rsi, qword [rsp + 0x50]
sete bl
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x14000ea58
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x40
xor ebx, ebx
mov edi, r8d
mov dword [rax + 0x10], ebx
mov rsi, rdx
test rdx, rdx
je 0x14000ead6
test r8d, r8d
je 0x14000ead6
mov qword [rax - 0x18], rbx
xor r9d, r9d
mov dword [rax - 0x20], ebx
xor r8d, r8d
mov edx, 0x40000000
mov dword [rax - 0x28], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x14000ead6
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], rbx
mov r8d, edi
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x58], edi
sete bl
mov eax, ebx
jmp 0x14000ead8
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret

Function at 0x14000eaf0
Capabilities:
Delete registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], r8
push rdi
sub rsp, 0x30
lea rax, [r11 + 0x18]
xor ebx, ebx
mov r9d, 0x2000000
mov qword [r11 + 0x18], rbx
xor r8d, r8d
mov qword [r11 - 0x18], rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000eb5f
mov rcx, qword [rsp + 0x50]
lea rdx, [0x140024d80]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, eax
test eax, eax
jne 0x14000eb4b
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
sete bl
mov eax, ebx
jmp 0x14000eb61
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14000eb6c
Capabilities:
Get file attributes
Read file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
xor r14d, r14d
mov rsi, rdx
mov qword [rbp + 0x77], r14
lea rdx, [rbp - 0x31]
mov qword [rbp + 0x7f], r14
xor r9d, r9d
mov rax, qword gs:[0x30]
xor r8d, r8d
mov ebx, r14d
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x20]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.ntdll.dll_RtlDosPathNameToNtPathName_U]
test al, al
je 0x14000ed5d
mov dword [rsp + 0x50], r14d
lea rax, [rbp - 0x31]
mov qword [rsp + 0x48], r14
lea r9, [rbp - 0x21]
mov dword [rsp + 0x40], 0x21
lea r8, [rbp + 7]
mov dword [rsp + 0x38], 1
lea rcx, [rbp + 0x7f]
mov dword [rsp + 0x30], 7
xorps xmm0, xmm0
mov dword [rsp + 0x28], r14d
mov edx, 0x100001
mov qword [rsp + 0x20], r14
mov dword [rbp + 7], 0x30
mov qword [rbp + 0xf], r14
mov dword [rbp + 0x1f], 0x40
mov qword [rbp + 0x17], rax
movdqu xmmword [rbp + 0x27], xmm0
call qword [sym.imp.ntdll.dll_NtCreateFile]
lea rcx, [rbp - 0x31]
mov edi, eax
call qword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
test edi, edi
js 0x14000ed5d
lea rdx, str.Kongou64.cd
lea rcx, [rbp - 0x31]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov rax, qword [rbp + 0x7f]
lea r9, [rbp - 0x21]
mov dword [rsp + 0x50], r14d
lea r8, [rbp + 7]
mov qword [rsp + 0x48], r14
lea rcx, [rbp + 0x77]
mov dword [rsp + 0x40], 0x60
xorps xmm0, xmm0
mov dword [rsp + 0x38], 1
mov edx, 0x100001
mov qword [rbp + 0xf], rax
lea rax, [rbp - 0x31]
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0x80
mov qword [rbp + 0x17], rax
mov qword [rsp + 0x20], r14
mov dword [rbp + 7], 0x30
mov dword [rbp + 0x1f], 0x40
movdqu xmmword [rbp + 0x27], xmm0
call qword [sym.imp.ntdll.dll_NtCreateFile]
test eax, eax
js 0x14000ed5d
lea r9d, [r14 + 0x18]
mov dword [rsp + 0x20], 5
mov ecx, r9d
lea rdi, [rbp - 0x11]
xor eax, eax
lea r8, [rbp - 0x11]
rep stosb byte [rdi], al
mov rcx, qword [rbp + 0x77]
lea rdx, [rbp - 0x21]
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
mov dword [rbp + 0x67], eax
test eax, eax
js 0x14000ed5d
mov eax, dword [rbp - 9]
lea r9, [rbp + 0x67]
mov edx, 0x3000
mov qword [rbp - 0x39], rax
lea rcx, [rbp - 0x39]
call fcn.14000e8c0
mov rbx, rax
cmp dword [rbp + 0x67], r14d
jl 0x14000ed5d
mov ecx, dword [rbp - 9]
xor r9d, r9d
mov qword [rsp + 0x40], r14
xor r8d, r8d
mov qword [rsp + 0x38], r14
xor edx, edx
mov dword [rsp + 0x30], ecx
mov rcx, qword [rbp + 0x77]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x21]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtReadFile]
test eax, eax
js 0x14000ed52
test rsi, rsi
je 0x14000ed5d
mov eax, dword [rbp - 9]
mov dword [rsi], eax
jmp 0x14000ed5d
mov rcx, rbx
call fcn.14000e93c
mov rbx, r14
mov rcx, qword [rbp + 0x7f]
test rcx, rcx
je 0x14000ed6c
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rbp + 0x77]
test rcx, rcx
je 0x14000ed7b
call qword [sym.imp.ntdll.dll_NtClose]
mov rax, rbx
add rsp, 0xd0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14000ed8c
Capabilities:
Create process on windows
Terminate process

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x90
xor eax, eax
mov r8, rcx
test rcx, rcx
je 0x14000ee1e
lea r10d, [rax + 0x70]
mov ecx, r10d
lea rdi, [r11 - 0x78]
rep stosb byte [rdi], al
mov dword [r11 - 0x78], r10d
lea rcx, [r11 - 0x78]
mov dword [rsp + 0x24], 0x40
and qword [r11 - 0x68], rax
mov qword [r11 - 0x60], r8
mov qword [r11 - 0x58], rdx
mov dword [r11 - 0x48], r9d
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov edi, eax
test eax, eax
je 0x14000ee1c
cmp dword [rsp + 0xc0], 0
je 0x14000ee0e
mov rcx, qword [rsp + 0x88]
mov edx, 0x1d4c0
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, 0x102
cmp eax, edx
jne 0x14000ee0e
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
add rsp, 0x90
pop rdi
ret
Function at 0x14000f16c
Capabilities:
Access pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edi, edx
xor esi, esi
mov r10, rcx
mov rdx, rcx
mov r8d, esi
lea r9d, [rdi + 1]
shr r9d, 1
je 0x14000f1ae
movzx eax, word [rdx]
lea rdx, [rdx + 2]
add r8d, eax
mov ecx, r8d
movzx r8d, r8w
shr ecx, 0x10
add r8d, ecx
add r9d, 0xffffffff
jne 0x14000f191
mov ebx, r8d
mov rcx, r10
shr ebx, 0x10
add bx, r8w
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
test rax, rax
je 0x14000f1e2
movzx ecx, word [rax + 0x58]
movzx eax, word [rax + 0x5a]
cmp bx, cx
adc cx, si
sub bx, cx
cmp bx, ax
adc ax, si
sub bx, ax
jmp 0x14000f1e5
movzx ebx, si
mov rsi, qword [rsp + 0x38]
movzx eax, bx
mov rbx, qword [rsp + 0x30]
add eax, edi
add rsp, 0x20
pop rdi
ret

Function at 0x14000f1fc
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x110
xor eax, eax
mov rbx, rdx
test ecx, ecx
je 0x14000f226
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [0x14002720c]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x14000f27c
mov r9d, 3
mov dword [rsp + 0x30], 0x778
mov dword [rsp + 0x28], r9d
lea r8, [0x1400271d0]
lea rdx, str._s_v__lu._lu._lu._lu
mov dword [rsp + 0x20], 2
lea rcx, [rsp + 0x40]
mov word [rsp + 0x40], ax
call qword [sym.imp.USER32.dll_wsprintfW]
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov r9d, 0x40
lea r8, [rsp + 0x40]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.USER32.dll_MessageBoxW]
add rsp, 0x110
pop rbx
ret

Function at 0x14000f2f4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x40
and qword [rbp + 0x28], 0
mov rbx, r8
and dword [rbp + 0x18], 0
mov rdi, rdx
test rdx, rdx
je 0x14000f369
and qword [rbp - 8], 0
lea r9, [rbp - 0x20]
mov qword [rbp - 0x10], rcx
lea rdx, [rbp - 0x18]
mov rcx, rdi
mov qword [rbp - 0x18], 0xa
mov r8d, 3
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
test eax, eax
js 0x14000f369
mov rdx, qword [rbp - 0x20]
lea r9, [rbp + 0x18]
lea r8, [rbp + 0x28]
mov rcx, rdi
call qword [sym.imp.ntdll.dll_LdrAccessResource]
test eax, eax
js 0x14000f369
test rbx, rbx
je 0x14000f369
mov eax, dword [rbp + 0x18]
mov dword [rbx], eax
mov rax, qword [rbp + 0x28]
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop rbp
ret
Function at 0x14000f660
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov r14, 0xffffffff80000001
mov rsi, rdx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
xor ebx, ebx
test eax, eax
je 0x14000f793
lea rax, [rbp + 0x190]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14000f6d2
cmp eax, 2
je 0x14000f793
xor eax, eax
jmp 0x14000f798
mov rdi, rsi
test rsi, rsi
jne 0x14000f6df
mov rdi, rbx
jmp 0x14000f6ed
cmp word [rsi], bx
je 0x14000f6ed
add rdi, 2
cmp word [rdi], bx
jne 0x14000f6e4
mov eax, 0x5c
cmp word [rdi - 2], ax
je 0x14000f702
mov word [rdi], ax
add rdi, 2
mov word [rdi], bx
mov r15d, 0x104
jmp 0x14000f72c
mov r9, r15
lea r8, [rsp + 0x40]
mov rdx, r15
mov rcx, rdi
call fcn.140001838
mov rdx, rsi
mov rcx, r14
call fcn.14000f660
test eax, eax
je 0x14000f76d
mov rcx, qword [rbp + 0x190]
lea rax, [rbp + 0x198]
mov qword [rsp + 0x38], rax
lea r9, [rbp + 0x180]
mov qword [rsp + 0x30], rbx
lea r8, [rsp + 0x40]
mov qword [rsp + 0x28], rbx
xor edx, edx
mov qword [rsp + 0x20], rbx
mov dword [rbp + 0x180], r15d
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x14000f70a
mov rcx, qword [rbp + 0x190]
mov word [rdi - 2], bx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
sete bl
mov eax, ebx
jmp 0x14000f798
mov eax, 1
mov rbx, qword [rsp + 0x288]
add rsp, 0x250
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x14000f7f4
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
xor r14d, r14d
mov esi, ecx
mov ecx, r14d
mov rbx, r9
mov qword [rsp + 0x60], rcx
mov rbp, r8
mov rax, rdx
mov edi, r14d
test r8, r8
je 0x14000f8be
test rax, rax
lea rdx, str.Environment
cmovne rdx, rax
test rbx, rbx
jne 0x14000f83f
test esi, esi
je 0x14000f8be
lea r8, [rsp + 0x60]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x14000f8b9
test esi, esi
je 0x14000f869
mov rcx, qword [rsp + 0x60]
mov rdx, rbp
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x14000f8b3
mov rax, rbx
test rbx, rbx
jne 0x14000f876
mov rax, r14
jmp 0x14000f88c
cmp word [rbx], r14w
je 0x14000f886
add rax, 2
cmp word [rax], r14w
jne 0x14000f87c
sub rax, rbx
sar rax, 1
mov rcx, qword [rsp + 0x60]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rdx, rbp
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete dil
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14000f8d4
call qword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x50]
mov eax, edi
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x14000fafc
Capabilities:
Access pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov dword [rax + 0x20], r9d
push rdi
push r14
push r15
sub rsp, 0x20
mov r14, r8
mov r15d, edx
mov rbp, rcx
xor ebx, ebx
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov rsi, rax
test rax, rax
je 0x14000fb8c
lea rdx, [rsp + 0x58]
mov dword [rsp + 0x58], ebx
mov rcx, rbp
call fcn.140001100
mov rdi, rax
test rax, rax
je 0x14000fb8c
mov rdx, r14
mov rcx, rax
call fcn.140001290
test rax, rax
je 0x14000fb7b
sub eax, edi
mov edx, r15d
mov dword [rsi + 0x28], eax
mov rcx, rbp
mov eax, 0xdfff
and word [rsi + 0x16], ax
call fcn.14000f16c
mov dword [rsi + 0x58], eax
mov ebx, 1
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rbp, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x14000fe60
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
xor esi, esi
mov edi, 0x1000
mov rcx, qword [0x14002e920]
mov edx, 8
mov r8d, edi
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rbx, rax
test rax, rax
je 0x14000fef8
lea r9, [rsp + 0x30]
mov r8d, edi
mov rdx, rax
mov ecx, 5
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x14000fed9
mov rcx, qword [0x14002e920]
mov r8, rbx
xor edx, edx
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
add edi, edi
inc esi
cmp esi, 0x14
jle 0x14000fe7a
jmp 0x14000fef8
test eax, eax
js 0x14000fee2
mov rax, rbx
jmp 0x14000fefa
mov rcx, qword [0x14002e920]
mov r8, rbx
xor edx, edx
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret