joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800cea10
Capabilities:
Access the windows event log

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 - 0x40], rax
mov qword [rbp - 0x48], rax
mov rbx, rcx
mov esi, edx
mov edi, r8d
mov r14d, r9d
mov r15, qword [rbp + 0x30]
mov r13, qword [rbp + 0x50]
lea r12, [r13 + 0x10]
xor ecx, ecx
test r13, r13
cmove r12, rcx
mov qword [rbp - 0x40], r12
lea r13, [r15 + 0x10]
test r15, r15
cmove r13, rcx
mov qword [rbp - 0x48], r13
call sub.KERNEL32.dll_SetLastError
mov qword [rsp + 0x20], r13
movsx rdx, word [rbp + 0x38]
mov dword [rsp + 0x28], edx
mov r15d, dword [rbp + 0x40]
mov dword [rsp + 0x30], r15d
mov r15, qword [rbp + 0x48]
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], r12
movsx rdx, si
mov dword [rbp - 0x74], edx
movzx r8d, di
mov dword [rbp - 0x78], r8d
mov rcx, rbx
mov qword [rbp - 0x84], rcx
mov r9d, r14d
mov dword [rbp - 0x7c], r9d
lea rcx, [rbp - 0x70]
call fcn.180006440
mov edx, dword [rbp - 0x74]
mov r8d, dword [rbp - 0x78]
mov rcx, qword [rbp - 0x84]
mov r9d, dword [rbp - 0x7c]
call sub.ADVAPI32.dll_ReportEventW
mov ebx, eax
lea rcx, [rbp - 0x70]
call fcn.180006490
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov rax, qword gs:[0x58]
mov ecx, dword [0x18023e08c]
mov edx, 0x10
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1800ceb2d
mov dword [rdi + 0x78], esi
test ebx, ebx
setne al
movzx eax, al
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x1800c95c0]
call rax
mov rdi, rax
jmp 0x1800ceb0e

Function at 0x1800d0980
Capabilities:
Encode data using xor

Disassembly:
mov rax, qword [rcx + 8]
mov rdx, qword [rcx + 0x10]
mov r8, qword [rcx + 0x18]
mov r10, qword [rcx + 0x20]
mov r9, rdx
shl r9, 0x11
xor r8, rax
xor r10, rdx
lea r11, [rdx + rdx*4]
rol r11, 7
lea r11, [r11 + r11*8]
xor rdx, r8
xor rax, r10
xor r8, r9
rol r10, 0x2d
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], r8
mov qword [rcx + 0x20], r10
mov rax, r11
shr rax, 0x21
cmp rax, 0x7fffffff
je fcn.1800d0980
ret

Function at 0x1800f0010
Capabilities:
Hash data using murmur3

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
cmp edx, 0xffffffff
je 0x1800f0043
mov ecx, edx
call fcn.1800eff40
mov rdx, rax
lea rcx, [0x180138868]
lea r8, [0x18013e260]
call fcn.18008ad20
mov rcx, rax
call fcn.1800efec0
jmp 0x1800f0048
mov eax, 0xd5313557
mov ecx, eax
rol ecx, 0xd
add ecx, eax
mov eax, ecx
xor eax, ebx
mov ecx, eax
rol ecx, 0xf
add eax, ecx
add rsp, 0x20
pop rbx
ret
Function at 0x1800f2f00
Capabilities:
Hash data via bcrypt

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
xorps xmm4, xmm4
movaps xmmword [rbp - 0x50], xmm4
xor eax, eax
mov qword [rbp - 0x40], rax
mov rbx, rdx
mov esi, r8d
mov edi, r9d
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1800c0740
nop
mov rdx, qword [rbx]
mov qword [rbp - 0x50], rdx
mov rcx, qword [rbp - 0x48]
mov rcx, qword [rcx + 8]
mov qword [rbp - 0x88], rcx
mov qword [rbp - 0x90], rdx
mov r8d, esi
mov dword [rbp - 0x7c], r8d
mov r9d, edi
mov dword [rbp - 0x80], r9d
lea rcx, [rbp - 0x78]
call fcn.180006440
mov rcx, qword [rbp - 0x88]
mov rdx, qword [rbp - 0x90]
mov r8d, dword [rbp - 0x7c]
mov r9d, dword [rbp - 0x80]
call sub.bcrypt.dll_BCryptHashData
mov ebx, eax
lea rcx, [rbp - 0x78]
call fcn.180006490
nop
xor ecx, ecx
mov qword [rbp - 0x50], rcx
cmp byte [rbp - 0x40], 0
je 0x1800f2fb9
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.1800c0780
mov eax, ebx
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x180113cc0
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x28
xor eax, eax
mov r8d, dword [rdx + 8]
test r8d, r8d
jle 0x180113cfc
lea r10, [rdx + rax*8 + 0x10]
mov r10, qword [r10]
test r10, r10
je 0x180113ce2
mov r10d, dword [r10 + 0x14]
jmp 0x180113ce5
xor r10d, r10d
mov r9d, ecx
rol r9d, 0xd
add r9d, ecx
mov ecx, r9d
xor ecx, r10d
inc eax
cmp r8d, eax
jg 0x180113ccf
mov eax, ecx
rol eax, 0xf
add eax, ecx
add rsp, 0x28
ret

Function at 0x180125ac0
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x28
mov rbx, r8
mov esi, edx
xor edi, edi
mov ebp, dword [rbx + 8]
test ebp, ebp
jle 0x180125af2
mov rcx, qword [rbx + rdi*8 + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov ecx, esi
rol ecx, 0xd
add ecx, esi
mov esi, eax
xor esi, ecx
inc edi
cmp ebp, edi
jg 0x180125ad6
mov eax, esi
rol eax, 0xf
add eax, esi
add rsp, 0x28
pop rbx
pop rbp
pop rsi
pop rdi
ret
Function at 0x140001cb0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x14003b090]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, r8
mov rdi, rdx
test rdx, rdx
je 0x140001d64
xor ecx, ecx
mov qword [r11 + 8], rbx
mov qword [r11 - 0x28], rcx
lea rax, [r11 - 0x18]
mov qword [r11 - 0x30], rax
lea rdx, str.SOFTWAREAMDDVR
mov qword [r11 - 0x38], rcx
xor r9d, r9d
mov qword [r11 - 0x18], rcx
xor r8d, r8d
mov dword [rsp + 0x28], 0xf003f
xor bl, bl
mov dword [rsp + 0x20], ecx
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140001d5a
mov rcx, qword [rsp + 0x50]
lea r9d, [rax + 4]
mov dword [rsp + 0x28], 4
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, 1
movzx ebx, bl
test eax, eax
cmove ebx, ecx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
mov rbx, qword [rsp + 0x70]
jmp 0x140001d66
xor al, al
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000bb60
mov rsi, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
ret

Function at 0x140001d90
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x14003b090]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor ecx, ecx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rcx
lea rdx, str.SOFTWAREAMDDVR
mov qword [rsp + 0x38], rax
mov edi, r9d
mov qword [rsp + 0x30], rcx
mov rbx, r8
mov dword [rsp + 0x28], 0xf003f
xor r9d, r9d
mov dword [rsp + 0x20], ecx
xor r8d, r8d
mov rcx, 0xffffffff80000001
xor sil, sil
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140001e37
mov rcx, qword [rsp + 0x50]
lea r9d, [rax + 3]
mov dword [rsp + 0x28], edi
lea rdx, str.CustomKey
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, 1
movzx ebx, sil
test eax, eax
cmove ebx, ecx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
jmp 0x140001e3b
movzx eax, sil
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000bb60
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x1400024f0
Capabilities:
Encrypt data using dpapi

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x14003b090]
xor rax, rsp
mov qword [rsp + 0x70], rax
xor r15b, r15b
mov rsi, r8
mov r14, rdx
mov rdi, rcx
test rdx, rdx
je 0x140002694
test r8, r8
je 0x140002694
mov eax, dword [rcx + 0x10]
mov qword [r11 - 0x30], rbp
mov qword [r11 - 0x38], r12
lea r12d, [rax*2 + 2]
mov ecx, r12d
call fcn.14000ffd8
mov r8d, r12d
xor edx, edx
mov rcx, rax
mov rbp, rax
call fcn.14000da40
cmp qword [rdi + 0x18], 8
mov rdx, rdi
mov r8, qword [rdi + 0x10]
jb 0x14000256a
mov rdx, qword [rdi]
add r8, r8
mov rcx, rbp
call fcn.14000d5e0
xor eax, eax
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x60], r12d
lea ecx, [rax + 0x10]
call fcn.14000ffd8
mov r12, rax
lea r8, [rsp + 0x50]
xor ebx, ebx
lea rdx, [0x1400341b0]
xor r9d, r9d
lea rcx, [rsp + 0x60]
mov dword [rax], 0x1c9abff8
mov dword [rax + 4], 0xd53b41bb
mov dword [rax + 8], 0xa46d3483
mov dword [rax + 0xc], 0xcffecb11
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x50], 0x10
call qword [sym.imp.CRYPT32.dll_CryptProtectData]
test eax, eax
je 0x140002633
mov rax, qword [rsp + 0x40]
mov ecx, eax
mov dword [rsi], eax
call fcn.14000ffd8
mov qword [r14], rax
test rax, rax
je 0x140002628
mov r8d, dword [rsp + 0x40]
mov rcx, rax
mov rdx, qword [rsp + 0x48]
call fcn.14000d5e0
mov r15b, 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, r12
call fcn.14000fd18
mov rcx, rbp
call fcn.14000fd18
mov rdx, qword [rdi + 0x18]
mov r12, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x88]
cmp rdx, 8
jb 0x14000268e
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140002689
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400026fe
mov rcx, r8
call fcn.14000c118
movzx eax, r15b
jmp 0x1400026d3
mov rdx, qword [rcx + 0x18]
cmp rdx, 8
jb 0x1400026cf
mov rcx, qword [rcx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1400026ca
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400026fe
mov rcx, r8
call fcn.14000c118
xor ebx, ebx
xor al, al
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 7
mov word [rdi], bx
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14000bb60
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
call fcn.14000ff60
int3
Function at 0x1400052e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x10
mov rax, qword [0x14003b090]
xor rax, rsp
mov qword [rsp], rax
mov rdi, qword [r8 + 0x18]
mov rsi, rdx
mov r11, qword [r8 + 0x10]
mov r10, r8
mov rdx, r8
cmp rdi, 8
jb 0x14000531a
mov rdx, qword [r8]
xor ebx, ebx
lea r9, [r11 + r11]
lea rax, [r9 + rdx]
movabs r8, 0xcbf29ce484222325
cmp rdx, rax
mov rcx, rdx
cmova r9, rbx
test r9, r9
je 0x140005368
movabs rbx, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx]
inc rcx
xor r8, rax
mov rax, rcx
sub rax, rdx
imul r8, rbx
cmp rax, r9
jne 0x140005350
and r8, qword [0x14003da90]
mov rdx, qword [0x14003da78]
mov rcx, r8
mov rbx, qword [0x14003da68]
add rcx, rcx
lea rax, [r8 + r8]
mov rbp, qword [rdx + rax*8]
lea r14, [rdx + rax*8]
mov rcx, qword [rdx + rcx*8]
mov r8, rcx
mov rdx, rcx
cmp rbp, rbx
jne 0x1400053a3
mov rax, rbx
jmp 0x1400053ad
mov rax, qword [r14 + 8]
mov rdx, r8
mov rax, qword [rax]
cmp rdx, rax
je 0x140005449
mov rax, r10
cmp rdi, 8
jb 0x1400053c2
mov rax, qword [r10]
cmp qword [rcx + 0x28], 8
lea r9, [rcx + 0x10]
jb 0x1400053d1
mov r9, qword [rcx + 0x10]
mov r8, qword [rcx + 0x20]
cmp r8, r11
jne 0x140005439
test r8, r8
je 0x1400053f6
sub r9, rax
movzx edx, word [rax]
cmp word [rax + r9], dx
jne 0x140005439
add rax, 2
sub r8, 1
jne 0x1400053e2
cmp qword [rcx + 0x28], 8
lea rdx, [rcx + 0x10]
jb 0x140005405
mov rdx, qword [rcx + 0x10]
cmp rdi, 8
jb 0x14000540e
mov r10, qword [r10]
cmp r11, qword [rcx + 0x20]
jne 0x140005441
test r11, r11
je 0x140005444
sub r10, rdx
nop dword [rax]
movzx eax, word [rdx]
cmp word [rdx + r10], ax
jne 0x140005441
add rdx, 2
sub r11, 1
jne 0x140005420
mov qword [rsi], rcx
jmp 0x14000544c
mov rcx, qword [rcx]
jmp 0x140005393
mov rcx, rbx
mov qword [rsi], rcx
jmp 0x14000544c
mov qword [rsi], rbx
mov rax, rsi
mov rcx, qword [rsp]
xor rcx, rsp
call fcn.14000bb60
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
add rsp, 0x10
pop r14
pop rdi
pop rsi
ret
Function at 0x140005470
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x10
mov rax, qword [0x14003b090]
xor rax, rsp
mov qword [rsp], rax
mov rdi, qword [r8 + 0x18]
mov rsi, rdx
mov r11, qword [r8 + 0x10]
mov r10, r8
mov rdx, r8
cmp rdi, 8
jb 0x1400054aa
mov rdx, qword [r8]
xor ebx, ebx
lea r9, [r11 + r11]
lea rax, [r9 + rdx]
movabs r8, 0xcbf29ce484222325
cmp rdx, rax
mov rcx, rdx
cmova r9, rbx
test r9, r9
je 0x1400054f8
movabs rbx, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx]
inc rcx
xor r8, rax
mov rax, rcx
sub rax, rdx
imul r8, rbx
cmp rax, r9
jne 0x1400054e0
and r8, qword [0x14003dad0]
mov rdx, qword [0x14003dab8]
mov rcx, r8
mov rbx, qword [0x14003daa8]
add rcx, rcx
lea rax, [r8 + r8]
mov rbp, qword [rdx + rax*8]
lea r14, [rdx + rax*8]
mov rcx, qword [rdx + rcx*8]
mov r8, rcx
mov rdx, rcx
cmp rbp, rbx
jne 0x140005533
mov rax, rbx
jmp 0x14000553d
mov rax, qword [r14 + 8]
mov rdx, r8
mov rax, qword [rax]
cmp rdx, rax
je 0x1400055d9
mov rax, r10
cmp rdi, 8
jb 0x140005552
mov rax, qword [r10]
cmp qword [rcx + 0x28], 8
lea r9, [rcx + 0x10]
jb 0x140005561
mov r9, qword [rcx + 0x10]
mov r8, qword [rcx + 0x20]
cmp r8, r11
jne 0x1400055c9
test r8, r8
je 0x140005586
sub r9, rax
movzx edx, word [rax]
cmp word [rax + r9], dx
jne 0x1400055c9
add rax, 2
sub r8, 1
jne 0x140005572
cmp qword [rcx + 0x28], 8
lea rdx, [rcx + 0x10]
jb 0x140005595
mov rdx, qword [rcx + 0x10]
cmp rdi, 8
jb 0x14000559e
mov r10, qword [r10]
cmp r11, qword [rcx + 0x20]
jne 0x1400055d1
test r11, r11
je 0x1400055d4
sub r10, rdx
nop dword [rax]
movzx eax, word [rdx]
cmp word [rdx + r10], ax
jne 0x1400055d1
add rdx, 2
sub r11, 1
jne 0x1400055b0
mov qword [rsi], rcx
jmp 0x1400055dc
mov rcx, qword [rcx]
jmp 0x140005523
mov rcx, rbx
mov qword [rsi], rcx
jmp 0x1400055dc
mov qword [rsi], rbx
mov rax, rsi
mov rcx, qword [rsp]
xor rcx, rsp
call fcn.14000bb60
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
add rsp, 0x10
pop r14
pop rdi
pop rsi
ret
Function at 0x140007d20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
cmp qword [r8 + 0x28], 8
mov rbx, rdx
mov r10, qword [r8 + 0x20]
lea rdx, [r8 + 0x10]
mov r11, rcx
jb 0x140007d42
mov rdx, qword [rdx]
add r10, r10
xor edi, edi
movabs rax, 0xcbf29ce484222325
mov r9, rdx
lea rcx, [r10 + rdx]
cmp rdx, rcx
cmova r10, rdi
test r10, r10
je 0x140007d89
movabs rdi, 0x100000001b3
nop
movzx ecx, byte [r9]
inc r9
xor rax, rcx
mov rcx, r9
sub rcx, rdx
imul rax, rdi
cmp rcx, r10
jne 0x140007d70
mov r9, qword [r11 + 0x30]
mov rdx, qword [r11 + 0x18]
and r9, rax
shl r9, 4
add rdx, r9
mov rax, qword [rdx]
cmp qword [rdx + 8], r8
jne 0x140007dc9
cmp rax, r8
jne 0x140007dbf
mov rax, qword [r11 + 8]
mov qword [rdx], rax
mov rcx, qword [r11 + 0x18]
mov rax, qword [r11 + 8]
mov qword [rcx + r9 + 8], rax
jmp 0x140007dd4
mov rax, qword [r8 + 8]
mov qword [rdx + 8], rax
jmp 0x140007dd4
cmp rax, r8
jne 0x140007dd4
mov rcx, qword [r8]
mov qword [rdx], rcx
lea rcx, [r11 + 8]
mov rdx, rbx
call fcn.140007c00
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140009658
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14003b090]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r12, rcx
xor r15d, r15d
cmp qword [rcx + 0x68], r15
je 0x140009806
cmp byte [rcx + 0x71], r15b
je 0x140009806
mov rax, qword [rcx]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call fcn.14000c588
or edx, 0xffffffff
mov rcx, r12
call rbx
cmp eax, 0xffffffff
jne 0x1400096ca
xor al, al
jmp 0x14000980b
xor r8d, r8d
lea edx, [r8 + 8]
lea rcx, [rbp - 0x30]
call fcn.140008ea0
nop
mov r13d, 1
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rcx, rdx
lea r14, [rbp - 0x30]
cmovae r14, rdx
mov rsi, qword [r12 + 0x68]
mov rdx, qword [rsi]
mov rbx, qword [rbp - 0x20]
add rbx, rcx
mov rdi, qword [rdx + 0x40]
mov rcx, rdi
call fcn.14000c588
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8, r14
lea rdx, [r12 + 0x74]
mov rcx, rsi
call rdi
mov ecx, eax
test eax, eax
je 0x14000973b
sub ecx, r13d
jne 0x1400097a9
jmp 0x140009740
mov byte [r12 + 0x71], r15b
lea rax, [rbp - 0x30]
mov rdx, qword [rbp - 0x30]
mov r8, qword [rbp - 0x18]
cmp r8, 0x10
cmovae rax, rdx
mov rbx, qword [rbp - 0x40]
sub rbx, rax
je 0x140009785
lea rcx, [rbp - 0x30]
cmp r8, 0x10
cmovae rcx, rdx
mov r9, qword [r12 + 0x80]
mov r8, rbx
mov rdx, r13
call fcn.1400116a8
mov rdx, qword [rbp - 0x30]
cmp rbx, rax
jne 0x1400097b7
cmp byte [r12 + 0x71], r15b
je 0x1400097b4
test rbx, rbx
jne 0x1400096e5
xor r8d, r8d
lea edx, [rbx + 8]
lea rcx, [rbp - 0x30]
call fcn.140008f9c
jmp 0x1400096e1
mov rdx, qword [rbp - 0x30]
cmp ecx, 2
jne 0x1400097bd
jmp 0x1400097ba
mov r15b, r13b
mov r13b, r15b
mov r15b, r13b
mov r8, qword [rbp - 0x18]
cmp r8, 0x10
jb 0x140009801
lea rax, [r8 + 1]
cmp rax, 0x1000
jb 0x1400097f9
test dl, 0x1f
jne 0x1400097f3
mov rax, qword [rdx - 8]
cmp rax, rdx
jae 0x1400097f3
sub rdx, rax
sub rdx, 8
cmp rdx, 0x1f
ja 0x1400097f3
mov rdx, rax
jmp 0x1400097f9
call fcn.14000ff60
int3
mov rcx, rdx
call fcn.14000c484
mov al, r15b
jmp 0x14000980b
mov eax, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14000bb60
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret

Function at 0x14000f884
Capabilities:
Allocate thread local storage

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
lea r9, [0x14002a310]
xor ecx, ecx
lea r8, [0x14002a308]
lea rdx, str.FlsAlloc
call fcn.14000f6ac
mov rbx, rax
test rax, rax
je 0x14000f8c4
mov rcx, rax
call fcn.14000c588
mov rcx, rdi
call rbx
jmp 0x14000f8ca
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14000f92c
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x14002a320]
mov ecx, 2
lea r8, [0x14002a318]
lea rdx, str.FlsGetValue
call fcn.14000f6ac
mov rdi, rax
test rax, rax
je 0x14000f96d
mov rcx, rax
call fcn.14000c588
mov ecx, ebx
call rdi
jmp 0x14000f975
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14000f980
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x14002a328]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x14002a320]
call fcn.14000f6ac
mov rsi, rax
test rax, rax
je 0x14000f9cc
mov rcx, rax
call fcn.14000c588
mov rdx, rbx
mov ecx, edi
call rsi
jmp 0x14000f9d7
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1800015bc
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x978]
sub rsp, 0xa70
mov rax, qword [0x1800d61f8]
xor rax, rsp
mov qword [rbp + 0x960], rax
xor edx, edx
mov rsi, rcx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x18000165c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsi + 0x18]
lea r8, [rbp + 0x160]
mov ebx, 0x200
mov edx, eax
mov r9d, ebx
call sym.JkDefrag.dll_public:_void___cdecl_JKDefragLib::SystemErrorStr_unsigned_long_int__wchar_t____ptr64__unsigned_long_long_unsigned___int64_____ptr64
lea r9, [rbp + 0x160]
mov edx, ebx
lea r8, str.Cannot_get_process_snapshot:__s
lea rcx, [rbp + 0x560]
call fcn.180003248
lea r9, [rbp + 0x560]
mov rcx, qword [rsi + 0x10]
xor r8d, r8d
xor edx, edx
call fcn.180004968
mov eax, 1
jmp 0x18000175b
mov dword [rsp + 0x20], 0x130
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, [rsp + 0x20]
mov byte [rbp + 0x50], 0
mov rcx, rbx
mov edi, eax
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1800016a9
cmp edi, dword [rsp + 0x28]
je 0x180001696
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.KERNEL32.dll_Process32Next
jmp 0x18000167d
lea r8, [rsp + 0x4c]
mov edx, 0x104
lea rcx, [rbp + 0x50]
call fcn.18002686c
cmp byte [rbp + 0x50], 0
jne 0x1800016d7
lea r9, [rbp + 0x50]
lea r8, str.Cannot_find_my_own_name_in_the_process_list:__s
mov edx, 0x200
lea rcx, [rbp + 0x160]
call fcn.180003248
lea r9, [rbp + 0x160]
jmp 0x180001644
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.KERNEL32.dll_Process32First
cmp edi, dword [rsp + 0x28]
je 0x18000173f
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x4c]
call fcn.180026a54
test eax, eax
je 0x180001783
lea rdx, str.jkdefrag.exe
lea rcx, [rsp + 0x4c]
call fcn.180026a54
test eax, eax
je 0x180001783
lea rdx, str.jkdefragscreensaver.exe
lea rcx, [rsp + 0x4c]
call fcn.180026a54
test eax, eax
je 0x180001783
lea rdx, str.jkdefragcmd.exe
lea rcx, [rsp + 0x4c]
call fcn.180026a54
test eax, eax
je 0x180001783
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1800016e4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rbp + 0x960]
xor rcx, rsp
call fcn.1800149a0
lea r11, [rsp + 0xa70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r9, [rsp + 0x4c]
lea r8, str.I_am_already_running:__S
jmp 0x1800016ba