joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4201e0
Capabilities:
Hash data using murmur3

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
cmp byte [0x007486f4], 0
jne 0x4202d0
sub rbx, qword [rax + 0x18]
mov rdx, qword [rax + 0x48]
test byte [rdx], al
mov ecx, dword [rax + 0x5c]
imul rcx, rbx
mov rbx, rcx
shr rbx, 0x20
shr rcx, 0x23
and ebx, 7
mov rsi, rcx
mov rcx, rbx
mov edi, 1
shl edi, cl
add rdx, rsi
nop
nop
nop
nop
lock or byte [rdx], dil
mov rcx, qword [rax + 0x18]
movabs rdx, 0x800000000000
add rdx, rcx
mov rbx, rdx
shr rdx, 0x2a
nop
nop
nop
cmp rdx, 0x40
jae 0x4202c3
lea rsi, [0x006da7f8]
mov rdx, qword [rsi + rdx*8]
test byte [rdx], al
mov rsi, rcx
shr rsi, 0x10
and esi, 0x3f
shr rcx, 0xd
and ecx, 7
mov edi, 1
shl edi, cl
shr rbx, 0x16
and ebx, 0xfffff
mov rdx, qword [rdx + rbx*8]
test byte [rdx], al
movzx ebx, byte [rdx + rsi + 0x1040]
lea rdx, [rdx + rsi]
lea rdx, [rdx + 0x1040]
test dil, bl
jne 0x42029e
lock or byte [rdx], dil
mov rcx, qword [r14 + 0x30]
mov rcx, qword [rcx + 0xa0]
test byte [rcx], al
mov rdx, qword [rcx + 0x1270]
add rdx, qword [rax + 0x68]
mov qword [rcx + 0x1270], rdx
add rsp, 0x10
pop rbp
ret
mov rax, rdx
mov ecx, 0x40
call fcn.00466200
lea rax, [0x0059def8]
mov ebx, 0x2c
nop dword [rax]
call fcn.00436ba0
nop
int3

Function at 0x422720
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x422826
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov byte [rsp + 0x70], dil
mov qword [rsp + 0x10], 0
jmp 0x422763
mov rax, qword [rsp + 0x58]
mov rcx, rdx
mov rbx, qword [rsp + 0x60]
movzx edi, byte [rsp + 0x70]
cmp qword [rsp + 0x10], rbx
jae 0x42281b
test byte [rax], al
lea rcx, [rax + 0x100b8]
mov ebx, edi
mov rax, rcx
nop dword [rax]
call fcn.00423500
test rax, rax
je 0x42281b
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
lea rcx, [0x00422860]
mov qword [rsp + 0x18], rcx
lea rdx, [rsp + 0x10]
mov qword [rsp + 0x20], rdx
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbx
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x40], rax
lea rbx, [rsp + 0x18]
mov qword [rsp], rbx
nop dword [rax]
call fcn.00463de0
xorps xmm15, xmm15
mov r14, qword [0x00748920]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x68]
nop dword [rax]
test rdx, rdx
jne 0x422809
xor eax, eax
jmp 0x422813
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x68]
test al, al
je 0x422751
mov rax, qword [rsp + 0x10]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov byte [rsp + 0x20], dil
call fcn.00463f00
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
movzx edi, byte [rsp + 0x20]
jmp fcn.00422720
Function at 0x441c60
Capabilities:
Access peb ldr_data

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [0x007486b0]
test rcx, rcx
jne 0x441c84
xor ecx, ecx
xor edx, edx
jmp 0x441c99
call fcn.00456780
mov rcx, rbx
mov rdx, rax
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], r14
mov rsi, qword [r14 + 0x30]
inc dword [rsi + 0xd8]
mov qword [r14 + 0x10], 0xfffffffffffffade
mov byte [r14 + 0xb7], 1
call fcn.00441c00
mov rcx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x20]
mov qword [rax + 0x70], rcx
mov rdx, qword [rsp + 0x60]
mov qword [rax + 0x78], rdx
mov ebx, 2
mov ecx, 3
call fcn.0043b520
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rcx + 0x70]
cmp qword [rcx], rdx
ja 0x441d06
nop dword [rax + rax]
cmp qword [rcx + 8], rdx
jae 0x441d42
movups xmmword [rsp + 0x40], xmm15
lea rax, [0x00441f60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rcx
lea rax, [rsp + 0x40]
mov qword [rsp], rax
call fcn.00463de0
xorps xmm15, xmm15
mov r14, qword [0x00748920]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x10]
test rax, rax
je 0x441dab
movups xmmword [rsp + 0x28], xmm15
mov qword [rsp + 0x38], 0
lea rcx, [0x00441ee0]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x28]
mov qword [rsp], rax
nop
call fcn.00463de0
xorps xmm15, xmm15
mov r14, qword [0x00748920]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
call fcn.00441c00
mov rcx, qword [rsp + 0x20]
mov al, byte [0x006c4d98]
test al, al
je 0x441deb
lea rax, [0x005a2010]
mov qword [rsp], rax
call fcn.00463de0
xorps xmm15, xmm15
mov r14, qword [0x00748920]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
call fcn.00441c00
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
cmp dword [rax + 0x2298], 0
nop
je 0x441e38
lea rax, fcn.0043cda0
mov qword [rsp], rax
call fcn.00463de0
xorps xmm15, xmm15
mov r14, qword [0x00748920]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
call fcn.00441c00
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx + 0x30]
mov rdx, qword [rax + 0xa0]
mov edx, dword [rdx + 0x14]
mov dword [rax + 0x388], edx
mov rax, qword [rcx + 0x30]
mov rax, qword [rax + 0xa0]
mov qword [rax + 0x38], 0
mov rdx, qword [rcx + 0x30]
mov rbx, rax
mov qword [rdx + 0xb0], rax
mov rax, qword [rcx + 0x30]
mov qword [rax + 0xa0], 0
mov eax, 2
xchg dword [rbx + 4], eax
mov al, byte [0x006c4d88]
test al, al
je 0x441ec4
lea rax, [0x005a2008]
mov qword [rsp], rax
call fcn.00463de0
xorps xmm15, xmm15
mov r14, qword [0x00748920]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
call fcn.00441c00
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx + 0x30]
dec dword [rax + 0xd8]
add rsp, 0x50
pop rbp
ret
Function at 0x446c40
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x446da7
push rbp
mov rbp, rsp
sub rsp, 0x18
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x446c52
cmp edx, ecx
jne 0x446d95
nop word [rax + rax]
test rsi, rsi
jne 0x446d95
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x446cb4
nop
call fcn.00467ae0
xorps xmm15, xmm15
mov r14, qword [0x00748920]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
call fcn.00446b60
mov rcx, qword [rsp + 0x28]
mov edx, dword [rcx]
mov ebx, edx
sar edx, 0x1f
shr edx, 0x1b
add edx, ebx
mov esi, edx
and edx, 0xffffffe0
sub ebx, edx
test ebx, ebx
jl 0x446d90
mov rdx, qword [0x006c38f8]
sar esi, 5
mov rax, rcx
mov ecx, ebx
mov edi, 1
shl edi, cl
movsxd rsi, esi
cmp ecx, 0x20
sbb r8d, r8d
and edi, r8d
cmp rdx, rsi
jbe 0x446d85
mov rcx, qword [0x006c38f0]
lea rcx, [rcx + rsi*4]
lock or dword [rcx], edi
mov rcx, qword [0x006c4cf0]
mov qword [rax + 8], rcx
mov rcx, rax
nop
mov qword [0x006c4cf0], rax
nop
mov edx, 1
lea rsi, [0x006c4cf8]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1248]
shr rdx, 0x3d
test dl, dl
jne 0x446d73
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
nop
nop
xchg qword [rcx + 0x1248], rdx
add rsp, 0x18
pop rbp
ret
lea rax, [0x0059d1c8]
mov ebx, 0x28
nop
call fcn.00436ba0
mov rax, rsi
mov rcx, rdx
call fcn.004661e0
call fcn.00435780
lea rax, [0x0059bdd5]
mov ebx, 0x23
call fcn.00436ba0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00463f00
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00446c40
Function at 0x482be0
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x482e1b
push rbp
mov rbp, rsp
sub rsp, 0x78
mov ebx, dword [rax + 0x2c]
test ebx, ebx
jne 0x482c7a
mov qword [rsp + 0x88], rax
lea rbx, [0x0058d480]
mov rcx, rax
lea rax, [0x006c3a60]
call fcn.0046d4e0
test cl, cl
jne 0x482c63
mov rax, qword [rsp + 0x88]
call fcn.00481da0
mov ecx, 1
mov rdi, rax
mov rsi, rbx
lea rax, [rsp + 0x28]
lea rbx, [0x005ce448]
call fcn.0044f180
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rbx
call fcn.00484040
mov rcx, qword [rsp + 0x88]
xor edx, edx
jmp 0x482c97
lea rdx, [0x00589ca0]
cmp rax, rdx
jne 0x482c85
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
ret
call fcn.00461aa0
add rsp, 0x78
pop rbp
ret
mov rbx, rdx
lea rcx, [0x00564fe0]
call fcn.0040b1c0
inc rdx
cmp rbx, rdx
jle 0x482ce1
mov rsi, qword [rax + rdx*8]
cmp qword [rsi + 0x30], rcx
jne 0x482c94
lea rax, [0x006c3a60]
lea rbx, [0x0058d480]
lea rdi, [0x00589ca0]
nop dword [rax + rax]
call fcn.0046d6a0
lea rdx, [0x00589ca0]
cmp rax, rdx
jne 0x482e0b
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
nop
ret
lea rcx, [0x00559460]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], 0
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x58], rcx
lea rax, [0x0056d000]
call fcn.0040e4c0
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x58]
test byte [rcx], al
cmp dword [0x00748970], 0
nop
je 0x482d3b
mov rbx, rax
lea rax, [0x0056d000]
call fcn.00414380
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rcx]
mov qword [rax], rdx
movups xmm0, xmmword [rcx + 8]
movups xmmword [rax + 8], xmm0
movups xmm0, xmmword [rcx + 0x18]
movups xmmword [rax + 0x18], xmm0
movups xmm0, xmmword [rcx + 0x28]
movups xmmword [rax + 0x28], xmm0
mov rbx, qword [rsp + 0x48]
xor ecx, ecx
xor edi, edi
xor esi, esi
mov r8d, esi
mov rax, qword [rsp + 0x50]
call fcn.004014a0
call fcn.00461b60
mov rsi, qword [rsp + 0x70]
mov dword [rsi + 0x28], eax
mov dword [rsi + 0x2c], 0
mov rcx, qword [rsp + 0x88]
mov edx, dword [rcx + 0x10]
xor eax, eax
jmp 0x482da2
imul edx, edx, 0x1000193
xor edx, 0x2a
mov eax, 1
test rax, rax
jle 0x482d94
mov dword [rsi + 0x10], edx
cmp dword [0x00748970], 0
je 0x482dc3
call fcn.00465e40
mov qword [r11], rcx
mov rdx, qword [rsi + 0x30]
mov qword [r11 + 8], rdx
mov qword [rsi + 0x30], rcx
lea rax, [0x006c3a60]
lea rbx, [0x0058d480]
lea rdi, [0x00589ca0]
nop dword [rax]
call fcn.0046d6a0
lea rdx, [0x00589ca0]
cmp rax, rdx
jne 0x482dfc
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
ret
mov rbx, rdx
lea rcx, [0x00564fe0]
call fcn.0040b1c0
mov rbx, rdx
lea rcx, [0x00564fe0]
call fcn.0040b1c0
nop
mov qword [rsp + 8], rax
call fcn.00463f00
mov rax, qword [rsp + 8]
jmp fcn.00482be0
Function at 0x499600
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4996ca
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 fcn.00403a40
xorps xmm15, xmm15
mov r14, qword [0x00748920]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x4996af
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x0055e680]
xor ebx, ebx
mov rcx, rdx
call fcn.0044b3c0
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 fcn.00499fe0
inc rbx
cmp rcx, rbx
jae 0x49969e
mov edi, 1
lea rsi, [0x0055e680]
call fcn.0044b4a0
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, [0x005d07e0]
lea rsi, [0x005cf6c0]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00463f00
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00499600
Function at 0x100f486c0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x100f486cd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x100f486dd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x100f486c5
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x100f486f5
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x100f486e2
sub eax, 3
jb 0x100f4870f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x100f48746
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x100f48736
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x100f48734
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x100f48723
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.100f48682
jmp 0x100f486cd
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xf44000]
mov eax, dword [rdi]
or eax, eax
je 0x100f487a2
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xf5c10c]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x100f48752
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x100f4879c
mov qword [rbx], rax
add rbx, 8
jmp 0x100f48772
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.100f48825], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.100f48825
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x100f48815
sub rsp, 0xffffffffffffff80
jmp 0x1000031c0
Function at 0x8d6d00
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x8d6d0d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x8d6d1d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x8d6d05
lea eax, [rcx + 1]
jmp 0x8d6d2b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x8d6d3e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x8d6d24
sub eax, 3
jb 0x8d6d5e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x8d6dad
sar eax, 1
movsxd rbp, eax
jb 0x8d6d94
jmp 0x8d6d6c
add ebx, ebx
jne 0x8d6d6a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x8d6d94
inc ecx
add ebx, ebx
jne 0x8d6d7a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x8d6d94
call r11
adc ecx, ecx
add ebx, ebx
jne 0x8d6d8d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x8d6d7c
add ecx, 2
jmp 0x8d6d99
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.008d6cc2
jmp 0x8d6d0d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x222a00
mov dl, 0x2b
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x8d6df9
cmp rsi, rcx
jae 0x8d6e01
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x8d6de0
cmp al, 0x8f
ja 0x8d6de0
cmp byte [rsi - 2], 0xf
je 0x8d6de6
sub al, 0xe8
cmp al, 1
ja 0x8d6dca
cmp rsi, rcx
jae 0x8d6e01
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x8d6dd0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x8d6e01
lodsb al, byte [rsi]
jmp 0x8d6de0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x4d4000]
mov eax, dword [rdi]
or eax, eax
je 0x8d6e5e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x4d6000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x8d6e0e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x8d6e58
mov qword [rbx], rax
add rbx, 8
jmp 0x8d6e2e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x8d6eb6
sub rsp, 0xffffffffffffff80
jmp 0x4589a0
Function at 0x180001000
Capabilities:
Create thread

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x180018018]
xor rax, rsp
mov qword [rsp + 0x88], rax
xor ebp, ebp
mov byte [rsp + 0x7c], 0
mov byte [rsp + 0x7d], 0
mov byte [rsp + 0x7e], 0
mov byte [rsp + 0x7f], 0
lea rax, [r11 - 0x38]
mov qword [r11 - 0x58], rax
mov dword [rsp + 0x48], ebp
mov dword [rsp + 0x40], ebp
mov dword [rsp + 0x38], ebp
mov rdi, rcx
mov rsi, rdx
mov dword [rsp + 0x30], ebp
lea rcx, [r11 - 0x2c]
xor r9d, r9d
xor r8d, r8d
mov dl, 1
mov dword [rsp + 0x28], ebp
mov byte [r11 - 0x28], 0
mov byte [r11 - 0x27], 1
mov qword [r11 - 0x38], rbp
mov dword [rsp + 0x20], ebp
mov dword [rsp + 0x60], ebp
mov qword [r11 - 0x40], rbp
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x18000111a
lea r8, [rsp + 0x68]
lea edx, [rbp + 8]
or rcx, 0xffffffffffffffff
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x18000111a
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x60]
lea edx, [rbp + 1]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov r11d, dword [rsp + 0x60]
cmp r11d, 0x400
ja 0x18000111a
lea ecx, [rbp + 0x40]
mov rdx, r11
mov qword [rsp + 0xc0], rbx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x180001112
mov r9d, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x78]
lea edx, [rbp + 1]
mov r8, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rbx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x18000112a
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x18000113a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9, rsi
mov r8, rdi
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], ebp
call fcn.180002774
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.180002890
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
Function at 0x180001210
Capabilities:
Check if file exists
Enumerate files on windows
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x180
mov rax, qword [0x180018018]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov esi, edx
mov rdi, rcx
lea rdx, [rsp + 0x30]
lea rcx, [0x1800134d0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, 1
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1800012c2
cmp dword [0x180019b9c], 0
jne 0x1800012b9
nop
lea rcx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x180001296
test bpl, al
jne 0x180001284
xor eax, ebp
lea rcx, [rsp + 0x5c]
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x1800012a1
cmp dword [0x180019b9c], 0
je 0x180001260
jmp 0x1800012b9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [0x180019b9c]
cmp eax, 0x12
cmove edx, ebp
mov dword [0x180019b9c], edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rdx, [rsi + rdi - 0x20]
mov rcx, rdi
call fcn.180001170
test eax, eax
jne 0x180001364
mov dword [rsp + 0x20], eax
xor eax, eax
lea ecx, [rax + 0x13]
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x28], eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x180001302
lea rcx, str.No_mouse_installed._n
call fcn.1800029fc
xor eax, eax
jmp 0x180001366
mov ecx, 0x17
call qword [sym.imp.USER32.dll_GetSystemMetrics]
lea rcx, str.Buttons_not_swapped._n
test eax, eax
je 0x18000131f
lea rcx, str.Buttons_swapped._n
call fcn.1800029fc
xor edx, edx
lea r8, [rsp + 0x20]
lea ecx, [rdx + 3]
xor r9d, r9d
call qword [sym.imp.USER32.dll_SystemParametersInfoA]
test eax, eax
je 0x180001360
mov edx, dword [rsp + 0x28]
lea rcx, str.Speed:__d_n
call fcn.1800029fc
mov r8d, dword [rsp + 0x24]
mov edx, dword [rsp + 0x20]
lea rcx, str.Threshold:__d__d_n
call fcn.1800029fc
xor eax, eax
jmp 0x180001366
mov eax, ebp
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.180002890
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x180
pop rdi
pop rsi
pop rbp
ret
Function at 0x180001610
Capabilities:
Accept command line arguments

Disassembly:
push rbx
push rbp
push r12
push r14
push r15
sub rsp, 0x20
mov qword [rsp + 0x68], r13
mov rbx, r9
mov r12d, r8d
mov rbp, rdx
mov r15, rcx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
xor r14d, r14d
mov r13, rax
test rax, rax
je 0x1800016b0
cmp dword [rsp + 0x60], r14d
mov qword [rsp + 0x58], rdi
mov edi, r14d
jle 0x1800016a2
mov qword [rsp + 0x50], rsi
mov rsi, rax
nop word [rax + rax]
mov rcx, qword [rsi]
lea rdx, [0x180013558]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ecx, dword [0x180019ba4]
test eax, eax
cmovne ecx, edi
inc edi
add rsi, 8
cmp edi, dword [rsp + 0x60]
mov dword [0x180019ba4], ecx
jl 0x180001670
mov rsi, qword [rsp + 0x50]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rdi, qword [rsp + 0x58]
mov r13, qword [rsp + 0x68]
mov r11d, r14d
mov r10d, r14d
test r12d, r12d
jle 0x18000173e
sub rbp, rbx
lea eax, [r14 + 1]
cdq
movzx edx, dl
add eax, edx
movzx eax, al
sub eax, edx
movsxd r14, eax
movzx r8d, byte [r14 + r15]
lea eax, [r11 + r8]
cdq
movzx edx, dl
add eax, edx
movzx eax, al
sub eax, edx
movsxd r11, eax
movzx ecx, byte [r11 + r15]
mov byte [r14 + r15], cl
mov byte [r11 + r15], r8b
movzx eax, byte [r14 + r15]
add eax, r8d
cdq
movzx edx, dl
add eax, edx
movzx eax, al
sub eax, edx
movsxd rcx, eax
mov eax, r10d
movzx r8d, byte [rcx + r15]
cdq
and eax, 1
xor eax, edx
cmp eax, edx
je 0x180001726
not r8b
jmp 0x180001729
xor r8b, r10b
movzx eax, byte [rbx + rbp]
inc r10d
inc rbx
xor al, r8b
cmp r10d, r12d
mov byte [rbx - 1], al
jl 0x1800016c3
xor edx, edx
mov r8d, 0x100
mov rcx, r15
add rsp, 0x20
pop r15
pop r14
pop r12
pop rbp
pop rbx
jmp fcn.180002b80