joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140017fa0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
mov eax, 0x24d0
call fcn.1401b24e0
sub rsp, rax
mov rax, qword [0x14029f7a8]
xor rax, rsp
mov qword [rsp + 0x24c0], rax
mov r14, qword [rsp + 0x2518]
mov rbx, r8
mov rsi, rcx
mov r8d, 0x208
lea rcx, [rsp + 0x1e90]
xor edx, edx
call fcn.1401b5d40
xor edx, edx
lea rcx, [rsp + 0x22b0]
mov r8d, 0x208
call fcn.1401b5d40
xor edx, edx
lea rcx, [rsp + 0x1d80]
mov r8d, 0x104
mov ebp, 1
call fcn.1401b5d40
xor edx, edx
lea rcx, [rsp + 0x1c70]
mov r8d, 0x104
call fcn.1401b5d40
xor edx, edx
lea rcx, [rsp + 0x20a0]
mov r8d, 0x208
call fcn.1401b5d40
lea r9, [0x140387700]
mov edx, 0x104
lea r8, str._s.JPG
lea rcx, [rsp + 0x1e90]
call fcn.140007b10
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x1d80]
mov qword [rsp + 0x30], 0
mov rdi, 0xffffffffffffffff
mov dword [rsp + 0x28], 0x104
mov r9d, edi
mov r8, rsi
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rdx, [rsp + 0x1c70]
lea rcx, [rsp + 0x1d80]
call fcn.14001e6c0
lea rax, [rsp + 0x1c70]
inc rdi
cmp byte [rax + rdi], 0
jne 0x1400180c4
test rdi, rdi
je 0x1400180fe
lea rax, [rsp + 0x20a0]
mov dword [rsp + 0x28], 0x400
mov r9d, edi
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x1c70]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
jmp 0x14001811c
lea r8, str.SHA_Failed_r_n
mov edx, 0x104
mov rcx, rbx
call fcn.140007b10
mov rcx, rbx
call fcn.140020970
xor ebp, ebp
mov r8, rsi
lea rdx, [rsp + 0x1e90]
call fcn.14002ef80
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, 0x1c24
lea rdi, [rsp + 0x40]
lea rsi, [0x14037dc20]
rep movsb byte [rdi], byte [rsi]
lea rcx, vtable.CAutoUpdater.0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x22b0]
call fcn.14000a820
mov edi, dword [rsp + 0x2510]
lea rax, [rsp + 0x20a0]
mov qword [rsp + 0x38], rax
lea r8, str._s_:_Each__d_at__s_file:__s__Zip_CRC:__s___r_n
lea rax, [rsp + 0x1e90]
mov r9, r14
mov qword [rsp + 0x30], rax
mov edx, 0x104
lea rax, [rsp + 0x22b0]
mov rcx, rbx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
call fcn.140007b10
mov rcx, rbx
call fcn.140020970
mov eax, ebp
mov rcx, qword [rsp + 0x24c0]
xor rcx, rsp
call fcn.1401b1a60
lea r11, [rsp + 0x24d0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140019eb0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x868]
sub rsp, 0x968
mov rax, qword [0x14029f7a8]
xor rax, rsp
mov qword [rbp + 0x850], rax
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
xor r15d, r15d
xor edx, edx
mov dword [rsp + 0x40], r15d
mov r8d, 0x208
lea rcx, [rbp + 0x640]
mov r14, r9
call fcn.1401b5d40
xor edx, edx
lea rcx, [rbp + 0x210]
mov r8d, 0x104
call fcn.1401b5d40
xor edx, edx
lea rcx, [rbp + 0x430]
mov r8d, 0x208
call fcn.1401b5d40
mov r8, rbx
lea rcx, [rbp + 0x640]
mov edx, 0x104
call fcn.1401c07e8
lea rax, [rbp - 0x40]
mov rdx, rdi
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov rcx, rsi
call fcn.140029cb0
test eax, eax
jne 0x140019f69
test rsi, rsi
jne 0x140019f8a
mov dword [0x14038a840], 0x10000
xor eax, eax
mov rcx, qword [rbp + 0x850]
xor rcx, rsp
call fcn.1401b1a60
add rsp, 0x968
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp dword [rsi], 1
je 0x140019f9b
mov dword [0x14038a840], 0x80000
jmp 0x140019f69
mov edx, dword [rsp + 0x40]
lea r8, [rbp - 0x3c]
mov rcx, qword [rsi + 8]
xor r9d, r9d
mov dword [rsp + 0x20], 2
call fcn.140029680
mov dword [0x14038a840], eax
test eax, eax
jne 0x140019f69
mov rax, qword [rbp + 0x1e0]
lea rcx, [rbp + 0x320]
xor edx, edx
mov qword [r14], rax
mov r8d, 0x104
call fcn.1401b5d40
mov qword [rsp + 0x38], r15
lea rax, [rbp + 0x320]
mov qword [rsp + 0x30], r15
lea r8, [rbp - 0x3c]
mov rbx, 0xffffffffffffffff
mov dword [rsp + 0x28], 0x104
mov r9d, ebx
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea r8, [0x14025ecc8]
mov qword [rsp + 0x40], r15
lea rdx, [rbp + 0x320]
lea rcx, [rsp + 0x40]
call fcn.1401b81d8
cmp qword [rsp + 0x40], r15
je 0x14001a11f
lea rcx, [rsp + 0x50]
call fcn.14002f630
mov ecx, 0x8000
call fcn.14003010c
mov r14, rax
test rax, rax
je 0x14001a11f
mov r9, qword [rsp + 0x40]
lea edx, [rbx + 2]
mov r8d, 0x8000
mov rcx, rax
call fcn.1401c1870
test rax, rax
je 0x14001a0ad
nop dword [rax + rax]
mov r8, rax
lea rcx, [rsp + 0x50]
mov rdx, r14
call fcn.14002f690
mov r9, qword [rsp + 0x40]
mov edx, 1
mov r8d, 0x8000
mov rcx, r14
call fcn.1401c1870
test rax, rax
jne 0x14001a080
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x1f0]
call fcn.14002f310
lea rdi, [rbp + 0x1f0]
mov r15d, 0x20
lea rsi, [rbp + 0x210]
nop dword [rax]
nop word [rax + rax]
movzx r9d, byte [rdi]
lea r8, str._02x
mov edx, 4
mov rcx, rsi
call fcn.14000bde0
add rsi, 2
lea rdi, [rdi + 1]
sub r15, 1
jne 0x14001a0e0
mov rcx, qword [rsp + 0x40]
mov byte [rbp + 0x250], r15b
call fcn.1401b83bc
mov rcx, r14
call fcn.140030104
lea rax, [rbp + 0x210]
mov r9, rbx
nop dword [rax]
inc r9
cmp byte [rax + r9], 0
jne 0x14001a130
lea rax, [rbp + 0x430]
mov dword [rsp + 0x28], 0x104
lea r8, [rbp + 0x210]
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rcx, [rbp + 0x430]
nop word [rax + rax]
cmp word [rcx + rbx*2 + 2], 0
lea rbx, [rbx + 1]
jne 0x14001a170
lea r8, [rbx - 1]
lea rdx, [rbp + 0x430]
lea rcx, [rbp + 0x640]
call fcn.1401c13f4
test eax, eax
jne 0x140019f69
mov eax, 1
jmp 0x140019f6b
Function at 0x14001b2d0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rsi
mov rax, qword [0x14038d2d0]
test rax, rax
jne 0x14001b49f
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
lea rax, [0x14038d2c8]
mov qword [rsp + 0x20], rax
lea r9, [0x1401f2c40]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1401f2c50]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14001b412
mov ecx, 0x18
call fcn.1400300bc
mov rbx, rax
mov qword [rsp + 0x70], rax
xor edi, edi
test rax, rax
je 0x14001b373
mov qword [rax + 8], rdi
mov dword [rax + 0x10], 1
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x14001b4bd
jmp 0x14001b376
mov rbx, rdi
mov qword [rsp + 0x70], rbx
test rbx, rbx
je 0x14001b4b2
mov rcx, qword [0x14038d2c8]
mov rax, qword [rcx]
lea rdx, [0x14038d2d0]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbx]
call qword [rax + 0x18]
mov esi, eax
mov ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x14001b3fa
mov rcx, qword [rbx]
test rcx, rcx
je 0x14001b3db
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], rdi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14001b3ed
call fcn.140030104
mov qword [rbx + 8], rdi
mov edx, 0x18
mov rcx, rbx
call fcn.14003014c
test esi, esi
jns 0x14001b427
mov rcx, qword [0x14038d2c8]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x14038d2c8], rdi
xor eax, eax
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [0x14038d2d0]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x14001b498
mov rcx, qword [0x14038d2d0]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x14038d2c8]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x14038d2d0], rdi
mov qword [0x14038d2c8], rdi
xor eax, eax
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
mov rax, qword [0x14038d2d0]
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
mov ecx, 0x8007000e
call fcn.1401b4490
nop
mov ecx, 0x8007000e
call fcn.1401b4490
int3
Function at 0x14001b4d0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rsi
mov rax, qword [0x14038d2e0]
test rax, rax
jne 0x14001b69f
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
lea rax, [0x14038d2d8]
mov qword [rsp + 0x20], rax
lea r9, [0x1401f2c40]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1401f2c50]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14001b612
mov ecx, 0x18
call fcn.1400300bc
mov rbx, rax
mov qword [rsp + 0x70], rax
xor edi, edi
test rax, rax
je 0x14001b573
mov qword [rax + 8], rdi
mov dword [rax + 0x10], 1
lea rcx, str.RootSecurityCenter2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x14001b6bd
jmp 0x14001b576
mov rbx, rdi
mov qword [rsp + 0x70], rbx
test rbx, rbx
je 0x14001b6b2
mov rcx, qword [0x14038d2d8]
mov rax, qword [rcx]
lea rdx, [0x14038d2e0]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbx]
call qword [rax + 0x18]
mov esi, eax
mov ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x14001b5fa
mov rcx, qword [rbx]
test rcx, rcx
je 0x14001b5db
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], rdi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14001b5ed
call fcn.140030104
mov qword [rbx + 8], rdi
mov edx, 0x18
mov rcx, rbx
call fcn.14003014c
test esi, esi
jns 0x14001b627
mov rcx, qword [0x14038d2d8]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x14038d2d8], rdi
xor eax, eax
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [0x14038d2e0]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x14001b698
mov rcx, qword [0x14038d2e0]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x14038d2d8]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x14038d2e0], rdi
mov qword [0x14038d2d8], rdi
xor eax, eax
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
mov rax, qword [0x14038d2e0]
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
mov ecx, 0x8007000e
call fcn.1401b4490
nop
mov ecx, 0x8007000e
call fcn.1401b4490
int3
Function at 0x14001d9c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x630]
sub rsp, 0x730
mov rax, qword [0x14029f7a8]
xor rax, rsp
mov qword [rbp + 0x620], rax
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
xor edx, edx
mov r8d, 0xc8
lea rcx, [rbp + 0x150]
call fcn.1401b5d40
xor edx, edx
lea rcx, [rbp + 0x50]
mov r8d, 0xfa
call fcn.1401b5d40
xor edx, edx
lea rcx, [rbp + 0x220]
mov r8d, 0x1f4
call fcn.1401b5d40
mov r8, rbx
lea rdx, str.SYSTEMCurrentControlSetEnum_s
lea rcx, [rbp + 0x50]
call fcn.1400166b0
lea rax, [rsp + 0x40]
mov r9d, 0x19
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14001dc0b
xor edx, edx
lea rcx, [rbp + 0x420]
mov r8d, 0x200
call fcn.1401b5d40
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x80
call fcn.1401b5d40
xor edx, edx
lea rcx, [rbp - 0x30]
mov r8d, 0x80
call fcn.1401b5d40
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea rax, [rbp + 0x150]
mov dword [rsp + 0x38], 0x200
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [0x14025eb1c]
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x34], 0xc8
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea r9, str.Device_Parameters
mov r8, rbx
lea rdx, str.SYSTEMCurrentControlSetEnum_s_s
lea rcx, [rbp + 0x220]
call fcn.140024b50
lea rax, [rsp + 0x48]
mov r9d, 0x19
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x220]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14001db71
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea rax, [rbp + 0x420]
xor r8d, r8d
lea rdx, str.EDID
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x48]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x14001db86
lea r8, [rbp - 0x30]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x420]
call fcn.140020e70
cmp byte [rsp + 0x50], 0
je 0x14001db97
lea r8, [rsp + 0x50]
mov rcx, rdi
jmp 0x14001dbdf
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x3c], 0x80
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SerialNum
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14001dbe9
cmp byte [rsp + 0x50], al
je 0x14001dbe9
mov r8, rdi
lea rcx, [rsp + 0x50]
mov edx, 0x7f
call fcn.1401c0788
cmp byte [rbp - 0x30], 0
je 0x14001dc00
lea r8, [rbp - 0x30]
mov edx, 0x7f
mov rcx, rsi
call fcn.1401c0788
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x620]
xor rcx, rsp
call fcn.1401b1a60
mov rbx, qword [rsp + 0x768]
add rsp, 0x730
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001e6c0
Capabilities:
Read file on windows

Disassembly:
push rsi
push r14
sub rsp, 0xd8
mov rax, qword [0x14029f7a8]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov r14, rdx
mov qword [rsp + 0x20], 0
mov rdx, rcx
lea r8, [0x14025ecc8]
lea rcx, [rsp + 0x20]
call fcn.1401b81d8
cmp qword [rsp + 0x20], 0
je 0x14001e808
lea rcx, [rsp + 0x30]
call fcn.14002f630
mov ecx, 0x8000
call fcn.14003010c
mov rsi, rax
test rax, rax
je 0x14001e808
mov r9, qword [rsp + 0x20]
mov edx, 1
mov qword [rsp + 0x100], rbx
mov r8d, 0x8000
mov qword [rsp + 0x108], rbp
mov rcx, rax
mov qword [rsp + 0xd0], rdi
call fcn.1401c1870
test rax, rax
je 0x14001e78d
nop
mov r8, rax
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.14002f690
mov r9, qword [rsp + 0x20]
mov edx, 1
mov r8d, 0x8000
mov rcx, rsi
call fcn.1401c1870
test rax, rax
jne 0x14001e760
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xa0]
call fcn.14002f310
lea rbx, [rsp + 0xa0]
mov rdi, r14
mov ebp, 0x20
nop
movzx r9d, byte [rbx]
lea r8, str._02x
mov edx, 4
mov rcx, rdi
call fcn.14000bde0
add rdi, 2
lea rbx, [rbx + 1]
sub rbp, 1
jne 0x14001e7b0
mov rcx, qword [rsp + 0x20]
mov byte [r14 + 0x40], bpl
call fcn.1401b83bc
mov rcx, rsi
call fcn.140030104
mov rdi, qword [rsp + 0xd0]
xor eax, eax
mov rbp, qword [rsp + 0x108]
mov rbx, qword [rsp + 0x100]
jmp 0x14001e80d
mov eax, 0xffffffff
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1401b1a60
add rsp, 0xd8
pop r14
pop rsi
ret

Function at 0x14001e830
Capabilities:
Read file on windows

Disassembly:
push rsi
push r14
sub rsp, 0xd8
mov rax, qword [0x14029f7a8]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov r14, rdx
mov qword [rsp + 0x20], 0
mov rdx, rcx
lea r8, [0x14025eccc]
lea rcx, [rsp + 0x20]
call fcn.1401b8180
cmp qword [rsp + 0x20], 0
je 0x14001e978
lea rcx, [rsp + 0x30]
call fcn.14002f630
mov ecx, 0x8000
call fcn.14003010c
mov rsi, rax
test rax, rax
je 0x14001e978
mov r9, qword [rsp + 0x20]
mov edx, 1
mov qword [rsp + 0x100], rbx
mov r8d, 0x8000
mov qword [rsp + 0x108], rbp
mov rcx, rax
mov qword [rsp + 0xd0], rdi
call fcn.1401c1870
test rax, rax
je 0x14001e8fd
nop
mov r8, rax
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.14002f690
mov r9, qword [rsp + 0x20]
mov edx, 1
mov r8d, 0x8000
mov rcx, rsi
call fcn.1401c1870
test rax, rax
jne 0x14001e8d0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xa0]
call fcn.14002f310
lea rbx, [rsp + 0xa0]
mov rdi, r14
mov ebp, 0x20
nop
movzx r9d, byte [rbx]
lea r8, str._02x
mov edx, 4
mov rcx, rdi
call fcn.14000bde0
add rdi, 2
lea rbx, [rbx + 1]
sub rbp, 1
jne 0x14001e920
mov rcx, qword [rsp + 0x20]
mov byte [r14 + 0x40], bpl
call fcn.1401b83bc
mov rcx, rsi
call fcn.140030104
mov rdi, qword [rsp + 0xd0]
xor eax, eax
mov rbp, qword [rsp + 0x108]
mov rbx, qword [rsp + 0x100]
jmp 0x14001e97d
mov eax, 0xffffffff
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1401b1a60
add rsp, 0xd8
pop r14
pop rsi
ret
Function at 0x14001f090
Capabilities:
Get mac address on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x940
mov rax, qword [0x14029f7a8]
xor rax, rsp
mov qword [rsp + 0x930], rax
mov rsi, rcx
xor edx, edx
lea rcx, [rsp + 0x530]
mov r8d, 0x400
call fcn.1401b5d40
xor edx, edx
lea rcx, [rsp + 0x130]
mov r8d, 0x400
call fcn.1401b5d40
lea rcx, [rsp + 0x530]
call fcn.14001bdc0
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0xc8
call fcn.1401b5d40
mov dword [rsp + 0x50], 0x2c0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
mov r8d, 0x2c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x14001f281
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x14001f176
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov ebx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x14001f281
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x14001f26d
mov rbx, rdi
test rdi, rdi
je 0x14001f26d
mov qword [rsp + 0x958], rbp
mov ebp, 0x8240
nop word [rax + rax]
movzx ecx, byte [rbx + 0x19c]
movzx edx, byte [rbx + 0x19b]
movzx r8d, byte [rbx + 0x19a]
movzx eax, byte [rbx + 0x19d]
movzx r10d, byte [rbx + 0x199]
movzx r9d, byte [rbx + 0x198]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], ecx
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x30], edx
mov edx, 0xc8
mov dword [rsp + 0x28], r8d
lea r8, [0x14025ea58]
mov dword [rsp + 0x20], r10d
call fcn.14000bde0
lea rcx, [rsp + 0x130]
call fcn.14001dc30
test eax, eax
jne 0x14001f223
mov byte [rsp + 0x130], al
jmp 0x14001f242
cmp byte [rsp + 0x130], 0
je 0x14001f242
mov eax, dword [rbx + 0x1a4]
cmp eax, 0xf
ja 0x14001f23d
bt ebp, eax
jb 0x14001f265
cmp eax, 0x47
je 0x14001f265
mov rbx, qword [rbx]
lea r8, [rsp + 0x60]
mov edx, 0xc8
lea rcx, [rsp + 0x130]
call fcn.1401c09c0
test rbx, rbx
jne 0x14001f1b0
mov rbp, qword [rsp + 0x958]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rcx, [rsp + 0x130]
call fcn.140007800
lea rcx, [rsp + 0x530]
mov ebx, eax
call fcn.140007800
mov r9d, eax
mov dword [rsp + 0x20], ebx
lea r8, str.__lu__lu
mov edx, 0x104
mov rcx, rsi
call fcn.14000bde0
mov rcx, qword [rsp + 0x930]
xor rcx, rsp
call fcn.1401b1a60
lea r11, [rsp + 0x940]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14001f770
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x288
mov rax, qword [0x14029f7a8]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rax, [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rdx, str.SoftwareNohope92Moss
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rcx, 0xffffffff80000001
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], eax
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14001f87a
mov rcx, qword [rsp + 0x50]
lea rax, [0x14037dc20]
mov dword [rsp + 0x28], 4
lea rdx, [0x14025f000]
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x280], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x208
mov rbx, rax
call fcn.1401b5d40
mov r8d, 0x104
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], 0x208
lea rdx, str.LAST_PATH
mov r9d, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x280]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1401b1a60
add rsp, 0x288
ret

Function at 0x140021320
Capabilities:
Acquire debug privileges

Disassembly:
sub rsp, 0x68
mov rax, qword [0x14029f7a8]
xor rax, rsp
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x38]
mov edx, 0x20
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea r8, [rsp + 0x30]
xor ecx, ecx
lea rdx, [0x14025aea8]
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x1400213c8
mov rax, qword [rsp + 0x30]
lea r8, [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
xor edx, edx
mov qword [rsp + 0x44], rax
xor eax, eax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x4c], 2
lea r9d, [rax + 0x10]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x1400213c8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x514
je 0x1400213c8
mov eax, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401b1a60
add rsp, 0x68
ret
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401b1a60
add rsp, 0x68
ret
Function at 0x1400270e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 8
mov r10d, r8d
mov r9, rdx
test rdx, rdx
jne 0x1400270f6
xor eax, eax
add rsp, 8
ret
mov qword [rsp], rbx
lea rbx, [0x14025bbc0]
not ecx
cmp r10d, 8
jb 0x1400271e8
mov r11, r10
shr r11, 3
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
add r10d, 0xfffffff8
mov edx, dword [rbx + rax*4]
xor edx, ecx
movzx ecx, byte [r9 + 1]
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 2]
mov r8d, dword [rbx + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 3]
mov edx, dword [rbx + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 4]
mov r8d, dword [rbx + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 5]
mov edx, dword [rbx + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 6]
mov r8d, dword [rbx + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 7]
add r9, 8
mov edx, dword [rbx + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
mov ecx, dword [rbx + rax*4]
xor ecx, edx
sub r11, 1
jne 0x140027120
test r10d, r10d
je 0x140027210
nop dword [rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
xor rdx, rax
shr eax, 8
movzx r8d, dl
mov ecx, dword [rbx + r8*4]
xor ecx, eax
add r10d, 0xffffffff
jne 0x1400271f0
mov rbx, qword [rsp]
not ecx
mov eax, ecx
add rsp, 8
ret

Function at 0x140027b00
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov r10, r8
mov rdi, r9
imul r10d, edx
mov rsi, rdx
cmp byte [r9], 0
mov r11, rcx
je 0x140027b5a
mov rdx, rcx
mov qword [rsp + 0x20], 0
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x48]
mov r8d, r10d
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140027b46
mov byte [rdi + 0x10], 1
mov eax, dword [rsp + 0x48]
xor edx, edx
div rsi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov edx, dword [r9 + 0x24]
mov ecx, dword [r9 + 0x20]
sub ecx, edx
mov qword [rsp + 0x40], rbx
lea eax, [rdx + r10]
cmp eax, dword [r9 + 0x20]
cmovbe ecx, r10d
add rdx, qword [r9 + 0x18]
mov ebx, ecx
mov r8d, ecx
mov rcx, r11
call fcn.1401b58e0
add dword [rdi + 0x24], ebx
mov eax, ebx
mov rbx, qword [rsp + 0x40]
xor edx, edx
div rsi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret