joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14010fc70
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0xc0]
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp + 0x10], rcx
mov rdi, rdx
mov ebx, r8d
mov rsi, r9
xor edx, edx
mov dword [rbp - 0x40], edx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1400eb2f0
mov rcx, qword [rbp + 0x10]
mov r14, qword [rcx + 8]
mov qword [rbp - 0x48], rsi
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15, qword [rbp + 0x30]
mov qword [rsp + 0x20], r15
mov rcx, r14
mov qword [rbp - 0x54], rcx
mov rdx, rdi
mov qword [rbp - 0x5c], rdx
mov r8d, ebx
mov dword [rbp - 0x4c], r8d
mov r9, rsi
mov qword [rbp - 0x64], r9
lea rcx, [rbp - 0x90]
call fcn.140003110
mov rcx, qword [rbp - 0x54]
mov rdx, qword [rbp - 0x5c]
mov r8d, dword [rbp - 0x4c]
mov r9, qword [rbp - 0x64]
call sub.KERNEL32.dll_WriteFile
mov esi, eax
lea rcx, [rbp - 0x90]
call fcn.140003160
call sub.KERNEL32.dll_GetLastError
mov edi, eax
xor ecx, ecx
mov qword [rbp - 0x48], rcx
cmp byte [rbp - 0x40], 0
je 0x14010fd33
mov rcx, qword [rbp + 0x10]
xor edx, edx
call fcn.1400eb320
call fcn.1400020d6
mov dword [rax + 8], edi
mov eax, esi
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x140110510
Capabilities:
Create thread

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0xd0]
xor eax, eax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov rsi, rcx
mov rdi, rdx
mov rbx, r8
mov r14, r9
mov r15, qword [rbp + 0x38]
xor ecx, ecx
mov dword [rbp - 0x3c], ecx
mov qword [rbp - 0x48], rcx
lea rcx, [0x1401d2d78]
call fcn.140002cc0
xor ecx, ecx
mov qword [rax + 8], rcx
mov dword [rax + 0x10], 4
mov byte [rax + 0x14], 1
mov byte [rax + 0x15], 1
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], r15
mov rcx, rsi
mov rdx, rdi
mov r8, rbx
mov r9, r14
mov esi, dword [rbp + 0x30]
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x68], rdx
mov qword [rbp - 0x70], r8
mov qword [rbp - 0x78], r9
mov dword [rsp + 0x20], esi
mov qword [rsp + 0x28], r15
lea rcx, [rbp - 0xa0]
call fcn.140003110
mov rcx, qword [rbp - 0x60]
mov rdx, qword [rbp - 0x68]
mov r8, qword [rbp - 0x70]
mov r9, qword [rbp - 0x78]
call sub.KERNEL32.dll_CreateThread
mov rsi, rax
lea rcx, [rbp - 0xa0]
call fcn.140003160
mov qword [rbp - 0x48], rsi
xor eax, eax
mov qword [rbp - 0x50], rax
mov dword [rbp - 0x3c], 1
mov rax, qword [rbp - 0x48]
mov rdx, qword [rbp - 0x58]
mov qword [rdx + 8], rax
mov rax, rdx
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140110660
Capabilities:
Resume thread

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x90]
mov qword [rbp + 0x10], rcx
xor edx, edx
mov dword [rbp - 0x40], edx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1400eb2f0
mov rcx, qword [rbp + 0x10]
mov rcx, qword [rcx + 8]
mov qword [rbp - 0x48], rcx
lea rcx, [rbp - 0x70]
call fcn.140003110
mov rcx, qword [rbp - 0x48]
call sub.KERNEL32.dll_ResumeThread
mov esi, eax
lea rcx, [rbp - 0x70]
call fcn.140003160
nop
cmp byte [rbp - 0x40], 0
je 0x1401106c7
mov rcx, qword [rbp + 0x10]
xor edx, edx
call fcn.1400eb320
mov eax, esi
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x1401114c0
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xc8
lea rbp, [rsp + 0x100]
xorps xmm4, xmm4
movaps xmmword [rbp - 0x70], xmm4
movaps xmmword [rbp - 0x60], xmm4
movaps xmmword [rbp - 0x50], xmm4
mov qword [rbp + 0x10], rcx
mov ebx, edx
mov rsi, r8
mov rdi, r9
mov r14, qword [rbp + 0x30]
mov r15, qword [rbp + 0x38]
mov r12, qword [rbp + 0x40]
mov r13, qword [rbp + 0x48]
xor edx, edx
mov dword [rbp - 0x40], edx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1400eb2f0
mov rcx, qword [rbp + 0x10]
mov rdx, qword [rcx + 8]
test r13, r13
jne 0x140111528
xor r8d, r8d
jmp 0x14011152c
lea r8, [r13 + 0x10]
mov qword [rbp - 0x48], r8
test r12, r12
jne 0x14011153a
xor r9d, r9d
jmp 0x14011153f
lea r9, [r12 + 0x10]
mov qword [rbp - 0x50], r9
test r15, r15
jne 0x14011154c
xor eax, eax
jmp 0x140111550
lea rax, [r15 + 0x10]
mov qword [rbp - 0x58], rax
test r14, r14
jne 0x14011155e
xor r10d, r10d
jmp 0x140111562
lea r10, [r14 + 0x10]
mov qword [rbp - 0x60], r10
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x70], rsi
mov qword [rsp + 0x20], r10
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x38], r8
mov rcx, rdx
mov qword [rbp - 0x7c], rcx
mov edx, ebx
mov dword [rbp - 0x74], edx
mov r8, rsi
mov qword [rbp - 0x84], r8
mov r9, rdi
mov qword [rbp - 0x8c], r9
lea rcx, [rbp - 0xb8]
call fcn.140003110
mov rcx, qword [rbp - 0x7c]
mov edx, dword [rbp - 0x74]
mov r8, qword [rbp - 0x84]
mov r9, qword [rbp - 0x8c]
call sub.ADVAPI32.dll_RegEnumKeyExW
mov esi, eax
lea rcx, [rbp - 0xb8]
call fcn.140003160
nop
xor ecx, ecx
mov qword [rbp - 0x70], rcx
xor ecx, ecx
mov qword [rbp - 0x68], rcx
xor ecx, ecx
mov qword [rbp - 0x60], rcx
xor ecx, ecx
mov qword [rbp - 0x58], rcx
xor ecx, ecx
mov qword [rbp - 0x50], rcx
xor ecx, ecx
mov qword [rbp - 0x48], rcx
cmp byte [rbp - 0x40], 0
je 0x14011160c
mov rcx, qword [rbp + 0x10]
xor edx, edx
call fcn.1400eb320
mov eax, esi
add rsp, 0xc8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140111b50
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0xc0]
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp + 0x10], rcx
mov rsi, rdx
mov rdi, r8
mov rbx, r9
xor edx, edx
mov dword [rbp - 0x40], edx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1400eb2f0
mov rcx, qword [rbp + 0x10]
mov rdx, qword [rcx + 8]
test rsi, rsi
je 0x140111ba1
add rsi, 0xc
jmp 0x140111ba3
xor esi, esi
mov qword [rbp - 0x48], rsi
mov r14, qword [rbp + 0x30]
mov qword [rsp + 0x20], r14
mov r14, qword [rbp + 0x38]
mov qword [rsp + 0x28], r14
mov rcx, rdx
mov qword [rbp - 0x50], rcx
mov rdx, rsi
mov qword [rbp - 0x58], rdx
mov r8, rdi
mov qword [rbp - 0x60], r8
mov r9, rbx
mov qword [rbp - 0x68], r9
lea rcx, [rbp - 0x90]
call fcn.140003110
mov rcx, qword [rbp - 0x50]
mov rdx, qword [rbp - 0x58]
mov r8, qword [rbp - 0x60]
mov r9, qword [rbp - 0x68]
call sub.ADVAPI32.dll_RegQueryValueExW
mov esi, eax
lea rcx, [rbp - 0x90]
call fcn.140003160
nop
xor ecx, ecx
mov qword [rbp - 0x48], rcx
cmp byte [rbp - 0x40], 0
je 0x140111c1c
mov rcx, qword [rbp + 0x10]
xor edx, edx
call fcn.1400eb320
mov eax, esi
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x140122f70
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0xc0]
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp + 0x10], rcx
mov rsi, rdx
mov rdi, r8
mov rbx, r9
xor edx, edx
mov dword [rbp - 0x40], edx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1400eb2f0
mov rcx, qword [rbp + 0x10]
mov rdx, qword [rcx + 8]
test rsi, rsi
je 0x140122fc1
add rsi, 0xc
jmp 0x140122fc3
xor esi, esi
mov qword [rbp - 0x48], rsi
mov r14, qword [rbp + 0x30]
mov qword [rsp + 0x20], r14
mov r14, qword [rbp + 0x38]
mov qword [rsp + 0x28], r14
mov rcx, rdx
mov qword [rbp - 0x50], rcx
mov rdx, rsi
mov qword [rbp - 0x58], rdx
mov r8, rdi
mov qword [rbp - 0x60], r8
mov r9, rbx
mov qword [rbp - 0x68], r9
lea rcx, [rbp - 0x90]
call fcn.140003110
mov rcx, qword [rbp - 0x50]
mov rdx, qword [rbp - 0x58]
mov r8, qword [rbp - 0x60]
mov r9, qword [rbp - 0x68]
call sub.ADVAPI32.dll_RegQueryValueExW
mov esi, eax
lea rcx, [rbp - 0x90]
call fcn.140003160
nop
xor ecx, ecx
mov qword [rbp - 0x48], rcx
cmp byte [rbp - 0x40], 0
je 0x14012303c
mov rcx, qword [rbp + 0x10]
xor edx, edx
call fcn.1400eb320
mov eax, esi
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140129020
Capabilities:
Set registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0xc0]
xor eax, eax
mov qword [rbp - 0x58], rax
xorps xmm4, xmm4
movaps xmmword [rbp - 0x50], xmm4
mov qword [rbp - 0x40], rax
mov qword [rbp + 0x18], rdx
mov rsi, rcx
mov edi, r8d
mov ebx, r9d
mov r14, qword [rbp + 0x30]
mov rcx, rdx
mov edx, 1
xor r8d, r8d
call fcn.1400e92e0
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x48], r14
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov qword [rsp + 0x20], r14
mov r14d, dword [rbp + 0x38]
mov dword [rsp + 0x28], r14d
mov rcx, rsi
mov qword [rbp - 0x60], rcx
mov rdx, qword [rbp - 0x40]
mov qword [rbp - 0x68], rdx
mov r8d, edi
mov dword [rbp - 0x4c], r8d
mov r9d, ebx
mov dword [rbp - 0x50], r9d
lea rcx, [rbp - 0x90]
call fcn.140003110
mov rcx, qword [rbp - 0x60]
mov rdx, qword [rbp - 0x68]
mov r8d, dword [rbp - 0x4c]
mov r9d, dword [rbp - 0x50]
call sub.ADVAPI32.dll_RegSetValueExA
mov esi, eax
lea rcx, [rbp - 0x90]
call fcn.140003160
call fcn.1400020d6
mov rdi, rax
mov qword [rbp - 0x58], rdi
call sub.KERNEL32.dll_GetLastError
mov rcx, qword [rbp - 0x58]
mov dword [rcx + 8], eax
cmp qword [rbp + 0x18], 0
je 0x14012910a
mov rdx, qword [rbp - 0x40]
test rdx, 0xffffffffffff0000
je 0x14012910a
mov rcx, rdx
call fcn.140110ac0
mov eax, esi
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x14014e6d0
Capabilities:
Create process on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xd8
lea rbp, [rsp + 0x110]
xor eax, eax
mov qword [rbp - 0x68], rax
xorps xmm4, xmm4
movaps xmmword [rbp - 0x60], xmm4
movaps xmmword [rbp - 0x50], xmm4
mov qword [rbp - 0x40], rax
mov rsi, rdx
mov r14, qword [rbp + 0x48]
mov rdi, qword [rbp + 0x50]
mov rbx, qword [rbp + 0x58]
cmp byte [rbp + 0x30], 0
jne 0x14014e71a
xor r15d, r15d
jmp 0x14014e720
mov r15d, 1
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x48], rdi
test r14, r14
je 0x14014e733
add r14, 0xc
jmp 0x14014e736
xor r14d, r14d
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x58], r9
mov r12, r9
mov qword [rbp - 0x60], r8
mov r13, r8
test rcx, rcx
je 0x14014e756
add rcx, 0xc
mov rax, rcx
jmp 0x14014e758
xor eax, eax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x70], rax
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov dword [rsp + 0x20], r15d
mov r15d, dword [rbp + 0x38]
mov dword [rsp + 0x28], r15d
mov r15, qword [rbp + 0x40]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rbx
mov rcx, qword [rbp - 0x70]
mov qword [rbp - 0x78], rcx
mov rdx, rsi
mov qword [rbp - 0x80], rdx
mov r8, r13
mov qword [rbp - 0x88], r8
mov r9, r12
mov qword [rbp - 0x90], r9
lea rcx, [rbp - 0xb8]
call fcn.140003110
mov rcx, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x80]
mov r8, qword [rbp - 0x88]
mov r9, qword [rbp - 0x90]
call sub.KERNEL32.dll_CreateProcessW
mov esi, eax
lea rcx, [rbp - 0xb8]
call fcn.140003160
call sub.KERNEL32.dll_GetLastError
mov edi, eax
xor eax, eax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
test esi, esi
setne sil
movzx esi, sil
call fcn.1400020d6
mov dword [rax + 8], edi
movzx eax, sil
add rsp, 0xd8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x14014ea30
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x48], rax
mov esi, edx
mov qword [rbp - 0x40], r8
mov rdi, r8
test rcx, rcx
jne 0x14014ea64
xor ebx, ebx
jmp 0x14014ea68
lea rbx, [rcx + 0x10]
mov qword [rbp - 0x48], rbx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rbx
mov qword [rbp - 0x54], rcx
mov edx, esi
mov dword [rbp - 0x4c], edx
mov r8, rdi
mov qword [rbp - 0x5c], r8
lea rcx, [rbp - 0x88]
call fcn.140003110
mov rcx, qword [rbp - 0x54]
mov edx, dword [rbp - 0x4c]
mov r8, qword [rbp - 0x5c]
call sub.KERNEL32.dll_K32EnumProcesses
mov esi, eax
lea rcx, [rbp - 0x88]
call fcn.140003160
call sub.KERNEL32.dll_GetLastError
mov edi, eax
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
test esi, esi
setne sil
movzx esi, sil
call fcn.1400020d6
mov dword [rax + 8], edi
movzx eax, sil
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x14014f360
Capabilities:
Create pipe

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0xd0]
xorps xmm4, xmm4
movups xmmword [rbp - 0x68], xmm4
xor eax, eax
mov qword [rbp - 0x58], rax
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rsi, r8
mov edi, r9d
xor edx, edx
mov dword [rbp - 0x3c], edx
mov qword [rbp - 0x48], rdx
mov qword [rbp - 0x50], rdx
lea rcx, [0x1401d2d18]
call fcn.140002cc0
mov rbx, rax
mov rcx, rbx
call fcn.140076f40
mov qword [rbp - 0x60], rbx
lea rcx, [0x1401d2d18]
call fcn.140002cc0
mov r14, rax
mov rcx, r14
call fcn.140076f40
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x58], rsi
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
lea rcx, [rbp - 0x48]
mov qword [rbp - 0x74], rcx
lea rdx, [rbp - 0x50]
mov qword [rbp - 0x7c], rdx
mov r8, rsi
mov qword [rbp - 0x84], r8
mov r9d, edi
mov dword [rbp - 0x6c], r9d
lea rcx, [rbp - 0xb0]
call fcn.140003110
mov rcx, qword [rbp - 0x74]
mov rdx, qword [rbp - 0x7c]
mov r8, qword [rbp - 0x84]
mov r9d, dword [rbp - 0x6c]
call sub.KERNEL32.dll_CreatePipe
mov esi, eax
lea rcx, [rbp - 0xb0]
call fcn.140003160
call sub.KERNEL32.dll_GetLastError
mov edi, eax
xor edx, edx
mov qword [rbp - 0x58], rdx
mov dword [rbp - 0x3c], 1
test esi, esi
setne sil
movzx esi, sil
mov rbx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x60]
mov qword [rax + 8], rbx
mov rcx, qword [rbp + 0x18]
mov rdx, rax
call fcn.140002f00
mov r14, qword [rbp - 0x48]
mov rax, qword [rbp - 0x68]
mov qword [rax + 8], r14
mov rcx, qword [rbp + 0x10]
mov rdx, rax
call fcn.140002f00
call fcn.1400020d6
mov dword [rax + 8], edi
movzx eax, sil
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140158d60
Capabilities:
Get token membership

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
xor eax, eax
mov qword [rbp - 0x50], rax
mov qword [rbp + 0x10], rcx
mov rdi, rdx
mov rsi, r8
xor edx, edx
mov dword [rbp - 0x40], edx
mov dword [rbp - 0x48], edx
mov qword [rbp + 0x20], rsi
cmp byte [rsi], 0
jne 0x140158d9d
xor edx, edx
jmp 0x140158da2
mov edx, 1
mov dword [rbp - 0x40], edx
lea rdx, [rbp - 0x48]
cmp dword [rcx], ecx
call fcn.1400eb2f0
mov rcx, qword [rbp + 0x10]
mov rbx, qword [rcx + 8]
test rdi, rdi
jne 0x140158dc2
xor r14d, r14d
jmp 0x140158dc6
lea r14, [rdi + 0x10]
mov qword [rbp - 0x50], r14
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
lea r8, [rbp - 0x40]
mov qword [rbp - 0x58], r8
mov rcx, rbx
mov qword [rbp - 0x60], rcx
mov rdx, r14
mov qword [rbp - 0x68], rdx
lea rcx, [rbp - 0x90]
call fcn.140003110
mov r8, qword [rbp - 0x58]
mov rcx, qword [rbp - 0x60]
mov rdx, qword [rbp - 0x68]
call sub.ADVAPI32.dll_CheckTokenMembership
mov esi, eax
lea rcx, [rbp - 0x90]
call fcn.140003160
call sub.KERNEL32.dll_GetLastError
mov edi, eax
xor ecx, ecx
mov qword [rbp - 0x50], rcx
test esi, esi
setne sil
movzx esi, sil
cmp dword [rbp - 0x40], 0
setne cl
mov rbx, qword [rbp + 0x20]
mov byte [rbx], cl
cmp byte [rbp - 0x48], 0
je 0x140158e47
mov rcx, qword [rbp + 0x10]
xor edx, edx
call fcn.1400eb320
call fcn.1400020d6
mov dword [rax + 8], edi
movzx eax, sil
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140029a2c
Capabilities:
Clear file content

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
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001d034
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001d034
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140029b7c
cmp rax, 0xffffffffffffffff
je 0x140029b7c
xor edi, edi
test rbp, rbp
jle 0x140029b27
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f948
mov rbx, rax
test rax, rax
jne 0x140029ab4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140029b1d
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a99c
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001dd10
cmp eax, 0xffffffff
je 0x140029afd
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140029ac4
mov edx, r15d
mov ecx, r14d
call fcn.14001a99c
jmp 0x140029b1d
cmp byte [rsi + 0x38], dil
je 0x140029b14
cmp dword [rsi + 0x34], 5
jne 0x140029b14
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140029b1d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b700
jmp 0x140029b90
jns 0x140029b90
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001d034
cmp rax, 0xffffffffffffffff
jne 0x140029b48
cmp byte [rsi + 0x30], dil
je 0x140029b90
mov edi, dword [rsi + 0x2c]
jmp 0x140029b90
mov ecx, r14d
call fcn.140018e54
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140029b90
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140029b90
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029b89
mov eax, dword [rsi + 0x2c]
jmp 0x140029b8e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001d034
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14002ac80
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002aca8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002aca8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1400051f4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140005020
Function at 0x14008e460
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14008e46d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14008e47d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14008e465
lea eax, [rcx + 1]
jmp 0x14008e48b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14008e49e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14008e484
sub eax, 3
jb 0x14008e4be
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14008e50d
sar eax, 1
movsxd rbp, eax
jb 0x14008e4f4
jmp 0x14008e4cc
add ebx, ebx
jne 0x14008e4ca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14008e4f4
inc ecx
add ebx, ebx
jne 0x14008e4da
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14008e4f4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14008e4ed
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14008e4dc
add ecx, 2
jmp 0x14008e4f9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14008e422
jmp 0x14008e46d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x4ca00
mov dl, 0xc
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14008e55d
cmp rsi, rcx
jae 0x14008e565
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14008e544
cmp al, 0x8f
ja 0x14008e544
cmp byte [rsi - 2], 0xf
je 0x14008e54a
sub al, 0xe8
cmp al, 1
ja 0x14008e52e
cmp rsi, rcx
jae 0x14008e565
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14008e534
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14008e565
lodsb al, byte [rsi]
jmp 0x14008e544
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x89000]
mov eax, dword [rdi]
or eax, eax
je 0x14008e5ce
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x9dd74]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14008e572
jns 0x14008e5a7
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14008e5b1
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14008e5c8
mov qword [rbx], rax
add rbx, 8
jmp 0x14008e592
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14008e608
cmp al, 0xef
ja 0x14008e5fa
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14008e5da
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14008e5e9
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x237]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14008e65c
sub rsp, 0xffffffffffffff80
jmp 0x140048cd0
Function at 0x140001000
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x140001094
mov qword [rsp + 0x18], rbx
push rbp
sub rsp, 0x20
mov qword [rsp + 0x30], rsi
mov rbx, rdx
mov qword [rsp + 0x38], rdi
lea rsi, [r8 - 1]
mov rdi, rcx
shr rsi, 4
sub rdi, rdx
mov rbp, rcx
add rdi, 0xf0
inc rsi
nop dword [rax + rax]
movups xmm0, xmmword [rbx]
mov rdx, rbp
mov rcx, rbx
call fcn.1400010d0
mov ecx, 0x10
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdi + rbx]
xor byte [rbx], al
inc rbx
sub rcx, 1
jne 0x140001060
sub rdi, 0x10
movups xmmword [rbp + 0xf0], xmm0
sub rsi, 1
jne 0x140001040
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rbp
ret

Function at 0x1400010d0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov r10, rdx
mov rsi, rdx
sub r10, rcx
mov rbx, rcx
mov r8, rcx
mov r11d, 4
nop dword [rax]
mov r9d, 4
nop word [rax + rax]
movzx eax, byte [r10 + r8 + 0xe0]
xor byte [r8], al
inc r8
sub r9, 1
jne 0x140001110
sub r11, 1
jne 0x140001100
mov dil, 0xd
lea rbp, [0x1400051e0]
movzx eax, byte [rbx + 9]
mov r8, rbx
movzx ecx, byte [rbx + 0xd]
mov r9d, 4
mov byte [rbx + 0xd], al
movzx eax, byte [rbx + 5]
mov byte [rbx + 9], al
movzx eax, byte [rbx + 1]
mov byte [rbx + 5], al
movzx eax, byte [rbx + 0xa]
mov byte [rbx + 1], cl
movzx ecx, byte [rbx + 2]
mov byte [rbx + 2], al
movzx eax, byte [rbx + 0xe]
mov byte [rbx + 0xa], cl
movzx ecx, byte [rbx + 6]
mov byte [rbx + 6], al
movzx eax, byte [rbx + 7]
mov byte [rbx + 0xe], cl
movzx ecx, byte [rbx + 3]
mov byte [rbx + 3], al
movzx eax, byte [rbx + 0xb]
mov byte [rbx + 7], al
movzx eax, byte [rbx + 0xf]
mov byte [rbx + 0xb], al
mov byte [rbx + 0xf], cl
nop dword [rax]
nop word [rax + rax]
mov rcx, r8
mov edx, 4
nop dword [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 4]
movzx eax, byte [rax + rbp]
mov byte [rcx - 4], al
sub rdx, 1
jne 0x1400011b0
inc r8
sub r9, 1
jne 0x1400011a0
movzx r8d, dil
lea r9d, [rdx + 4]
shl r8, 4
mov rax, rbx
sub r8, rbx
add r8, rsi
nop dword [rax]
nop word [rax + rax]
mov edx, 4
nop word [rax + rax]
movzx ecx, byte [r8 + rax]
xor byte [rax], cl
inc rax
sub rdx, 1
jne 0x140001200
sub r9, 1
jne 0x1400011f0
test dil, dil
je 0x14000122c
mov rcx, rbx
call fcn.140001250
add dil, 0xff
jmp 0x140001135
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret