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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
sub rsp, 0x50
mov r12d, edx
xor ebx, ebx
xor edx, edx
mov edi, ebx
mov rbp, rcx
call fcn.10000d400
mov rsi, rax
cmp rax, rbx
je 0x10000dc1f
mov edx, 0x2000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp eax, ebx
je 0x10000dbe5
mov qword [rsp + 0x30], rbx
and r12b, 1
mov edx, 0x10000
neg r12b
mov rcx, rsi
mov dword [rsp + 0x28], 0x2200000
sbb r8d, r8d
xor r9d, r9d
mov dword [rsp + 0x20], 3
not r8d
and r8d, 7
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x10000dbd7
lea r9d, [rbx + 1]
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0x40]
mov rcx, rax
mov byte [rsp + 0x80], 1
mov dword [rsp + 0x20], 0xd
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
cmp eax, ebx
jge 0x10000dbc7
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edi, eax
jmp 0x10000dbcc
mov ebx, 1
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10000dc0b
call sub.KERNEL32.dll_GetLastError
lea r8, [0x100004c80]
jmp 0x10000dbf1
call sub.KERNEL32.dll_GetLastError
lea r8, [0x100004ce0]
lea rcx, [0x1000152b8]
mov r9, rbp
mov edx, 0x3000000
mov edi, eax
mov dword [rsp + 0x20], eax
call fcn.10000c95c
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbp, qword [rsp + 0x78]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop r12
pop rdi
pop rsi
ret
Function at 0x10000dc44
Capabilities:
Delete directory
Set file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x30
xor r12d, r12d
mov rsi, rcx
mov ebp, r12d
mov edi, r12d
cmp rcx, r12
je 0x10000dd3c
cmp r12w, word [rcx]
je 0x10000dd3c
xor edx, edx
call fcn.10000d400
mov rbx, rax
cmp rax, r12
je 0x10000dcf1
mov edx, 0x80
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp eax, r12d
jne 0x10000dcc4
call sub.KERNEL32.dll_GetLastError
lea r8, [0x100004d70]
lea rcx, [0x1000152b8]
mov r9, rbx
mov edx, 0x3000000
mov edi, eax
mov dword [rsp + 0x20], eax
call fcn.10000c95c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebp, eax
cmp eax, r12d
jne 0x10000dd17
cmp edi, r12d
jne 0x10000dce0
call sub.KERNEL32.dll_GetLastError
mov edi, eax
call sub.KERNEL32.dll_GetLastError
mov r9, rbx
lea r8, [0x100004e00]
jmp 0x10000dd02
call sub.KERNEL32.dll_GetLastError
mov r9, rsi
lea r8, [0x100004e80]
mov edi, eax
lea rcx, [0x1000152b8]
mov edx, 0x3000000
mov dword [rsp + 0x20], eax
call fcn.10000c95c
cmp rbx, r12
je 0x10000dd30
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebp
jmp 0x10000dd49
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r12
ret

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov edi, ebx
cmp rcx, rbx
je 0x10000ddeb
cmp bx, word [rcx]
je 0x10000ddeb
xor edx, edx
call fcn.10000d400
mov rsi, rax
cmp rax, rbx
je 0x10000dde7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10000ddaf
test al, 0x10
je 0x10000ddaf
lea edi, [rbx + 1]
jmp 0x10000ddcb
call sub.KERNEL32.dll_GetLastError
mov ecx, 0x10b
cmp eax, ebx
cmove eax, ecx
mov ecx, 3
cmp eax, 2
cmove eax, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
jmp 0x10000ddf8
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x10000de10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor edi, edi
cmp rcx, rdi
je 0x10000de7a
cmp di, word [rcx]
je 0x10000de7a
xor edx, edx
call fcn.10000d400
mov rsi, rax
cmp rax, rdi
je 0x10000de76
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10000de53
bt eax, 0xa
jae 0x10000de53
mov edi, 1
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rsi
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
jmp 0x10000de87
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov edi, ebx
cmp rcx, rbx
je 0x10000e06e
cmp bx, word [rcx]
je 0x10000e06e
xor edx, edx
call fcn.10000d400
mov rsi, rax
cmp rax, rbx
je 0x10000e05b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10000e03e
test al, 0x10
je 0x10000e037
lea edi, [rbx + 2]
jmp 0x10000e045
mov ebx, 1
jmp 0x10000e045
call sub.KERNEL32.dll_GetLastError
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x10000e062
call sub.KERNEL32.dll_GetLastError
mov edi, eax
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
jmp 0x10000e07b
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x10000e094
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x60
mov rsi, qword [rsp + 0x90]
xor ebx, ebx
mov rbp, r8
cmp rsi, rbx
je 0x10000e16d
lea rdx, [0x100004fd0]
xor r8d, r8d
mov rcx, 0xffffffff80000002
cmp rdx, rbx
je 0x10000e141
lea rax, [r11 + 8]
lea r9, [0x100001f24]
mov qword [r11 - 0x18], rbx
mov qword [r11 - 0x28], rax
lea rax, [r11 - 0x18]
mov dword [rsp + 0x70], ebx
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x38], rbx
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
cmp eax, ebx
jne 0x10000e15c
mov rcx, qword [rsp + 0x50]
lea r9d, [rbx + 4]
xor r8d, r8d
mov dword [rsp + 0x28], r9d
mov rdx, rbp
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
mov edi, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10000e15c
mov r9d, 4
mov rdx, rbp
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp edi, ebx
sete bl
mov eax, ebx
jmp 0x10000e17a
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x10000e198
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
lea rsi, [0x100004fd0]
mov rdi, rdx
mov qword [r11 + 0x18], rbx
cmp rsi, rbx
je 0x10000e1e7
lea rax, [r11 + 0x18]
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rsi
mov qword [r11 - 0x18], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x10000e22b
mov rcx, qword [rsp + 0x50]
cmp rcx, rbx
jne 0x10000e1ec
jmp 0x10000e22b
mov qword [rsp + 0x50], rcx
cmp rdi, rbx
je 0x10000e219
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x50]
cmp eax, ebx
mov edi, ebx
sete dil
jmp 0x10000e21e
mov edi, 1
cmp rsi, rbx
je 0x10000e229
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x10000e24c
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rsi
sub rsp, 0x40
and qword [rax - 0x10], 0
and dword [rax + 0x18], 0
and dword [rax - 0x18], 0
lea rsi, [0x100004fd0]
mov rbx, rdx
mov dword [rax + 0x20], 4
test rsi, rsi
je 0x10000e2b0
lea rax, [rax - 0x10]
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10000e2a4
mov rcx, qword [rsp + 0x38]
test rcx, rcx
jne 0x10000e2b5
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x10000e30b
mov qword [rsp + 0x38], rcx
lea rax, [rsp + 0x68]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov rdx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x10000e2ea
cmp dword [rsp + 0x68], 4
je 0x10000e2ef
lea ebx, [rax + 0xd]
and dword [rsp + 0x60], 0
test rsi, rsi
je 0x10000e2ff
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rsp + 0x60]
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rsi
ret
Function at 0x10000ec90
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x270
mov rax, qword [0x100014100]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor r14d, r14d
mov rsi, rcx
mov r13, r14
mov edi, r14d
cmp rcx, r14
je 0x10000ee7c
cmp r14w, word [rcx]
je 0x10000ee7c
lea r15, [0x1000051b0]
cmp r15, r14
je 0x10000ee7c
call fcn.10000dff4
cmp eax, r14d
je 0x10000ee68
lea rdx, [rsp + 0x40]
mov rcx, rsi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov r12d, eax
cmp eax, r14d
je 0x10000ee68
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea edx, [r14 + 8]
mov r8, r12
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbp, rax
cmp rax, r14
je 0x10000ee48
mov r9, rax
mov r8d, r12d
xor edx, edx
mov rcx, rsi
call sub.VERSION.dll_GetFileVersionInfoW
cmp eax, r14d
je 0x10000ee3f
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, [0x1000032b0]
mov rcx, rbp
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], r14d
call sub.VERSION.dll_VerQueryValueW
cmp eax, r14d
je 0x10000ee4d
cmp dword [rsp + 0x30], 4
jb 0x10000ee4d
mov rax, qword [rsp + 0x38]
lea r8, [0x1000051c8]
mov edx, 0x104
movzx ecx, word [rax + 2]
movzx r9d, word [rax]
mov dword [rsp + 0x20], ecx
lea rcx, [rsp + 0x50]
call fcn.10000c3c4
cmp eax, r14d
jl 0x10000ee3a
lea rcx, [rsp + 0x50]
mov rdx, r15
call fcn.10000c7f4
mov rbx, rax
cmp rax, r14
je 0x10000ee0d
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
mov rdx, rax
mov rcx, rbp
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], r14d
call sub.VERSION.dll_VerQueryValueW
cmp eax, r14d
je 0x10000ee1f
mov rcx, qword [rsp + 0x38]
cmp rcx, r14
je 0x10000ee1f
cmp dword [rsp + 0x30], r14d
je 0x10000ee1f
call fcn.10000e408
mov r13, rax
jmp 0x10000ee1f
call sub.KERNEL32.dll_GetLastError
mov edi, eax
mov eax, 0x1f
cmp edi, r14d
cmove edi, eax
cmp rbx, r14
je 0x10000ee4d
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x10000ee4d
movzx edi, ax
jmp 0x10000ee4d
call sub.KERNEL32.dll_GetLastError
mov edi, eax
jmp 0x10000ee4d
mov edi, 0xe
cmp rbp, r14
je 0x10000ee6f
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbp
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x10000ee6f
call sub.KERNEL32.dll_GetLastError
mov edi, eax
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, r13
jmp 0x10000ee89
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.10000f390
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x10000f050
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
push r13
sub rsp, 0xb0
xor ebx, ebx
mov dword [rsp + 0x20], ebx
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
mov r12d, ebx
xor eax, eax
lock cmpxchg qword [0x1000152e8], rdi
je 0x10000f0b0
cmp rax, rdi
jne 0x10000f0a3
mov r12d, 1
jmp 0x10000f0b0
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10000f089
mov eax, dword [0x1000152e0]
cmp eax, 1
jne 0x10000f0c5
lea ecx, [rax + 0x1e]
call sub.msvcrt.dll__amsg_exit
jmp 0x10000f12c
mov eax, dword [0x1000152e0]
cmp eax, ebx
jne 0x10000f122
mov dword [0x1000152e0], 1
lea r13, [0x100001708]
lea rdi, [0x1000016f0]
mov qword [rsp + 0x30], rdi
mov eax, ebx
mov dword [rsp + 0x24], ebx
cmp rdi, r13
jae 0x10000f114
cmp eax, ebx
jne 0x10000f114
mov rcx, qword [rdi]
cmp rcx, rbx
je 0x10000f109
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x10000f0f2
cmp eax, ebx
je 0x10000f12c
mov eax, 0xff
jmp 0x10000f274
mov dword [0x100014adc], 1
mov eax, dword [0x1000152e0]
cmp eax, 1
jne 0x10000f154
lea rdx, [0x1000016e8]
lea rcx, [0x1000016d8]
call sub.msvcrt.dll__initterm
mov dword [0x1000152e0], 2
cmp r12d, ebx
jne 0x10000f163
mov rax, rbx
xchg qword [0x1000152e8], rax
cmp qword [0x1000152f0], rbx
je 0x10000f18b
lea rcx, [0x1000152f0]
call fcn.10000f55c
cmp eax, ebx
je 0x10000f18b
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x1000152f0]
mov rcx, qword [sym.imp.msvcrt.dll__wcmdln]
cmp qword [rcx], rbx
jne 0x10000f1a1
mov eax, 0xff
jmp 0x10000f274
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
ja 0x10000f226
cmp word [rcx], bx
je 0x10000f1bc
cmp edx, ebx
jne 0x10000f226
cmp word [rcx], bx
je 0x10000f1d2
cmp word [rcx], 0x20
ja 0x10000f1d2
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x10000f1bc
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x100000000]
call fcn.100006c74
mov dword [0x100014ad8], eax
cmp dword [0x100014abc], ebx
jne 0x10000f210
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x100014adc], ebx
jne 0x10000f224
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x100014ad8]
jmp 0x10000f274
cmp word [rcx], 0x22
jne 0x10000f239
mov eax, ebx
cmp edx, ebx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x10000f1ad
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r12, qword [r11 + 0x20]
mov rsp, r11
pop r13
ret
sub rsp, 0x28
call fcn.10000f670
add rsp, 0x28
jmp 0x10000f050
Function at 0x10000f390
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x100014100]
jne 0x10000f3ab
rol rcx, 0x10
test cx, 0xffff
jne 0x10000f3a7
ret 0
ror rcx, 0x10
jmp 0x10000f72c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x100014b90]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov r11, qword [0x100014c88]
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 0x10000f7b1
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, [0x100014b90]
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 0x10000f7d3
mov rax, qword [rsp + 0x88]
mov qword [0x100014c88], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x100014c28], rax
mov rax, qword [0x100014c88]
mov qword [0x100014b00], rax
mov rax, qword [rsp + 0x90]
mov qword [0x100014c10], rax
mov dword [0x100014af0], 0xc0000409
mov dword [0x100014af4], 1
mov rax, qword [0x100014100]
mov qword [rsp + 0x68], rax
mov rax, qword [0x100014108]
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x100001730]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
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 0x10000f5c8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x10000f615
cmp rcx, 0xffffffffffffffff
je 0x10000f615
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x10000f60d
cmp dword [rcx + 0x3c], edx
jl 0x10000f60d
cmp dword [rcx + 0x3c], 0x10000000
jae 0x10000f60d
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x10000f615
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140001850
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push r14
mov r14, rcx
mov rsi, r8
mov rbp, rdx
sub r14, qword [r8 + 0x30]
je 0x1400019d2
test byte [r8 + 0x5e], 0x40
jne 0x14000187d
xor eax, eax
mov rbp, qword [rsp + 0x30]
pop r14
pop rsi
ret
movzx edx, word [rsi + 0x14]
movzx eax, word [rsi + 6]
add rdx, 0x18
mov r8d, dword [r8 + 0xb0]
add rdx, rsi
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
cmp rdx, r9
jae 0x1400019d2
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1400018b6
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x1400018cd
add rdx, 0x28
cmp rdx, r9
jb 0x1400018a4
mov eax, 1
mov rbp, qword [rsp + 0x30]
pop r14
pop rsi
ret
mov qword [rsp + 0x18], rbx
mov ebx, dword [rdx + 0x14]
sub rbx, rcx
mov qword [rsp + 0x28], r15
mov r15d, dword [rsi + 0xb4]
add rbx, r8
add rbx, rbp
add r15, rbx
test rbx, rbx
je 0x1400019c8
cmp rbx, r15
jae 0x1400019c8
mov qword [rsp + 0x20], rdi
mov eax, dword [rbx + 4]
test eax, eax
je 0x1400019c3
add eax, 0xfffffff8
shr eax, 1
je 0x1400019b4
lea r11, [rbx + 8]
mov edi, eax
movzx r8d, word [r11]
movzx eax, r8w
shr ax, 0xc
and r8d, 0x80000fff
jge 0x140001942
dec r8d
or r8d, 0xfffff000
inc r8d
cmp ax, 3
je 0x14000194e
cmp ax, 0xa
jne 0x1400019a6
movzx eax, word [rsi + 0x14]
movzx ecx, word [rsi + 6]
add rax, 0x18
mov r9d, dword [rbx]
add rax, rsi
lea rdx, [rcx + rcx*4]
lea r10, [rax + rdx*8]
cmp rax, r10
jae 0x14000199b
nop dword [rax]
mov edx, dword [rax + 0xc]
cmp r9, rdx
jb 0x140001982
mov ecx, dword [rax + 8]
add ecx, edx
cmp r9, rcx
jb 0x14000198d
add rax, 0x28
cmp rax, r10
jb 0x140001970
jmp 0x14000199b
mov ecx, dword [rax + 0x14]
sub rcx, rdx
add rcx, r9
add rcx, rbp
jne 0x14000199e
mov rcx, rbp
movzx eax, r8w
add qword [rax + rcx], r14
add r11, 2
sub rdi, 1
jne 0x140001920
mov eax, dword [rbx + 4]
add rbx, rax
cmp rbx, r15
jb 0x140001904
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x18]
mov r15, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov eax, 1
pop r14
pop rsi
ret
Function at 0x1400019e0
Capabilities:
Enumerate pe sections

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r13
sub rsp, 0x38
movzx eax, word [r9 + 0x14]
lea r10, [r9 + 0x18]
mov r11d, dword [r9 + 0x90]
add r10, rax
movzx eax, word [r9 + 6]
mov rbp, r9
mov r13, r8
mov edi, edx
mov rsi, rcx
lea r9, [rax + rax*4]
lea r8, [r10 + r9*8]
cmp r10, r8
jae 0x140001a43
mov ecx, dword [r10 + 0xc]
cmp r11, rcx
jb 0x140001a3a
mov eax, dword [r10 + 8]
add eax, ecx
cmp r11, rax
jb 0x140001ace
add r10, 0x28
cmp r10, r8
jb 0x140001a22
xor eax, eax
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
test r11d, r11d
je 0x140001aab
cmp dword [rbp + 0x94], 0
je 0x140001aab
lea rbx, [rax + 0x10]
movzx edx, word [rbp + 0x14]
movzx eax, word [rbp + 6]
add rdx, 0x18
mov r8d, dword [rbx - 4]
add rdx, rbp
mov qword [rsp + 0x78], rbx
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
cmp rdx, r9
jae 0x140001aab
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x140001aa2
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x140001ae0
add rdx, 0x28
cmp rdx, r9
jb 0x140001a90
mov eax, 1
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x70]
add rsp, 0x38
pop r13
pop rdi
pop rsi
pop rbp
ret
mov eax, dword [r10 + 0x14]
sub rax, rcx
add rax, r11
add rax, r13
jmp 0x140001a45
mov r15d, dword [rdx + 0x14]
sub r15, rcx
add r15, r8
add r15, r13
je 0x140001aab
mov r8, r15
mov edx, edi
mov rcx, rsi
call fcn.140001070
mov r12, rax
test rax, rax
je 0x140001c19
movzx edx, word [rbp + 0x14]
movzx eax, word [rbp + 6]
add rdx, 0x18
mov r8d, dword [rbx]
add rdx, rbp
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
cmp rdx, r9
jae 0x140001b42
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x140001b39
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x140001b67
add rdx, 0x28
cmp rdx, r9
jb 0x140001b27
xor r14d, r14d
mov rdi, qword [r14]
test rdi, rdi
je 0x140001bfe
jns 0x140001b76
xor edx, edx
mov rcx, r15
lea r8d, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
movzx edx, di
jmp 0x140001bc2
mov r14d, dword [rdx + 0x14]
sub r14, rcx
add r14, r8
add r14, r13
jmp 0x140001b45
movzx eax, word [rbp + 0x14]
movzx ecx, word [rbp + 6]
add rax, 0x18
add rax, rbp
lea rdx, [rcx + rcx*4]
lea r8, [rax + rdx*8]
cmp rax, r8
jae 0x140001bad
mov edx, dword [rax + 0xc]
cmp rdi, rdx
jb 0x140001ba4
mov ecx, dword [rax + 8]
add ecx, edx
cmp rdi, rcx
jb 0x140001c0b
add rax, 0x28
cmp rax, r8
jb 0x140001b92
xor esi, esi
xor edx, edx
mov rcx, r15
lea r8d, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
lea rdx, [rsi + 2]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov rcx, rbx
sub rdi, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rax, [rdi + r12]
mov qword [r14], rax
add r14, 8
mov rdi, qword [r14]
test rdi, rdi
jne 0x140001b51
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x60]
mov edi, dword [rsp + 0x68]
add rbx, 0x14
jmp 0x140001a6b
mov esi, dword [rax + 0x14]
sub rsi, rdx
add rsi, rdi
add rsi, r13
jmp 0x140001baf
jmp 0x140001ab0
Function at 0x140002240
Capabilities:
Execute command

Disassembly:
sub rsp, 0x28
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140001c20
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor eax, eax
add rsp, 0x28
ret

Function at 0x140002f30
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002f7a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002f7a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002f7a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002f7a
cmp dword [rcx + 0x84], 0xe
jbe 0x140002f7a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002f7c
xor al, al
add rsp, 0x28
ret

Function at 0x14171d9ec
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14171d9f6
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x14171da1f
pop rbp
sub rbp, 0x33
sub rbp, 0x171d9ec
sub rsp, 0x20
jmp 0x14171da3e
mov rax, 0x171d9ec
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0xffffffffb11a898b
xor byte [rax], dl
inc rax
dec rcx
jne 0x14171da5d
jmp 0x14171da74
ret