joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100010210
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [0x1003cb690], ecx
xor eax, eax
add eax, 1
lea rdx, [0x1003cb690]
movsxd rcx, eax
mov r8d, dword [rdx + rcx*4 - 4]
mov ecx, r8d
shr ecx, 0x1e
xor ecx, r8d
imul ecx, ecx, 0x6c078965
mov r8d, eax
add r8d, ecx
mov ecx, eax
mov dword [rdx + rcx*4], r8d
cmp eax, 0x26f
jl 0x100010218
mov dword [0x100241400], 0x270
ret

Function at 0x100010260
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, 0xffffffff
nop dword [rax]
add eax, 1
movsxd rdx, eax
lea rcx, [0x1003cb690]
mov ecx, dword [rcx + rdx*4 + 4]
mov edx, eax
lea r8, [0x1003cb690]
mov r8d, dword [r8 + rdx*4]
mov edx, ecx
and edx, 1
neg rdx
and edx, 0x9908b0df
and r8d, 0x80000000
and ecx, 0x7fffffff
or r8d, ecx
shr r8d, 1
xor edx, r8d
movsxd rcx, eax
lea r8, [0x1003cb690]
xor edx, dword [r8 + rcx*4 + 0x634]
mov ecx, eax
lea r8, [0x1003cb690]
mov dword [r8 + rcx*4], edx
cmp eax, 0xe2
jl 0x100010268
mov eax, 0xe2
nop dword [rax]
add eax, 1
movsxd rdx, eax
lea rcx, [0x1003cb690]
mov ecx, dword [rcx + rdx*4 + 4]
mov edx, eax
lea r8, [0x1003cb690]
mov r8d, dword [r8 + rdx*4]
mov edx, ecx
and edx, 1
neg rdx
and edx, 0x9908b0df
and r8d, 0x80000000
and ecx, 0x7fffffff
or r8d, ecx
shr r8d, 1
xor edx, r8d
movsxd rcx, eax
lea r8, [0x1003cb690]
xor edx, dword [r8 + rcx*4 - 0x38c]
mov ecx, eax
lea r8, [0x1003cb690]
mov dword [r8 + rcx*4], edx
cmp eax, 0x26e
jl 0x1000102d8
mov edx, dword [0x1003cb690]
mov ecx, dword [0x1003cc04c]
mov eax, edx
and eax, 1
neg rax
and eax, 0x9908b0df
and ecx, 0x80000000
and edx, 0x7fffffff
or ecx, edx
shr ecx, 1
xor eax, ecx
xor eax, dword [0x1003cbcc0]
mov dword [0x1003cc04c], eax
mov dword [0x100241400], 0
ret

Function at 0x100010390
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push rbx
lea rsp, [rsp - 0x20]
mov ebx, dword [0x100241400]
add dword [0x100241400], 1
mov eax, dword [0x1003ca020]
cmp eax, dword [0x100240ba0]
jne 0x1000103b9
cmp ebx, 0x271
jb 0x1000103dc
mov ecx, dword [0x1003ca020]
call fcn.100010210
not dword [0x1003ca020]
mov eax, dword [0x1003ca020]
mov dword [0x100240ba0], eax
mov ebx, 0x270
nop
cmp ebx, 0x270
jne 0x1000103f8
call fcn.100010260
xor ebx, ebx
mov dword [0x100241400], 1
nop dword [rax]
and ebx, ebx
lea rax, [0x1003cb690]
mov edx, dword [rax + rbx*4]
mov eax, edx
shr eax, 0xb
xor eax, edx
mov edx, eax
shl edx, 7
and edx, 0x9d2c5680
xor edx, eax
mov ecx, edx
shl ecx, 0xf
and ecx, 0xefc60000
xor ecx, edx
mov eax, ecx
shr eax, 0x12
xor eax, ecx
nop
lea rsp, [rsp + 0x20]
pop rbx
ret
Function at 0x100012500
Capabilities:
Check for software breakpoints

Disassembly:
push rbx
push rdi
push rsi
lea rsp, [rsp - 0x20]
mov ax, word [0x100240900]
cmp ax, 0xcb
je 0x10001263c
cmp ax, 0xcc
je 0x10001263c
nop
mov rax, qword [0x1003cc380]
test rax, rax
je 0x10001253d
mov ecx, dword [0x1003cc180]
call rax
mov rbx, rax
jmp 0x100012544
lea rbx, [0x1003cc188]
cmp word [0x1003cc170], 0
jle 0x10001256c
lea rcx, [0x1003cc140]
call fcn.1000128a0
mov rcx, rbx
call fcn.100011fb0
mov rcx, rbx
call fcn.100012040
nop
mov rsi, qword [rbx]
jmp 0x100012599
mov rdi, qword [rsi + 8]
mov rax, qword [rsi]
and rax, 1
jne 0x100012592
mov rdx, rsi
mov rcx, rbx
call fcn.100011230
jmp 0x100012596
and qword [rsi], 0xfffffffffffffffe
mov rsi, rdi
test rsi, rsi
jne 0x100012578
mov qword [rbx], 0
mov dword [rbx + 0x90], 0
cmp word [0x1003cc170], 0
jle 0x10001263c
lea rdx, [0x1003cc050]
mov rcx, rbx
call fcn.1000113b0
mov rsi, rax
test rax, rax
je 0x100012608
mov rax, qword [0x1003cc0f0]
mov qword [rsi + 0x18], rax
cmp qword [0x1003cc0f0], 0
je 0x1000125f8
mov rax, qword [0x1003cc0f0]
mov qword [rax + 0x10], rsi
nop dword [rax]
mov rax, qword [rbx + 0xa0]
mov qword [0x1003cc0f0], rax
nop
sub word [0x1003cc170], 1
cmp word [0x1003cc170], 0
sete bl
lea rcx, [0x1003cc140]
call fcn.1000128e0
test bl, bl
je 0x10001263c
lea rcx, [0x1003cc140]
call fcn.100012880
nop dword [rax]
nop
lea rsp, [rsp + 0x20]
pop rsi
pop rdi
pop rbx
ret
Function at 0x100015b70
Capabilities:
Accept command line arguments

Disassembly:
push rbx
push rdi
push rsi
push r12
push r13
push r14
lea rsp, [rsp - 0x128]
xor esi, esi
mov qword [0x1003cb3b0], 0
mov dword [rsp + 0x20], 0
lea rdx, [rsp + 0x24]
mov r8d, 0x104
xor ecx, ecx
call sub.kernel32.dll_GetModuleFileNameA
mov ebx, eax
and eax, eax
mov byte [rsp + rax + 0x24], 0
mov r8d, ebx
xor edx, edx
mov rcx, rsp
call fcn.100015d50
movsxd rax, ebx
lea r8, [rax + 1]
mov rax, qword [0x1003cb3b0]
mov rdx, qword [rax]
lea rcx, [rsp + 0x24]
call fcn.100002ec0
call sub.kernel32.dll_GetCommandLineA
mov qword [0x100240980], rax
mov r14, rax
jmp 0x100015cf7
add r14, 1
movzx eax, byte [r14]
sub eax, 1
cmp eax, 0x20
jb 0x100015bf8
cmp byte [r14], 0
je 0x100015d01
nop
xor dil, dil
mov r12, r14
xor ebx, ebx
jmp 0x100015c60
mov al, byte [r14]
cmp al, 1
jb 0x100015c58
sub al, 0x20
jbe 0x100015c34
sub al, 2
je 0x100015c40
jmp 0x100015c58
test dil, dil
je 0x100015c66
add ebx, 1
jmp 0x100015c5c
cmp byte [r14 + 1], 0x22
je 0x100015c50
test dil, dil
sete dil
jmp 0x100015c5c
add r14, 1
jmp 0x100015c5c
add ebx, 1
nop
add r14, 1
cmp byte [r14], 0
jne 0x100015c20
test esi, esi
je 0x100015cf4
mov r8d, ebx
mov edx, esi
mov rcx, rsp
call fcn.100015d50
xor dil, dil
mov r14, r12
mov rdx, qword [0x1003cb3b0]
movsxd rax, esi
mov r13, qword [rdx + rax*8]
jmp 0x100015ce8
mov al, byte [r14]
cmp al, 1
jb 0x100015cd8
sub al, 0x20
jbe 0x100015cac
sub al, 2
je 0x100015cc0
jmp 0x100015cd8
test dil, dil
je 0x100015cee
mov al, byte [r14]
mov byte [r13], al
add r13, 1
jmp 0x100015ce4
cmp byte [r14 + 1], 0x22
je 0x100015cd0
test dil, dil
sete dil
jmp 0x100015ce4
add r14, 1
jmp 0x100015ce4
mov al, byte [r14]
mov byte [r13], al
add r13, 1
nop
add r14, 1
cmp byte [r14], 0
jne 0x100015c98
mov byte [r13], 0
nop
add esi, 1
cmp byte [r14], 0
jne 0x100015bfc
mov dword [0x1003cb3a0], esi
movsxd rax, esi
lea rdx, [rax + 1]
shl rdx, 3
lea rcx, [0x1003cb3b0]
call fcn.1000122d0
mov rax, qword [0x1003cb3b0]
movsxd rsi, esi
mov qword [rax + rsi*8], 0
nop
lea rsp, [rsp + 0x128]
pop r14
pop r13
pop r12
pop rsi
pop rdi
pop rbx
ret

Function at 0x100036e80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
lea rsp, [rsp - 0x28]
test rcx, rcx
jne 0x100036e91
lea rcx, [0x1003cb460]
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x100036ea5
and eax, 0x10
sete al
jmp 0x100036ea7
xor al, al
nop
lea rsp, [rsp + 0x28]
ret

Function at 0x100036eb0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
lea rsp, [rsp - 0x28]
test rcx, rcx
jne 0x100036ec1
lea rcx, [0x1003cb460]
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x100036ed5
and eax, 0x10
seta al
jmp 0x100036ed7
xor al, al
nop
lea rsp, [rsp + 0x28]
ret

Function at 0x100037190
Capabilities:
Set file attributes

Disassembly:
push rbx
lea rsp, [rsp - 0x20]
test rcx, rcx
jne 0x1000371a2
lea rcx, [0x1003cb460]
call sub.kernel32.dll_SetFileAttributesW
test eax, eax
je 0x1000371af
xor ebx, ebx
jmp 0x1000371b6
call sub.kernel32.dll_GetLastError
mov ebx, eax
mov eax, ebx
nop
lea rsp, [rsp + 0x20]
pop rbx
ret
Function at 0x1000377a0
Capabilities:
Get geographical location

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x60]
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], 0
nop
xor ebx, ebx
nop dword [rax]
add ebx, 1
mov eax, ebx
lea rdx, [0x1003ccc80]
lea rcx, [rdx + rax*8 - 8]
xor edx, edx
call fcn.1000090a0
mov eax, ebx
lea rdx, [0x1003cccc0]
mov dword [rdx + rax*4 - 4], 0xffffffff
cmp ebx, 7
jl 0x1000377c0
call sub.kernel32.dll_GetThreadLocale
mov esi, eax
lea r8, [rbp - 0xc]
mov ecx, esi
mov r9d, 0xb
mov edx, 0x100b
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x100037875
nop
mov byte [rsp + 0x20], 1
lea rdx, [rbp - 0xc]
xor r9d, r9d
mov r8d, 0xa
lea rcx, [rbp - 0x18]
call fcn.100009bc0
mov rcx, qword [rbp - 0x18]
mov edx, 1
call fcn.10002c5a0
mov ebx, eax
sub eax, 3
cmp eax, 3
jae 0x100037874
lea rcx, [0x100037640]
mov r8d, ebx
mov edx, esi
mov r9d, 4
call sub.kernel32.dll_EnumCalendarInfoA
lea rcx, [0x1000376f0]
mov r8d, ebx
mov edx, esi
mov r9d, 3
call sub.kernel32.dll_EnumCalendarInfoA
nop dword [rax]
nop
mov rcx, rbp
call fcn.100037780
mov rbx, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x20]
lea rsp, [rbp]
pop rbp
ret

Function at 0x100038050
Capabilities:
Query environment variable

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x70]
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], r13
mov rbx, rcx
mov qword [rbp - 8], 0
mov qword [rbp - 0x10], 0
mov qword [rbp - 0x28], 0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0
nop
lea rcx, [rbp - 0x18]
call fcn.10002bb60
mov rdx, qword [rbp - 0x18]
lea rcx, [rbp - 8]
call fcn.1000090a0
lea rcx, [rbp - 8]
mov r8b, 1
mov edx, 1
call fcn.10000a9d0
mov rcx, rbx
xor edx, edx
call fcn.1000090a0
call sub.kernel32.dll_GetEnvironmentStringsA
mov rsi, rax
mov rdi, rsi
jmp 0x100038195
mov rdx, rdi
lea rcx, [rbp - 0x10]
xor r8d, r8d
call fcn.100009b10
mov rax, qword [rbp - 0x10]
test rax, rax
je 0x1000380fc
mov rax, qword [rax - 8]
mov r13d, eax
lea rcx, [rbp - 0x10]
xor r8b, r8b
mov edx, 1
call fcn.10000a9d0
mov rdx, qword [rbp - 0x10]
mov r8d, 1
mov ecx, 0x3d
call fcn.10000a240
mov r12d, eax
movsxd r9, eax
sub r9, 1
mov rdx, qword [rbp - 0x10]
mov r8d, 1
lea rcx, [rbp - 0x28]
call fcn.10000a0d0
mov rdx, qword [rbp - 0x28]
lea rcx, [rbp - 0x20]
call fcn.10002bb60
mov rcx, qword [rbp - 0x20]
mov rdx, qword [rbp - 8]
call fcn.100009df0
test rax, rax
jne 0x100038188
mov r9, qword [rbp - 0x10]
test r9, r9
je 0x10003816d
mov r9, qword [r9 - 8]
movsxd rax, r12d
sub r9, rax
movsxd rax, r12d
lea r8, [rax + 1]
mov rcx, rbx
mov rdx, qword [rbp - 0x10]
call fcn.10000a0d0
jmp 0x10003819e
movsxd rax, r13d
add rax, rdi
add rax, 1
mov rdi, rax
cmp byte [rdi], 0
jne 0x1000380e0
mov rcx, rsi
call sub.kernel32.dll_FreeEnvironmentStringsA
nop
mov rcx, rbp
call fcn.100038010
mov rbx, qword [rbp - 0x50]
mov rdi, qword [rbp - 0x48]
mov rsi, qword [rbp - 0x40]
mov r12, qword [rbp - 0x38]
mov r13, qword [rbp - 0x30]
lea rsp, [rbp]
pop rbp
ret
Function at 0x100038210
Capabilities:
Query environment variable

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x60]
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], r12
mov rbx, rcx
mov rsi, rdx
mov qword [rbp - 8], 0
mov qword [rbp - 0x10], 0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0
nop
mov rcx, rbx
xor edx, edx
call fcn.10000ba30
call sub.kernel32.dll_GetEnvironmentStringsW
mov rdi, rax
mov r12, rdi
mov rdx, rsi
lea rcx, [rbp - 0x10]
call fcn.1000336d0
jmp 0x100038311
mov rdx, r12
lea rcx, [rbp - 8]
call fcn.10000b9c0
mov rdx, qword [rbp - 8]
mov r8d, 1
mov ecx, 0x3d
call fcn.10000c5f0
mov esi, eax
movsxd r9, eax
sub r9, 1
mov rdx, qword [rbp - 8]
mov r8d, 1
lea rcx, [rbp - 0x20]
call fcn.10000c420
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0x18]
call fcn.1000336d0
mov rcx, qword [rbp - 0x18]
mov rdx, qword [rbp - 0x10]
call fcn.10000c170
test rax, rax
jne 0x1000382fc
mov r9, qword [rbp - 8]
test r9, r9
je 0x1000382e0
mov r9, qword [r9 - 8]
movsxd rax, esi
sub r9, rax
movsxd rax, esi
lea r8, [rax + 1]
mov rcx, rbx
mov rdx, qword [rbp - 8]
call fcn.10000c420
jmp 0x10003831e
mov rcx, r12
call fcn.1000040e0
shl rax, 1
add rax, r12
add rax, 2
mov r12, rax
cmp word [r12], 0
jne 0x100038278
mov rcx, rdi
call sub.kernel32.dll_FreeEnvironmentStringsW
nop
mov rcx, rbp
call fcn.1000381d0
mov rbx, qword [rbp - 0x40]
mov rdi, qword [rbp - 0x38]
mov rsi, qword [rbp - 0x30]
mov r12, qword [rbp - 0x28]
lea rsp, [rbp]
pop rbp
ret

Function at 0x100038dd0
Capabilities:
Encode data using xor

Disassembly:
mov r9, qword [rcx + 0x58]
mov eax, 0xdeadbeef
movsxd rdx, dword [rcx + 0x60]
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
sar rdx, 1
sub rdx, 1
test edx, edx
jl 0x100038e10
mov r8d, 0xffffffff
add r8d, 1
movsxd rcx, r8d
movzx ecx, word [r9 + rcx*2]
xor eax, ecx
add eax, 0xc
cmp edx, r8d
jg 0x100038df8
nop
ret

Function at 0x100038e60
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov r9, qword [rcx + 0x58]
mov eax, 0xcececece
movsxd rdx, dword [rcx + 0x60]
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
sar rdx, 1
sub rdx, 1
test edx, edx
jl 0x100038ea0
mov r8d, 0xffffffff
add r8d, 1
movsxd rcx, r8d
movzx ecx, word [r9 + rcx*2]
xor eax, ecx
sub eax, 0x4d
cmp edx, r8d
jg 0x100038e88
nop
ret
Function at 0x100044720
Capabilities:
Get geographical location

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x50]
mov dword [rbp - 8], ecx
mov dword [rbp - 0x10], edx
mov byte [rbp - 0x18], r8b
lea r8, [rbp - 0x24]
mov edx, dword [rbp - 0x10]
mov ecx, dword [rbp - 8]
mov r9d, 4
call sub.kernel32.dll_GetLocaleInfoW
mov dword [rbp - 0x28], eax
cmp eax, 2
jle 0x1000447d2
mov eax, dword [rbp - 0x28]
sub eax, 2
test eax, eax
jl 0x1000447ef
mov dword [rbp - 0x2c], 0xffffffff
nop dword [rax]
mov edx, dword [rbp - 0x2c]
add edx, 1
mov dword [rbp - 0x2c], edx
mov dx, word [rbp + rdx*2 - 0x24]
mov word [rbp - 0x30], dx
mov edx, dword [rbp - 0x2c]
mov dx, word [rbp + rdx*2 - 0x24]
cmp dx, 0x20
jb 0x1000447ef
sub dx, 0x20
je 0x1000447c8
sub dx, 0x80
je 0x1000447c8
sub dx, 0x1f62
jb 0x1000447ef
sub dx, 1
jbe 0x1000447c8
sub dx, 6
je 0x1000447c8
sub dx, 0x26
jne 0x1000447ef
nop
jmp 0x1000447c8
cmp eax, dword [rbp - 0x2c]
jg 0x100044770
nop dword [rax]
jmp 0x1000447ef
cmp dword [rbp - 0x28], 2
jne 0x1000447e2
mov ax, word [rbp - 0x24]
mov word [rbp - 0x30], ax
jmp 0x1000447ef
movzx ecx, byte [rbp - 0x18]
call fcn.10000bd30
mov word [rbp - 0x30], ax
mov ax, word [rbp - 0x30]
sub ax, 0x7f
jbe 0x10004486c
sub ax, 0x21
je 0x100044880
sub ax, 0x17
je 0x10004488c
sub ax, 0x222
je 0x100044898
sub ax, 0x392
je 0x1000448a0
sub ax, 1
je 0x1000448a8
sub ax, 0x1996
je 0x1000448b0
sub ax, 1
je 0x1000448b8
sub ax, 6
je 0x1000448c0
sub ax, 0xb
je 0x1000448d0
sub ax, 0x1b
je 0x1000448c8
sub ax, 0x367
je 0x1000448d8
jmp 0x1000448e0
movzx ecx, word [rbp - 0x30]
call fcn.10000bde0
mov byte [rbp - 0x1c], al
jmp 0x1000448e8
mov byte [rbp - 0x1c], 0x20
jmp 0x1000448e8
mov byte [rbp - 0x1c], 0x2e
jmp 0x1000448e8
mov byte [rbp - 0x1c], 0x27
jmp 0x1000448e8
mov byte [rbp - 0x1c], 0x2c
jmp 0x1000448e8
mov byte [rbp - 0x1c], 0x27
jmp 0x1000448e8
mov byte [rbp - 0x1c], 0x20
jmp 0x1000448e8
mov byte [rbp - 0x1c], 0x20
jmp 0x1000448e8
mov byte [rbp - 0x1c], 0x20
jmp 0x1000448e8
mov byte [rbp - 0x1c], 0x20
jmp 0x1000448e8
mov byte [rbp - 0x1c], 0x2d
jmp 0x1000448e8
mov byte [rbp - 0x1c], 0x27
jmp 0x1000448e8
mov al, byte [rbp - 0x18]
mov byte [rbp - 0x1c], al
nop
movzx eax, byte [rbp - 0x1c]
nop
lea rsp, [rbp]
pop rbp
ret

Function at 0x100059f30
Capabilities:
Resume thread

Disassembly:
push rbx
lea rsp, [rsp - 0x20]
mov rbx, rcx
mov rcx, qword [rbx + 8]
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jne 0x100059f50
mov dword [rbx + 0x14], 0
nop
nop
lea rsp, [rsp + 0x20]
pop rbx
ret
Function at 0x100089960
Capabilities:
Get file attributes

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x40]
mov qword [rbp - 8], rcx
mov qword [rbp - 0x18], 0
nop
mov rax, qword [rbp - 8]
lea rcx, [rbp - 0x18]
mov rdx, rax
call fcn.10000d290
mov rcx, qword [rbp - 0x18]
test rcx, rcx
jne 0x100089996
lea rcx, [0x1003cb460]
call sub.kernel32.dll_GetFileAttributesW
mov dword [rbp - 0xc], eax
nop
mov rcx, rbp
call fcn.100089940
mov eax, dword [rbp - 0xc]
nop
lea rsp, [rbp]
pop rbp
ret

Function at 0x1000ad080
Capabilities:
Hash data with crc32

Disassembly:
mov eax, 0xffffffff
nop dword [rax]
add eax, 1
mov ecx, eax
mov r8d, 0xffffffff
nop dword [rax + rax]
add r8d, 1
mov edx, ecx
and edx, 1
cmp edx, 1
jne 0x1000ad0b4
mov edx, ecx
shr edx, 1
xor edx, 0xedb88320
mov ecx, edx
jmp 0x1000ad0b6
shr ecx, 1
cmp r8d, 7
jl 0x1000ad098
mov edx, eax
lea r9, [0x1003cd7b0]
mov dword [r9 + rdx*4], ecx
cmp eax, 0xff
jl 0x1000ad088
ret

Function at 0x1000ad0e0
Capabilities:
Encode data using xor

Disassembly:
push rbx
mov eax, ecx
lea ecx, [r8d - 1]
test ecx, ecx
jl 0x1000ad130
mov r8d, 0xffffffff
nop word [rax + rax]
add r8d, 1
mov r9b, al
xor r9b, byte [rdx]
and r9d, 0xff
mov r10d, r9d
and r9d, r9d
mov r11d, eax
shr r11d, 8
lea rbx, [0x1003cd7b0]
xor r11d, dword [rbx + r9*4]
mov eax, r11d
add rdx, 1
cmp ecx, r8d
jg 0x1000ad0f8
nop dword [rax]
pop rbx
ret

Function at 0x1000af4b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x40]
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], rsi
mov rbx, rcx
mov rsi, rdx
mov qword [rbp - 8], 0
nop
mov rax, qword [0x1003cc380]
test rax, rax
je 0x1000af4ea
mov ecx, dword [0x1003cdbb0]
call rax
jmp 0x1000af4f1
lea rax, [0x1003cdbb8]
mov word [rax], 0
lea rdx, [rbx + 0x78]
lea rcx, [rbp - 8]
mov r8d, 0xff
call fcn.10000d4c0
mov rcx, qword [rbp - 8]
test rcx, rcx
jne 0x1000af519
lea rcx, [0x1003cb460]
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1000af553
call sub.kernel32.dll_GetLastError
mov edi, eax
mov rax, qword [0x1003cc380]
test rax, rax
je 0x1000af542
mov ecx, dword [0x1003cdbb0]
call rax
jmp 0x1000af549
lea rax, [0x1003cdbb8]
mov word [rax], di
mov word [rsi], 0
jmp 0x1000af55d
mov eax, ebx
and eax, 0xffff
mov word [rsi], ax
nop
mov rcx, rbp
call fcn.1000af490
mov rbx, qword [rbp - 0x20]
mov rdi, qword [rbp - 0x18]
mov rsi, qword [rbp - 0x10]
lea rsp, [rbp]
pop rbp
ret
Function at 0x1000af5d0
Capabilities:
Hash data with crc32

Disassembly:
test rdx, rdx
jne 0x1000af5d8
xor eax, eax
ret
xor ecx, 0xffffffff
jmp 0x1000af71c
movzx r9d, byte [rdx]
xor r9d, ecx
and r9d, 0xff
mov r10d, ecx
shr r10d, 8
lea r11, [0x100246640]
xor r10d, dword [r11 + r9*4]
mov ecx, r10d
add rdx, 1
movzx r9d, byte [rdx]
xor r9d, ecx
and r9d, 0xff
mov r10d, ecx
shr r10d, 8
lea r11, [0x100246640]
xor r10d, dword [r11 + r9*4]
mov ecx, r10d
add rdx, 1
movzx r9d, byte [rdx]
xor r9d, ecx
and r9d, 0xff
mov r10d, ecx
shr r10d, 8
lea r11, [0x100246640]
xor r10d, dword [r11 + r9*4]
mov ecx, r10d
add rdx, 1
movzx r9d, byte [rdx]
xor r9d, ecx
and r9d, 0xff
mov r10d, ecx
shr r10d, 8
lea r11, [0x100246640]
xor r10d, dword [r11 + r9*4]
mov ecx, r10d
add rdx, 1
movzx r9d, byte [rdx]
xor r9d, ecx
and r9d, 0xff
mov r10d, ecx
shr r10d, 8
lea r11, [0x100246640]
xor r10d, dword [r11 + r9*4]
mov ecx, r10d
add rdx, 1
movzx r9d, byte [rdx]
xor r9d, ecx
and r9d, 0xff
mov r10d, ecx
shr r10d, 8
lea r11, [0x100246640]
xor r10d, dword [r11 + r9*4]
mov ecx, r10d
add rdx, 1
movzx r9d, byte [rdx]
xor r9d, ecx
and r9d, 0xff
mov r10d, ecx
shr r10d, 8
lea r11, [0x100246640]
xor r10d, dword [r11 + r9*4]
mov ecx, r10d
add rdx, 1
movzx r9d, byte [rdx]
xor r9d, ecx
and r9d, 0xff
mov r10d, ecx
shr r10d, 8
lea r11, [0x100246640]
xor r10d, dword [r11 + r9*4]
mov ecx, r10d
add rdx, 1
sub r8d, 8
cmp r8d, 8
jae 0x1000af5e0
jmp 0x1000af753
movzx r9d, byte [rdx]
xor r9d, ecx
and r9d, 0xff
mov r10d, ecx
shr r10d, 8
lea r11, [0x100246640]
xor r10d, dword [r11 + r9*4]
mov ecx, r10d
add rdx, 1
sub r8d, 1
test r8d, r8d
ja 0x1000af728
xor ecx, 0xffffffff
mov eax, ecx
ret
Function at 0x1000b05c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rdi
push rsi
push r12
push r13
push r14
lea rsp, [rsp - 0x28]
mov rbx, rcx
mov r14d, dword [rbx + 0x34]
nop dword [rax]
mov rax, rbx
mov edx, dword [rax + 0x48]
mov ecx, dword [rax + 0x8c]
sub edx, ecx
sub edx, dword [rax + 0x84]
mov esi, edx
test edx, edx
jne 0x1000b060f
mov rax, rbx
cmp dword [rax + 0x84], 0
jne 0x1000b060f
cmp dword [rax + 0x8c], 0
jne 0x1000b060f
mov esi, r14d
jmp 0x1000b06e8
cmp esi, 0xffffffff
jne 0x1000b061f
sub esi, 1
jmp 0x1000b06e8
mov ecx, dword [rbx + 0x84]
mov eax, r14d
lea rdx, [rax - 0x106]
add rax, rdx
cmp rcx, rax
jl 0x1000b06e8
mov rdx, qword [rbx + 0x40]
mov eax, r14d
lea rcx, [rdx + rax]
mov rdx, qword [rbx + 0x40]
mov r8d, r14d
call fcn.100002ec0
sub dword [rbx + 0x88], r14d
sub dword [rbx + 0x84], r14d
mov eax, r14d
sub dword [rbx + 0x74], eax
mov edi, dword [rbx + 0x64]
mov rdx, qword [rbx + 0x58]
mov eax, edi
lea r12, [rdx + rax*2]
nop dword [rax + rax]
sub r12, 2
movzx eax, word [r12]
mov r13d, eax
cmp r14d, r13d
ja 0x1000b0698
mov eax, r13d
mov edx, r14d
sub eax, edx
mov word [r12], ax
jmp 0x1000b069f
mov word [r12], 0
sub edi, 1
jne 0x1000b0678
mov edi, r14d
mov rdx, qword [rbx + 0x50]
mov eax, edi
lea r12, [rdx + rax*2]
nop dword [rax]
sub r12, 2
movzx eax, word [r12]
mov r13d, eax
cmp r14d, r13d
ja 0x1000b06d8
mov eax, r13d
mov edx, r14d
sub eax, edx
mov word [r12], ax
jmp 0x1000b06df
mov word [r12], 0
sub edi, 1
jne 0x1000b06b8
add esi, r14d
nop
mov rax, qword [rbx]
cmp dword [rax + 8], 0
je 0x1000b0788
nop dword [rax]
mov rax, rbx
mov rcx, qword [rax + 0x40]
mov edx, dword [rax + 0x84]
mov eax, dword [rax + 0x8c]
add rax, rdx
lea rdx, [rcx + rax]
mov rcx, qword [rbx]
mov r8d, esi
call fcn.1000b0190
mov edi, eax
add dword [rbx + 0x8c], edi
cmp dword [rbx + 0x8c], 3
jb 0x1000b076c
mov rax, rbx
mov rdx, qword [rax + 0x40]
mov eax, dword [rax + 0x84]
movzx eax, byte [rdx + rax]
mov dword [rbx + 0x60], eax
mov rax, rbx
mov rcx, qword [rax + 0x40]
mov edx, dword [rax + 0x84]
movzx r9d, byte [rcx + rdx + 1]
mov edx, dword [rax + 0x70]
mov r8d, dword [rax + 0x60]
mov ecx, edx
shl r8d, cl
xor r9d, r8d
and r9d, dword [rax + 0x6c]
mov dword [rbx + 0x60], r9d
mov rax, rbx
cmp dword [rax + 0x8c], 0x106
jae 0x1000b0788
mov rax, qword [rax]
cmp dword [rax + 8], 0
jne 0x1000b05d8
nop
lea rsp, [rsp + 0x28]
pop r14
pop r13
pop r12
pop rsi
pop rdi
pop rbx
ret

Function at 0x1000d1a20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
xor eax, eax
lea rdx, [rcx + 1]
movzx r8d, byte [rcx]
add r8d, 1
and r8d, 0xff
add rcx, r8
jmp 0x1000d1a5b
mov r8d, eax
shl r8d, 5
mov r9d, eax
sub r8d, r9d
movzx r9d, byte [rdx]
xor r8d, r9d
mov eax, r8d
add rdx, 1
cmp rcx, rdx
ja 0x1000d1a40
ret