joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002760
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
lea rbp, [rcx + 2]
mov qword [rsp + 0x20], 4
mov qword [rsp + 0x18], rbp
nop word [rax + rax]
movzx r9d, byte [rbp - 1]
movzx edx, byte [rbp - 2]
movzx ebx, r9b
movzx r8d, byte [rbp]
movzx eax, dl
shr al, 7
add bl, bl
movzx ecx, byte [rbp + 1]
movzx eax, al
imul eax, eax, 0x1b
mov byte [rsp + 0x78], r9b
mov byte [rsp + 0x88], dl
add dl, dl
mov byte [rsp + 0x80], r8b
xor dl, al
mov dword [rsp + 8], eax
movzx eax, dl
movzx esi, dl
shr al, 7
add sil, sil
movzx eax, al
imul eax, eax, 0x1b
xor sil, al
mov dword [rsp + 4], eax
movzx eax, r9b
movzx r9d, r8b
shr al, 7
add r9b, r9b
movzx eax, al
imul r15d, eax, 0x1b
xor bl, r15b
movzx eax, bl
movzx r10d, bl
shr al, 7
add r10b, r10b
movzx eax, al
imul eax, eax, 0x1b
xor r10b, al
mov dword [rsp + 0x10], eax
movzx eax, r8b
shr al, 7
movzx eax, al
imul r12d, eax, 0x1b
xor r9b, r12b
mov dword [rsp + 0xc], r12d
movzx eax, r9b
movzx r8d, r9b
shr al, 7
xor r9b, dl
movzx eax, al
add r8b, r8b
imul ebp, eax, 0x1b
movzx eax, cl
shr al, 7
add cl, cl
movzx eax, al
imul eax, eax, 0x1b
xor r8b, bpl
xor cl, al
mov dword [rsp + 0x14], eax
movzx eax, cl
movzx r13d, cl
shr al, 7
add r13b, r13b
movzx eax, al
imul r14d, eax, 0x1b
xor r13b, r14b
xor r9b, r13b
movzx eax, r13b
shr al, 7
xor r9b, r8b
movzx eax, al
xor r9b, r10b
imul edi, eax, 0x1b
xor r9b, sil
movzx eax, r8b
mov byte [rsp], r9b
shr al, 7
movzx eax, al
imul r11d, eax, 0x1b
movzx eax, r10b
shr al, 7
xor r13b, cl
movzx eax, al
xor r13b, r8b
imul r9d, eax, 0x1b
xor r13b, r10b
mov r12, qword [rsp + 0x18]
xor r13b, bl
movzx ebx, byte [rsp + 0x80]
xor r13b, sil
mov rcx, qword [rsp + 0x18]
movzx eax, sil
shr al, 7
movzx esi, byte [rsp + 0x78]
mov r8d, dword [rsp + 0x10]
movzx r10d, byte [rcx + 1]
movzx eax, al
imul edx, eax, 0x1b
movzx eax, byte [rsp]
xor al, byte [rsp + 0x78]
xor al, byte [rsp + 0x88]
add al, al
xor al, dl
xor al, r9b
xor al, r11b
xor al, dil
xor al, bpl
xor al, r15b
xor al, byte [rsp + 4]
xor al, byte [rsp + 8]
xor al, byte [r12 + 1]
xor al, byte [rsp + 0x80]
xor al, byte [rsp + 0x78]
mov byte [r12 - 2], al
movzx eax, r13b
mov r12d, dword [rsp + 0xc]
xor al, bl
xor al, sil
xor r13b, r10b
add al, al
xor al, dl
xor al, r9b
xor al, r11b
xor al, dil
xor al, r14b
xor al, r12b
xor al, r8b
xor al, r15b
movzx r15d, byte [rsp + 0x88]
xor r13b, r15b
xor al, r10b
add r13b, r13b
xor al, bl
xor r13b, dl
xor al, r15b
mov byte [rcx - 1], al
xor r13b, r9b
mov eax, dword [rsp + 0x14]
xor r13b, r11b
movzx ecx, byte [rsp]
xor r13b, dil
xor cl, r10b
xor r13b, r14b
xor cl, bl
xor r13b, al
add cl, cl
xor r13b, r8b
xor cl, dl
xor cl, r9b
xor cl, r11b
xor cl, dil
xor cl, al
xor cl, bpl
mov rbp, qword [rsp + 0x18]
xor cl, r12b
xor cl, byte [rsp + 4]
xor cl, r10b
xor cl, sil
xor cl, r15b
xor r13b, byte [rsp + 8]
mov byte [rbp], cl
xor r13b, bl
xor r13b, sil
xor r13b, r15b
mov byte [rbp + 1], r13b
add rbp, 4
sub qword [rsp + 0x20], 1
mov qword [rsp + 0x18], rbp
jne 0x140002790
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140002a00
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 + 0xa0]
xor byte [r8], al
inc r8
sub r9, 1
jne 0x140002a40
sub r11, 1
jne 0x140002a30
mov dil, 9
lea rbp, [0x140004540]
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 0x140002ae0
inc r8
sub r9, 1
jne 0x140002ad0
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 0x140002b30
sub r9, 1
jne 0x140002b20
test dil, dil
je 0x140002b5c
mov rcx, rbx
call fcn.140002760
add dil, 0xff
jmp 0x140002a65
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x126dc
Capabilities:
Print debug messages

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, 0x60
mov rbp, r9
mov rdi, r8
mov r12b, dl
mov rsi, rcx
test rcx, rcx
jne 0x12727
mov r8d, 0xa16
lea rcx, [0x00013b70]
mov edx, 0xc000000d
call sub.ntoskrnl.exe_DbgPrint
mov ebx, 0xc000000d
jmp 0x12850
test r8, r8
jne 0x12734
mov r8d, 0xa1a
jmp 0x1270c
test r9, r9
jne 0x12741
mov r8d, 0xa1e
jmp 0x1270c
mov rbx, qword [rsp + 0x90]
test rbx, rbx
jne 0x12756
mov r8d, 0xa22
jmp 0x1270c
lea rcx, [rsp + 0x40]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
mov r9d, dword [rsp + 0x98]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rax
movzx ecx, r12b
mov r8, rbx
mov rdx, rsi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ntoskrnl.exe_IoBuildSynchronousFsdRequest]
mov rdx, rax
test rax, rax
jne 0x127bb
lea rcx, [0x00013b70]
mov edx, 0xc000009a
mov r8d, 0xa2a
call sub.ntoskrnl.exe_DbgPrint
mov ebx, 0xc000009a
jmp 0x12850
cmp dword [0x00015328], 6
jb 0x127e5
mov rax, qword [rax + 0xb8]
test rax, rax
je 0x127d4
or byte [rax + 2], 0x10
mov rax, qword [rdx + 0xb8]
sub rax, 0x48
je 0x127e5
or byte [rax + 2], 0x10
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_IofCallDriver]
mov ebx, eax
cmp eax, 0x103
jne 0x12838
and qword [rsp + 0x20], 0
lea rcx, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
test eax, eax
jns 0x12828
lea rcx, [0x00013b70]
mov r8d, 0xa3c
mov edx, eax
call sub.ntoskrnl.exe_DbgPrint
mov ebx, dword [rdi]
test ebx, ebx
jns 0x12850
mov r8d, 0xa41
mov edx, ebx
jmp 0x12844
test eax, eax
jns 0x12850
mov r8d, 0xa46
mov edx, eax
lea rcx, [0x00013b70]
call sub.ntoskrnl.exe_DbgPrint
lea r11, [rsp + 0x60]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret
Function at 0x12874
Capabilities:
Check os version
Print debug messages
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x650
mov rax, qword [0x00015100]
xor rax, rsp
mov qword [rsp + 0x640], rax
xor esi, esi
lea rcx, [rsp + 0x124]
xor edx, edx
mov r8d, 0x110
mov edi, 0x40000000
mov dword [rsp + 0x120], esi
call fcn.00012dd0
mov r11, cr8
cmp r11b, sil
jne 0x12afb
call qword [sym.imp.ntoskrnl.exe_IoGetConfigurationInformation]
cmp dword [rax], 1
jne 0x128da
mov edi, esi
jmp 0x12afb
lea rcx, [rsp + 0x120]
call qword [sym.imp.ntoskrnl.exe_RtlGetVersion]
cmp dword [rsp + 0x124], 6
jb 0x129da
lea rcx, [rsp + 0x240]
xor edx, edx
mov r8d, 0x200
call fcn.00012dd0
xor eax, eax
mov word [rsp + 0x30], si
mov qword [rsp + 0x32], rax
mov dword [rsp + 0x3a], eax
mov word [rsp + 0x3e], ax
lea rax, [rsp + 0x240]
cmp rax, rsi
je 0x129a6
xor edx, edx
lea rcx, [rsp + 0xb0]
lea r8d, [rdx + 0x70]
call fcn.00012dd0
lea rax, [rsp + 0x240]
mov r11d, 0x100
mov qword [rsp + 0x38], rax
lea rax, [0x000139c0]
lea r8, [rsp + 0xb0]
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0x30]
lea rdx, [0x000139f0]
xor r9d, r9d
xor ecx, ecx
mov word [rsp + 0x32], r11w
mov qword [rsp + 0xc8], rax
mov word [rsp + 0x30], si
mov dword [rsp + 0xb8], 0x24
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ntoskrnl.exe_RtlQueryRegistryValues]
jmp 0x129ab
mov eax, 0xc000000d
cmp eax, esi
jne 0x12afb
lea r8, [rsp + 0x240]
lea rdx, [0x00013a60]
lea rcx, [rsp + 0x440]
call qword [sym.imp.ntoskrnl.exe_swprintf]
lea rdx, [rsp + 0x440]
jmp 0x129e1
lea rdx, [0x00013a80]
lea rcx, [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rax, [rsp + 0x70]
lea r8, [rsp + 0x80]
lea rcx, [rsp + 0x40]
mov edx, 0x80
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x80], 0x30
mov qword [rsp + 0x88], rsi
mov dword [rsp + 0x98], 0x40
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0xa8], rsi
call qword [sym.imp.ntoskrnl.exe_ZwOpenSymbolicLinkObject]
cmp eax, esi
jne 0x12afb
lea rdx, [0x00013ad0]
lea rcx, [rsp + 0x440]
call qword [sym.imp.ntoskrnl.exe_swprintf]
lea rdx, [rsp + 0x440]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov rcx, qword [rsp + 0x40]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_ZwQuerySymbolicLinkObject]
mov rcx, qword [rsp + 0x40]
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_ZwClose]
cmp ebx, esi
jne 0x12afb
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
mov r8b, 1
call qword [sym.imp.ntoskrnl.exe_RtlUnicodeStringToAnsiString]
cmp eax, esi
jne 0x12ab4
cmp word [rsp + 0x50], 0x13
jae 0x12ac8
lea rcx, [0x00013b20]
mov r8d, 0xac1
mov edx, eax
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x58]
mov dl, byte [rax + 0x11]
cmp dl, 0x5c
je 0x12ae9
movsx eax, byte [rax + 0x10]
lea ecx, [rax + rax*4 - 0xf0]
movsx eax, dl
lea edi, [rax + rcx*2 - 0x30]
jmp 0x12af0
movsx edi, byte [rax + 0x10]
sub edi, 0x30
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_RtlFreeAnsiString]
mov eax, edi
mov rcx, qword [rsp + 0x640]
xor rcx, rsp
call fcn.00012d60
lea r11, [rsp + 0x650]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x12b28
Capabilities:
Print debug messages

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x268
mov rax, qword [0x00015100]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor r13d, r13d
mov ebx, ecx
mov r12, r8
mov rbp, rdx
lea rcx, [rsp + 0x52]
mov r8d, 0x1fe
xor edx, edx
mov rsi, r9
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x28], r13
mov word [rsp + 0x50], r13w
call fcn.00012dd0
mov r11, cr8
cmp r11b, r13b
je 0x12ba4
lea rcx, [0x00013b70]
mov edx, 0xc0000148
mov r8d, 0xaed
call sub.ntoskrnl.exe_DbgPrint
mov edi, 0xc0000148
jmp 0x12d24
cmp rbp, r13
je 0x12d08
cmp r12, r13
je 0x12d08
mov qword [rbp], r13
mov qword [r12], r13
cmp rsi, r13
je 0x12bc6
mov qword [rsi], r13
lea rdx, [0x00013ba0]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [0x00013bd0]
lea rcx, [rsp + 0x50]
mov r8d, ebx
call qword [sym.imp.ntoskrnl.exe_swprintf]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov edx, 0x80
call qword [sym.imp.ntoskrnl.exe_IoGetDeviceObjectPointer]
cmp eax, r13d
mov edi, eax
jge 0x12c91
lea rcx, [0x00013b70]
mov r8d, 0xaff
mov edx, eax
call sub.ntoskrnl.exe_DbgPrint
lea rdx, [0x00013c10]
lea rcx, [rsp + 0x50]
mov r8d, ebx
call qword [sym.imp.ntoskrnl.exe_swprintf]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov edx, 0x80
call qword [sym.imp.ntoskrnl.exe_IoGetDeviceObjectPointer]
cmp eax, r13d
mov edi, eax
jge 0x12c91
lea rcx, [0x00013b70]
mov r8d, 0xb05
mov edx, eax
call sub.ntoskrnl.exe_DbgPrint
jmp 0x12d24
mov rax, qword [rsp + 0x20]
cmp rax, r13
jne 0x12cb9
lea rcx, [0x00013b70]
mov edx, 0xc0000034
mov r8d, 0xb0a
call sub.ntoskrnl.exe_DbgPrint
mov edi, 0xc0000034
jmp 0x12d24
mov rbx, qword [rax + 8]
mov qword [rbp], rax
mov qword [rsp + 0x28], rbx
mov qword [r12], rbx
cmp rsi, r13
je 0x12d24
cmp rbx, r13
je 0x12d24
mov rbx, qword [rbx + 0x18]
cmp rbx, r13
je 0x12d24
mov rcx, qword [rbx + 8]
cmp rcx, r13
je 0x12cd4
cmp qword [rcx + 0x40], r13
je 0x12cd4
lea rdx, [rsp + 0x40]
add rcx, 0x38
mov r8b, 1
call qword [sym.imp.ntoskrnl.exe_RtlCompareUnicodeString]
cmp eax, r13d
jne 0x12cd4
mov qword [rsi], rbx
jmp 0x12d24
lea rcx, [0x00013b70]
mov edx, 0xc000000d
mov r8d, 0xaf1
call sub.ntoskrnl.exe_DbgPrint
mov edi, 0xc000000d
mov eax, edi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.00012d60
add rsp, 0x268
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x172c4
Capabilities:
Create device object
Create thread
Print debug messages

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x00015100]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov esi, r8d
cmp r8d, 2
mov edi, edx
mov r8d, edx
mov rbx, rcx
lea rdx, [0x000175d0]
lea rcx, [rsp + 0x70]
je 0x17309
lea rdx, [0x00017610]
call qword [sym.imp.ntoskrnl.exe_swprintf]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea r11, [rsp + 0x40]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x30], r11
mov r9d, esi
mov edx, 0xa0
mov rcx, rbx
mov byte [rsp + 0x28], 0
and dword [rsp + 0x20], 0
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
mov ebx, eax
test eax, eax
jns 0x1736a
lea rcx, [0x00013b70]
mov r8d, 0x245
mov edx, eax
call sub.ntoskrnl.exe_DbgPrint
mov eax, ebx
jmp 0x174b3
lea rdx, [0x00017650]
lea rcx, [0x00015120]
mov r8d, edi
call qword [sym.imp.ntoskrnl.exe_swprintf]
lea rdx, [0x00015120]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov r11, qword [rsp + 0x40]
or dword [r11 + 0x30], 0x10
mov rax, qword [rsp + 0x40]
mov rbx, qword [rax + 0x40]
mov byte [rbx], 0
cmp esi, 2
jne 0x173ca
mov rax, qword [rsp + 0x40]
or dword [rax + 0x34], esi
mov byte [rbx + 0x28], 1
lea rax, [rbx + 0x38]
xor r8d, r8d
lea rcx, [rbx + 0x50]
mov qword [rax + 8], rax
mov qword [rax], rax
and qword [rbx + 0x48], 0
lea edx, [r8 + 1]
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
mov byte [rbx + 0x70], 0
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [0x00011cfc]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
mov esi, eax
test eax, eax
jns 0x17447
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov r8d, 0x279
lea rcx, [0x00013b70]
mov edx, esi
call sub.ntoskrnl.exe_DbgPrint
mov eax, esi
jmp 0x174b3
mov rcx, qword [rsp + 0x48]
and qword [rsp + 0x28], 0
lea rax, [rbx + 0x68]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1fffff
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov esi, eax
test eax, eax
jns 0x174a3
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
lea rcx, [rbx + 0x50]
xor r8d, r8d
xor edx, edx
mov byte [rbx + 0x70], 1
call qword [sym.imp.ntoskrnl.exe_KeSetEvent]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov r8d, 0x293
jmp 0x17435
mov dword [rbx + 0x78], edi
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
xor eax, eax
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.00012d60
mov rbx, qword [rsp + 0x2b8]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000c65c
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
add byte [rax], al
add byte [rbp + 0x33], al
test byte [rcx + rcx*4 + 0x74], 0x24
and byte [rax - 0x73], cl
mov dil, dil
adc eax, 0x2186
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140014cb8], rbx
je 0x14000c6c3
cmp rax, rbx
jne 0x14000c6b6
mov ebx, 1
mov esi, ebx
jmp 0x14000c6c8
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14000c69b
mov ebx, 1
mov eax, dword [0x140014cc0]
cmp eax, ebx
jne 0x14000c6e0
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x14000c74c
mov eax, dword [0x140014cc0]
test eax, eax
jne 0x14000c741
mov dword [0x140014cc0], ebx
lea r15, [0x14000eb70]
lea rdi, [0x14000eb58]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x14000c733
test eax, eax
jne 0x14000c737
cmp qword [rdi], r14
je 0x14000c728
mov rax, qword [rdi]
mov rcx, qword [0x14000eb00]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14000c70a
test eax, eax
je 0x14000c747
mov eax, 0xff
jmp 0x14000c8a0
mov dword [0x140014400], ebx
mov edi, 0x1f
mov eax, dword [0x140014cc0]
cmp eax, ebx
jne 0x14000c773
lea rdx, [0x14000eb50]
lea rcx, [0x14000eb18]
call sub.msvcrt.dll__initterm
mov dword [0x140014cc0], 2
test esi, esi
jne 0x14000c781
mov rax, r14
xchg qword [0x140014cb8], rax
cmp qword [0x140014cd8], r14
je 0x14000c7b4
lea rcx, [0x140014cd8]
call fcn.14000cc80
test eax, eax
je 0x14000c7b4
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140014cd8]
mov r9, qword [0x14000eb00]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14000c7cd
mov eax, 0xff
jmp 0x14000c8a0
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
ja 0x14000c851
cmp word [rcx], r14w
je 0x14000c7e6
test edx, edx
jne 0x14000c851
movzx eax, word [rcx]
sub ax, bx
cmp ax, di
ja 0x14000c7fc
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14000c7e6
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.1400018e8
mov dword [0x1400143fc], eax
cmp dword [0x140014420], r14d
jne 0x14000c83a
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140014400], r14d
jne 0x14000c84f
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1400143fc]
jmp 0x14000c8a0
cmp word [rcx], 0x22
jne 0x14000c865
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14000c7d6
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.140186000
add rsp, 0x28
jmp 0x14000c65c
Function at 0x1400198d3
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xf8
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140188028]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rcx, rdx
call fcn.140065540
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp ebp, eax
je 0x140019922
mov rcx, rdi
call fcn.14001e456
mov ebp, 0x100000
test al, al
je 0x140019927
mov ebp, 0x101000
lea r14, [rsp + 0x50]
mov r8d, 0xa0
mov rcx, r14
mov dl, 0xaa
call fcn.1400a4800
mov rcx, r14
call fcn.140067680
mov byte [r14 + 0x22], 1
lea rcx, [rsp + 0x58]
call fcn.140066470
movaps xmm0, xmmword [0x140158be0]
lea r15, [rsp + 0x40]
movaps xmmword [r15], xmm0
mov rcx, r15
mov rdx, rbx
mov r8, r14
call fcn.1400655b0
mov rcx, r15
call fcn.14003fda0
test al, al
je 0x140019a09
lea rbx, [rsp + 0x38]
mov qword [rbx], 0
mov rcx, rdi
call fcn.140065520
mov r14, rax
lea rcx, [rsp + 0x40]
call fcn.140065520
mov r15, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor edi, edi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], ebp
mov rcx, rax
mov rdx, r15
mov r8, r14
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x140019a09
mov r14, qword [rsp + 0x38]
cmp qword [rsi], r14
je 0x140019a25
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140019a5b
lea rax, [r14 + 1]
cmp rax, 2
jb 0x1400199ff
mov qword [rsi], r14
call fcn.140044200
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140019a25
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov edi, 0x80004005
cmovne edi, ecx
lea rcx, [rsp + 0x40]
call fcn.14003fd70
lea rcx, [rsp + 0x50]
call fcn.1400676f0
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1400a26b0
mov eax, edi
add rsp, 0xf8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140044200
mov rcx, qword [rsi]
call fcn.14003fc40
mov qword [rsi], 0
jmp 0x1400199ed
Function at 0x14001a4af
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x110
movaps xmmword [rsp + 0x100], xmm6
mov rbx, r9
mov r14, r8
mov rdi, rdx
mov r15, rcx
mov esi, dword [rsp + 0x180]
mov rax, qword [0x140188028]
xor rax, rsp
mov qword [rsp + 0xf8], rax
movaps xmm6, xmmword [0x140158be0]
lea rcx, [rsp + 0xe0]
movaps xmmword [rcx], xmm6
xor edx, edx
call fcn.14009edb0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp eax, esi
je 0x14001a52b
lea rdx, [rsp + 0xe0]
mov ecx, esi
call fcn.1400190ec
test eax, eax
jns 0x14001a550
mov esi, eax
jmp 0x14001a6d4
lea rsi, [rsp + 0x50]
mov rcx, rsi
call fcn.14009c1c0
lea rcx, [rsp + 0xe0]
mov rdx, rsi
call fcn.1400654d0
mov rcx, rsi
call fcn.14003fd70
mov rsi, qword [rsp + 0x170]
movabs r13, 0xaaaaaaaaaaaaaaaa
lea r12, [rsp + 0xc0]
mov qword [r12 + 0x10], r13
movaps xmmword [r12], xmm6
mov rcx, r12
call fcn.14010a2a0
mov qword [rsp + 0x20], r12
mov rcx, r15
mov rdx, r14
mov r8, rbx
mov r9, rsi
call fcn.1400194dc
test eax, eax
js 0x14001a715
mov rsi, qword [rsp + 0x178]
lea rbx, [rsp + 0xa0]
mov qword [rbx + 0x10], r13
movaps xmmword [rbx], xmm6
lea rcx, [rsp + 0xc0]
call fcn.1400dfeb0
mov rcx, rax
mov rdx, rbx
mov r8, rsi
call fcn.140069e00
lea rsi, [rsp + 0x50]
movaps xmmword [rsi + 0x40], xmm6
movaps xmmword [rsi + 0x30], xmm6
movaps xmmword [rsi + 0x20], xmm6
movaps xmmword [rsi + 0x10], xmm6
movaps xmmword [rsi], xmm6
mov rcx, rsi
mov rdx, rbx
call fcn.14006a8f0
mov rcx, rsi
mov rdx, rdi
xor r8d, r8d
call fcn.14010acf0
lea r8, [rsp + 0x48]
mov qword [r8], 0
lea rdx, [rsp + 0xe0]
mov rcx, rsi
call fcn.1400198d3
mov esi, eax
test eax, eax
js 0x14001a70e
mov rbx, qword [rsp + 0x188]
lea rcx, [rsp + 0xc0]
lea rdi, [rsp + 0x30]
mov rdx, rdi
call fcn.14010a2b0
mov rcx, rdi
call fcn.140019d4a
mov rcx, rdi
call fcn.140044580
mov r14, qword [rsp + 0x48]
lea r15, [r14 + 1]
cmp r15, 2
jb 0x14001a664
call fcn.140044200
cmp qword [rbx], r14
je 0x14001a697
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rbx]
inc rax
cmp rax, 2
jae 0x14001a719
cmp r15, 2
jb 0x14001a68f
mov qword [rbx], r14
call fcn.140044200
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor edi, edi
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14001a6b0
call fcn.140044200
mov rcx, rdi
call fcn.14003fc40
lea rcx, [rsp + 0x50]
call fcn.14006ab30
lea rcx, [rsp + 0xa0]
call fcn.140044580
lea rcx, [rsp + 0xc0]
call fcn.14010a390
lea rcx, [rsp + 0xe0]
call fcn.14003fd70
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.1400a26b0
mov eax, esi
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x110
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdi, qword [rsp + 0x48]
jmp 0x14001a699
mov esi, eax
jmp 0x14001a6c7
call fcn.140044200
mov rcx, qword [rbx]
call fcn.14003fc40
mov qword [rbx], 0
jmp 0x14001a681
Function at 0x14003fbd0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x14003fc18
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x14003fc21
lea rax, [rsi + 1]
cmp rax, 2
jb 0x14003fc08
mov qword [rdi], rsi
call fcn.140044200
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.140044200
mov rcx, qword [rdi]
call fcn.14003fc40
mov qword [rdi], 0
jmp 0x14003fbf6