joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140085920
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x140126e40]
mov ecx, dword [0x14011d780]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140085986
lea rcx, [0x140126e38]
xor edx, edx
call fcn.14007a3f0
mov eax, dword [0x140126e50]
mov ecx, dword [0x14011d780]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400859c2
lea rcx, [0x140126e48]
xor edx, edx
add rsp, 0x28
jmp fcn.14007a3f0
lea rcx, [0x140126e40]
call fcn.140086270
cmp dword [0x140126e40], 0xffffffff
jne 0x140085945
mov qword [0x140126e38], 0
lea rcx, [0x140126e38]
xor edx, edx
call fcn.140053bc0
lea rcx, [0x140126e40]
call fcn.140086308
jmp 0x140085945
lea rcx, [0x140126e50]
call fcn.140086270
cmp dword [0x140126e50], 0xffffffff
jne 0x140085974
mov qword [0x140126e48], 0
lea rcx, [0x140126e48]
xor edx, edx
call fcn.140053bc0
lea rcx, [0x140126e50]
call fcn.140086308
jmp 0x140085974

Function at 0x140085b20
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, qword [0x140126e58]
cmp rsi, 1
jbe 0x140085b43
mov rcx, rsi
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14007a3f0
lea rcx, [0x140126e58]
call fcn.140037b40
test al, al
je 0x140085b89
mov qword [0x140126e60], 0
lea rdi, [0x140126e58]
lea rsi, [0x140126e60]
mov rcx, rsi
xor edx, edx
call fcn.140053bc0
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9, rdi
call fcn.140037be0
jmp 0x140085b33
mov rsi, qword [0x140126e58]
jmp 0x140085b33

Function at 0x140085ba0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov eax, dword [0x140126e70]
mov ecx, dword [0x14011d780]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140085bdd
lea rcx, [0x140126e68]
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp fcn.14007a3f0
lea rcx, [0x140126e70]
call fcn.140086270
cmp dword [0x140126e70], 0xffffffff
jne 0x140085bc9
mov qword [0x140126e68], 0
lea rcx, [0x140126e68]
xor edx, edx
call fcn.140053bc0
lea rcx, [0x140126e70]
call fcn.140086308
jmp 0x140085bc9

Function at 0x1400999c4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140099b18
Function at 0x14009cb60
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x240
mov rax, qword [0x140114038]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rdx, [0x1400ee978]
mov rbp, rcx
call fcn.1400ae8e4
xor edi, edi
test rax, rax
je 0x14009cc46
mov ebx, edi
call fcn.14009c7f8
mov r14d, dword [rax]
call fcn.14009c7f8
mov r8d, 0x104
lea rcx, [rsp + 0x20]
mov rdx, rbp
mov dword [rax], edi
call fcn.1400a1118
mov rsi, rax
test rax, rax
je 0x14009cbd7
call fcn.14009c7f8
mov dword [rax], r14d
jmp 0x14009cc01
call fcn.14009c7f8
cmp dword [rax], 0x22
jne 0x14009cc3e
call fcn.14009c7f8
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.1400a1118
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x14009cc3e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x14009cc05
cmp rax, 3
je 0x14009cc20
mov rcx, rsi
call fcn.14009cabc
test al, al
je 0x14009cc31
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x14009cc31
mov dil, 1
mov rcx, rbx
call fcn.14006e0a0
mov al, dil
jmp 0x14009cc48
mov rcx, rbx
call fcn.14006e0a0
xor al, al
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140087640
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14009e6dc
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x14011e610]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x14009e73a
cmp word [rdx], r12w
jne 0x14009e73a
or byte [rax + r8*8 + 0x38], cl
jmp 0x14009e740
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x14009e89b
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x14009e876
lea r9, [rcx + 2]
cmp ax, r13w
je 0x14009e779
mov rcx, r9
jmp 0x14009e79c
cmp r9, rdx
jae 0x14009e7b3
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x14009e75d
jmp 0x14009e89b
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14009e870
cmp dword [rsp + 0x80], edi
je 0x14009e870
mov rdx, r14
lea r11, [0x14011e610]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x14009e849
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x14009e81c
mov word [rbx], r12w
jmp 0x14009e897
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x14009e825
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x14009e897
cmp word [rsp + 0x70], r12w
jne 0x14009e856
cmp rbx, rsi
je 0x14009e816
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.1400ad4d0
cmp word [rsp + 0x70], r12w
je 0x14009e89b
mov word [rbx], r13w
jmp 0x14009e897
lea r11, [0x14011e610]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x14009e893
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x14009e89b
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400b10ac
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 0x1400b10dc
xor eax, eax
jmp 0x1400b119f
mov rbp, rbx
cmp word [rax], si
je 0x1400b1101
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400b10e8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400b10e4
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.1400b0ffc
movsxd r14, eax
test eax, eax
jne 0x1400b113f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400b10d5
mov rcx, r14
call fcn.14003cba0
mov rdi, rax
test rax, rax
jne 0x1400b1158
xor ecx, ecx
call fcn.14006e0a0
jmp 0x1400b1134
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.1400b0ffc
test eax, eax
jne 0x1400b1189
mov rcx, rdi
call fcn.14006e0a0
jmp 0x1400b1193
xor ecx, ecx
call fcn.14006e0a0
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 0x1400b11bc
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400b1243
mov rsi, rbx
cmp word [rax], bp
je 0x1400b1202
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400b11ec
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400b11e8
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14003cba0
mov rdi, rax
test rax, rax
je 0x1400b1230
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400890c0
mov rbp, rdi
xor ecx, ecx
call fcn.14006e0a0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400b7dbc
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.14009404c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400b7e46
cmp byte [rbp - 0x21], r15b
je 0x1400b7e41
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400b7e7c
call fcn.1400aa484
test eax, eax
jne 0x1400b7e68
cmp byte [rbp - 0x21], r15b
je 0x1400b7e60
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400b7e7c
cmp byte [rbp - 0x21], r15b
je 0x1400b7e79
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.140099628
test eax, eax
jne 0x1400b7f1c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14009404c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400b7ebb
cmp byte [rbp - 0x21], r15b
je 0x1400b7ef0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400b7ef0
call fcn.1400aa484
test eax, eax
jne 0x1400b7edc
cmp byte [rbp - 0x21], r15b
je 0x1400b7ed5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400b7ef0
cmp byte [rbp - 0x21], r15b
je 0x1400b7eed
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.140099628
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400b7f1c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400b7f1f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400b7f2d
mov rcx, rdi
call fcn.14006e0a0
cmp byte [rbp + 0x3f], r15b
je 0x1400b7f3c
mov rcx, qword [rbp + 0x27]
call fcn.14006e0a0
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 0x1400bd2c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
xor edx, edx
jmp 0x1400bd3f0
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov r15d, edx
mov rsi, rcx
mov rax, qword [0x140114038]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp byte [rcx + 0x60], 0
je 0x1400bd44e
mov edi, dword [rsi + 0x5c]
test r15b, r15b
je 0x1400bd42e
mov dword [rsi + 0x5c], 0xffffffff
mov byte [rsi + 0x60], 0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140087640
mov eax, edi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movabs r14, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x58], r14
mov eax, dword [rsi + 0x58]
cmp eax, 2
mov edi, 1
cmovge edi, eax
xor ebp, ebp
mov rcx, qword [rsi + 0x40]
call fcn.1400a376c
cmp eax, 0xffffffff
je 0x1400bd4cc
mov byte [rsp + rbp + 0x58], al
inc rbp
cmp rdi, rbp
jne 0x1400bd46d
mov byte [rsp + 0x57], 0xaa
cmp byte [rsi + 0x61], 0
je 0x1400bd4d6
mov al, byte [rsp + 0x58]
mov byte [rsp + 0x57], al
test r15b, r15b
je 0x1400bd4a9
movzx edi, byte [rsp + 0x57]
mov dword [rsi + 0x5c], edi
jmp 0x1400bd42e
mov edi, edi
test rdi, rdi
jle 0x1400bd588
mov rdx, qword [rsi + 0x40]
dec rdi
mov eax, edi
movzx ecx, byte [rsp + rax + 0x58]
call fcn.1400a54d4
cmp eax, 0xffffffff
jne 0x1400bd4ab
mov edi, 0xffffffff
jmp 0x1400bd42e
lea rax, [rsp + 0x48]
mov qword [rax], r14
lea r12, [rsp + 0x40]
mov qword [r12], r14
mov rcx, qword [rsi + 0x48]
mov rdx, qword [rsi + 0x50]
mov r13d, dword [rdx]
movzx ebp, word [rdx + 4]
movzx r14d, word [rdx + 6]
lea r9, [rsp + rdi + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x38], r12
lea rbx, [rsp + 0x58]
mov qword [rsp + 0x30], rbx
lea rbx, [rsp + 0x57]
mov qword [rsp + 0x28], rbx
lea rbx, [rsp + 0x48]
mov qword [rsp + 0x20], rbx
lea r8, [rsp + 0x58]
call qword [0x140130008]
cmp eax, 1
jne 0x1400bd571
mov rax, qword [rsi + 0x50]
mov dword [rax], r13d
mov word [rax + 4], bp
mov word [rax + 6], r14w
cmp edi, 8
je 0x1400bd4cc
mov rcx, qword [rsi + 0x40]
call fcn.1400a376c
cmp eax, 0xffffffff
je 0x1400bd4cc
mov byte [rsp + rdi + 0x58], al
inc rdi
jmp 0x1400bd4e7
cmp eax, 2
je 0x1400bd4cc
cmp eax, 3
je 0x1400bd492
jmp 0x1400bd49a
movzx edi, byte [rsp + 0x57]
jmp 0x1400bd42e
Function at 0x1400bd5d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
xor edx, edx
jmp 0x1400bd700
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov r15d, edx
mov rsi, rcx
mov rax, qword [0x140114038]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp byte [rcx + 0x5e], 0
je 0x1400bd75e
movzx edi, word [rsi + 0x5c]
test r15b, r15b
je 0x1400bd73e
mov word [rsi + 0x5c], 0xffff
mov byte [rsi + 0x5e], 0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140087640
mov eax, edi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movabs r14, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x58], r14
mov eax, dword [rsi + 0x58]
cmp eax, 2
mov edi, 1
cmovge edi, eax
xor ebp, ebp
mov rcx, qword [rsi + 0x40]
call fcn.1400a376c
cmp eax, 0xffffffff
je 0x1400bd7e4
mov byte [rsp + rbp + 0x58], al
inc rbp
cmp rdi, rbp
jne 0x1400bd77d
mov word [rsp + 0x56], 0xaaaa
cmp byte [rsi + 0x5f], 0
je 0x1400bd7ed
movsx eax, byte [rsp + 0x58]
mov word [rsp + 0x56], ax
test r15b, r15b
je 0x1400bd7be
movzx edi, word [rsp + 0x56]
mov word [rsi + 0x5c], di
jmp 0x1400bd73e
mov edi, edi
test rdi, rdi
jle 0x1400bd89f
mov rdx, qword [rsi + 0x40]
dec rdi
mov eax, edi
movsx eax, byte [rsp + rax + 0x58]
movzx ecx, ax
call fcn.1400a54d4
cmp eax, 0xffffffff
jne 0x1400bd7c0
mov di, 0xffff
jmp 0x1400bd73e
lea rax, [rsp + 0x48]
mov qword [rax], r14
lea r12, [rsp + 0x40]
mov qword [r12], r14
mov rcx, qword [rsi + 0x48]
mov rdx, qword [rsi + 0x50]
mov r13d, dword [rdx]
movzx ebp, word [rdx + 4]
movzx r14d, word [rdx + 6]
lea r9, [rsp + rdi + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x38], r12
lea rbx, [rsp + 0x58]
mov qword [rsp + 0x30], rbx
lea rbx, [rsp + 0x56]
mov qword [rsp + 0x28], rbx
lea rbx, [rsp + 0x48]
mov qword [rsp + 0x20], rbx
lea r8, [rsp + 0x58]
call qword [0x140130008]
cmp eax, 1
jne 0x1400bd888
mov rax, qword [rsi + 0x50]
mov dword [rax], r13d
mov word [rax + 4], bp
mov word [rax + 6], r14w
cmp edi, 8
je 0x1400bd7e4
mov rcx, qword [rsi + 0x40]
call fcn.1400a376c
cmp eax, 0xffffffff
je 0x1400bd7e4
mov byte [rsp + rdi + 0x58], al
inc rdi
jmp 0x1400bd7fe
cmp eax, 2
je 0x1400bd7e4
cmp eax, 3
je 0x1400bd7a4
jmp 0x1400bd7ae
movzx edi, word [rsp + 0x56]
jmp 0x1400bd73e

Function at 0x1400bde00
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp rdx, r8
je 0x1400bde37
movabs r9, 0xf000000000000000
shl rax, 4
movsx r10, byte [rdx]
add r10, rax
mov rcx, r10
and rcx, r9
mov rax, rcx
shr rax, 0x38
or rax, rcx
xor rax, r10
inc rdx
cmp rdx, r8
jne 0x1400bde11
ret

Function at 0x1400bde80
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp rdx, r8
je 0x1400bdeb8
movabs r9, 0xf000000000000000
shl rax, 4
movzx r10d, word [rdx]
add r10, rax
mov rcx, r10
and rcx, r9
mov rax, rcx
shr rax, 0x38
or rax, rcx
xor rax, r10
add rdx, 2
cmp rdx, r8
jne 0x1400bde91
ret
Function at 0x1400c45a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov r12, r8
mov r14, rdx
mov bl, byte [rbp + 0x68]
test byte [r9 + 8], 1
jne 0x1400c4600
movzx edx, word [rbp + 0x60]
movzx ebx, bl
mov rax, qword [rcx]
mov rax, qword [rax + 0x30]
mov dword [rsp + 0x28], ebx
mov word [rsp + 0x20], dx
mov rdx, r14
mov r8, r12
call qword [0x140130008]
mov rax, r14
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea rsi, [rbp - 0x20]
mov rcx, r9
mov rdx, rsi
call fcn.140065cc0
lea rdx, [0x140120e00]
mov rcx, rsi
call fcn.1400664d0
mov rsi, rax
mov rcx, qword [rbp - 0x20]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
test eax, eax
jne 0x1400c4640
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140130008]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r15, [rbp - 0x20]
mov qword [r15 + 0x10], rax
movaps xmm0, xmmword [0x1400faa70]
movaps xmmword [r15], xmm0
mov rax, qword [rsi]
xor bl, 1
movzx ecx, bl
mov rax, qword [rax + rcx*8 + 0x28]
mov rcx, rsi
mov rdx, r15
call qword [0x140130008]
movzx esi, byte [r15 + 0x17]
test sil, sil
mov rcx, qword [r15]
mov rdx, qword [r15 + 8]
mov rax, rsi
cmovs rax, rdx
test rax, rax
je 0x1400c470f
test sil, sil
mov rbx, rcx
cmovns rbx, r15
test r12, r12
je 0x1400c46f2
movzx eax, word [rbx]
mov rcx, qword [r12 + 0x30]
cmp rcx, qword [r12 + 0x38]
je 0x1400c46f7
lea rdx, [rcx + 2]
mov qword [r12 + 0x30], rdx
mov word [rcx], ax
cmp ax, 0xffff
jne 0x1400c46c5
xor r12d, r12d
mov sil, byte [rbp - 9]
mov rcx, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
add rbx, 2
test sil, sil
mov rax, r15
cmovs rax, rcx
movzx edi, sil
cmovs rdi, rdx
lea rax, [rax + rdi*2]
cmp rbx, rax
jne 0x1400c469c
jmp 0x1400c470f
xor r12d, r12d
jmp 0x1400c46d1
mov rcx, qword [r12]
mov rsi, qword [rcx + 0x60]
mov rcx, r12
mov edx, eax
mov rax, rsi
call qword [0x140130008]
jmp 0x1400c46bc
shr sil, 7
mov qword [r14], r12
test sil, sil
je 0x1400c45ee
call fcn.140086158
jmp 0x1400c45ee
Function at 0x1400d4750
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x250
mov rax, qword [0x140114038]
xor rax, rsp
mov qword [rsp + 0x248], rax
mov sil, 1
cmp qword [0x140121bf8], 0
je 0x1400d4796
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.140087640
mov eax, esi
add rsp, 0x250
pop rbx
pop rdi
pop rsi
ret
mov rdi, qword [0x140121bd8]
test rdi, rdi
je 0x1400d4837
test byte [0x14011c068], 1
je 0x1400d4779
cmp byte [rdi + 0x17], 0
jns 0x1400d47b8
mov rdi, qword [rdi]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov rcx, rdi
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x140121bf8], rax
inc rax
cmp rax, 1
ja 0x1400d4779
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140089770
mov word [rdi], 0
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jae 0x1400d48f8
xor esi, esi
jmp 0x1400d4779
mov ecx, 0x18
call fcn.14008611c
mov rdi, rax
lea rbx, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.140089770
xor ecx, ecx
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movaps xmm0, xmmword [0x1400faa70]
movups xmmword [rdi], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rdi + 0x10], rax
mov rcx, rdi
mov rdx, rbx
call fcn.140032130
movzx r8d, byte [rdi + 0x17]
test r8b, r8b
jns 0x1400d489b
mov r8, qword [rdi + 8]
mov rcx, rdi
mov dx, 0x5c
call fcn.140067f90
cmp rax, 0xffffffffffffffff
je 0x1400d48dd
movzx ecx, byte [rdi + 0x17]
mov rdx, rcx
test cl, cl
jns 0x1400d48bc
mov rdx, qword [rdi + 8]
cmp rdx, rax
jbe 0x1400d49c6
mov rdx, rax
inc rdx
test cl, cl
js 0x1400d49a7
mov word [rdi + rax*2 + 2], 0
mov byte [rdi + 0x17], dl
lea rdx, [0x1400fdc8c]
mov rcx, rdi
call fcn.1400336c0
mov qword [0x140121bd8], rdi
jmp 0x1400d47a6
mov rcx, qword [0x140121bd8]
lea rdx, [rsp + 0x40]
call fcn.140033160
mov rcx, qword [0x140121bd8]
movzx eax, byte [rcx + 0x17]
test al, al
js 0x1400d49ba
mov rdx, rcx
cmp word [rdx + rax*2 - 2], 0x5c
je 0x1400d493a
lea rdx, [0x1400fdc88]
call fcn.1400336c0
mov rcx, qword [0x140121bd8]
lea rdx, [0x1400fdc8c]
call fcn.1400336c0
mov rcx, qword [0x140121bd8]
cmp byte [rcx + 0x17], 0
jns 0x1400d4956
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x140121bf8], rax
inc rax
cmp rax, 1
ja 0x1400d4779
mov qword [0x140121bf8], 0
jmp 0x1400d4830
mov rcx, qword [rdi]
mov word [rcx + rax*2 + 2], 0
mov qword [rdi + 8], rdx
jmp 0x1400d48dd
mov rdx, qword [rcx]
mov rax, qword [rcx + 8]
jmp 0x1400d491f
mov rcx, rdi
call fcn.1400d2c80
int3
Function at 0x1400d5cd0
Capabilities:
Encode data using base64

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov r14, rcx
mov edi, 2
cmp rdx, 1
jne 0x1400d5d0a
mov rsi, qword [r14 + 8]
cmp rdi, rsi
ja 0x1400d5e05
jae 0x1400d5dfb
mov rax, qword [r14 + 0x18]
test rax, rax
js 0x1400d5d25
cvtsi2ss xmm0, rax
jmp 0x1400d5d3a
lea rax, [rdx - 1]
test rdx, rax
jne 0x1400d5d18
mov rdi, rdx
jmp 0x1400d5ce7
mov rcx, rdx
call fcn.140065430
mov rdi, rax
jmp 0x1400d5ce7
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [r14 + 0x20]
call fcn.1400b8bf0
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x1400fb4a0]
cvttss2si rax, xmm0
sar rdx, 0x3f
and rax, rdx
or rax, rcx
cmp rsi, 3
jb 0x1400d5de7
mov rcx, rsi
shr rcx, 1
movabs rdx, 0x5555555555555555
and rdx, rcx
mov rbx, rsi
sub rbx, rdx
movabs rdx, 0x3333333333333333
mov rcx, rbx
shr rcx, 2
and rbx, rdx
and rcx, rdx
add rcx, rbx
mov rdx, rcx
shr rdx, 4
add rdx, rcx
movabs rcx, 0xf0f0f0f0f0f0f0f
and rcx, rdx
movabs rdx, 0x101010101010101
imul rdx, rcx
shr rdx, 0x38
cmp edx, 1
ja 0x1400d5de7
cmp rax, 2
jb 0x1400d5def
dec rax
bsr rcx, rax
xor ecx, 0x3f
neg cl
mov eax, 1
shl rax, cl
jmp 0x1400d5def
mov rcx, rax
call fcn.140065430
cmp rdi, rax
cmovbe rdi, rax
cmp rdi, rsi
jb 0x1400d5e05
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, r14
mov rdx, rdi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp 0x1400bc860

Function at 0x1400d6c20
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0x17], 0
jns 0x1400d6c2d
mov rcx, qword [rcx]
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
setne al
add rsp, 0x28
ret
Function at 0x1400d7270
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x140114038]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rax, qword [0x1401244d8]
test rax, rax
je 0x1400d7375
cmp eax, 2
jne 0x1400d72ec
mov ecx, 2
call fcn.140069cb0
test al, al
je 0x1400d7345
lea rdx, str..._.._third_party_crashpad_crashpad_client_crashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x87
mov r9d, 2
call fcn.140037c10
lea rcx, [rsp + 0x38]
lea rdx, str.crash_server_failed_to_launch__self_terminating
mov r8d, 0x2f
jmp 0x1400d73c6
mov eax, 1
lock xadd qword [0x140124510], rax
test rax, rax
jle 0x1400d730c
mov ecx, 0xffffffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x140124490], eax
mov qword [0x140124488], rsi
mov rcx, qword [0x14011c380]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 2
call fcn.140069cb0
test al, al
jne 0x1400d7394
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xffff7001
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140087640
xor eax, eax
add rsp, 0x168
pop rdi
pop rsi
ret
mov rdi, qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call rdi
mov rax, qword [0x1401244d8]
test rax, rax
je 0x1400d737c
jmp 0x1400d729e
lea rdx, str..._.._third_party_crashpad_crashpad_client_crashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0xb3
mov r9d, 2
call fcn.140037c10
lea rcx, [rsp + 0x38]
lea rdx, str.crash_server_did_not_respond__self_terminating
mov r8d, 0x2e
call fcn.1400b97e0
mov rcx, rsi
call fcn.1400380b0
jmp 0x1400d7345