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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x455257
movzx edx, byte [rax]
test edx, edx
jne 0x455114
nop dword [rax]
test r8b, r8b
jne 0x455114
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x455127
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x455217
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x455205
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x4551f7
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x45517d
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x4551c0
mov eax, 1
cmp rax, rbx
ja 0x4551ab
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call sym.runtime.panicSliceB
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x4551ef
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x4551b3
mov rcx, r11
mov eax, r12d
jmp 0x455182
mov rcx, rbx
call sym.runtime.panicIndex
xor eax, eax
mov rcx, rax
nop dword [rax]
call sym.runtime.panicIndex
mov eax, r8d
mov rcx, rbx
call sym.runtime.panicSliceB
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x45524d
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x455210
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x45512d
mov eax, edx
mov rcx, rbx
call sym.runtime.panicIndex
xor eax, eax
mov rcx, rax
nop dword [rax]
call sym.runtime.panicIndex
nop
int3

Function at 0x45b100
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45b1b5
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rdi
test byte [rax], al
lea rdx, [rax + 0x10]
mov rsi, qword [rsp + 0x68]
mov rcx, rdi
mov rax, rdx
mov rbx, rsi
call sym.runtime._traceMap_.put
nop
test bl, bl
je 0x45b1af
mov qword [rsp + 0x18], rax
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
lea rcx, [sym.runtime._traceStringTable_.put.func1]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x20]
mov qword [rsp], rcx
call sym.runtime.systemstack.abi0
xorps xmm15, xmm15
mov r14, qword [0x00649ae0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp sym.runtime._traceStringTable_.put
Function at 0x45e120
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45e1cf
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [sym.runtime.callers.func1]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call sym.runtime.systemstack.abi0
xorps xmm15, xmm15
mov r14, qword [0x00649ae0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp sym.runtime.callers

Function at 0x468e20
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x006498aa], 0
je 0x468e2e
jmp sym.aeshashbody
jmp sym.runtime.memhashFallback

Function at 0x468e40
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x006498aa], 0
je 0x468e55
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp sym.aeshashbody
jmp sym.runtime.strhashFallback

Function at 0x468e60
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x006498aa], 0
je 0x468e95
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x00649f00]
aesenc xmm0, xmmword [0x00649f10]
aesenc xmm0, xmmword [0x00649f20]
movq rax, xmm0
ret
jmp sym.runtime.memhash32Fallback

Function at 0x468ea0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x006498aa], 0
je 0x468ed6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x00649f00]
aesenc xmm0, xmmword [0x00649f10]
aesenc xmm0, xmmword [0x00649f20]
movq rax, xmm0
ret
jmp sym.runtime.memhash64Fallback
Function at 0x46a560
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push rbp
mov rbp, rsp
pushfq
cld
sub rsp, 0xe0
mov qword [rsp], rdi
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r15
movups xmmword [rsp + 0x40], xmm6
movups xmmword [rsp + 0x50], xmm7
movups xmmword [rsp + 0x60], xmm8
movups xmmword [rsp + 0x70], xmm9
movups xmmword [rsp + 0x80], xmm10
movups xmmword [rsp + 0x90], xmm11
movups xmmword [rsp + 0xa0], xmm12
movups xmmword [rsp + 0xb0], xmm13
movups xmmword [rsp + 0xc0], xmm14
movups xmmword [rsp + 0xd0], xmm15
xorps xmm15, xmm15
xor r14, r14
mov rax, qword [0x00649ae0]
mov rax, qword gs:[rax]
cmp rax, 0
je 0x46a5fb
mov r14, qword [rax]
sub rsp, 0x10
mov rax, rcx
mov rbx, rdx
call sym.runtime.sigtrampgo
add rsp, 0x10
mov rdi, qword [rsp]
mov rsi, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
mov r12, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov r14, qword [rsp + 0x30]
mov r15, qword [rsp + 0x38]
movups xmm6, xmmword [rsp + 0x40]
movups xmm7, xmmword [rsp + 0x50]
movups xmm8, xmmword [rsp + 0x60]
movups xmm9, xmmword [rsp + 0x70]
movups xmm10, xmmword [rsp + 0x80]
movups xmm11, xmmword [rsp + 0x90]
movups xmm12, xmmword [rsp + 0xa0]
movups xmm13, xmmword [rsp + 0xb0]
movups xmm14, xmmword [rsp + 0xc0]
movups xmm15, xmmword [rsp + 0xd0]
add rsp, 0xe0
popfq
pop rbp
ret

Function at 0x46a820
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x28
pushfq
cld
sub rsp, 0xe0
mov qword [rsp], rdi
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r15
movups xmmword [rsp + 0x40], xmm6
movups xmmword [rsp + 0x50], xmm7
movups xmmword [rsp + 0x60], xmm8
movups xmmword [rsp + 0x70], xmm9
movups xmmword [rsp + 0x80], xmm10
movups xmmword [rsp + 0x90], xmm11
movups xmmword [rsp + 0xa0], xmm12
movups xmmword [rsp + 0xb0], xmm13
movups xmmword [rsp + 0xc0], xmm14
movups xmmword [rsp + 0xd0], xmm15
mov rax, qword [0x00649ae0]
mov rax, qword gs:[rax]
cmp rax, 0
jne 0x46a8b7
int 3
mov r14, qword [rax]
sub rsp, 0x28
mov qword [rsp], rcx
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], r8
mov qword [rsp + 0x18], r9
call sym.runtime.sehhandler.abi0
mov eax, dword [rsp + 0x20]
add rsp, 0x28
mov rdi, qword [rsp]
mov rsi, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
mov r12, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov r14, qword [rsp + 0x30]
mov r15, qword [rsp + 0x38]
movups xmm6, xmmword [rsp + 0x40]
movups xmm7, xmmword [rsp + 0x50]
movups xmm8, xmmword [rsp + 0x60]
movups xmm9, xmmword [rsp + 0x70]
movups xmm10, xmmword [rsp + 0x80]
movups xmm11, xmmword [rsp + 0x90]
movups xmm12, xmmword [rsp + 0xa0]
movups xmm13, xmmword [rsp + 0xb0]
movups xmm14, xmmword [rsp + 0xc0]
movups xmm15, xmmword [rsp + 0xd0]
add rsp, 0xe0
popfq
add rsp, 0x28
pop rbp
ret
Function at 0x46ac80
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x46acb4
mov rcx, 0x28
jmp 0x46acbf
shl rcx, 3
add rcx, 0x1480
mov qword [0x00649ae0], rcx
pop rbp
ret
Function at 0x479a40
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x479b0a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call sym.internal_bytealg.IndexByteString.abi0
xorps xmm15, xmm15
mov r14, qword [0x00649ae0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x479aef
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004d1e00]
xor ebx, ebx
mov rcx, rdx
call sym.runtime.makeslice
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call sym.syscall.encodeWTF16
inc rbx
cmp rcx, rbx
jae 0x479ade
mov edi, 1
lea rsi, [0x004d1e00]
call sym.runtime.growslice
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x0051cbf8]
lea rsi, [0x0051c398]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.syscall.UTF16FromString
Function at 0x4adcc0
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4ae3ff
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x4adced
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x4adf71
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x4adf9d
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x0051e480]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x004d1d00]
lea rbx, [0x0051cb30]
call sym.runtime.gopanic
inc rax
cmp rax, r8
jge 0x4adfc2
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x4adff7
lea rdi, [0x004d1d80]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x4adce3
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x4adfdb
jmp 0x4adfb0
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp sym.internal_bisect.Hash

Function at 0x4ae5a0
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x4ae5b7
inc rax
cmp rax, 4
jge 0x4ae5cf
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x4ae5b4
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x4ae5e0
inc rax
cmp rax, 4
jge 0x4ae5ee
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x4ae617
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x4ae5fb
jmp 0x4ae5dd
Function at 0x18080d15a
Capabilities:
Encode data using xor

Disassembly:
mov rdx, r8
test r8w, 0x72b3
mov r8, qword [rsp + 0x20]
setge dl
add qword [rsp + 0x18], 0x7fb710c6
or dx, dx
movsx dx, dx
sub rdx, 0x26326199
mov edx, 0x573d12cf
mov edx, 0x573d12cf
add rdx, 0x251f2770
mov dl, dh
setbe dl
mov rdx, qword [rsp + 8]
push qword [rsp + 0x10]
popfq
lea rsp, [rsp + 0x28]
call fcn.180842768
jp 0x18080d1f3
movabs eax, dword [0xd8f5f886b0bbb5af]
or byte [rbx + 0x40fddfd0], cl
ja 0x18080d181
fistp qword [rdx - 0x373f7450]
ror edi, cl
mov ah, byte [rax - 0x756e7e5c]
js 0x18080d1f5
invalid
mov ecx, 0x3328c08c
shr byte [rax], 0x33
invalid
Function at 0x1446acba5
Capabilities:
Authenticate hmac

Disassembly:
call fcn.14466722d
and r10, 0xfffffffffffffff0
call fcn.14465f1f1
lea rsp, [rsp + 8]
ja 0x14466dbbb
mov r10d, 0x4189e985
or r10w, r10w
movzx ecx, r10b
mov rdx, rsp
jnp 0x1446cf7de
lea ecx, [rcx + 0xdb]
lea rsi, [r10 + r10 + 0x894f10f]
lea r10, [rdi + r10 - 0x4189ea05]
jne 0x14467cd44
neg r8d
lea rdx, [r8*4 - 0x74c40dc4]
bswap rsi
xor rsi, 0x7c98c593
mov rcx, qword [rsp + 8]
add rcx, 0x26b07
jmp rcx
Function at 0x14471f4ab
Capabilities:
Authenticate hmac

Disassembly:
mov r8d, r9d
not edx
bswap r9
mov dword [rsp + r10*4 - 0xa44b], r8d
jmp 0x14467c8eb
inc edx
pop rsi
ror edx, 2
mov eax, 0x7d9ca800
shl ax, 0x4c
jae 0x144709b13
rol rax, 2
shl qword [rsp], 0x70
dec rax
push rsi
push rcx
bswap rax
movsx r9d, byte [rsp + 0x14]
lea rdx, [rsi + 0x5096ad3e]
xor rax, 0x7c98c593
pop r8
xor r11, rax
xor r9w, word [rsp + r9*8]
sar si, cl
mov qword [rdi + r9*2 - 0x18db6], rax
and qword [rsp + r9 - 0xc6cb], r10
not word [rsp + r9 - 0xc6d3]
mov ecx, dword [rbp + r9*8 - 0x63690]
jae 0x144700f57
mov edx, dword [rbp + riz]
add rbp, 4
mov r9d, 0x6e392913
xor edx, r11d
movsx r10d, r9w
push r9
movzx esi, r10b
inc edx
ror edx, 1
jmp 0x144659811
movzx r8d, r9b
lea rdi, [rdi + r8 - 0x57]
movsx eax, r8b
jo 0x1446e95a7
mov qword [rsp + r8 - 0x63], rbx
ret 0x10
bswap r10
adc rbx, rcx
push r8
mov qword [rsp + rsi*2 - 0x7c], rbx
ret
js 0x14470b922
pop rdx
rol cl, 1
neg cl
bswap rdx
call fcn.144695c34
push 0xfffffffff30b721c
sub word [rsp + 6], 0x7e95
mov rax, qword [rdi]
mov r8d, dword [rsp + 1]
mov r8, qword [rdi + 8]
adc rdi, 0x10
mov r10d, 0xd7943e9f
and byte [rsp + 5], r10b
mov qword [rax], r8
mov ecx, dword [rbp + riz]
mov r9d, r10d
inc byte [rsp + 7]
adc rbp, 4
movzx edx, r10b
xor ecx, r11d
push r9
xchg qword [rsp + rdx - 0x97], rdx
inc ecx
jmp 0x144713309
ror esi, 0xe
or word [rsp + r9 - 0xc6c7], 0x29b
lea rbp, [rbp + r9 - 0xc6c7]
xor ecx, r11d
or byte [rsp + r9 - 0xc6ce], r8b
and r9d, 0xea34f036
bswap ecx
cmovne r8d, dword [rsp + r9*2 - 0x1801b]
xor ecx, 0x86256bb2
sar r9d, 0xfd
sal r9, 0x3a
lea ecx, [r9 + rcx - 0x128ea7a1]
pop rdx
ror byte [rsp + r9*4 + 1], 4
ror ecx, 3
dec dword [rsp + r9 + 2]
or r8w, r10w
jg 0x14470cddd
mov edx, 0xc887390e
movzx cx, byte [rdi]
mov r10b, byte [rdi + 2]
call fcn.1446741ca
jno 0x1446a15dc
lea rsi, [rcx*4 - 0x4ac99eed]
mov rax, qword [rbp + riz]
lea r10, [rcx + rsi*8 - 0x624002d1]
xor rax, r11
ror dword [rsp + 2], cl
sar ecx, 0xb5
ja 0x14469204d
ror ecx, 2
bswap ecx
shr dword [rsp + 4], 0x71
ror r9d, 0xc8
mov qword [rsp], r11
movzx esi, r9b
xor dword [rsp + rsi - 0x3e], ecx
pop r11
movsxd rcx, ecx
xor r10w, dx
jae 0x1446e1f0f
push r11
xor dword [rsp + r10*8 - 0x14898], edx
bswap rsi
pop r11
shr r8w, 0x43
movsxd rdx, edx
or r9, 0x7d29b3b7
sub r10, r9
jns 0x1446f1613
add rbx, rdx
mov ecx, r10d
mov rcx, qword [rdi + rax - 0x7d9c0000]
call fcn.14471a5f9
dec eax
push rsi
mov qword [rsp + rdx - 0x50], r11
call fcn.14470c0e9
ror eax, 3
inc eax
movsx esi, dx
mov r9d, r8d
call fcn.144682491
mov byte [rsi + rdx*2 - 0x7d8b5a6c], cl
movzx ecx, word [rbp + rdx*2 - 0x7d8b5a66]
xor cx, r11w
mov esi, r9d
push rdx
not cx
inc dx
rol cx, 1
dec byte [rsp + rdx - 0x3ec5ad31]
mov rdx, qword [rsp + 8]
add rdx, 0x4840a
jmp rdx
lea rdi, [rdi + r9 - 4]
mov dword [rdi + r9], edx
sete sil
call fcn.1446d93dd
lea r8, [rdx*8 + 0x21998e1d]
ror ecx, 1
pop r10
sub dword [rsp + 2], edx
sub ecx, 0x3f820731
jmp 0x144703769
add r10, qword [rsp + 0xa]
adc eax, edx
mov qword [rsp], 0x50920a9a
dec r10d
mov dword [rdi + 0xc], eax
jl 0x144702cfc
Function at 0x140009178
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x178]
sub rsp, 0x250
mov rax, qword [0x1400b02e8]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov r15, r8
xor r13d, r13d
mov qword [r8], r13
mov r9d, 0x104
lea rdx, [rsp + 0x30]
lea rax, [rsp + 0x30]
sub rcx, rax
lea rax, [r9 + 0x7ffffefa]
test rax, rax
je 0x1400091ed
movzx eax, word [rcx + rdx]
test ax, ax
je 0x1400091ed
mov word [rdx], ax
add rdx, 2
sub r9, 1
jne 0x1400091cb
lea rax, [rdx - 2]
test r9, r9
cmovne rax, rdx
mov word [rax], r13w
lea r8, [0x1400865a8]
lea rcx, [rsp + 0x30]
call fcn.1400072a4
lea r8, [rsp + 0x30]
xor edx, edx
mov ebx, 0x1f0003
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
setne r12b
test rax, rax
jne 0x140009263
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
je 0x14000933c
mov rcx, qword [rbp + 0x178]
mov edx, 0xc9
call fcn.140008d78
mov esi, eax
jmp 0x14000933f
mov dword [rsp + 0x24], r13d
mov dword [rsp + 0x20], r13d
lea rdx, [rsp + 0x24]
mov rcx, rdi
call fcn.140009000
mov esi, eax
test eax, eax
jns 0x140009299
mov rcx, qword [rbp + 0x178]
mov r9d, eax
mov edx, 0xcf
call fcn.140008d54
jmp 0x14000933f
lea r8, [0x1400865b0]
lea rcx, [rsp + 0x30]
call fcn.1400072a4
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
setne r14b
test rax, rax
jne 0x1400092e3
mov rcx, qword [rbp + 0x178]
mov edx, 0xd5
call fcn.140008d78
mov esi, eax
jmp 0x14000930a
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140009000
mov esi, eax
test eax, eax
jns 0x14000931a
mov rcx, qword [rbp + 0x178]
mov r9d, eax
mov edx, 0xd7
call fcn.140008d54
test r14b, r14b
je 0x14000933f
mov rcx, rbx
call fcn.140008de0
nop
jmp 0x14000933f
test r14b, r14b
je 0x140009328
mov rcx, rbx
call fcn.140008de0
nop
movsxd rcx, dword [rsp + 0x20]
shl rcx, 0x1f
movsxd rax, dword [rsp + 0x24]
or rax, rcx
mov qword [r15], rax
mov esi, r13d
test r12b, r12b
je 0x14000934d
mov rcx, rdi
call fcn.140008de0
nop
mov eax, esi
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140066420
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x14002817c
Capabilities:
Compare security identifiers

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x1400b02e8]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rsi, rdx
mov rbx, rcx
lea rcx, [rsp + 0x20]
call fcn.14000450c
nop
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14000615c
xor ebx, ebx
test al, al
je 0x140028219
lea rdi, [rsi + 8]
test rdi, rdi
je 0x140028219
cmp byte [rsi + 0x4c], bl
je 0x140028219
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_IsValidSid]
nop dword [rax + rax]
test eax, eax
je 0x140028219
cmp byte [rsp + 0x6c], bl
je 0x140028219
lea rcx, [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_IsValidSid]
nop dword [rax + rax]
test eax, eax
je 0x140028219
lea rdx, [rsp + 0x28]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_EqualSid]
nop dword [rax + rax]
test eax, eax
setne bl
lea rcx, [rsp + 0x20]
call fcn.140004820
mov al, bl
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140066420
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x14002834c
Capabilities:
Get token membership

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xd0
mov rax, qword [0x1400b02e8]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, rcx
mov dword [rsp + 0x20], 0x220
mov r9d, 0x20
lea r8d, [r9 - 0x1e]
lea rdx, [0x140088dd8]
lea rcx, [rsp + 0x40]
call fcn.14000462c
lea r8, [rsp + 0x34]
lea rdx, [rsp + 0x48]
mov rcx, qword [rbx + 8]
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
nop dword [rax + rax]
test eax, eax
je 0x1400283bc
cmp dword [rsp + 0x34], 0
setne bl
xor dil, dil
jmp 0x1400283c3
mov dil, 1
mov bl, byte [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140004820
test dil, dil
je 0x1400283d6
xor al, al
jmp 0x1400283dc
mov al, bl
jmp 0x1400283dc
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140066420
mov rbx, qword [rsp + 0xe8]
add rsp, 0xd0
pop rdi
ret
Function at 0x1400285b8
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rdi, rcx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
xor ebx, ebx
mov qword [rbp - 0x10], rbx
mov edx, 0x104
lea rcx, [rbp - 0x20]
call fcn.140036368
mov rdx, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x20]
sub rdx, rcx
sar rdx, 1
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
nop dword [rax + rax]
mov edx, eax
test eax, eax
jne 0x14002860f
mov rcx, qword [rbp - 0x20]
jmp 0x14002868e
mov r8, qword [rbp - 0x18]
mov rax, r8
mov rcx, qword [rbp - 0x20]
sub rax, rcx
sar rax, 1
cmp rdx, rax
jbe 0x140028656
lea rcx, [rbp - 0x20]
call fcn.140036368
mov rdx, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x20]
sub rdx, rcx
sar rdx, 1
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
nop dword [rax + rax]
mov edx, eax
mov rcx, qword [rbp - 0x20]
test eax, eax
je 0x14002868e
mov r8, qword [rbp - 0x18]
sub r8, rcx
sar r8, 1
mov eax, edx
cmp rax, r8
ja 0x14002868e
mov rdx, rcx
mov rcx, rdi
call fcn.140003b34
nop
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x14002868a
mov rdx, qword [rbp - 0x10]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
call fcn.140003d24
mov bl, 1
jmp 0x1400286a5
test rcx, rcx
je 0x1400286a5
mov rdx, qword [rbp - 0x10]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
call fcn.140003d24
mov al, bl
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x40
pop rbp
ret