joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400023e0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
xor eax, eax
lea r8, [0x1400023b0]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
add rsp, 0x38
ret

Function at 0x1400077dc
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x14000780a
xor eax, eax
jmp 0x1400078f0
cmp qword [rcx + 0x68], 0
je 0x14000781b
call fcn.14000790c
jmp 0x1400078f0
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140007832
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140007834
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140007866
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.14000a2c0
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x1400078ea
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x14000789d
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x1400078c6
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.1400123f0
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x1400078ea
cmp rsi, rbx
ja 0x1400078a4
test rsi, rsi
je 0x1400078ea
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.1400123f0
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x140009190
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400091da
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400091da
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400091da
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400091da
cmp dword [rcx + 0x84], 0xe
jbe 0x1400091da
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400091dc
xor al, al
add rsp, 0x28
ret

Function at 0x140015380
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001517c
Function at 0x14001cd34
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140008a90
sub rsp, rax
mov rax, qword [0x14003b030]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140018f5c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14001cd83
mov rax, rbp
jmp 0x14001ce8b
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x3d2b0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14001de54
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x3d2b0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14001ce87
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001ce87
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14001de54
test rax, rax
js 0x14001ce87
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14001ce87
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14001ce79
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14001ce79
cmp byte [rcx], 0xd
jne 0x14001ce5f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14001ce6e
cmp byte [rcx + 1], 0xa
jne 0x14001ce6e
inc rcx
jmp 0x14001ce6e
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x3b420]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14001ce41
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14001ce8b
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140008430
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x14001d0ac
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14001d0c2
mov al, 1
jmp 0x14001d122
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14001d0d3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14001d120
mov ecx, dword [rcx + 0x18]
nop
call fcn.140021084
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001d120
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14001d120
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001d120
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14001d122
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14001d1f4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x14003d2b0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14001d24b
cmp word [rdx], r13w
jne 0x14001d24b
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14001d250
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14001d375
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14001d396
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14001d289
mov rdx, r9
mov word [rbx], cx
jmp 0x14001d2b0
cmp r9, r8
jae 0x14001d2c0
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14001d26a
jmp 0x14001d375
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001d36a
cmp dword [rsp + 0x80], esi
je 0x14001d36a
lea r8, [0x14003d2b0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14001d342
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14001d312
mov word [rbx], r13w
jmp 0x14001d372
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14001d31f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14001d372
cmp word [rsp + 0x70], r13w
jne 0x14001d34f
cmp rbx, r14
je 0x14001d30c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14001de5c
cmp word [rsp + 0x70], r13w
je 0x14001d375
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x14003d2b0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14001d36f
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14001d375
Function at 0x14002081c
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14002084c
xor eax, eax
jmp 0x14002090f
mov rbp, rbx
cmp word [rax], si
je 0x140020871
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140020858
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140020854
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14001ee1c
movsxd r14, eax
test eax, eax
jne 0x1400208af
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140020845
mov rcx, r14
call fcn.140017d00
mov rdi, rax
test rax, rax
jne 0x1400208c8
xor ecx, ecx
call fcn.140017cc4
jmp 0x1400208a4
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14001ee1c
test eax, eax
jne 0x1400208f9
mov rcx, rdi
call fcn.140017cc4
jmp 0x140020903
xor ecx, ecx
call fcn.140017cc4
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1400235d8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.140019468
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x140023679
cmp ebx, dword [rsp + 0x30]
je 0x140023672
test esi, esi
je 0x140023672
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14002364d
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14002365a
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140023637
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14002365e
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14002367b
mov eax, 1
jmp 0x14002367b
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140026534
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1400139e8
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400265be
cmp byte [rbp - 0x21], r15b
je 0x1400265b9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400265f4
call fcn.14001a7f0
test eax, eax
jne 0x1400265e0
cmp byte [rbp - 0x21], r15b
je 0x1400265d8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400265f4
cmp byte [rbp - 0x21], r15b
je 0x1400265f1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140014024
test eax, eax
jne 0x140026694
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400139e8
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140026633
cmp byte [rbp - 0x21], r15b
je 0x140026668
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140026668
call fcn.14001a7f0
test eax, eax
jne 0x140026654
cmp byte [rbp - 0x21], r15b
je 0x14002664d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140026668
cmp byte [rbp - 0x21], r15b
je 0x140026665
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140014024
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140026694
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140026697
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400266a5
mov rcx, rdi
call fcn.140017cc4
cmp byte [rbp + 0x3f], r15b
je 0x1400266b4
mov rcx, qword [rbp + 0x27]
call fcn.140017cc4
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1000038a0
Capabilities:
Encode data using base64

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x120]
mov qword [rbp - 0xc8], rbx
mov qword [rbp - 0xc0], rdi
mov qword [rbp - 0xb8], rsi
mov qword [rbp - 0xb0], r12
mov qword [rbp - 0xa8], r13
mov qword [rbp - 0xa0], r14
mov qword [rbp - 0x98], r15
mov r15w, cx
mov di, dx
mov ebx, r9d
mov ax, 0xd8
cmp dx, 0xd8
cmovg di, ax
mov ax, 0xffff
cmp r15w, 0x8001
cmovle r15w, ax
jle 0x100003922
xor ax, ax
test r15w, r15w
cmovl r15w, ax
jl 0x100003922
mov ax, 0xff
cmp r15w, 0xff
cmovg r15w, ax
mov eax, ebx
lea rdx, [0x100056940]
mov ax, word [rdx + rax*4]
mov ecx, ebx
lea rdx, [0x100056940]
mov r12w, word [rdx + rcx*4 + 2]
mov si, word [0x100056944]
cmp si, ax
cmovg si, ax
test r15w, r15w
cmovl r13w, ax
jl 0x10000397f
movsx ecx, r15w
sub ecx, 4
movsx edx, r12w
sub ecx, edx
mov r13w, cx
mov dx, 2
cmp cx, 2
cmovl r13w, dx
cmp ax, r13w
cmovl r13w, ax
movsd qword [rbp - 0x80], xmm2
test byte [rbp - 0x79], 0x80
setne byte [rbp - 0x40]
movzx eax, word [rbp - 0x7a]
shr eax, 4
and eax, 0x7ff
mov word [rbp - 0x70], ax
mov rdx, qword [rbp - 0x80]
movabs rax, 0xfffffffffffff
and rdx, rax
mov qword [rbp - 0x78], rdx
movdqu xmm0, xmmword [rbp - 0x78]
movdqa xmmword [rbp - 0x10], xmm0
cmp word [rbp - 8], 0
sete dl
cmp qword [rbp - 0x10], 0
sete al
and dl, al
je 0x100003a60
mov byte [rbp - 0x68], 0
test di, di
jl 0x100003a20
mov word [rsp + 0x40], di
mov word [rsp + 0x38], r15w
mov word [rsp + 0x30], 1
mov word [rsp + 0x28], 0
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9b, byte [rbp - 0x40]
mov rdx, qword [rbp + 0x30]
mov r8, qword [rbp + 0x38]
call fcn.100004230
test al, al
jne 0x100003de6
nop dword [rax + rax]
mov word [rsp + 0x48], r15w
mov word [rsp + 0x40], r12w
mov word [rsp + 0x38], 0
mov word [rsp + 0x30], r13w
mov word [rsp + 0x28], 0
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9b, byte [rbp - 0x40]
mov rdx, qword [rbp + 0x30]
mov r8, qword [rbp + 0x38]
call fcn.100003f80
jmp 0x100003de6
cmp word [rbp - 8], 0x7ff
jne fcn.100003b00
test r15w, r15w
jge 0x100003a8f
lea rdx, [0x100056940]
mov eax, ebx
movsx eax, word [rdx + rax*4 + 2]
mov ecx, ebx
movsx edx, word [rdx + rcx*4]
add eax, 4
add eax, edx
mov r15w, ax
movzx eax, byte [rbp - 0x40]
lea rdx, [rax + rax]
mov bx, 1
sub bx, dx
cmp qword [rbp - 0x10], 0
jne 0x100003ad0
mov word [rsp + 0x28], r15w
lea rax, [0x100056960]
mov qword [rsp + 0x20], rax
mov rdx, qword [rbp + 0x30]
movsx r9d, bx
mov r8, qword [rbp + 0x38]
call fcn.100003e60
jmp 0x100003de6
xor bx, bx
mov word [rsp + 0x28], r15w
lea rax, [0x100056970]
mov qword [rsp + 0x20], rax
mov rdx, qword [rbp + 0x30]
movsx r9d, bx
mov r8, qword [rbp + 0x38]
call fcn.100003e60
jmp 0x100003de6
Function at 0x10000c8e0
Capabilities:
Check for software breakpoints

Disassembly:
push rbx
push rdi
push rsi
lea rsp, [rsp - 0x20]
mov dx, word [0x1000564e0]
cmp dx, 0xcb
sete al
cmp dx, 0xcc
sete dl
or al, dl
jne 0x10000ca12
mov rax, qword [0x100071840]
test rax, rax
je 0x10000c920
mov ecx, dword [0x100071630]
call rax
mov rbx, rax
jmp 0x10000c927
lea rbx, [0x100071638]
cmp word [0x100071620], 0
jle 0x10000c94e
lea rcx, [0x1000715f0]
call fcn.10000cd00
mov rcx, rbx
call fcn.10000c3c0
mov rcx, rbx
call fcn.10000c450
mov rsi, qword [rbx]
jmp 0x10000c977
mov rdi, qword [rsi + 8]
test byte [rsi], 1
jne 0x10000c970
mov rdx, rsi
mov rcx, rbx
call fcn.10000b630
jmp 0x10000c974
and qword [rsi], 0xfffffffffffffffe
mov rsi, rdi
test rsi, rsi
jne 0x10000c958
mov qword [rbx], 0
mov dword [rbx + 0x90], 0
cmp word [0x100071620], 0
jle 0x10000ca12
lea rdx, [0x100071500]
mov rcx, rbx
call fcn.10000b7b0
mov rsi, rax
test rax, rax
je 0x10000c9e1
mov rax, qword [0x1000715a0]
mov qword [rsi + 0x18], rax
cmp qword [0x1000715a0], 0
je 0x10000c9d3
mov rax, qword [0x1000715a0]
mov qword [rax + 0x10], rsi
mov rax, qword [rbx + 0xa0]
mov qword [0x1000715a0], rax
sub word [0x100071620], 1
cmp word [0x100071620], 0
sete bl
lea rcx, [0x1000715f0]
call fcn.10000cd20
test bl, bl
je 0x10000ca12
lea rcx, [0x1000715f0]
call fcn.10000cce0
nop
lea rsp, [rsp + 0x20]
pop rsi
pop rdi
pop rbx
ret
Function at 0x100028e90
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov dword [rbp - 0x1c], 0
mov dword [rbp - 0x18], 0
mov eax, dword [rbp - 0x18]
and eax, dword [rbp - 0x1c]
xor eax, dword [rbp - 0x18]
mov dword [rbp - 0x20], eax
mov eax, dword [rbp - 0x18]
imul eax, eax, 0xa
mov dword [rbp - 0x1c], eax
inc dword [rbp - 0x18]
cmp dword [rbp - 0x18], 0x6a
jle 0x100028ea6
mov eax, dword [rbp - 0x20]
mov dword [rbp - 0x14], eax
mov eax, dword [rbp - 0x14]
mov rax, qword gs:[eax]
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov qword [rbp - 8], rax
lea rsp, [rbp]
pop rbp
ret
Function at 0x10002ad20
Capabilities:
Encode data using xor

Disassembly:
dec r8d
test r8d, r8d
jl 0x10002ad45
or r9d, 0xffffffff
inc r9d
movsxd r10, r9d
lea r11, [rdx + r10]
lea rax, [rcx + r10]
mov r10b, byte [r11]
xor byte [rax], r10b
cmp r9d, r8d
jl 0x10002ad2c
ret

Function at 0x10004fde0
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 esi, dword [rcx + 0x38]
mov edx, dword [rbx + 0x94]
mov eax, dword [rbx + 0x50]
sub eax, edx
sub eax, dword [rbx + 0x8c]
mov edi, eax
mov eax, dword [rbx + 0x8c]
or eax, edi
or eax, dword [rbx + 0x94]
cmove edi, esi
je 0x10004fed2
cmp edi, 0xffffffff
jne 0x10004fe2a
dec edi
jmp 0x10004fed2
mov eax, esi
lea rdx, [rax + rax - 0x106]
mov eax, dword [rbx + 0x8c]
cmp rdx, rax
jg 0x10004fed2
mov rdx, qword [rbx + 0x48]
mov eax, esi
lea rcx, [rdx + rax]
mov rdx, qword [rbx + 0x48]
mov r8d, esi
call fcn.100001b90
sub dword [rbx + 0x90], esi
sub dword [rbx + 0x8c], esi
sub dword [rbx + 0x7c], esi
mov r12d, dword [rbx + 0x6c]
mov rdx, qword [rbx + 0x60]
mov eax, r12d
lea r13, [rdx + rax*2]
sub r13, 2
movzx r14d, word [r13]
cmp esi, r14d
ja 0x10004fe91
mov eax, r14d
sub eax, esi
mov word [r13], ax
jmp 0x10004fe98
mov word [r13], 0
dec r12d
jne 0x10004fe77
mov r12d, esi
mov rdx, qword [rbx + 0x58]
mov eax, esi
lea r13, [rdx + rax*2]
sub r13, 2
movzx r14d, word [r13]
cmp esi, r14d
ja 0x10004fec4
mov eax, r14d
sub eax, esi
mov word [r13], ax
jmp 0x10004fecb
mov word [r13], 0
dec r12d
jne 0x10004feaa
add edi, esi
mov rax, qword [rbx]
cmp dword [rax + 8], 0
je 0x10004ff61
mov rax, qword [rbx + 0x48]
mov ecx, dword [rbx + 0x8c]
mov edx, dword [rbx + 0x94]
add rdx, rcx
add rdx, rax
mov rcx, qword [rbx]
mov r8d, edi
call fcn.10004fa20
mov r12d, eax
add dword [rbx + 0x94], eax
cmp dword [rbx + 0x94], 3
jb 0x10004ff48
mov rax, qword [rbx + 0x48]
mov edx, dword [rbx + 0x8c]
movzx eax, byte [rax + rdx]
mov dword [rbx + 0x68], eax
mov rax, qword [rbx + 0x48]
mov edx, dword [rbx + 0x8c]
movzx r8d, byte [rax + rdx + 1]
mov eax, dword [rbx + 0x78]
mov edx, dword [rbx + 0x68]
mov ecx, eax
shl edx, cl
xor r8d, edx
and r8d, dword [rbx + 0x74]
mov dword [rbx + 0x68], r8d
cmp dword [rbx + 0x94], 0x106
jae 0x10004ff61
mov rax, qword [rbx]
cmp dword [rax + 8], 0
jne 0x10004fdf4
nop
lea rsp, [rsp + 0x28]
pop r14
pop r13
pop r12
pop rsi
pop rdi
pop rbx
ret
Function at 0x1400011c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
xor r10d, r10d
mov r11, rdx
mov rbx, rcx
test rdx, rdx
je 0x140001214
nop dword [rax]
nop word [rax + rax]
xor edx, edx
mov rax, r9
sub rax, r10
dec rax
div r9
movzx eax, byte [rdx + r8]
xor edx, edx
xor byte [r10 + rbx], al
mov rax, r10
movzx ecx, byte [r10 + rbx]
div r9
xor cl, byte [rdx + r8]
mov byte [r10 + rbx], cl
inc r10
cmp r10, r11
jb 0x1400011e0
mov rbx, qword [rsp + 8]
ret