joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a1f20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4a201e
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rsi
nop dword [rax]
test r8, r8
je 0x4a1fa2
cmp rdi, r8
jb 0x4a2012
cmp rbx, rsi
je 0x4a1f85
mov rdx, rbx
lea rdi, [rsi + r8]
lea rdi, [rdi - 1]
nop
nop
cmp rdi, rbx
jb 0x4a1f82
mov rdi, rsi
lea r9, [rdx + r8]
lea r9, [r9 - 1]
cmp r9, rsi
jae 0x4a1fff
mov rbx, rdx
mov rsi, rdi
nop
jmp 0x4a1f85
mov rbx, rdx
lea rdx, [r8 - 1]
cmp rcx, rdx
jbe 0x4a1ff7
movzx ecx, byte [rax + 0x400]
movzx edx, byte [rax + 0x401]
xor edi, edi
nop
jmp 0x4a1fe0
add rsp, 0x10
pop rbp
ret
movzx r9d, byte [rsi + rdi]
inc ecx
movzx r10d, cl
mov r11d, dword [rax + r10*4]
add edx, r11d
movzx r12d, dl
mov r13d, dword [rax + r12*4]
mov dword [rax + r10*4], r13d
mov dword [rax + r12*4], r11d
lea r10d, [r11 + r13]
movzx r10d, r10b
xor r9d, dword [rax + r10*4]
mov byte [rbx + rdi], r9b
inc rdi
nop dword [rax]
cmp r8, rdi
jg 0x4a1fa8
mov byte [rax + 0x400], cl
mov byte [rax + 0x401], dl
add rsp, 0x10
pop rbp
ret
mov rax, rdx
call fcn.0046da00
lea rax, [0x004c6a00]
lea rbx, [0x00514a40]
call fcn.00465d20
mov rcx, r8
mov rdx, rdi
call fcn.0046da80
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], r9
call fcn.0046b720
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
jmp fcn.004a1f20

Function at 0x4b3c10
Capabilities:
Encode data using xor

Disassembly:
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdx, qword [rsp + 0x20]
test rdx, 0xf
jne 0x4b3c8a
mov rax, 0
nop word [rax + rax]
nop dword [rax]
movdqu xmm0, xmmword [rsi + rax]
movdqu xmm1, xmmword [rcx + rax]
pxor xmm0, xmm1
movdqu xmmword [rbx + rax], xmm0
add rax, 0x10
cmp rdx, rax
jne 0x4b3c40
ret
sub rdx, 1
mov dil, byte [rsi + rdx]
mov al, byte [rcx + rdx]
xor dil, al
mov byte [rbx + rdx], dil
test rdx, 7
jne 0x4b3c60
cmp rdx, 0
je 0x4b3cac
test rdx, 0xf
je 0x4b3c2d
test rdx, 7
jne 0x4b3c60
sub rdx, 8
mov rdi, qword [rsi + rdx]
mov rax, qword [rcx + rdx]
xor rdi, rax
mov qword [rbx + rdx], rdi
cmp rdx, 0x10
jge 0x4b3c2d
ret
Function at 0x4b5440
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
mov rcx, qword [rsp + 8]
mov rax, qword [rsp + 0x10]
mov rdx, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rbx]
add rax, 0x10
pxor xmm0, xmm1
sub rcx, 0xc
je 0x4b547f
jb 0x4b5494
movups xmm1, xmmword [rax]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesdec xmm0, xmm1
add rax, 0x20
movups xmm1, xmmword [rax]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesdec xmm0, xmm1
add rax, 0x20
movups xmm1, xmmword [rax]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x20]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x30]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x40]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x50]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x60]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x70]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x80]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x90]
aesdeclast xmm0, xmm1
movups xmmword [rdx], xmm0
ret
Function at 0x4b5500
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push rbp
mov rbp, rsp
mov rcx, qword [rsp + 0x10]
mov rax, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
add rbx, 0x10
pxor xmm4, xmm4
cmp ecx, 0xc
je 0x4b55d4
jb 0x4b5633
movups xmm2, xmmword [rax + 0x10]
movups xmmword [rbx], xmm2
add rbx, 0x10
aeskeygenassist xmm1, xmm2, 1
call fcn.004b53e0
aeskeygenassist xmm1, xmm0, 1
call fcn.004b5400
aeskeygenassist xmm1, xmm2, 2
call fcn.004b53e0
aeskeygenassist xmm1, xmm0, 2
call fcn.004b5400
aeskeygenassist xmm1, xmm2, 4
call fcn.004b53e0
aeskeygenassist xmm1, xmm0, 4
call fcn.004b5400
aeskeygenassist xmm1, xmm2, 8
call fcn.004b53e0
aeskeygenassist xmm1, xmm0, 8
call fcn.004b5400
aeskeygenassist xmm1, xmm2, 0x10
call fcn.004b53e0
aeskeygenassist xmm1, xmm0, 0x10
call fcn.004b5400
aeskeygenassist xmm1, xmm2, 0x20
call fcn.004b53e0
aeskeygenassist xmm1, xmm0, 0x20
call fcn.004b5400
aeskeygenassist xmm1, xmm2, 0x40
call fcn.004b53e0
jmp 0x4b56a1
movq xmm2, qword [rax + 0x10]
aeskeygenassist xmm1, xmm2, 1
call fcn.004b5340
aeskeygenassist xmm1, xmm2, 2
call fcn.004b53a0
aeskeygenassist xmm1, xmm2, 4
call fcn.004b5340
aeskeygenassist xmm1, xmm2, 8
call fcn.004b53a0
aeskeygenassist xmm1, xmm2, 0x10
call fcn.004b5340
aeskeygenassist xmm1, xmm2, 0x20
call fcn.004b53a0
aeskeygenassist xmm1, xmm2, 0x40
call fcn.004b5340
aeskeygenassist xmm1, xmm2, 0x80
call fcn.004b53a0
jmp 0x4b56a1
aeskeygenassist xmm1, xmm0, 1
call fcn.004b5300
aeskeygenassist xmm1, xmm0, 2
call fcn.004b5300
aeskeygenassist xmm1, xmm0, 4
call fcn.004b5300
aeskeygenassist xmm1, xmm0, 8
call fcn.004b5300
aeskeygenassist xmm1, xmm0, 0x10
call fcn.004b5300
aeskeygenassist xmm1, xmm0, 0x20
call fcn.004b5300
aeskeygenassist xmm1, xmm0, 0x40
call fcn.004b5300
aeskeygenassist xmm1, xmm0, 0x80
call fcn.004b5300
aeskeygenassist xmm1, xmm0, 0x1b
call fcn.004b5300
aeskeygenassist xmm1, xmm0, 0x36
call fcn.004b5300
sub rbx, 0x10
movups xmm1, xmmword [rbx]
movups xmmword [rdx], xmm1
dec rcx
movups xmm1, xmmword [rbx - 0x10]
aesimc xmm0, xmm1
movups xmmword [rdx + 0x10], xmm0
sub rbx, 0x10
add rdx, 0x10
dec rcx
jne 0x4b56ae
movups xmm0, xmmword [rbx - 0x10]
movups xmmword [rdx + 0x10], xmm0
pop rbp
ret
Function at 0x140001a80
Capabilities:
Attach user process memory

Disassembly:
push rbp
push r12
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x140010100]
xor rax, rsp
mov qword [rbp - 8], rax
xorps xmm0, xmm0
mov r12, rcx
movups xmmword [rbp - 0x68], xmm0
movups xmmword [rbp - 0x58], xmm0
movups xmmword [rbp - 0x48], xmm0
call qword [sym.imp.ntoskrnl.exe_PsGetProcessId]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x50], 0
lea r8, [rbp - 0x68]
mov qword [rsp + 0x48], rax
mov edx, 0x400
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ZwOpenProcess]
mov r15d, eax
lfence
test eax, eax
js 0x140001cd5
mov rcx, r12
mov qword [rsp + 0x138], rbx
call qword [sym.imp.ntoskrnl.exe_PsGetProcessSectionBaseAddress]
mov rbx, rax
movabs rax, 0x7fffffff0000
cmp rbx, rax
jae 0x140001cbf
mov qword [rsp + 0x140], rsi
mov qword [rsp + 0x148], rdi
mov qword [rsp + 0x100], r14
lfence
mov qword [rsp + 0x108], r13
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x28], 0
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], 0x30
call qword [sym.imp.ntoskrnl.exe_ZwQueryVirtualMemory]
cmp dword [rsp + 0x78], 0x1000
mov r15d, eax
jne 0x140001c87
cmp dword [rbp - 0x80], 0x1000000
jne 0x140001c87
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x38]
mov rdx, rbx
call section.PAGE
mov r15d, eax
test eax, eax
js 0x140001c87
mov r13, qword [rsp + 0x38]
movzx eax, word [r13]
movups xmm0, xmmword [r13]
shr eax, 1
sub eax, 1
movups xmmword [rbp - 0x78], xmm0
js 0x140001bd4
mov rdx, qword [r13 + 8]
movsxd rcx, eax
cmp word [rdx + rcx*2], 0x5c
je 0x140001c6b
sub eax, 1
jns 0x140001bc1
mov r14, qword [rbp - 0x70]
xor edi, edi
lea rsi, section..data
mov rdx, qword [rsi]
mov rcx, r14
call fcn.14000c730
test eax, eax
je 0x140001c79
inc edi
add rsi, 8
cmp edi, 0x19
jb 0x140001be1
lea rdx, [rbp - 0x38]
mov rcx, r12
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov r8, qword [rsp + 0x70]
mov rdx, rbx
mov rcx, r12
call fcn.140001d40
lea rcx, [rbp - 0x38]
mov r15d, eax
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
test r15d, r15d
js 0x140001c79
lea r9, [rsp + 0x48]
mov edx, 0x400
lea r8, [rbp - 0x68]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ZwOpenProcess]
mov r15d, eax
test eax, eax
js 0x140001c79
lfence
lea r8, [rsp + 0x40]
mov rdx, rbx
mov rcx, r12
call fcn.1400019a0
mov rcx, qword [rsp + 0x38]
mov r15d, eax
jmp 0x140001c7c
inc eax
movsxd rcx, eax
lea r14, [rdx + rcx*2]
jmp 0x140001bd8
mov rcx, r13
mov edx, 0x5468704b
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
add rbx, qword [rsp + 0x70]
movabs rax, 0x7fffffff0000
cmp rbx, rax
jb 0x140001b40
mov r14, qword [rsp + 0x100]
mov r13, qword [rsp + 0x108]
mov rdi, qword [rsp + 0x148]
mov rsi, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rbx, qword [rsp + 0x138]
mov eax, r15d
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14000d510
add rsp, 0x110
pop r15
pop r12
pop rbp
ret
Function at 0x140001cf0
Capabilities:
Find process by pid

Disassembly:
sub rsp, 0x28
mov ecx, ecx
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x38], 0
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jns 0x140001d16
lfence
add rsp, 0x28
ret
mov rcx, qword [rsp + 0x38]
test rcx, rcx
jne 0x140001d2a
mov eax, 0xc000000d
add rsp, 0x28
ret
call fcn.140001a80
add rsp, 0x28
ret

Function at 0x140001d40
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x80
xorps xmm0, xmm0
mov rdi, r8
movups xmmword [rsp + 0x48], xmm0
mov rbx, rdx
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm0
call qword [sym.imp.ntoskrnl.exe_PsGetProcessId]
lea r9, [rsp + 0x38]
mov qword [rsp + 0x40], 0
lea r8, [rsp + 0x48]
mov qword [rsp + 0x38], rax
mov edx, 8
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0xa0]
mov qword [rsp + 0xa8], rdi
call qword [sym.imp.ntoskrnl.exe_ZwOpenProcess]
test eax, eax
jns 0x140001dbb
lfence
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret
mov rcx, qword [rsp + 0xa0]
lea rax, [rsp + 0x98]
mov r9d, 0x40
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0xa8]
lea rdx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ZwProtectVirtualMemory]
mov rcx, qword [rsp + 0xa0]
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, ebx
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret
Function at 0x140006a80
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x10], rdx
push r14
sub rsp, 0x30
mov r14, r9
mov rdi, r8
mov rbx, rdx
mov esi, ecx
mov qword [rsp + 0x20], rdx
call fcn.1400073a0
test rax, rax
je 0x140006b1b
test rbx, rbx
jne 0x140006aca
mov ecx, esi
lea rdx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
js 0x140006b1b
and rdi, 0xfffffffffffff000
mov rsi, qword [rsp + 0x68]
mov qword [rsi], rdi
xor eax, eax
mov rdi, qword [rsp + 0x60]
mov qword [rdi], rax
mov dword [r14], eax
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_KeAttachProcess]
nop
mov rdx, r14
mov rcx, qword [rsi]
call fcn.140006310
sub rax, qword [rsi]
mov qword [rdi], rax
call qword [sym.imp.ntoskrnl.exe_KeDetachProcess]
test rbx, rbx
jne 0x140006b19
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x140006b1b
xor al, al
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x140006eb0
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x10], rdx
push r12
push r14
push r15
sub rsp, 0x30
mov r15d, r9d
mov rbx, r8
mov rsi, rdx
mov eax, ecx
mov rcx, rdx
mov qword [rsp + 0x28], rdx
mov r12d, 0xc0000001
mov edi, r12d
test rdx, rdx
jne 0x140006f0c
mov ecx, eax
lea rdx, [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jns 0x140006f07
xor al, al
jmp 0x140006fe3
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_KeAttachProcess]
nop
mov rcx, rbx
call fcn.140006b40
test al, al
je 0x140006fbc
lea rcx, [rbx - 1]
add rcx, r15
call fcn.140006b40
test al, al
je 0x140006fbc
cmp dword [0x14001acfc], 0
je 0x140006f53
call fcn.1400025f0
call fcn.14000b310
cmp dword [0x14001acfc], 0
jne 0x140006f80
movabs rax, 0x8000000000000000
cmp rbx, rax
jb 0x140006f80
lfence
mov r8d, r15d
mov rdx, rbx
mov rcx, qword [rsp + 0x70]
call fcn.1400077a0
xor edi, edi
cmp eax, r15d
cmovne edi, r12d
jmp 0x140006f92
mov r8, r15
mov rdx, rbx
mov rcx, qword [rsp + 0x70]
call fcn.14000d700
xor edi, edi
mov dword [rsp + 0x20], edi
cmp dword [0x14001acfc], 0
je 0x140006fbc
call fcn.14000b3d0
mov rbx, rax
call fcn.14000b370
call fcn.140002600
test rbx, rbx
cmovne edi, r12d
mov dword [rsp + 0x20], edi
call qword [sym.imp.ntoskrnl.exe_KeDetachProcess]
jmp 0x140006fce
test rsi, rsi
jne 0x140006fde
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
test edi, edi
setns al
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret
Function at 0x140007080
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x10], rdx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r13d, r9d
mov r14, r8
mov r15, rdx
mov eax, ecx
mov rcx, rdx
mov qword [rsp + 0x28], rdx
mov ebx, 0xc0000001
test rdx, rdx
jne 0x1400070d6
mov ecx, eax
lea rdx, [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jns 0x1400070d1
xor al, al
jmp 0x14000721e
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_KeAttachProcess]
nop
mov rcx, r14
call fcn.140006b40
test al, al
je 0x1400071f7
lea rcx, [r14 - 1]
add rcx, r13
call fcn.140006b40
test al, al
je 0x1400071f7
xor esi, esi
mov edi, esi
mov dword [rsp + 0x24], esi
cmp dword [0x14001acfc], esi
jne 0x140007119
cmp dword [0x14001acbc], esi
je 0x14000714e
call fcn.1400025f0
cmp dword [0x14001acfc], esi
je 0x14000712b
call fcn.14000b310
cmp dword [0x14001acbc], esi
je 0x14000714e
call fcn.1400029b0
btr rax, 0x10
mov rcx, rax
call fcn.140002a60
mov edi, 1
mov dword [rsp + 0x24], edi
cmp dword [0x14001acfc], esi
jne 0x140007191
cmp dword [0x14001acbc], esi
jne 0x14000716d
movabs rax, 0x8000000000000000
cmp r14, rax
jb 0x140007191
mov r8d, r13d
mov rdx, qword [rsp + 0x80]
mov rcx, r14
call fcn.1400077a0
mov ebx, esi
cmp eax, r13d
mov r14d, 0xc0000001
cmovne ebx, r14d
jmp 0x1400071ac
mov r8, r13
mov rdx, qword [rsp + 0x80]
mov rcx, r14
call fcn.14000d700
mov ebx, esi
mov r14d, 0xc0000001
mov dword [rsp + 0x20], ebx
cmp dword [0x14001acfc], esi
jne 0x1400071bc
test edi, edi
je 0x1400071f7
test edi, edi
je 0x1400071d2
call fcn.1400029b0
bts rax, 0x10
mov rcx, rax
call fcn.140002a60
cmp dword [0x14001acfc], esi
je 0x1400071e7
call fcn.14000b3d0
mov rsi, rax
call fcn.14000b370
call fcn.140002600
test rsi, rsi
cmovne ebx, r14d
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ntoskrnl.exe_KeDetachProcess]
jmp 0x140007209
test r15, r15
jne 0x140007219
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
test ebx, ebx
setns al
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x1400073a0
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x140010100]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rcx, qword [0x1400101b8]
test rcx, rcx
jne 0x14000746a
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.ntoskrnl.exe_RtlGetVersion]
test eax, eax
je 0x1400073fa
xor eax, eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14000d510
add rsp, 0x158
ret
cmp dword [rsp + 0x24], 0xa
jb 0x140007459
cmp dword [rsp + 0x2c], 0x3839
jb 0x140007459
call fcn.1400029d0
and rax, 0xfffffffffffff000
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_MmGetVirtualForPhysical]
mov rcx, rax
movabs rax, 0xffffff8000000000
and rcx, rax
movabs rax, 0x7ffffffff8
add rax, rcx
mov qword [0x14001ace0], rax
movabs rax, 0x7b7ffffff8
add rax, rcx
mov qword [0x14001ace8], rax
jmp 0x140007463
movabs rcx, 0xfffff68000000000
mov qword [0x1400101b8], rcx
mov rax, rcx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14000d510
add rsp, 0x158
ret
Function at 0x140008240
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
xor r12d, r12d
xor dil, dil
mov r15d, r12d
call fcn.1400025b0
movsxd rcx, eax
lea r13, [0x140019a80]
mov rbx, qword [r13 + rcx*8]
call fcn.1400025b0
cdqe
mov r14d, r12d
mov rax, qword [r13 + rax*8]
mov rcx, qword [rax + 8]
cmp rcx, qword [rbx + 0x18]
setae r14b
jb 0x14000829b
call fcn.14000b120
call fcn.1400025b0
movsxd rcx, eax
mov rbx, qword [r13 + rcx*8]
call fcn.1400025b0
mov rsi, qword [rbx + 8]
cdqe
mov rax, qword [r13 + rax*8]
sub rsi, qword [rax]
mov rax, cr8
cmp al, 2
jae 0x1400082d6
mov r15d, 1
mov rdi, cr8
mov eax, 2
mov cr8, rax
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov rbp, rax
test rax, rax
je 0x140008460
call fcn.1400025b0
movsxd rcx, eax
mov r8, rsi
mov rdx, qword [r13 + rcx*8]
mov rcx, rbp
mov rdx, qword [rdx]
call fcn.14000d700
call fcn.1400025b0
movsxd rcx, eax
mov rbx, qword [r13 + rcx*8]
call fcn.1400025b0
movsxd rcx, eax
mov rax, qword [rbx]
mov rdx, qword [r13 + rcx*8]
mov qword [rdx + 8], rax
test r15d, r15d
je 0x140008336
movzx eax, dil
mov cr8, rax
cmp dword [0x1400140e8], r12d
je 0x140008376
mov rcx, qword [0x1400140e0]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], r12
xor r9d, r9d
mov qword [rsp + 0x38], r12
xor r8d, r8d
mov dword [rsp + 0x30], esi
xor edx, edx
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwWriteFile]
jmp 0x140008468
cmp qword [0x140014068], r12
je 0x140008468
xor r9d, r9d
mov qword [rsp + 0x20], r12
xor r8d, r8d
lea rcx, [0x1400140c0]
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
test eax, eax
jne 0x140008468
lea rcx, [0x140014080]
call qword [sym.imp.ntoskrnl.exe_ExAcquireFastMutex]
mov rax, qword [0x140014068]
test rax, rax
je 0x140008451
mov edx, dword [0x1400100d0]
mov ecx, r12d
test edx, edx
jle 0x140008451
cmp dword [rax], r12d
jne 0x1400083f1
inc ecx
add rax, 0x30
cmp ecx, edx
jl 0x1400083d3
lea rcx, [0x140014080]
call qword [sym.imp.ntoskrnl.exe_ExReleaseFastMutex]
jmp 0x140008468
movsxd rax, ecx
lea rbx, [rax + rax*2]
mov rax, qword [0x140014068]
shl rbx, 4
mov dword [rbx + rax], r12d
test ecx, ecx
js 0x140008451
lfence
mov rax, qword [0x140014068]
mov qword [rbx + rax + 8], rbp
mov rax, qword [0x140014068]
mov dword [rbx + rax + 0x10], esi
call fcn.1400025b0
mov r8, qword [0x140014068]
mov dword [rbx + r8 + 0x14], eax
xor r8d, r8d
mov rcx, qword [0x140014068]
add rcx, 0x18
add rcx, rbx
lea edx, [r8 + 1]
call qword [sym.imp.ntoskrnl.exe_KeSetEvent]
lea rcx, [0x140014080]
call qword [sym.imp.ntoskrnl.exe_ExReleaseFastMutex]
jmp 0x140008468
movzx eax, dil
mov cr8, rax
call fcn.1400025f0
lea r11, [rsp + 0x60]
mov eax, r14d
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14000a130
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x140010100]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rax, qword [0x140011200]
lea r9, [0x140011220]
movsxd rdx, ecx
lea r8, [0x14000db40]
mov dword [rsp + 0x20], ecx
lea rcx, [rsp + 0xb0]
mov rbx, qword [rax + rdx*8]
mov edx, 0xc8
call sub.ntoskrnl.exe_swprintf_s
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x90]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rax, [rsp + 0x90]
mov dword [rsp + 0x60], 0x30
xorps xmm0, xmm0
mov qword [rsp + 0x70], rax
xor edi, edi
mov dword [rsp + 0x78], 0x240
movdqu xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x68], rdi
lea rcx, [rsp + 0x60]
mov qword [rbx + 0x110], rdi
call qword [sym.imp.ntoskrnl.exe_ZwDeleteFile]
mov dword [rsp + 0x50], edi
lea r9, [rsp + 0xa0]
mov qword [rsp + 0x48], rdi
lea r8, [rsp + 0x60]
mov dword [rsp + 0x40], 0x24
lea rcx, [rbx + 0x110]
mov dword [rsp + 0x38], edi
mov edx, 0x10100005
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ntoskrnl.exe_ZwCreateFile]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14000d510
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret
Function at 0x140001008
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
lea rcx, str._JAVA_LAUNCHER_DEBUG
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x140001069
lea rcx, str.Windows_original_main_args:_n
call fcn.14000114c
xor ebx, ebx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
cmp dword [rax], ebx
jle 0x140001069
xor edi, edi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argv]
mov edx, ebx
lea rcx, str.wwwd_args__d____s_n
mov r8, qword [rax]
mov r8, qword [rdi + r8]
call fcn.14000114c
inc ebx
lea rdi, [rdi + 8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
cmp ebx, dword [rax]
jl 0x14000103e
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call sub.jli.dll_JLI_MemAlloc
mov rbx, rax
call sub.jli.dll_JLI_GetStdArgs
xor r9d, r9d
test edi, edi
jle 0x1400010b5
xor edx, edx
mov r9d, edi
mov rcx, qword [rax]
lea rax, [rax + 0x10]
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x1400010a2
mov rcx, qword [str.java]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rcx, rcx
jne 0x1400010cc
mov rcx, qword [rbx]
mov rax, qword [section..data]
test rax, rax
jne 0x1400010db
mov rax, qword [rbx]
and dword [rsp + 0x68], 0
lea r9, str._J_ms8m
mov byte [rsp + 0x60], 0
mov r8d, 2
mov byte [rsp + 0x58], 0
mov rdx, rbx
mov byte [rsp + 0x50], 1
mov qword [rsp + 0x48], rcx
mov ecx, edi
mov qword [rsp + 0x40], rax
lea rax, [0x14000232c]
mov qword [rsp + 0x38], rax
lea rax, [0x140002330]
mov qword [rsp + 0x30], rax
lea rax, str._lib_tools.jar
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 3
call sub.jli.dll_JLI_Launch
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret

Function at 0x1400018f8
Capabilities:
Parse pe header

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

Function at 0x1800010e0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x180001108
xor eax, eax
lea r8, section..text
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret