joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000b2e0
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push rbx
sub rsp, 0x40
mov rcx, rdx
mov rbx, rdx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x14000b304
and eax, 0xfffffffe
mov rcx, rbx
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x14000b379
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov edx, 0xc0000000
lea r8d, [r9 + 3]
mov rcx, rbx
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14000b356
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
add rsp, 0x40
pop rbx
ret
mov edx, 8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edx, 8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x40
pop rbx
ret

Function at 0x14000b390
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov eax, r8d
mov rbx, rdx
mov rdi, r9
xor r9d, r9d
xor r8d, r8d
mov edx, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
xor r11d, r11d
lea r9, [rsp + 0x30]
mov r8d, 0x200000
mov rdx, rdi
mov rcx, rbx
mov dword [rsp + 0x30], r11d
mov qword [rsp + 0x20], r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rbx, qword [rsp + 0x50]
mov al, 1
add rsp, 0x40
pop rdi
ret

Function at 0x14000b3f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov eax, r8d
mov rbx, rdx
mov rdi, r9
xor r9d, r9d
xor r8d, r8d
mov edx, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
xor r11d, r11d
lea r9, [rsp + 0x30]
mov r8d, 0x200000
mov rdx, rdi
mov rcx, rbx
mov dword [rsp + 0x30], r11d
mov qword [rsp + 0x20], r11
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x50]
mov al, 1
add rsp, 0x40
pop rdi
ret

Function at 0x14000ba80
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rcx
xor ecx, ecx
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], ecx
lea rdx, str.SoftwareProtectStarData_Shredder
mov rcx, 0xffffffff80000001
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14000bb14
cmp qword [rbx + 0x20], 8
mov rax, qword [rbx + 0x18]
jb 0x14000badf
mov rbx, qword [rbx + 8]
jmp 0x14000bae3
add rbx, 8
mov rcx, qword [rsp + 0x68]
add eax, eax
lea rdx, str.Password
mov dword [rsp + 0x28], eax
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x50
pop rbx
ret
Function at 0x14000bb20
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov r11, rsp
push rsi
push rdi
push r12
sub rsp, 0x60
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov rax, qword [0x14003c510]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, rcx
mov qword [r11 - 0x28], rcx
xor r12d, r12d
mov qword [r11 - 0x40], r12
mov dword [rsp + 0x40], 7
mov dword [rsp + 0x30], 0x800
mov ecx, 0x800
call fcn.140016044
mov rsi, rax
cmp qword [rbx + 0x20], 8
jb 0x14000bb86
lea rdi, [rbx + 8]
mov rcx, qword [rdi]
jmp 0x14000bb8d
lea rdi, [rbx + 8]
mov rcx, rdi
mov rdx, rax
movzx eax, word [rcx]
mov word [rdx], ax
add rcx, 2
add rdx, 2
test ax, ax
jne 0x14000bb90
mov rax, qword [rbx + 0x18]
mov word [rsi + rax*2], r12w
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetControlSession_Manager
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebp, eax
test eax, eax
jne 0x14000bc47
mov rax, qword [rbx + 0x18]
lea rcx, [rsi + rax*2 + 2]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.BootExecute
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r11, qword [rbx + 0x18]
mov eax, dword [rsp + 0x30]
lea ecx, [rax + r11*2 + 2]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rsi
lea r9d, [rbp + 7]
xor r8d, r8d
lea rdx, str.BootExecute
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebp, eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rsi
call fcn.1400170a4
nop
cmp qword [rbx + 0x20], 8
jb 0x14000bc5f
mov rcx, qword [rdi]
call fcn.140017cb8
mov qword [rbx + 0x20], 7
mov qword [rbx + 0x18], r12
mov word [rdi], r12w
mov eax, ebp
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140016ba0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x14000bd40
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x170
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x188], rbx
mov rax, qword [0x14003c510]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rbx, rcx
mov qword [rsp + 0x50], rcx
xor eax, eax
mov dword [rsp + 0x38], eax
mov qword [rcx + 0x20], 7
mov qword [rcx + 0x18], rax
mov word [rcx + 8], ax
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x30], rax
xor edx, edx
mov r8d, 0x100
lea rcx, [rsp + 0x60]
call fcn.140018030
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rdx
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareProtectStarData_Shredder
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000be48
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x40], 0x100
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
lea rdx, str.Password
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000be38
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x60]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140007d30
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rbx
jmp 0x14000be4b
mov rax, rbx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140016ba0
mov rbx, qword [rsp + 0x188]
add rsp, 0x170
pop rdi
ret

Function at 0x14000be70
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x970
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x988], rbx
mov rax, qword [0x14003c510]
xor rax, rsp
mov qword [rsp + 0x960], rax
mov rbx, rcx
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0x30]
call fcn.140012fd0
nop
xor edx, edx
mov r8d, 0x110
lea rcx, [rbx + 0x78]
call fcn.140018030
lea r11, [rsp + 0x38]
mov qword [rsp + 0x20], r11
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareProtectStarData_Shredder
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000bfb3
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x44], 0x800
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x160]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.RegisteredLicense
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000bfa7
lea r8, [rsp + 0x160]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14000cba0
lea rcx, [rbx + 0x78]
mov rdx, rax
mov r8d, 0x110
call fcn.140018980
lea rdx, [rbx + 0x86]
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbx + 0x28]
call fcn.140007d30
lea rdx, [rbx + 0x106]
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbx + 0x50]
call fcn.140007d30
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0x30]
call fcn.140004050
mov rcx, qword [rsp + 0x960]
xor rcx, rsp
call fcn.140016ba0
mov rbx, qword [rsp + 0x988]
add rsp, 0x970
pop rdi
ret
Function at 0x14000c390
Capabilities:
Set file attributes

Disassembly:
sub rsp, 0x48
mov rcx, qword [rcx + 8]
xor eax, eax
mov byte [rsp + 0x58], dl
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x30]
lea r9d, [rax + 1]
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x34], eax
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x20], 0xd
call qword [sym.imp.ntdll.dll_ZwSetInformationFile]
add rsp, 0x48
ret

Function at 0x14000c3d0
Capabilities:
Get file attributes

Disassembly:
push rbx
sub rsp, 0x70
xor eax, eax
mov rbx, rcx
xor ecx, ecx
lea r9d, [rcx + 0x18]
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x58], ecx
mov rcx, qword [rbx + 8]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x34], eax
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x5c], eax
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x64], eax
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x6c], eax
mov dword [rsp + 0x20], 3
call qword [sym.imp.ntdll.dll_ZwQueryVolumeInformationFile]
test eax, eax
jne 0x14000c46a
mov rcx, qword [rbx + 8]
lea r9d, [rax + 0x18]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x20], 5
call qword [sym.imp.ntdll.dll_ZwQueryInformationFile]
test eax, eax
je 0x14000c46a
mov al, 1
add rsp, 0x70
pop rbx
ret
xor al, al
add rsp, 0x70
pop rbx
ret

Function at 0x14000c480
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
xor eax, eax
mov rdi, rcx
xor ecx, ecx
lea r9d, [rcx + 0x18]
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x58], ecx
mov rcx, qword [rdi + 8]
mov rbx, rdx
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x34], eax
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x5c], eax
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x64], eax
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x6c], eax
mov dword [rsp + 0x20], 5
call qword [sym.imp.ntdll.dll_ZwQueryInformationFile]
test eax, eax
jne 0x14000c50b
mov rax, qword [rsp + 0x58]
mov qword [rbx], rax
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
mov rcx, qword [rdi + 8]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
mov r9d, 0x18
mov dword [rsp + 0x20], 3
call qword [sym.imp.ntdll.dll_ZwQueryVolumeInformationFile]
mov r11d, dword [rsp + 0x50]
mov eax, dword [rsp + 0x54]
imul r11, rax
imul r11, qword [rsp + 0x40]
mov qword [rbx], r11
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret

Function at 0x14000c560
Capabilities:
Set file attributes

Disassembly:
sub rsp, 0x48
mov rcx, qword [rcx + 8]
xor eax, eax
lea r8, [rsp + 0x50]
mov dword [rsp + 0x34], eax
mov qword [rsp + 0x38], rax
mov rax, qword [rdx]
lea rdx, [rsp + 0x30]
mov r9d, 8
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x20], 0xe
call qword [sym.imp.ntdll.dll_ZwSetInformationFile]
add rsp, 0x48
ret
Function at 0x14000c5b0
Capabilities:
Read file on windows

Disassembly:
mov r11, rsp
sub rsp, 0x68
mov rcx, qword [rcx + 8]
xor eax, eax
xor r10d, r10d
mov qword [r11 - 0x28], r10
mov qword [r11 - 0x30], r9
mov dword [r11 - 0x38], r8d
mov qword [r11 - 0x40], rdx
mov dword [r11 - 0x18], r10d
mov dword [rsp + 0x54], eax
mov qword [r11 - 0x10], rax
lea rax, [r11 - 0x18]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [r11 - 0x48], rax
call qword [sym.imp.ntdll.dll_ZwReadFile]
add rsp, 0x68
ret

Function at 0x14000c600
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
sub rsp, 0x68
mov rcx, qword [rcx + 8]
xor eax, eax
xor r10d, r10d
mov qword [r11 - 0x28], r10
mov qword [r11 - 0x30], r9
mov dword [r11 - 0x38], r8d
mov qword [r11 - 0x40], rdx
mov dword [r11 - 0x18], r10d
mov dword [rsp + 0x54], eax
mov qword [r11 - 0x10], rax
lea rax, [r11 - 0x18]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [r11 - 0x48], rax
call qword [sym.imp.ntdll.dll_ZwWriteFile]
add rsp, 0x68
ret

Function at 0x14000c710
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push rbx
sub rsp, 0x890
mov rax, qword [0x14003c510]
xor rax, rsp
mov qword [rsp + 0x880], rax
mov rbx, rcx
mov rcx, qword [rcx + 8]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
mov r9d, 0x410
mov dword [rsp + 0x20], 9
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
test eax, eax
jne 0x14000c822
mov byte [rsp + 0x450], al
xor eax, eax
mov qword [rsp + 0x458], rax
mov dword [rsp + 0x460], eax
mov eax, dword [rsp + 0x40]
add eax, 0xfffffffe
lea r8, [rsp + rax + 0x44]
lea rax, [rsp + 0x44]
cmp r8, rax
jb 0x14000c7bf
movzx eax, word [r8]
cmp ax, 0x5c
je 0x14000c7c6
movzx ecx, ax
mov eax, 0x66666667
sub r8, 2
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
sub ecx, eax
lea rax, [rsp + 0x44]
add cx, 0x41
mov word [r8 + 2], cx
cmp r8, rax
jae 0x14000c786
cmp word [r8], 0x5c
jne 0x14000c7ca
add r8, 2
mov eax, dword [rsp + 0x40]
lea rcx, [rsp + 0x464]
lea rdx, [rsp + rax + 0x44]
cmp r8, rdx
jae 0x14000c7fd
movzx eax, word [r8]
add r8, 2
add rcx, 2
mov word [rcx - 2], ax
add dword [rsp + 0x460], 2
cmp r8, rdx
jb 0x14000c7e0
mov rcx, qword [rbx + 8]
lea r8, [rsp + 0x450]
lea rdx, [rsp + 0x30]
mov r9d, 0x428
mov dword [rsp + 0x20], 0xa
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
mov rcx, qword [rsp + 0x880]
xor rcx, rsp
call fcn.140016ba0
add rsp, 0x890
pop rbx
ret

Function at 0x14000c890
Capabilities:
Set file attributes

Disassembly:
sub rsp, 0x48
mov rcx, qword [rcx + 8]
xor eax, eax
lea r8, [rsp + 0x50]
mov dword [rsp + 0x34], eax
mov qword [rsp + 0x38], rax
mov rax, qword [rdx]
lea rdx, [rsp + 0x30]
mov r9d, 8
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x20], 0x14
call qword [sym.imp.ntdll.dll_ZwSetInformationFile]
add rsp, 0x48
ret
Function at 0x14000c8f0
Capabilities:
Get file attributes

Disassembly:
push rbx
sub rsp, 0x40
mov rcx, qword [rcx + 8]
xor eax, eax
mov rbx, rdx
xor edx, edx
lea r8, [rsp + 0x50]
mov dword [rsp + 0x20], 0xe
lea r9d, [rdx + 8]
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x50], edx
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x34], eax
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x54], eax
call qword [sym.imp.ntdll.dll_ZwQueryInformationFile]
mov r11, qword [rsp + 0x50]
mov qword [rbx], r11
add rsp, 0x40
pop rbx
ret

Function at 0x14000ce90
Capabilities:
Hash data using crc32b

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
xor ebx, ebx
or r8d, 0xffffffff
mov rsi, rcx
movsxd rdi, edx
mov r11, rbx
test edx, edx
jle 0x14000cf22
nop word [rax + rax]
movzx r9d, byte [r11 + rsi]
mov r10d, ebx
xor dl, dl
nop word [rax + rax]
test r9b, 1
je 0x14000ceea
movzx eax, dl
mov ecx, 7
sub ecx, eax
mov eax, 1
shl eax, cl
or r10d, eax
inc dl
shr r9d, 1
cmp dl, 8
jb 0x14000ced0
movzx eax, r10b
shl eax, 0x18
xor r8d, eax
mov al, 8
bt r8d, 0x1f
jae 0x14000cf13
add r8d, r8d
xor r8d, 0x4c11db7
jmp 0x14000cf16
add r8d, r8d
add al, 0xff
jne 0x14000cf00
inc r11
cmp r11, rdi
jl 0x14000cec0
xor r9b, r9b
test r8b, 1
je 0x14000cf3f
movzx eax, r9b
mov ecx, 0x1f
mov edx, 1
sub ecx, eax
shl edx, cl
or ebx, edx
inc r9b
shr r8d, 1
cmp r9b, 0x20
jb 0x14000cf25
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
not ebx
mov eax, ebx
mov rbx, qword [rsp + 8]
ret
Function at 0x1400127b9
Capabilities:
Encode data using xor

Disassembly:
test r9d, r9d
je 0x1400128ee
mov r11, rsp
push rbx
push rbp
push rdi
push r13
push r14
sub rsp, 0x80
mov rax, qword [0x14003c510]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov qword [r11 - 0x30], rsi
mov qword [r11 - 0x38], r12
mov r12d, dword [rcx]
mov rdi, rdx
mov edx, dword [rsp + 0xd0]
shl r12d, 2
mov ebp, r9d
mov rbx, r8
mov r13, rcx
test edx, edx
je 0x1400128ac
cmp edx, 1
jne 0x1400128c9
xor eax, eax
mov rdx, rdi
mov qword [rsp + 0x20], rax
mov qword [r11 - 0x80], rax
mov qword [r11 - 0x78], rax
mov qword [r11 - 0x70], rax
mov qword [r11 - 0x68], rax
mov qword [r11 - 0x60], rax
mov qword [r11 - 0x58], rax
mov qword [r11 - 0x50], rax
call fcn.14000da60
test r12d, r12d
je 0x140012862
lea rcx, [rsp + 0x20]
mov edx, r12d
nop word [rax + rax]
movzx eax, byte [rcx]
inc rbx
inc rcx
xor byte [rbx - 1], al
sub rdx, 1
jne 0x140012850
mov esi, r12d
movsxd r14, r12d
add rdi, rsi
add ebp, 0xffffffff
je 0x1400128c9
mov r8, rbx
mov rdx, rdi
mov rcx, r13
call fcn.14000da60
test r12d, r12d
je 0x1400128a2
mov rcx, rdi
mov rdx, rsi
sub rcx, r14
nop dword [rax]
movzx eax, byte [rcx]
inc rbx
inc rcx
xor byte [rbx - 1], al
sub rdx, 1
jne 0x140012890
add rdi, rsi
add ebp, 0xffffffff
jne 0x140012870
jmp 0x1400128c9
mov esi, r12d
nop
mov r8, rbx
mov rdx, rdi
mov rcx, r13
call fcn.14000da60
add rdi, rsi
add rbx, rsi
add ebp, 0xffffffff
jne 0x1400128b0
mov rsi, qword [rsp + 0x78]
mov r12, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140016ba0
add rsp, 0x80
pop r14
pop r13
pop rdi
pop rbp
pop rbx
repz ret
Function at 0x14001daeb
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14003c510]
jne 0x140016bba
rol rcx, 0x10
test cx, 0xffff
jne 0x140016bb6
repz ret
ror rcx, 0x10
jmp 0x14001da44
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140042800]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov r11, qword [0x1400428f8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.ntdll.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14001dac9
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140042800]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.ntdll.dll_RtlVirtualUnwind
jmp 0x14001daeb
mov rax, qword [rsp + 0x88]
mov qword [0x1400428f8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140042898], rax
mov rax, qword [0x1400428f8]
mov qword [0x140042770], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140042880], rax
mov dword [0x140042760], 0xc0000409
mov dword [0x140042764], 1
mov rax, qword [0x14003c510]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14003c518]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1400427f8], eax
mov ecx, 1
call fcn.140020828
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140032ad8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400427f8], 0
jne 0x14001db72
mov ecx, 1
call fcn.140020828
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x14001ec4c
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.140024364
nop
cmp dword [0x140042d68], 1
je 0x14001ebf8
mov dword [0x140042d64], 1
mov byte [0x140042d60], r12b
test ebx, ebx
jne 0x14001ebe4
mov rcx, qword [0x140043950]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14001ebd1
mov rcx, qword [0x140043948]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x14001eb70
call fcn.14001e3f4
cmp qword [rdi], rax
jne 0x14001eb70
jmp 0x14001eb56
cmp rdi, rsi
jb 0x14001ebd1
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.14001e3f4
mov qword [rdi], rax
call rbx
mov rcx, qword [0x140043950]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x140043948]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x14001ebaf
cmp r13, rax
je 0x14001ebcf
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x14001eb56
lea rdx, [0x1400314f8]
lea rcx, [0x1400314e0]
call fcn.14001e9a0
lea rdx, [0x140031508]
lea rcx, [0x140031500]
call fcn.14001e9a0
nop
test r12d, r12d
je 0x14001ec07
mov ecx, 8
call fcn.140024264
test r12d, r12d
jne 0x14001ec32
mov dword [0x140042d68], 1
lea ecx, [r12 + 8]
call fcn.140024264
mov ecx, r15d
call fcn.14001e934
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x14001eac0

Function at 0x14001ec58
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x14001eac0

Function at 0x14001f7c8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, edx
test rcx, rcx
jne 0x14001f802
call fcn.14001af98
and dword [rax], 0
call fcn.14001af78
and qword [rsp + 0x20], 0
mov ebx, 0x16
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov dword [rax], ebx
call fcn.140017744
mov eax, ebx
jmp 0x14001f852
test edx, 0xfffffff9
jne 0x14001f7d5
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x14001f82b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14001afb8
call fcn.14001af78
mov eax, dword [rax]
jmp 0x14001f852
test al, 0x10
jne 0x14001f850
test al, 1
je 0x14001f850
test bl, 2
je 0x14001f850
call fcn.14001af98
mov dword [rax], 5
call fcn.14001af78
mov dword [rax], 0xd
jmp 0x14001f822
xor eax, eax
add rsp, 0x30
pop rbx
ret