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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0xeec0]
mov eax, 0xefc0
call fcn.1400c2070
sub rsp, rax
mov rax, qword [0x1401a0e90]
xor rax, rsp
mov qword [rbp + 0xeeb0], rax
xor ebx, ebx
cmp byte [0x1401aaeb6], bl
je 0x140045093
lea rax, [0x1401a48a0]
jmp 0x1400451e4
mov eax, dword [0x1401a8d80]
mov edi, 1
lea ecx, [rax + 1]
imul ecx, eax
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x16
sub ecx, edx
cmp ecx, edi
jne 0x140045134
lea rcx, [rsp + 0x62]
xor edx, edx
mov r8d, 0xef40
mov word [rsp + 0x60], bx
call fcn.1400c2400
mov r10, rbx
or r9, 0xffffffffffffffff
mov r11d, 0xaf
mov r8, rbx
test r10, r10
je 0x140045110
test r8, r8
je 0x140045110
lea rax, [r9 + r8]
lea rcx, [r9 + r8]
movzx edx, word [rbp + rcx*2 - 0x1fc]
add dx, word [rsp + rax*2 + 0x60]
lea rax, [r9 + r8]
add dx, di
mov word [rsp + rax*2 + 0x62], dx
add r8, rdi
cmp r8, r11
jl 0x1400450e5
add r9, r11
add r10, rdi
cmp r9, 0x77a0
jl 0x1400450e2
movsx eax, word [rbp + 0xeea0]
mov dword [0x1401a8d80], eax
mov dword [rsp + 0x20], 0x110020
mov dword [rsp + 0x24], 0x50016
mov dword [rsp + 0x28], 0x30017
mov dword [rsp + 0x2c], 0x3003c
mov dword [rsp + 0x30], 0x9000a
mov dword [rsp + 0x34], 0x10019
mov dword [rsp + 0x38], 0x120003
mov dword [rsp + 0x3c], 0x51005f
mov dword [rsp + 0x40], 0x1a0030
mov dword [rsp + 0x44], 0xe
mov dword [rsp + 0x48], 0x60007
mov r9d, 0x1f
mov dword [rsp + 0x4c], 0x12001f
mov dword [rsp + 0x50], 0x90046
mov dword [rsp + 0x54], 0x20009
mov dword [rsp + 0x58], 0x160001
mov dword [rsp + 0x5c], 9
lea rax, [0x1401a48a0]
lea rcx, [0x1401a3d90]
movzx ecx, byte [rbx + rcx]
xor cx, word [rsp + rbx*2 + 0x20]
mov word [rax + rbx*2], cx
add rbx, rdi
cmp rbx, r9
jl 0x1400451c1
mov byte [0x1401aaeb6], dil
mov rcx, qword [rbp + 0xeeb0]
xor rcx, rsp
call fcn.1400bcfc0
lea r11, [rsp + 0xefc0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140045208
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1401a0e90]
xor rax, rsp
mov qword [rbp - 0x10], rax
call fcn.1400416c8
mov ecx, dword [0x1401a8d80]
mov edi, 1
xor ebx, ebx
lea r10d, [rdi + 1]
test al, al
jne 0x140045263
mov edx, ecx
test ecx, ecx
je 0x14004525a
dec edx
je 0x140045250
add ecx, edi
jmp 0x14004525d
mov ecx, ebx
mov dword [0x1401a8d80], ebx
jmp 0x140045263
mov ecx, r10d
mov dword [0x1401a8d80], ecx
cmp byte [0x1401aae8a], bl
je 0x140045277
lea rax, [0x1401a45c0]
jmp 0x140045316
imul ecx, ecx
mov eax, 0x6bca1af3
mov dword [rbp - 0x40], 0x110034
imul ecx
mov dword [rbp - 0x3c], 0x10001a
mov dword [rbp - 0x38], 0x360006
sar edx, 3
mov dword [rbp - 0x34], 0x3001a
mov dword [rbp - 0x30], 6
mov eax, edx
mov dword [rbp - 0x2c], 0x170002
mov dword [rbp - 0x28], 0x70022
shr eax, 0x1f
mov dword [rbp - 0x24], 0xc0001
mov dword [rbp - 0x20], 0xd0011
add edx, eax
mov dword [rbp - 0x1c], 0x500055
mov word [rbp - 0x18], bx
imul edx, edx, 0x13
sub ecx, edx
cmp ecx, 0xf
jne 0x1400452eb
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1401a8d80], eax
lea rax, [0x1401a45c0]
lea rcx, [0x1401a3d90]
movzx ecx, byte [rbx + rcx]
xor cx, word [rbp + rbx*2 - 0x40]
mov word [rax + rbx*2], cx
add rbx, rdi
cmp rbx, 0x14
jl 0x1400452f2
mov byte [0x1401aae8a], dil
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400bcfc0
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x60
pop rbp
ret
Function at 0x140045334
Capabilities:
Encode data using xor
Get disk size

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1401a0e90]
xor rax, rsp
mov qword [rbp - 8], rax
xor ebx, ebx
cmp byte [0x1401aae97], bl
je 0x14004536a
lea rax, [0x1401a46c0]
jmp 0x140045488
call fcn.1400416c8
test al, al
jne 0x140045388
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov r9d, 4
mov dword [rbp - 0x40], 0x20000
mov dword [rbp - 0x3c], 0x10001d
mov dword [rbp - 0x38], 0x70043
mov dword [rbp - 0x30], 0x6000a
mov dword [rbp - 0x2c], 0xb0051
lea edx, [r9 - 3]
mov dword [rbp - 0x34], r9d
mov dword [rbp - 0x28], 0x16001a
mov dword [rbp - 0x24], 0xc004c
mov dword [rbp - 0x20], 0x540005
mov dword [rbp - 0x1c], 0x150002
mov dword [rbp - 0x18], 0x10019
mov dword [rbp - 0x14], 0x1f0002
mov word [rbp - 0x10], bx
lea rdi, [0x1401a46c0]
lea rax, [0x1401a3d90]
movzx eax, byte [rbx + rax]
xor ax, word [rbp + rbx*2 - 0x40]
mov word [rdi + rbx*2], ax
add rbx, rdx
cmp rbx, 0x18
jl 0x1400453ee
mov r8d, dword [0x1401a8d80]
mov byte [0x1401aae97], dl
lea eax, [r8 + 1]
lea ecx, [r8 + 2]
imul ecx, eax
mov eax, 0x78787879
imul ecx, r8d
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x11
sub ecx, edx
cmp ecx, 3
jne 0x140045485
mov eax, 0x51eb851f
imul r8d
mov rax, r9
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul edx, edx, 0x64
sub r8d, edx
add r8d, 0x141
movsxd rcx, r8d
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400bc638
mov rcx, rax
call fcn.1400be0fc
mov rax, rdi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400bcfc0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x1400454a8
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x168]
sub rsp, 0x260
mov rax, qword [0x1401a0e90]
xor rax, rsp
mov qword [rbp + 0x158], rax
mov r9d, dword [0x1401a8d80]
xor ebx, ebx
mov eax, 0x2aaaaaab
lea r8d, [r9 + 1]
lea ecx, [r9 + 2]
lea esi, [rbx + 7]
imul ecx, r8d
imul ecx, r9d
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
cmp ecx, esi
jne 0x14004552f
mov r10d, ebx
lea r11, [rsp + 0x20]
mov edi, r9d
inc r10d
dec edi
lea r11, [r11 + 4]
movsxd rax, r10d
cmp rax, 0x84
jb 0x14004551b
cmp byte [0x1401aaeb4], bl
je 0x140045543
lea rax, [0x1401a4530]
jmp 0x140045680
imul r8d, r9d
mov eax, 0x92492493
mov edi, 0xa
imul r8d
add edx, r8d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xe
sub r8d, edx
cmp r8d, edi
jne 0x1400455b6
mov eax, 0x51eb851f
imul r9d
lea eax, [rdi - 6]
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul edx, edx, 0x64
sub r9d, edx
add r9d, 0x2f4
movsxd rcx, r9d
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400bc638
mov rcx, rax
call fcn.1400be0fc
mov r9d, dword [0x1401a8d80]
mov dword [rbp + 0x130], 0x60031
mov dword [rbp + 0x134], 0x12
mov dword [rbp + 0x138], 0x140033
mov dword [rbp + 0x13c], 0xf0007
mov dword [rbp + 0x140], 0x160000
mov dword [rbp + 0x144], 0x290002
mov dword [rbp + 0x148], 0xf000a
mov dword [rbp + 0x14c], 0x110003
mov r11d, 0x11
mov dword [rbp + 0x150], 0x4e001a
mov dword [rbp + 0x154], 0x4f
lea r10, [0x1401a4530]
lea rax, [0x1401a3d90]
movzx eax, byte [rbx + rax]
xor ax, word [rbp + rbx*2 + 0x130]
mov word [r10 + rbx*2], ax
inc rbx
cmp rbx, 0x13
jl 0x140045627
mov r8d, r9d
mov eax, 0x30c30c31
imul r8d, r9d
imul r8d, r9d
imul r8d
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul edx, edx, 0x15
sub r8d, edx
cmp r8d, r11d
jne 0x140045676
dec dword [0x1401aa944]
mov byte [0x1401aaeb4], 1
mov rax, r10
mov rcx, qword [rbp + 0x158]
xor rcx, rsp
call fcn.1400bcfc0
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x1400456a8
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x1401a0e90]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor eax, eax
cmp byte [0x1401aae89], al
je 0x1400456d2
lea rax, [0x1401a4b80]
jmp 0x140045751
mov dword [rbp - 0x40], 0x60004
mov dword [rbp - 0x3c], 0x290007
mov dword [rbp - 0x38], 0x2000c
mov dword [rbp - 0x34], 0x1d
mov dword [rbp - 0x30], 0x2d0000
mov dword [rbp - 0x2c], 0xa0010
mov dword [rbp - 0x28], 0xe000b
mov dword [rbp - 0x24], 0x2d0009
mov dword [rbp - 0x20], 0x100037
mov dword [rbp - 0x1c], 0x1c0003
mov dword [rbp - 0x18], 0x4e004e
mov word [rbp - 0x14], ax
lea rdx, [0x1401a4b80]
lea rcx, [0x1401a3d90]
movzx ecx, byte [rax + rcx]
xor cx, word [rbp + rax*2 - 0x40]
mov word [rdx + rax*2], cx
inc rax
cmp rax, 0x16
jl 0x14004572a
mov byte [0x1401aae89], 1
mov rax, rdx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400bcfc0
add rsp, 0x40
pop rbp
ret
Function at 0x140045764
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1401a0e90]
xor rax, rsp
mov qword [rbp - 8], rax
mov r9d, dword [0x1401a8d80]
mov eax, 0x66666667
mov edi, 0xa
mov ecx, r9d
imul ecx, r9d
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
shl eax, 2
sub ecx, eax
cmp ecx, edi
jne 0x1400457c7
call fcn.1400bd978
mov r9d, eax
mov dword [0x1401a8d80], eax
lea r8d, [r9 + 2]
lea ecx, [r9 + 1]
mov eax, 0x2aaaaaab
xor ebx, ebx
imul r8d, ecx
imul r8d, r9d
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 2
sub r8d, eax
cmp r8d, 4
jne 0x140045822
mov eax, 0xb4
lea r8d, [rax + 0x49]
test r8d, r8d
je 0x140045817
cdq
mov ecx, r8d
idiv r8d
mov eax, ecx
mov r8d, edx
test ecx, ecx
jne 0x140045802
lea r9d, [r8 + rax]
mov dword [0x1401a8d80], r9d
cmp byte [0x1401aaeb7], bl
je 0x140045836
lea rax, [0x1401a4bb0]
jmp 0x140045978
mov ecx, r9d
mov eax, 0x6bca1af3
mov esi, 0x11
imul ecx, r9d
imul ecx, r9d
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x13
sub ecx, edx
cmp ecx, esi
jne 0x140045881
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
mov r9d, dword [0x1401a8d80]
lea eax, [r9 + 1]
lea ecx, [r9 + 2]
mov r8d, 0x15
mov dword [rbp - 0x40], 0x15000d
mov dword [rbp - 0x3c], 0x3b0003
mov dword [rbp - 0x38], 0x80016
imul ecx, eax
imul ecx, r9d
mov eax, 0x2e8ba2e9
mov dword [rbp - 0x34], 0x14000d
mov dword [rbp - 0x30], r8d
mov dword [rbp - 0x2c], 0x100012
mov dword [rbp - 0x28], 0x6000a
mov dword [rbp - 0x24], 0xf0033
imul ecx
sar edx, 2
mov dword [rbp - 0x20], 0x17000c
mov dword [rbp - 0x1c], 0x1c000e
mov eax, edx
mov dword [rbp - 0x18], 0x6002b
mov dword [rbp - 0x14], 0xa0011
shr eax, 0x1f
mov dword [rbp - 0x10], 0x12
add edx, eax
imul edx, edx, 0x16
sub ecx, edx
cmp ecx, r8d
jne 0x14004594d
mov eax, 0x51eb851f
imul r9d
lea eax, [r8 - 0x11]
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul edx, edx, 0x64
sub r9d, edx
add r9d, 0x141
movsxd rcx, r9d
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400bc638
mov rcx, rax
call fcn.1400be0fc
lea rax, [0x1401a4bb0]
lea rcx, [0x1401a3d90]
movzx ecx, byte [rbx + rcx]
xor cx, word [rbp + rbx*2 - 0x40]
mov word [rax + rbx*2], cx
inc rbx
cmp rbx, 0x19
jl 0x140045954
mov byte [0x1401aaeb7], 1
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400bcfc0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14004599c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1401a0e90]
xor rax, rsp
mov qword [rbp - 8], rax
mov r8d, dword [0x1401a8d80]
lea eax, [r8 + 1]
lea ecx, [r8 + 2]
imul ecx, eax
mov eax, 0x88888889
imul ecx, r8d
imul ecx
add edx, ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xf
sub ecx, edx
cmp ecx, 0xb
jne 0x140045a36
mov eax, 0x51eb851f
imul r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 4
imul edx, edx, 0x64
sub r8d, edx
add r8d, 0x141
movsxd rcx, r8d
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400bc638
mov rcx, rax
call fcn.1400be0fc
mov r8d, dword [0x1401a8d80]
xor r9d, r9d
cmp byte [0x1401aaeae], r9b
je 0x140045a4e
lea rax, [0x1401a4658]
jmp 0x140045b05
mov dword [rbp - 0x30], 0x220035
mov dword [rbp - 0x2c], 0x8001f
mov r10d, 8
mov dword [rbp - 0x28], 0x5000c
mov dword [rbp - 0x24], 0x14002d
mov dword [rbp - 0x20], 0x2b0057
mov dword [rbp - 0x1c], 0x490005
mov dword [rbp - 0x18], 0x17003c
mov dword [rbp - 0x14], 0xf
mov dword [rbp - 0x10], 0x70006
mov dword [rbp - 0xc], 0x1c
mov rcx, r9
lea rbx, [0x1401a4658]
lea rax, [0x1401a3d90]
movzx eax, byte [rcx + rax]
xor ax, word [rbp + rcx*2 - 0x30]
mov word [rbx + rcx*2], ax
inc rcx
cmp rcx, 0x13
jl 0x140045aa4
lea ecx, [r8 + 1]
mov eax, 0x4ec4ec4f
imul ecx, r8d
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xd
sub ecx, edx
cmp ecx, r10d
jne 0x140045afb
mov qword [rsp + 0x28], r9
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], r9
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
mov byte [0x1401aaeae], 1
mov rax, rbx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400bcfc0
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rbp
ret
Function at 0x140045b1c
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x268]
sub rsp, 0x360
mov rax, qword [0x1401a0e90]
xor rax, rsp
mov qword [rbp + 0x258], rax
xor ebx, ebx
cmp byte [0x1401aaeb3], bl
je 0x140045b61
lea rax, [0x1401a4460]
jmp 0x140045ce6
mov r9d, dword [0x1401a8d80]
mov eax, 0x66666667
mov esi, 1
lea edi, [r9 + 1]
lea ecx, [r9 + 2]
imul ecx, edi
imul ecx, r9d
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
shl eax, 2
sub ecx, eax
cmp ecx, 9
jne 0x140045bba
mov r8d, ebx
lea r10, [rsp + 0x30]
mov r11d, r9d
add r8d, esi
sub r11d, esi
lea r10, [r10 + 4]
movsxd rax, r8d
cmp rax, 0xbe
jb 0x140045ba5
imul edi, r9d
mov eax, 0x30c30c31
mov dword [rbp + 0x230], 0x20013
imul edi
mov dword [rbp + 0x234], 0x10001
mov dword [rbp + 0x238], 0x12000d
sar edx, 2
mov dword [rbp + 0x23c], 0x1c0048
mov dword [rbp + 0x240], 0xa0017
mov eax, edx
mov dword [rbp + 0x244], 0x440012
mov dword [rbp + 0x248], 0x30001
shr eax, 0x1f
mov dword [rbp + 0x24c], 0x60001
mov word [rbp + 0x250], bx
add edx, eax
imul edx, edx, 0x15
sub edi, edx
cmp edi, 4
jne 0x140045c4c
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_GetMailslotInfo]
mov r9d, dword [0x1401a8d80]
mov rdx, rbx
lea r10, [0x1401a4460]
lea rax, [0x1401a3d90]
movzx ecx, byte [rdx + rax]
xor cx, word [rbp + rdx*2 + 0x230]
mov word [r10 + rdx*2], cx
add rdx, rsi
cmp rdx, 0x10
jl 0x140045c56
lea r8d, [r9 + 2]
lea ecx, [r9 + 1]
mov eax, 0x66666667
mov byte [0x1401aaeb3], sil
imul r8d, ecx
imul r8d, r9d
imul r8d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
shl eax, 2
sub r8d, eax
cmp r8d, 9
jne 0x140045ce3
mov edx, ebx
mov r8d, 8
mov ecx, edx
mov eax, edx
and ecx, esi
sar eax, 1
sub ecx, esi
not ecx
and ecx, r9d
mov edx, ecx
xor edx, eax
sub r8, rsi
jne 0x140045cb7
add ebx, esi
add r9d, edx
cmp ebx, 0x100
jl 0x140045caf
mov dword [0x1401a8d80], r9d
mov rax, r10
mov rcx, qword [rbp + 0x258]
xor rcx, rsp
call fcn.1400bcfc0
lea r11, [rsp + 0x360]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140045d10
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x800
mov rax, qword [0x1401a0e90]
xor rax, rsp
mov qword [rsp + 0x7f0], rax
mov r8d, dword [0x1401a8d80]
mov eax, 0x30c30c31
xor ebx, ebx
lea ebp, [r8 + 1]
lea ecx, [r8 + 2]
imul ecx, ebp
imul ecx, r8d
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x15
sub ecx, edx
cmp ecx, 7
jne 0x140045db5
mov eax, r8d
lea r10d, [rcx + 0x7f]
mov ecx, ebx
cdq
sub eax, edx
sar eax, 1
mov esi, eax
test esi, esi
jle 0x140045dae
mov eax, r8d
mov r9d, ebx
mov rdi, rsi
cdq
and edx, 3
add eax, edx
sar eax, 2
test eax, eax
jle 0x140045da6
mov edx, r9d
mov r11d, eax
add r10d, edx
dec edx
dec r11
jne 0x140045d9c
add r9d, ecx
dec rdi
jne 0x140045d92
inc ecx
cmp ecx, r10d
jl 0x140045d7c
cmp byte [0x1401aaeaa], bl
je 0x140045dc9
lea rax, [0x1401a4418]
jmp 0x140045e98
imul ebp, r8d
mov eax, 0x88888889
mov ecx, 0xd
imul ebp
mov dword [rsp + 0x7e0], 0xd004e
mov dword [rsp + 0x7e4], 0x12001c
add edx, ebp
mov dword [rsp + 0x7e8], 2
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xf
sub ebp, edx
cmp ebp, ecx
jne 0x140045e6a
mov rdi, rbx
mov esi, 0xf8
call fcn.1400bd978
inc rdi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd qword [rsp + rdi*8 + 0x18], xmm0
cmp rdi, rsi
jb 0x140045e17
mov rcx, rbx
mov eax, 0xf7
jmp 0x140045e5d
movsd xmm1, qword [rsp + rax*8 + 0x20]
movsd xmm0, qword [rsp + rax*8 + 0x18]
comisd xmm1, xmm0
jbe 0x140045e5a
movsd qword [rsp + rax*8 + 0x20], xmm0
movsd qword [rsp + rax*8 + 0x18], xmm1
dec rax
cmp rax, rcx
jg 0x140045e3c
inc rcx
dec rsi
jne 0x140045e35
lea rax, [0x1401a4418]
lea rcx, [0x1401a3d90]
movzx ecx, byte [rbx + rcx]
xor cx, word [rsp + rbx*2 + 0x7e0]
mov word [rax + rbx*2], cx
inc rbx
cmp rbx, 5
jl 0x140045e71
mov byte [0x1401aaeaa], 1
mov rcx, qword [rsp + 0x7f0]
xor rcx, rsp
call fcn.1400bcfc0
lea r11, [rsp + 0x800]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140045ec4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x1401a0e90]
xor rax, rsp
mov qword [rbp - 8], rax
call fcn.140041734
mov r8d, dword [0x1401a8d80]
xor ebx, ebx
test al, al
jne 0x140045f3f
movsd xmm3, qword [0x14013dd10]
movd xmm4, r8d
xorps xmm2, xmm2
cvtdq2pd xmm4, xmm4
addsd xmm2, xmm3
movaps xmm0, xmm2
mulsd xmm0, xmm2
comisd xmm0, xmm4
jbe 0x140045f27
subsd xmm2, xmm3
divsd xmm3, qword [0x14013dd38]
movaps xmm1, xmm2
movaps xmm0, xmm4
mulsd xmm1, xmm2
subsd xmm0, xmm1
comisd xmm0, xmmword [0x14013dd08]
ja 0x140045f0a
cmp byte [0x1401aaea9], bl
je 0x140045f53
lea rax, [0x1401a4940]
jmp 0x140046081
lea ecx, [r8 + 1]
mov eax, 0x38e38e39
mov edi, 5
imul ecx, r8d
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*8]
sub ecx, eax
cmp ecx, edi
jne 0x140045fc0
mov eax, 0x51eb851f
imul r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdi - 1]
imul edx, edx, 0x64
sub r8d, edx
add r8d, 0x7b
movsxd rcx, r8d
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400bc638
mov rcx, rax
call fcn.1400be0fc
mov r8d, dword [0x1401a8d80]
mov dword [rbp - 0x30], 0x13002c
mov dword [rbp - 0x2c], 0xa0016
mov dword [rbp - 0x28], 0x140033
mov dword [rbp - 0x24], 0xf0007
mov dword [rbp - 0x20], 0x160000
mov r11d, 2
mov dword [rbp - 0x1c], 0x440002
mov dword [rbp - 0x18], 0x7001c
mov dword [rbp - 0x14], 0x50000
mov word [rbp - 0x10], bx
mov rcx, rbx
lea r9, [0x1401a4940]
lea rax, [0x1401a3d90]
movzx eax, byte [rcx + rax]
xor ax, word [rbp + rcx*2 - 0x30]
mov word [r9 + rcx*2], ax
inc rcx
cmp rcx, 0x10
jl 0x14004600c
lea r10d, [r8 + 1]
lea ecx, [r8 + 2]
mov eax, 0x2e8ba2e9
imul ecx, r10d
imul ecx, r8d
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x16
sub ecx, edx
cmp ecx, 0x15
jne 0x140046077
test r8d, r8d
je 0x140046070
dec r8d
je 0x140046068
mov dword [0x1401a8d80], r10d
jmp 0x140046077
mov dword [0x1401a8d80], ebx
jmp 0x140046077
mov dword [0x1401a8d80], r11d
mov byte [0x1401aaea9], 1
mov rax, r9
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400bcfc0
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
Function at 0x14004a270
Capabilities:
Acquire debug privileges

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp + 0x17], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov rax, qword [0x1401a0e90]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov edi, edx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
call fcn.140023824
mov rcx, rax
lea r9, [rbp - 9]
mov r8d, 0x20028
mov rdx, rbx
call fcn.14003535c
test eax, eax
jne 0x14004a2ff
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x2f]
call fcn.14004157c
mov rbx, rax
call fcn.1400434e4
mov rdx, rax
mov r8, rbx
lea rcx, [rbp - 1]
call fcn.140046158
lea rdx, [0x14016bd50]
lea rcx, [rbp - 1]
call fcn.1400c4e98
nop
lea r8, [rbp + 0xf]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov rcx, qword [rbp - 9]
test eax, eax
jne 0x14004a359
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x2f]
call fcn.14004157c
mov rbx, rax
call fcn.140043a30
mov rdx, rax
mov r8, rbx
lea rcx, [rbp - 1]
call fcn.140046158
lea rdx, [0x14016bd50]
lea rcx, [rbp - 1]
call fcn.1400c4e98
nop
mov ebx, 1
mov dword [rbp + 0x1f], ebx
mov rax, qword [rbp + 0xf]
mov qword [rbp + 0x23], rax
neg edi
sbb eax, eax
and eax, 2
mov dword [rbp + 0x2b], eax
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rbp + 0x1f]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rbp - 9]
test eax, eax
jne 0x14004a3d5
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x2f]
call fcn.14004157c
mov r11, rax
call fcn.140042494
mov rdx, rax
mov r8, r11
lea rcx, [rbp - 1]
call fcn.140046158
lea rdx, [0x14016bd50]
lea rcx, [rbp - 1]
call fcn.1400c4e98
nop
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1400bcfc0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x14004b9d8
Capabilities:
Set registry value

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x40
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov rsi, rdx
mov rdi, rcx
lea rbx, [rcx + 0x1b0]
mov edx, 0x5c
mov rcx, qword [rbx]
call fcn.1400bf938
or ebp, 0xffffffff
test rax, rax
jne 0x14004ba14
mov eax, ebp
jmp 0x14004ba1a
sub rax, qword [rbx]
sar rax, 1
lea r8d, [rax + 1]
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.140022a70
nop
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rdx, qword [rbx]
mov rcx, qword [rdi + 0x2d8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14004bab8
call fcn.1400438ac
mov r8, rax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.140017bcc
nop
mov dword [rsp + 0x28], 0x20
mov qword [rsp + 0x20], rsi
mov r9d, 3
xor r8d, r8d
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov ecx, ebp
lock xadd dword [rdx + 0x10], ecx
add ecx, ebp
test ecx, ecx
jg 0x14004bab0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test ebx, ebx
jne 0x14004bab8
mov bl, 1
jmp 0x14004bafa
call fcn.140044078
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140001f2c
nop
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.14004c728
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, ebp
test eax, eax
jg 0x14004baf8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor bl, bl
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov ecx, ebp
lock xadd dword [rdx + 0x10], ecx
add ecx, ebp
test ecx, ecx
jg 0x14004bb1a
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov al, bl
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret