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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1409c0280]
xor rax, rsp
mov qword [rbp - 8], rax
mov r14, rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x30], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edi, [rax - 1]
mov rcx, qword [rbp - 0x20]
cmp rdi, rcx
ja 0x140013599
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rax, qword [rbp - 0x30]
mov qword [rbp - 0x20], rdi
mov byte [rax + rdi], 0
jmp 0x1400135ed
sub rdi, rcx
mov rdx, qword [rbp - 0x18]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x1400135d6
lea rax, [rcx + rdi]
mov qword [rbp - 0x20], rax
lea rbx, [rbp - 0x30]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 0x30]
add rbx, rcx
mov r8, rdi
xor edx, edx
mov rcx, rbx
call fcn.14016ad60
mov byte [rbx + rdi], 0
jmp 0x1400135ed
mov byte [rsp + 0x20], 0
mov r9, rdi
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x30]
call fcn.140012430
mov edx, dword [rbp - 0x20]
inc edx
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rcx, qword [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov r8d, reloc.WS2_32.dll_listen
lea rdx, [0x1401d0240]
lea rcx, [rbp - 0x30]
call fcn.140013730
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rcx, qword [rbp - 0x30]
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov edi, eax
mov ecx, eax
call fcn.1401685b8
mov rsi, rax
mov r8d, edi
xor edx, edx
mov rcx, rax
call fcn.14016ad60
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rcx, qword [rbp - 0x30]
mov r9, rsi
mov r8d, edi
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoA]
lea r9, [rbp - 0x10]
lea r8, [rbp - 0x38]
lea rdx, [0x1401d021a]
mov rcx, rsi
call qword [sym.imp.VERSION.dll_VerQueryValueA]
mov dword [rbp - 0x50], 0
mov rdx, qword [rbp - 0x38]
mov ecx, dword [rdx + 0x10]
mov eax, ecx
shr eax, 0x10
mov dword [rbp - 0x4c], eax
movzx eax, cx
mov dword [rbp - 0x48], eax
mov ecx, dword [rdx + 0x14]
mov eax, ecx
shr eax, 0x10
mov dword [rbp - 0x44], eax
movzx eax, cx
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [r14], xmm0
mov dword [r14 + 0x10], eax
mov rcx, rsi
call fcn.14016813c
nop
lea rcx, [rbp - 0x30]
call fcn.140010b20
mov rax, r14
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140167e90
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140014040
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x1409c0280]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor ebx, ebx
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp - 0x6c]
call fcn.14016ad60
mov dword [rbp - 0x70], 0x114
lea rcx, [rbp - 0x70]
call qword [sym.imp.ntdll.dll_RtlGetVersion]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], rbx
lea r8d, [rbx + 0xa]
lea rdx, str.Windows_NT
mov rcx, rdi
call fcn.140011c40
nop
lea rcx, [rdi + 0x20]
call fcn.1400139c0
nop
mov eax, dword [rbp - 0x6c]
mov dword [rdi + 0x40], eax
mov eax, dword [rbp - 0x68]
mov dword [rdi + 0x44], eax
mov eax, dword [rbp - 0x64]
mov dword [rdi + 0x48], eax
mov qword [rsp + 0x58], rbx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140014225
mov dword [rsp + 0x68], ebx
mov dword [rsp + 0x6c], 4
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1401d02d0]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14001414e
mov ebx, dword [rsp + 0x68]
jmp 0x140014225
mov dword [rsp + 0x50], ebx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.BuildLabEx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140014225
mov edx, dword [rsp + 0x50]
xor r8d, r8d
lea rcx, [rsp + 0x70]
call fcn.140014300
lea rax, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rax, qword [rsp + 0x70]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.BuildLabEx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea rcx, [rsp + 0x70]
test eax, eax
jne 0x140014220
mov qword [rsp + 0x60], rbx
cmp qword [rbp - 0x78], 0x10
cmovae rcx, qword [rsp + 0x70]
lea r8, [rsp + 0x60]
lea rdx, reloc.WLDAP32.dll_Ordinal_46
call fcn.140177a84
lea r8, [rsp + 0x60]
lea rdx, reloc.WLDAP32.dll_Ordinal_46
xor ecx, ecx
call fcn.140177a84
test rax, rax
je 0x14001421b
xor edx, edx
lea r8d, [rdx + 0xa]
mov rcx, rax
call fcn.140178a88
mov ebx, eax
lea rcx, [rsp + 0x70]
call fcn.140010b20
mov dword [rdi + 0x4c], ebx
mov rax, rdi
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.140167e90
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140015250
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140015272
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x1400152ec
mov rdi, r14
mov rcx, rbx
call fcn.140016440
test rax, rax
jle 0x1400152c4
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.14016a6b0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x1400152dc
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + gethostname]
cmp eax, 0xffffffff
je 0x1400152e4
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140015286
sub r14, rdi
jmp 0x1400153cf
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140015303
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140015305
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140015337
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.14016a6b0
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x1400153cc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140015372
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x1400153ad
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.14017db6c
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x1400153cc
cmp rbp, rax
ja 0x140015380
test rbp, rbp
je 0x1400153cc
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.14017db6c
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
Function at 0x1400176c0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x1409c0280]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor esi, esi
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp - 0x50]
call fcn.14016ad60
lea rdx, [rbp - 0x50]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x104
ja 0x140017780
lea rcx, [rbp - 0x50]
mov r8, 0xffffffffffffffff
mov rax, r8
lea rax, [rax + 1]
cmp word [rcx + rax*2], si
jne 0x140017731
cmp word [rbp + rax*2 - 0x52], 0x5c
jne 0x14001775c
lea rax, [rax*2 - 2]
cmp rax, 0x20a
jae 0x140017886
mov word [rbp + rax - 0x50], si
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], rsi
lea rax, [rbp - 0x50]
nop
inc r8
cmp word [rax + r8*2], si
jne 0x140017770
lea rdx, [rbp - 0x50]
jmp 0x140017799
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], rsi
xor r8d, r8d
lea rdx, [0x1401d0488]
lea rcx, [rbp - 0x70]
call fcn.140010e90
nop
mov rdi, qword [rbp - 0x60]
test rdi, rdi
jne 0x1400177ce
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
xor r8d, r8d
lea rdx, [0x1401d0488]
mov rcx, rbx
call fcn.140010e90
jmp 0x14001784c
lea rcx, [rsp + 0x70]
call fcn.140017610
mov rsi, rax
movabs rcx, 0x7ffffffffffffffe
sub rcx, rdi
cmp rcx, 1
jb 0x140017880
lea r9, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae r9, qword [rbp - 0x70]
mov qword [rsp + 0x30], 1
lea rax, [0x1401d0474]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea rcx, [rsp + 0x50]
call fcn.14001a660
nop
mov r9, rsi
lea r8, [rsp + 0x50]
mov rcx, rbx
call fcn.14001a4b0
nop
lea rcx, [rsp + 0x50]
call fcn.140010aa0
nop
lea rcx, [rsp + 0x70]
call fcn.140010aa0
nop
lea rcx, [rbp - 0x70]
call fcn.140010aa0
mov rax, rbx
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140167e90
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140010880
nop
call fcn.140168424
int3
Function at 0x140019730
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
push r12
push r13
mov eax, 0x1070
call fcn.140168c40
sub rsp, rax
mov rax, qword [0x1409c0280]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov rdx, qword [rsp + 0x10b0]
xor ebp, ebp
mov qword [rsp + 0x38], r9
mov r12, r8
mov qword [rsp + 0x30], rdx
mov r13, rcx
test r8, r8
jne 0x14001977c
mov rdx, rbp
jmp 0x140019890
mov r9d, 0x1000
lea rdx, [rsp + 0x40]
call fcn.140017e70
test al, al
je 0x140019774
mov qword [rsp + 0x1068], rsi
lea rdx, str.PAGE
mov qword [rsp + 0x1060], rdi
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x1058], r14
mov qword [rsp + 0x1050], r15
nop
inc rdi
cmp byte [rdx + rdi], bpl
jne 0x1400197c0
movsxd rax, dword [rsp + 0x7c]
lea rcx, [rsp + 0x40]
add rcx, rax
mov qword [rsp + 0x1098], rbx
mov esi, ebp
movzx eax, word [rcx + 0x14]
lea r15, [rcx + 0x18]
movzx r14d, word [rcx + 6]
add r15, rax
test r14d, r14d
je 0x140019865
nop word [rax + rax]
mov eax, esi
mov r8, rdi
lea rcx, [rax + rax*4]
lea rbx, [r15 + rcx*8]
mov rcx, rbx
call fcn.14016b240
test eax, eax
jne 0x14001982e
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], bpl
jne 0x140019820
cmp rdi, rax
je 0x14001983e
inc esi
cmp esi, r14d
jae 0x140019865
lea rdx, str.PAGE
jmp 0x140019800
mov eax, dword [rbx + 0xc]
test eax, eax
je 0x140019865
mov ecx, dword [rbx + 8]
lea rdx, [rsp + 0x40]
add rdx, rax
je 0x140019865
test ecx, ecx
je 0x140019865
lea rax, [rsp + 0x40]
mov ebp, ecx
sub rdx, rax
add rdx, r12
jmp 0x140019868
mov rdx, rbp
mov rbx, qword [rsp + 0x1098]
mov rdi, qword [rsp + 0x1060]
mov rsi, qword [rsp + 0x1068]
mov r14, qword [rsp + 0x1058]
mov r15, qword [rsp + 0x1050]
mov rax, qword [rsp + 0x30]
mov rcx, r13
mov r9, qword [rsp + 0x38]
mov r8d, ebp
mov qword [rsp + 0x20], rax
call fcn.140019620
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140167e90
add rsp, 0x1070
pop r13
pop r12
pop rbp
ret
Function at 0x14001c0b0
Capabilities:
Persist via windows service
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x1409c0280]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rdi, rcx
lea rcx, [rbp - 0x31]
call fcn.140017610
nop
movabs rbx, 0x7ffffffffffffffe
mov rax, rbx
mov rcx, qword [rbp - 0x21]
sub rax, rcx
cmp rax, 0x22
jb 0x14001c2c6
lea rax, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae rax, qword [rbp - 0x31]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], Ordinal_41
lea r9, str.SYSTEMCurrentControlSetServices_
lea rcx, [rbp + 0xf]
call fcn.14001a660
nop
mov rcx, qword [rdi + 0x10]
mov rax, rbx
sub rax, rcx
cmp rax, 4
jb 0x14001c2cc
cmp qword [rdi + 0x18], 8
jb 0x14001c150
mov rdi, qword [rdi]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], 4
lea r9, [0x140992350]
lea rcx, [rbp - 0x11]
call fcn.14001a660
nop
lea rdx, [rbp + 0xf]
cmp qword [rbp + 0x27], 8
cmovae rdx, qword [rbp + 0xf]
lea r8, [rbp - 0x39]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x14001c20b
mov eax, dword [rbp - 1]
add eax, eax
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rcx, qword [rbp - 0x11]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 2
lea r8, str.ImagePath
xor edx, edx
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov rcx, qword [rbp - 0x39]
test eax, eax
jne 0x14001c205
mov dword [rsp + 0x28], 4
lea rax, [0x1409923dc]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, str.Type
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov rcx, qword [rbp - 0x39]
test eax, eax
je 0x14001c24e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
lea rcx, [rbp - 0x11]
call fcn.140010aa0
nop
lea rcx, [rbp + 0xf]
call fcn.140010aa0
nop
lea rcx, [rbp - 0x31]
call fcn.140010aa0
movzx eax, bl
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140167e90
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [0x1401d0648]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x14001c20b
mov rcx, qword [rbp - 0x21]
sub rbx, rcx
cmp rbx, 0x34
jb 0x14001c2c0
lea rax, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae rax, qword [rbp - 0x31]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], gethostname
lea r9, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rbp + 0x2f]
call fcn.14001a660
nop
lea rcx, [rbp + 0x2f]
call fcn.14004af40
nop
lea rcx, [rbp + 0x2f]
call fcn.140010aa0
mov bl, 1
jmp 0x14001c20d
call fcn.140010880
nop
call fcn.140010880
nop
call fcn.140010880
int3
Function at 0x14001c2e0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xa0
mov rax, qword [0x1409c0280]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rbx, rcx
lea rcx, [0x1401d0648]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x14001c464
mov rcx, qword [rbx + 0x10]
movabs rdi, 0x7ffffffffffffffe
mov rax, rdi
sub rax, rcx
cmp rax, 0x34
jb 0x14001c48b
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x14001c343
mov rax, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], gethostname
lea r9, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rsp + 0x68]
call fcn.14001a660
nop
lea rdx, [rsp + 0x68]
cmp qword [rsp + 0x80], 8
cmovae rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x88]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov rax, qword [rbx + 0x10]
sub rdi, rax
cmp rdi, 0x22
jb 0x14001c485
cmp qword [rbx + 0x18], 8
jb 0x14001c3a5
mov rbx, qword [rbx]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], Ordinal_41
lea r9, str.SYSTEMCurrentControlSetServices_
lea rcx, [rsp + 0x48]
call fcn.14001a660
nop
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rdx, qword [rsp + 0x48]
lea r8, [rsp + 0x40]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x14001c3f9
cmp eax, 2
sete bl
jmp 0x14001c44c
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x68]
call fcn.14004b0e0
lea rdx, [rsp + 0x48]
mov rcx, 0xffffffff80000002
test al, al
jne 0x14001c434
cmp qword [rsp + 0x60], 8
cmovae rdx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
xor bl, bl
jmp 0x14001c44c
cmp qword [rsp + 0x60], 8
cmovae rdx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x14001c430
mov bl, 1
lea rcx, [rsp + 0x48]
call fcn.140010aa0
nop
lea rcx, [rsp + 0x68]
call fcn.140010aa0
movzx eax, bl
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140167e90
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa0
pop rdi
ret
call fcn.140010880
nop
call fcn.140010880
int3
Function at 0x14001c6e0
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x1409c0280]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor edx, edx
lea r9, [rsp + 0x20]
mov rsi, rcx
xor r14d, r14d
xor r8d, r8d
mov dword [rsp + 0x20], r14d
mov edi, r14d
lea ecx, [rdx + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x14001c76e
test rdi, rdi
je 0x14001c736
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, reloc.WS2_32.dll_inet_addr
mov rdi, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x14001c720
test eax, eax
jns 0x14001c78f
test rdi, rdi
je 0x14001c794
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x14001c85e
test rdi, rdi
jne 0x14001c79b
xor eax, eax
jmp 0x14001c85e
mov qword [rsp + 0x78], rbx
mov ebx, r14d
mov qword [rsp + 0x80], rbp
cmp dword [rdi], ebx
jbe 0x14001c83e
mov eax, ebx
xorps xmm0, xmm0
imul rcx, rax, 0x128
movups xmmword [rsp + 0x28], xmm0
movzx edx, word [rcx + rdi + 0x2e]
lea rbp, [rcx + rdi]
add rdx, 0x30
mov qword [rsp + 0x38], r14
add rdx, rcx
mov qword [rsp + 0x40], r14
add rdx, rdi
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x14001c7f0
lea rcx, [rsp + 0x28]
call fcn.140011c40
cmp qword [rsi + 0x18], 0x10
mov rdx, rsi
jb 0x14001c810
mov rdx, qword [rsi]
cmp qword [rsp + 0x40], 0x10
lea rcx, [rsp + 0x28]
cmovae rcx, qword [rsp + 0x28]
call fcn.14017e0c8
test eax, eax
je 0x14001c874
lea rcx, [rsp + 0x28]
call fcn.140010b20
inc ebx
cmp ebx, dword [rdi]
jb 0x14001c7b3
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140167e90
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
mov rbx, qword [rbp + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
lea rcx, [rsp + 0x28]
call fcn.140010b20
mov rax, rbx
jmp 0x14001c851
Function at 0x140048ea0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rsi, rdx
mov r15, rcx
test rdx, rdx
je 0x14004900e
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x14004900e
movsxd rax, dword [rdx + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14004900e
mov rcx, qword [rax + rdx + 0x90]
mov rax, rcx
shr rax, 0x20
test ecx, ecx
je 0x14004900a
test eax, eax
je 0x14004900a
mov ebp, ecx
add rbp, rdx
je 0x14004900a
xor r12d, r12d
nop dword [rax]
mov eax, dword [rbp + 0xc]
test eax, eax
je 0x14004900a
lea rdx, [rsi + rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r12
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140048f50
lea rcx, [rsp + 0x20]
call fcn.140011c40
nop
lea rdx, [rsp + 0x20]
call fcn.140048260
mov r14, rax
lea rcx, [rsp + 0x20]
call fcn.140010b20
test r14, r14
je 0x140049000
mov ebx, dword [rbp + 0x10]
add rbx, rsi
je 0x140049000
nop dword [rax]
mov rcx, qword [rbx]
test rcx, rcx
je 0x140049000
js 0x140048ffa
lea rdx, [rsi + 2]
add rdx, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r12
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140048fc0
lea rcx, [rsp + 0x20]
call fcn.140011c40
nop
lea r8, [rsp + 0x20]
mov rdx, r14
mov rcx, r15
call fcn.140048420
mov rdi, rax
lea rcx, [rsp + 0x20]
call fcn.140010b20
test rdi, rdi
je 0x140048ffa
mov qword [rbx], rdi
add rbx, 8
jne 0x140048f90
add rbp, 0x14
jne 0x140048f20
mov al, 1
jmp 0x140049010
xor al, al
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
ret
Function at 0x140049fa0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rax, qword [0x1409c0280]
xor rax, rsp
mov qword [rbp + 0x47], rax
movabs rax, 0xeab13a9a98e59e9b
mov qword [rbp - 0x19], 0
mov qword [rbp - 9], rax
lea rdx, [rbp - 0x69]
movabs rax, 0x1d2e8b3fffd132ac
mov rbx, rcx
mov qword [rbp - 1], rax
movabs rcx, 0x4f0f9ba7633fe934
mov qword [rbp - 0x21], rcx
movabs rax, 0x8665af9483a9ffdd
mov qword [rbp + 7], rax
mov r9d, 0xf003f
movabs rax, 0x67d39ca96ad06f96
mov qword [rbp + 0x3f], rcx
mov qword [rbp + 0xf], rax
xor r8d, r8d
movabs rax, 0x43c81d76dd2177cf
mov rcx, 0xffffffff80000002
mov qword [rbp + 0x17], rax
movabs rax, 0x99f9d7ab46b497b0
mov qword [rbp + 0x1f], rax
movabs rax, 0xbf93b490672327b1
mov qword [rbp + 0x27], rax
movabs rax, 0xb8a73e356aadde6a
mov qword [rbp + 0x2f], rax
movabs rax, 0x91c3a222e6aeb403
mov qword [rbp + 0x37], rax
movabs rax, 0xeae53ac998bc9ec8
mov qword [rbp - 0x69], rax
movabs rax, 0x1d6d8b63ff9c32e9
mov qword [rbp - 0x61], rax
movabs rax, 0x8600afe683dbffa8
movdqa xmm0, xmmword [rbp - 0x69]
pxor xmm0, xmmword [rbp - 9]
mov qword [rbp - 0x59], rax
movabs rax, 0x67bc9cea6aa46ff8
mov qword [rbp - 0x51], rax
movabs rax, 0x43a71d04dd5577a1
movdqa xmm1, xmmword [rbp - 0x59]
pxor xmm1, xmmword [rbp + 7]
mov qword [rbp - 0x49], rax
movabs rax, 0x998dd7ce46e797dc
mov qword [rbp - 0x41], rax
movabs rax, 0xbfe1b4f5677027ed
mov qword [rbp - 0x39], rax
movabs rax, 0xb8c23e566ac4de1c
movdqa xmmword [rbp - 0x69], xmm0
movdqa xmm0, xmmword [rbp - 0x49]
pxor xmm0, xmmword [rbp + 0x17]
mov qword [rbp - 0x31], rax
movabs rax, 0x91c3a222e6aeb470
mov qword [rbp - 0x29], rax
lea rax, [rbp - 0x19]
movdqa xmmword [rbp - 0x59], xmm1
movdqa xmm1, xmmword [rbp - 0x39]
pxor xmm1, xmmword [rbp + 0x27]
movdqa xmmword [rbp - 0x49], xmm0
movdqa xmm0, xmmword [rbp - 0x29]
pxor xmm0, xmmword [rbp + 0x37]
movdqa xmmword [rbp - 0x29], xmm0
movdqa xmmword [rbp - 0x39], xmm1
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14004a14f
xor bl, bl
jmp 0x14004a176
cmp qword [rbx + 0x50], 8
lea rdx, [rbx + 0x38]
jb 0x14004a15d
mov rdx, qword [rdx]
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
cmp eax, 2
je 0x14004a174
test eax, eax
je 0x14004a174
xor bl, bl
jmp 0x14004a176
mov bl, 1
mov rcx, qword [rbp - 0x19]
test rcx, rcx
jle 0x14004a185
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140167e90
mov rbx, qword [rsp + 0x108]
add rsp, 0xf0
pop rbp
ret