joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401891c0
Capabilities:
Get disk size

Disassembly:
sub rsp, 0x168
mov rax, qword [0x1402d9850]
xor rax, rsp
mov qword [rsp + 0x150], rax
lea r9, [rsp + 0x40]
mov dword [rsp + 0x34], 0x200
mov r8d, 0x104
call fcn.14016fb40
test eax, eax
jne 0x1401893bf
mov qword [rsp + 0x180], rbx
mov qword [rsp + 0x188], rsi
mov qword [rsp + 0x160], rdi
call fcn.14018a970
xor esi, esi
lea r8, [rsp + 0x40]
or r9d, 0xffffffff
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
mov ecx, 0xfde9
test eax, eax
je 0x140189287
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rdi, eax
mov rcx, rdi
add rcx, rcx
call fcn.140132458
mov rbx, rax
test rax, rax
je 0x1401892ce
mov dword [rsp + 0x28], edi
lea r8, [rsp + 0x40]
or r9d, 0xffffffff
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x140189313
mov rcx, rbx
call fcn.14012efe0
mov ebx, esi
jmp 0x140189313
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
mov rcx, rbx
add rcx, rcx
call fcn.140132458
mov rdi, rax
test rax, rax
je 0x1401892ce
mov dword [rsp + 0x28], ebx
lea r8, [rsp + 0x40]
or r9d, 0xffffffff
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rcx, rdi
test eax, eax
jne 0x140189303
call fcn.14012efe0
mov eax, 0x200
mov rsi, qword [rsp + 0x188]
mov rbx, qword [rsp + 0x180]
mov rdi, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14012a1e0
add rsp, 0x168
ret
call fcn.1401d0ae0
mov rcx, rdi
mov rbx, rax
call fcn.14012efe0
test rbx, rbx
je 0x1401892ce
call fcn.14018a970
test eax, eax
mov rax, rbx
je 0x140189369
cmp word [rbx], 0
je 0x140189345
nop word [rax + rax]
cmp word [rax], 0x5c
je 0x140189342
add rax, 2
cmp word [rax], 0
jne 0x140189330
jmp 0x140189345
mov word [rax], si
lea rax, [rsp + 0x30]
mov rcx, rbx
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x34]
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
jmp 0x1401893a4
cmp byte [rbx], 0
je 0x140189382
nop
cmp byte [rax], 0x5c
je 0x14018937f
inc rax
cmp byte [rax], 0
jne 0x140189370
jmp 0x140189382
mov byte [rax], 0
lea rax, [rsp + 0x30]
mov rcx, rbx
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x34]
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov rcx, rbx
mov edi, eax
call fcn.14012efe0
test edi, edi
je 0x1401892ce
mov eax, dword [rsp + 0x34]
jmp 0x1401892d3
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14012a1e0
add rsp, 0x168
ret
Function at 0x14018a9e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rax, qword [rcx]
xor r13d, r13d
mov rsi, r8
mov dword [rsp + 0x20], r13d
mov r8, rcx
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x90]
mov edi, r13d
mov r14d, r13d
mov r12d, dword [rcx]
mov r15, qword [rcx + 0x10]
test r12d, r12d
jle 0x14018abac
mov ebp, r13d
nop word [rax + rax]
cmp r14d, dword [rsi + 8]
jg 0x14018ab9f
mov rbx, qword [r15]
cmp byte [rbx], 0x98
jne 0x14018ab9f
cmp dword [rbx + 0x30], r9d
jne 0x14018ab9f
mov rdx, rbx
mov rcx, r8
call fcn.1401a6ae0
mov rcx, rax
test rax, rax
jne 0x14018aa7c
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x38]
cmp qword [rsi], r13
je 0x14018aab3
cmp r14d, dword [rsi + 8]
jge 0x14018aab3
mov rax, qword [rsi + 0x10]
mov r9d, dword [rax + rbp*4]
mov rax, qword [rsi + 0x20]
cmp r9d, dword [rax + 8]
mov eax, 0xffffffff
cmove r9d, eax
mov rax, qword [rsi + 0x48]
movzx r10d, byte [rax + rbp]
mov rax, qword [rsi + 0x50]
mov r8, qword [rax + rbp*8]
jmp 0x14018aabd
mov r8, qword [rcx]
or r9d, 0xffffffff
mov r10d, r13d
movsx eax, word [rbx + 0x34]
cmp eax, r9d
jne 0x14018ab67
mov rax, qword [rcx]
lea rbx, [0x140253630]
movzx edx, byte [rax]
test dl, dl
je 0x14018aafe
nop dword [rax + rax]
movzx ecx, byte [r8]
movzx edx, dl
movzx ecx, byte [rcx + rbx]
cmp byte [rdx + rbx], cl
jne 0x14018aafe
movzx edx, byte [rax + 1]
inc rax
inc r8
test dl, dl
jne 0x14018aae0
movzx ecx, byte [r8]
movzx edx, byte [rcx + rbx]
movzx ecx, byte [rax]
movzx eax, byte [rcx + rbx]
cmp eax, edx
jne 0x14018ab67
movzx eax, byte [r15 + 0x18]
movsxd rcx, dword [rsp + 0x98]
xor eax, r10d
cmp rbp, rcx
jle 0x14018ab32
cmp eax, dword [rsp + 0x20]
jne 0x14018abe4
jmp 0x14018ab36
mov dword [rsp + 0x20], eax
inc edi
add r15, 0x20
test r9d, r9d
jns 0x14018ab74
mov r9d, dword [rsp + 0x88]
mov r8d, edi
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x90]
call fcn.140193a30
test eax, eax
jne 0x14018ab74
mov edi, r12d
jmp 0x14018ab74
movsxd rax, dword [rsp + 0x98]
cmp rbp, rax
jge 0x14018ab91
mov r9d, dword [rsp + 0x88]
inc r14d
inc rbp
cmp edi, r12d
jge 0x14018ab9f
mov r8, qword [rsp + 0x70]
jmp 0x14018aa40
cmp r14d, dword [rsi + 8]
jne 0x14018abe4
mov r9d, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x78]
cmp dword [rsp + 0x20], r13d
mov rax, qword [rsp + 0xa0]
setne r13b
mov dword [rax], r13d
cmp edi, r12d
jl 0x14018abcc
mov eax, 1
jmp 0x14018abe6
cmp byte [rsi + 0x2c], 0
je 0x14018abe4
cmp r14d, dword [rsi + 8]
jne 0x14018abe4
mov r8d, edi
call fcn.140193a30
test eax, eax
je 0x14018abc5
xor eax, eax
mov rbx, qword [rsp + 0x80]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140193b80
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov eax, edx
shl rax, 4
mov ecx, 0x40
cmp rax, 0x400
mov edi, edx
cmova edi, ecx
cmp edi, dword [rbx]
jne 0x140193bb4
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rax, qword [0x1402e1430]
test rax, rax
je 0x140193bc2
call rax
shl edi, 4
mov ecx, edi
call fcn.1401b0560
mov rcx, qword [0x1402e1438]
mov rdi, rax
test rcx, rcx
je 0x140193bdd
call rcx
test rdi, rdi
je 0x140193ba7
mov rcx, qword [rbx + 0x10]
mov qword [rsp + 0x38], rsi
call fcn.1401720b0
mov rcx, rdi
mov qword [rbx + 0x10], rdi
call qword [0x1402da520]
movsxd rsi, eax
xor edx, edx
shr rsi, 4
mov rcx, rdi
mov r8d, esi
shl r8, 4
mov dword [rbx], esi
call fcn.14012d3f0
mov rcx, qword [rbx + 8]
xor r11d, r11d
mov qword [rbx + 8], r11
test rcx, rcx
je 0x140193cf7
mov qword [rsp + 0x30], rbp
lea rbp, [0x140253630]
nop word [rax + rax]
mov r9d, dword [rcx + 0x20]
mov eax, r11d
mov r10, qword [rcx + 0x18]
test r9d, r9d
jle 0x140193c72
movzx edx, byte [r10]
lea r10, [r10 + 1]
dec r9d
movzx r8d, byte [rdx + rbp]
lea edx, [rax*8]
xor r8d, edx
xor eax, r8d
test r9d, r9d
jg 0x140193c50
mov r9, qword [rcx]
xor edx, edx
div esi
mov r8d, edx
shl r8, 4
add r8, rdi
je 0x140193cca
mov eax, dword [r8]
test eax, eax
je 0x140193c92
mov rdx, qword [r8 + 8]
jmp 0x140193c95
mov rdx, r11
inc eax
mov qword [r8 + 8], rcx
mov dword [r8], eax
test rdx, rdx
je 0x140193cca
mov qword [rcx], rdx
mov rax, qword [rdx + 8]
mov qword [rcx + 8], rax
mov rax, qword [rdx + 8]
test rax, rax
je 0x140193cc0
mov qword [rax], rcx
mov qword [rdx + 8], rcx
jmp 0x140193ce6
mov qword [rbx + 8], rcx
mov qword [rdx + 8], rcx
jmp 0x140193ce6
mov rax, qword [rbx + 8]
mov qword [rcx], rax
mov rax, qword [rbx + 8]
test rax, rax
je 0x140193cde
mov qword [rax + 8], rcx
mov qword [rcx + 8], r11
mov qword [rbx + 8], rcx
mov rcx, r9
test r9, r9
jne 0x140193c40
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov eax, 1
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1401a6c40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
test rcx, rcx
je 0x1401a6d72
test rdx, rdx
je 0x1401a6d72
movzx ecx, word [rcx + 2]
mov edx, 0x800
test dx, cx
jne 0x1401a6ce9
movzx eax, word [rbx + 2]
test dx, ax
jne 0x1401a6ce9
xor al, cl
test al, 0x10
jne 0x1401a6ce9
movzx eax, byte [rbx]
cmp byte [rdi], al
jne 0x1401a6ce9
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rdi + 0x10]
call fcn.1401a6c40
test eax, eax
jne 0x1401a6ce9
mov rdx, qword [rbx + 0x18]
mov rcx, qword [rdi + 0x18]
call fcn.1401a6c40
test eax, eax
jne 0x1401a6ce9
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rdi + 0x20]
call fcn.1401a7910
test eax, eax
jne 0x1401a6ce9
mov eax, dword [rbx + 0x30]
cmp dword [rdi + 0x30], eax
jne 0x1401a6ce9
movzx eax, word [rbx + 0x34]
cmp word [rdi + 0x34], ax
jne 0x1401a6ce9
movzx r11d, word [rdi + 2]
mov eax, 0x400
test ax, r11w
je 0x1401a6cf9
test word [rbx + 2], ax
je 0x1401a6ce9
mov eax, dword [rbx + 8]
cmp dword [rdi + 8], eax
je 0x1401a6d2f
mov eax, 2
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp byte [rdi], 0x98
je 0x1401a6d2f
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1401a6d2f
test word [rbx + 2], ax
jne 0x1401a6ce9
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x1401a6ce9
call fcn.1401bc7b0
test eax, eax
je 0x1401a6d2f
mov eax, 2
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, word [rbx + 2]
mov ecx, 0x100
and r11w, cx
and ax, cx
cmp r11w, ax
je 0x1401a6d55
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
test r11w, r11w
je 0x1401a6d65
mov rax, qword [rbx + 0x28]
cmp qword [rdi + 0x28], rax
jne 0x1401a6ce9
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor ecx, ecx
cmp rdx, rdi
mov eax, 2
cmove eax, ecx
add rsp, 0x20
pop rdi
ret
Function at 0x1401a8980
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
xor r9d, r9d
mov r14, r8
mov rsi, rdx
mov rbx, rdx
test rdx, rdx
je 0x1401a89b8
cmp byte [rdx], r9b
je 0x1401a89b0
inc rbx
cmp byte [rbx], r9b
jne 0x1401a89a8
sub ebx, edx
and ebx, 0x3fffffff
mov ebp, dword [rcx + 8]
xor edi, edi
test ebp, ebp
jle 0x1401a8adc
mov qword [rsp + 0x40], r12
lea r12, [0x140253630]
mov qword [rsp + 0x48], r15
mov r15, qword [rcx + 0x10]
nop word [rax + rax]
mov eax, edi
cmp edi, 2
jge 0x1401a89ea
xor eax, 1
movsxd r8, eax
shl r8, 5
mov r10, qword [r8 + r15 + 0x18]
test r14, r14
je 0x1401a8a45
movzx edx, byte [r14]
mov rax, r14
mov r8, qword [r8 + r15]
test dl, dl
je 0x1401a8a30
nop word [rax + rax]
movzx ecx, byte [r8]
movzx edx, dl
movzx ecx, byte [rcx + r12]
cmp byte [rdx + r12], cl
jne 0x1401a8a30
movzx edx, byte [rax + 1]
inc rax
inc r8
test dl, dl
jne 0x1401a8a10
movzx ecx, byte [r8]
movzx edx, byte [rcx + r12]
movzx ecx, byte [rax]
movzx eax, byte [rcx + r12]
cmp eax, edx
jne 0x1401a8ab2
cmp qword [r10 + 0x30], 0
je 0x1401a8a8b
xor r8d, r8d
mov edx, ebx
mov r9, rsi
test ebx, ebx
jle 0x1401a8a80
nop dword [rax + rax]
movzx eax, byte [r9]
lea r9, [r9 + 1]
dec edx
movzx ecx, byte [rax + r12]
lea eax, [r8*8]
xor ecx, eax
xor r8d, ecx
test edx, edx
jg 0x1401a8a60
xor edx, edx
mov eax, r8d
div dword [r10 + 0x20]
jmp 0x1401a8a8d
xor edx, edx
mov r9d, edx
lea rcx, [r10 + 0x20]
mov rdx, rsi
mov r8d, ebx
call fcn.140184290
test rax, rax
je 0x1401a8aaf
mov r9, qword [rax + 0x10]
test r9, r9
jne 0x1401a8abc
jmp 0x1401a8ab2
xor r9d, r9d
inc edi
cmp edi, ebp
jl 0x1401a89e0
mov r12, qword [rsp + 0x40]
mov rax, r9
mov r15, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
mov rax, r9
jmp 0x1401a8ac9
Function at 0x1401a8af0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
xor r10d, r10d
mov r14, r8
mov rsi, rdx
mov rbp, rcx
mov rbx, rdx
test rdx, rdx
je 0x1401a8b31
cmp byte [rdx], r10b
je 0x1401a8b29
inc rbx
cmp byte [rbx], r10b
jne 0x1401a8b21
sub ebx, edx
and ebx, 0x3fffffff
mov r15d, dword [rcx + 8]
xor edi, edi
test r15d, r15d
jle 0x1401a8c5e
mov qword [rsp + 0x40], r12
lea r12, [0x140253630]
nop dword [rax]
mov r9d, edi
cmp edi, 2
jge 0x1401a8b5c
xor r9d, 1
test r14, r14
je 0x1401a8bb5
mov rcx, qword [rbp + 0x10]
mov rax, r14
movsxd rdx, r9d
shl rdx, 5
mov r8, qword [rdx + rcx]
movzx edx, byte [r14]
test dl, dl
je 0x1401a8ba0
nop dword [rax + rax]
movzx ecx, byte [r8]
movzx edx, dl
movzx ecx, byte [rcx + r12]
cmp byte [rdx + r12], cl
jne 0x1401a8ba0
movzx edx, byte [rax + 1]
inc rax
inc r8
test dl, dl
jne 0x1401a8b80
movzx ecx, byte [r8]
movzx edx, byte [rcx + r12]
movzx ecx, byte [rax]
movzx eax, byte [rcx + r12]
cmp eax, edx
jne 0x1401a8c32
mov rax, qword [rbp + 0x10]
movsxd rcx, r9d
shl rcx, 5
mov r10, qword [rcx + rax + 0x18]
cmp qword [r10 + 0x18], 0
je 0x1401a8c0b
xor r8d, r8d
mov edx, ebx
mov r9, rsi
test ebx, ebx
jle 0x1401a8c00
nop dword [rax + rax]
movzx eax, byte [r9]
lea r9, [r9 + 1]
dec edx
movzx ecx, byte [rax + r12]
lea eax, [r8*8]
xor ecx, eax
xor r8d, ecx
test edx, edx
jg 0x1401a8be0
xor edx, edx
mov eax, r8d
div dword [r10 + 8]
jmp 0x1401a8c0d
xor edx, edx
mov r9d, edx
lea rcx, [r10 + 8]
mov rdx, rsi
mov r8d, ebx
call fcn.140184290
test rax, rax
je 0x1401a8c2f
mov r10, qword [rax + 0x10]
test r10, r10
jne 0x1401a8c3d
jmp 0x1401a8c32
xor r10d, r10d
inc edi
cmp edi, r15d
jl 0x1401a8b50
mov r12, qword [rsp + 0x40]
mov rax, r10
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
mov rax, r10
jmp 0x1401a8c45
Function at 0x1401aa5a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push r14
push r15
sub rsp, 0x30
mov rax, qword [rcx]
xor r15d, r15d
mov rsi, rdx
mov r14, rcx
mov ebx, r15d
test dword [rax + 0x18], 0x4000000
je 0x1401aa722
mov r9, qword [rdx + 0x38]
mov qword [rsp + 0x60], rdi
test r9, r9
je 0x1401aa60f
mov eax, dword [r9 + 0x28]
test eax, eax
jle 0x1401aa606
lea rdx, [r9 + 0x40]
mov r8d, eax
mov ecx, dword [rdx]
cmp ecx, 0x1f
jle 0x1401aa5f3
or eax, 0xffffffff
jmp 0x1401aa5fa
mov eax, 1
shl eax, cl
or ebx, eax
add rdx, 0x10
sub r8, 1
jne 0x1401aa5e7
mov r9, qword [r9 + 8]
test r9, r9
jne 0x1401aa5d8
mov r11, qword [rsi]
mov r8, r11
test r11, r11
jne 0x1401aa61f
mov r8d, r15d
jmp 0x1401aa636
cmp byte [r11], r15b
je 0x1401aa62c
inc r8
cmp byte [r8], r15b
jne 0x1401aa624
sub r8d, r11d
and r8d, 0x3fffffff
mov rdi, qword [rsi + 0x78]
cmp qword [rdi + 0x60], r15
je 0x1401aa68e
mov edx, r8d
mov r10, r11
mov r9d, r15d
test r8d, r8d
jle 0x1401aa684
mov qword [rsp + 0x58], rbp
lea rbp, [0x140253630]
nop word [rax + rax]
movzx eax, byte [r10]
lea r10, [r10 + 1]
dec edx
movzx ecx, byte [rax + rbp]
lea eax, [r9*8]
xor ecx, eax
xor r9d, ecx
test edx, edx
jg 0x1401aa660
mov rbp, qword [rsp + 0x58]
xor edx, edx
mov eax, r9d
div dword [rdi + 0x50]
jmp 0x1401aa691
mov edx, r15d
mov r9d, edx
lea rcx, [rdi + 0x50]
mov rdx, r11
call fcn.140184290
test rax, rax
je 0x1401aa70c
mov rdi, qword [rax + 0x10]
test rdi, rdi
je 0x1401aa70c
nop
lea r9, [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov r8, rdi
mov qword [rsp + 0x20], r15
mov rdx, rsi
mov rcx, r14
call fcn.14018aff0
mov rdx, qword [rsp + 0x50]
test rdx, rdx
je 0x1401aa703
movsxd r8, dword [rdx + 8]
test r8, r8
jle 0x1401aa703
mov rdx, qword [rdx + 0x10]
mov ecx, dword [rdx]
cmp ecx, 0x1f
jle 0x1401aa6f0
or eax, 0xffffffff
jmp 0x1401aa6f7
mov eax, 1
shl eax, cl
or ebx, eax
add rdx, 4
sub r8, 1
jne 0x1401aa6e4
mov rdi, qword [rdi + 0x18]
test rdi, rdi
jne 0x1401aa6b0
mov eax, ebx
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rsi
ret
mov eax, ebx
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rsi
ret
Function at 0x1401ad000
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x10], 0
mov r11, rcx
mov qword [rsp + 0x30], rbx
mov rbx, rdx
je 0x1401ad05b
xor eax, eax
mov r9d, r8d
mov r10, rdx
test r8d, r8d
jle 0x1401ad054
mov qword [rsp + 0x20], rdi
lea rdi, [0x140253630]
nop
movzx ecx, byte [r10]
lea r10, [r10 + 1]
dec r9d
movzx edx, byte [rcx + rdi]
lea ecx, [rax*8]
xor edx, ecx
xor eax, edx
test r9d, r9d
jg 0x1401ad030
mov rdi, qword [rsp + 0x20]
xor edx, edx
div dword [r11]
jmp 0x1401ad05d
xor edx, edx
mov r9d, edx
mov rcx, r11
mov rdx, rbx
call fcn.140184290
mov rbx, qword [rsp + 0x30]
test rax, rax
je 0x1401ad07e
mov rax, qword [rax + 0x10]
add rsp, 0x28
ret
add rsp, 0x28
ret
Function at 0x1401ad090
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r15
sub rsp, 0x20
mov rbp, r9
lea r12, [0x140253630]
mov r9d, dword [rcx]
mov edi, r8d
mov rsi, rdx
mov rbx, rcx
test r9d, r9d
je 0x1401ad0fa
xor eax, eax
mov r10, rdx
test r8d, r8d
jle 0x1401ad0f0
nop dword [rax]
movzx ecx, byte [r10]
lea r10, [r10 + 1]
dec r8d
movzx edx, byte [rcx + r12]
lea ecx, [rax*8]
xor edx, ecx
xor eax, edx
test r8d, r8d
jg 0x1401ad0d0
xor edx, edx
div r9d
mov r15d, edx
jmp 0x1401ad0fd
xor r15d, r15d
mov r9d, r15d
mov r8d, edi
mov rdx, rsi
mov rcx, rbx
call fcn.140184290
mov rdx, rax
test rax, rax
je 0x1401ad19b
mov rdi, qword [rax + 0x10]
test rbp, rbp
jne 0x1401ad18b
mov rax, qword [rax + 8]
test rax, rax
je 0x1401ad134
mov rcx, qword [rdx]
mov qword [rax], rcx
jmp 0x1401ad13b
mov rax, qword [rdx]
mov qword [rbx + 8], rax
mov rcx, qword [rdx]
test rcx, rcx
je 0x1401ad14b
mov rax, qword [rdx + 8]
mov qword [rcx + 8], rax
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x1401ad16d
mov ecx, r15d
shl rcx, 4
add rcx, rax
cmp qword [rcx + 8], rdx
jne 0x1401ad16b
mov rax, qword [rdx]
mov qword [rcx + 8], rax
dec dword [rcx]
mov rcx, rdx
call fcn.1401720b0
add dword [rbx + 4], 0xffffffff
jne 0x1401ad193
mov rcx, rbx
call fcn.1401acf10
mov rax, rdi
jmp 0x1401ad26b
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rax, rdi
jmp 0x1401ad26b
test rbp, rbp
jne 0x1401ad1a7
xor eax, eax
jmp 0x1401ad26b
mov ecx, 0x28
mov qword [rsp + 0x40], r14
call fcn.1401b0560
mov r14, rax
test rax, rax
jne 0x1401ad1c6
mov rax, rbp
jmp 0x1401ad266
mov qword [rax + 0x18], rsi
mov dword [rax + 0x20], edi
mov qword [rax + 0x10], rbp
inc dword [rbx + 4]
mov edx, dword [rbx + 4]
cmp edx, 0xa
jb 0x1401ad224
mov eax, dword [rbx]
add eax, eax
cmp edx, eax
jbe 0x1401ad224
add edx, edx
mov rcx, rbx
call fcn.140193b80
test eax, eax
je 0x1401ad224
xor eax, eax
test edi, edi
jle 0x1401ad21d
nop dword [rax + rax]
movzx ecx, byte [rsi]
lea rsi, [rsi + 1]
dec edi
movzx edx, byte [rcx + r12]
lea ecx, [rax*8]
xor edx, ecx
xor eax, edx
test edi, edi
jg 0x1401ad200
xor edx, edx
div dword [rbx]
mov r15d, edx
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x1401ad244
mov edx, r15d
mov r8, r14
shl rdx, 4
mov rcx, rbx
add rdx, rax
call fcn.14018a310
jmp 0x1401ad264
mov rax, qword [rbx + 8]
mov qword [r14], rax
mov rax, qword [rbx + 8]
test rax, rax
je 0x1401ad258
mov qword [rax + 8], r14
mov qword [r14 + 8], 0
mov qword [rbx + 8], r14
xor eax, eax
mov r14, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r12
pop rdi
ret
Function at 0x1401d0640
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rbx, qword [rdx]
lea rbp, [0x140000000]
mov r14, rdx
mov rsi, rcx
xor edi, edi
nop dword [rax]
test rbx, rbx
je 0x1401d0706
cmp byte [rbx], 0
mov rcx, rbx
je 0x1401d0689
inc rcx
cmp byte [rcx], 0
jne 0x1401d0681
sub ecx, ebx
and ecx, 0x3fffffff
cmp qword [rsi + 0x2a0], 0
je 0x1401d06e0
xor eax, eax
mov r9d, ecx
mov r10, rbx
test ecx, ecx
jle 0x1401d06d6
nop word [rax + rax]
movzx edx, byte [r10]
lea r10, [r10 + 1]
dec r9d
movzx r8d, byte [rdx + rbp + 0x253630]
lea edx, [rax*8]
xor r8d, edx
xor eax, r8d
test r9d, r9d
jg 0x1401d06b0
xor edx, edx
div dword [rsi + 0x290]
jmp 0x1401d06e2
xor edx, edx
mov r9d, edx
mov r8d, ecx
mov rdx, rbx
lea rcx, [rsi + 0x290]
call fcn.140184290
test rax, rax
je 0x1401d0702
mov rdx, qword [rax + 0x10]
jmp 0x1401d070a
xor edx, edx
jmp 0x1401d070a
mov rdx, qword [rsi + 0x38]
test rdx, rdx
je 0x1401d0723
movzx eax, byte [rdi + rbp + 0x2538f4]
dec eax
cdqe
lea rcx, [rax + rax*4]
lea rdx, [rdx + rcx*8]
cmp qword [rdx + 0x18], 0
jne 0x1401d073e
inc rdi
cmp rdi, 3
jl 0x1401d0670
mov eax, 1
jmp 0x1401d0758
movups xmm0, xmmword [rdx]
xor eax, eax
movups xmmword [r14], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [r14 + 0x10], xmm1
mov qword [r14 + 0x20], 0
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 0x14002374c
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14002353b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002353b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002353b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002353b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002353b
cmp dword [rcx + 0x84], 0xe
jbe 0x14002353b
cmp dword [rcx + 0xf8], 0
je 0x14002353b
mov ecx, ebx
call fcn.14002366c
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.1400232c0
cmp dword [rbp + 0x20], 0
je 0x140023588
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140023590
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400234d4
Function at 0x140007660
Capabilities:
Read file on windows

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x30
mov eax, dword [0x140012198]
xor r14d, r14d
neg eax
mov qword [rsp + 0x58], r14
mov eax, r14d
mov rdi, rcx
sbb edx, edx
and edx, 2
cmp dword [0x140012194], eax
setne al
or edx, eax
cmp dword [0x14001218c], r14d
je 0x1400076a7
lea r9, [rsp + 0x58]
xor r8d, r8d
call sub.gio_2.0_0.dll_g_file_create
jmp 0x1400076e4
cmp dword [0x140012190], r14d
je 0x1400076bf
lea r9, [rsp + 0x58]
xor r8d, r8d
call sub.gio_2.0_0.dll_g_file_append_to
jmp 0x1400076e4
mov r8d, dword [0x140012188]
lea rax, [rsp + 0x58]
mov r9d, edx
mov qword [rsp + 0x28], rax
mov rdx, qword [0x140012180]
mov qword [rsp + 0x20], r14
call sub.gio_2.0_0.dll_g_file_replace
mov rbx, rax
test rax, rax
jne 0x140007712
mov rdx, qword [rsp + 0x58]
mov rcx, rdi
mov rdx, qword [rdx + 8]
call fcn.1400018b0
mov rcx, qword [rsp + 0x58]
call sub.glib_2.0_0.dll_g_error_free
xor eax, eax
add rsp, 0x30
pop r14
pop rdi
pop rbx
ret
mov qword [rsp + 0x50], rbp
mov ecx, 0x3fff0
mov qword [rsp + 0x60], rsi
call sub.glib_2.0_0.dll_g_malloc
mov rsi, rax
mov ebp, 1
nop
mov r8d, 0x3fff0
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
movsxd rcx, eax
test eax, eax
jle 0x14000778d
lea rax, [rsp + 0x58]
mov r8, rcx
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov rdx, rsi
mov qword [rsp + 0x20], r14
mov rcx, rbx
call sub.gio_2.0_0.dll_g_output_stream_write_all
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x140007730
mov rdx, qword [rdx + 8]
mov rcx, rdi
mov ebp, r14d
call fcn.1400018b0
lea rcx, [rsp + 0x58]
call sub.glib_2.0_0.dll_g_clear_error
jmp 0x1400077b4
js 0x140007795
test eax, eax
jne 0x140007730
jmp 0x1400077b4
lea rcx, str.Error_reading_from_standard_input
mov ebp, r14d
call qword [sym.imp.intl.dll_g_libintl_gettext]
mov rdx, rax
lea rcx, [0x14000a8d4]
call fcn.140001860
lea r8, [rsp + 0x58]
xor edx, edx
mov rcx, rbx
call sub.gio_2.0_0.dll_g_output_stream_close
test eax, eax
jne 0x1400077e7
mov rdx, qword [rsp + 0x58]
mov rcx, rdi
mov ebp, r14d
mov rdx, qword [rdx + 8]
call fcn.1400018b0
mov rcx, qword [rsp + 0x58]
call sub.glib_2.0_0.dll_g_error_free
jmp 0x14000782e
cmp dword [0x14001219c], r14d
je 0x14000782e
mov rcx, rbx
call sub.gio_2.0_0.dll_g_file_output_stream_get_etag
mov rdi, rax
test rax, rax
je 0x140007811
mov rdx, rax
lea rcx, str.Etag:__s_n
call sub.glib_2.0_0.dll_g_print
jmp 0x140007826
lea rcx, str.Etag_not_available_n
call qword [sym.imp.intl.dll_g_libintl_gettext]
mov rcx, rax
call sub.glib_2.0_0.dll_g_print
mov rcx, rdi
call sub.glib_2.0_0.dll_g_free
mov rcx, rbx
call sub.gobject_2.0_0.dll_g_object_unref
mov rcx, rsi
call sub.glib_2.0_0.dll_g_free
mov rsi, qword [rsp + 0x60]
mov eax, ebp
mov rbp, qword [rsp + 0x50]
add rsp, 0x30
pop r14
pop rdi
pop rbx
ret