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

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
mov rcx, qword [rcx]
test rcx, rcx
je 0x140066409
cmp rcx, 0xffffffffffffffff
je 0x1400663bd
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, dword [0x1401d5d60]
mov eax, 0xb21642c9
imul r8d, r8d
imul r8d
add edx, r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x17
sub r8d, edx
cmp r8d, 0xb
jne 0x140066402
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov qword [rbx], 0
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x140066420
Capabilities:
Get disk size

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rcx, qword [rcx]
mov rbx, rdx
cmp rdx, rcx
je 0x14006648b
test rcx, rcx
je 0x140066488
cmp rcx, 0xffffffffffffffff
je 0x140066449
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x1401d5d60]
mov eax, 0xb21642c9
imul ecx, ecx
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x17
sub ecx, edx
cmp ecx, 0xb
jne 0x140066488
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov qword [rdi], rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140067520
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
mov ecx, dword [0x1401d5d60]
lea r9d, [rcx + 1]
mov eax, 0x30c30c31
mov esi, r8d
imul r9d, ecx
imul r9d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x15
sub r9d, edx
cmp r9d, 0xd
jne 0x1400675a3
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 4
imul edx, edx, 0x64
sub ecx, edx
add ecx, 0x63
movsxd rcx, ecx
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400d2e28
mov rcx, rax
call fcn.1400d3f08
xor r8d, r8d
test esi, esi
jle 0x1400675fd
mov r9, rbx
sub rdi, rbx
lea r10, str._Baalhanan_the_son_of_Achbor_died__and_Hadar_reigned_in_his_stead:_and_the_name_of_his_city_was_Pau__and_his_wifes_name_was_Mehetabel__the_daughter_of_Matred__the_daughter_of_Mezahab.
nop word [rax + rax]
mov eax, 0xb21642c9
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, r8d
inc r8d
imul edx, edx, 0xb8
sub eax, edx
movsxd rcx, eax
movzx eax, byte [rcx + r10]
xor al, byte [rdi + r9 - 1]
mov byte [r9 - 1], al
cmp r8d, esi
jl 0x1400675c0
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14006dce0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x490
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x1401cde90]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r15, r9
mov rsi, r8
mov rbx, rdx
xor r14d, r14d
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x70], r14
xor edx, edx
lea r8d, [r14 + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14006dd6e
xor edx, edx
lea r8d, [r14 + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14006dd6e
call fcn.140004510
mov ebx, eax
jmp 0x14006de93
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x14006dd8f
call fcn.140004510
jmp 0x14006de82
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x14006ddb2
call fcn.140004510
jmp 0x14006de82
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x14006ddd4
mov ebx, 0x8007000e
jmp 0x14006de84
mov ecx, eax
test eax, eax
je 0x14006de0c
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x14006de02
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x14006de0c
lea rcx, [rsp + 0x70]
call fcn.140070560
jmp 0x14006de16
mov ecx, 0x80070216
call fcn.140001920
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x14006de29
mov rax, qword [rsp + 0x70]
test rax, rax
jne 0x14006de3a
mov ebx, 0x8007000e
jmp 0x14006de84
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rsi
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x14006de5f
call fcn.140004510
jmp 0x14006de82
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], r14w
mov r8d, dword [rsp + 0x4e0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.14006ecf0
mov ebx, eax
test rdi, rdi
je 0x14006de93
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x14006deaa
lea rcx, [rsp + 0x70]
call fcn.140070550
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.1400d37e0
add rsp, 0x490
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400754f0
Capabilities:
Terminate process

Disassembly:
mov eax, 0x28
call fcn.1400d8890
sub rsp, rax
lea r8, [0x14019bd08]
lea edx, [rax - 0x27]
lea ecx, [rax - 0x23]
mov r9d, 0x244
call fcn.14007bf20
cmp dword [0x14019b24c], 0
jne 0x14007553c
mov edx, 1
lea r8, [0x14019bd20]
mov r9d, 0x247
lea ecx, [rdx + 5]
add rsp, 0x28
jmp fcn.14007bf20
mov edx, 1
lea r8, [0x14019bd38]
mov r9d, 0x24b
lea ecx, [rdx + 5]
call fcn.14007bf20
mov edx, 1
lea r8, [0x14019bd50]
lea ecx, [rdx + 8]
mov r9d, 0x24c
call fcn.14007bf20
cmp dword [0x14019b24c], 0
jne 0x140075597
mov edx, 1
lea r8, [0x14019bd68]
mov r9d, 0x24f
lea ecx, [rdx + 9]
add rsp, 0x28
jmp fcn.14007bf20
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x20], rdi
lea rsi, [0x1401d1fc0]
lea rbx, [0x1401d2fa8]
mov edi, 1
lea rbp, [0x14019bd80]
cmp qword [rbx], 0
mov dword [rbx - 8], edi
jne 0x1400755fb
mov ecx, edi
call fcn.1400d8ae4
test rax, rax
je 0x1400755f2
mov r8d, 0x20
mov rdx, rax
mov rcx, rsi
call fcn.1400d8980
mov byte [rsi + 0x1f], 0
mov qword [rbx], rsi
cmp qword [rbx], 0
jne 0x1400755fb
mov qword [rbx], rbp
inc edi
add rbx, 0x10
add rsi, 0x20
cmp edi, 0x7f
jle 0x1400755c5
mov edx, 1
lea r8, [0x14019bd88]
mov r9d, 0x26c
lea ecx, [rdx + 9]
mov dword [0x14019b24c], 0
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
jmp fcn.14007bf20
Function at 0x140078570
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r10, dword [rdx + 8]
lea rbx, [rcx - 1]
movsxd rcx, dword [r8 + 8]
xor rcx, r10
shr rbx, 0x3f
movsxd rsi, r9d
dec rbx
lea eax, [rsi - 1]
mov r11, r8
and rcx, rbx
mov rdi, rdx
xor r10d, ecx
mov dword [rdx + 8], r10d
xor dword [r8 + 8], ecx
cmp eax, 9
ja case.default.0x1400785c7
lea rdx, [0x140000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0x78770]
add rcx, rdx
jmp rcx
mov r9d, 0xa
cmp r9, rsi
jge case.0x1400785c7.10
nop word [rax + rax]
mov rax, qword [r11]
mov r8, qword [rdi]
inc r9
mov rcx, qword [r8 + r9*8 - 8]
mov rdx, qword [rax + r9*8 - 8]
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
mov qword [r8 + r9*8 - 8], rcx
mov rax, qword [r11]
xor qword [rax + r9*8 - 8], rdx
cmp r9, rsi
jl 0x1400785e0
mov rax, qword [r11]
mov r8, qword [rdi]
mov rcx, qword [r8 + 0x48]
mov rdx, qword [rax + 0x48]
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
mov qword [r8 + 0x48], rcx
mov rax, qword [r11]
xor qword [rax + 0x48], rdx
mov rax, qword [r11]
mov r8, qword [rdi]
mov rcx, qword [r8 + 0x40]
mov rdx, qword [rax + 0x40]
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
mov qword [r8 + 0x40], rcx
mov rax, qword [r11]
xor qword [rax + 0x40], rdx
mov rax, qword [r11]
mov r8, qword [rdi]
mov rcx, qword [r8 + 0x38]
mov rdx, qword [rax + 0x38]
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
mov qword [r8 + 0x38], rcx
mov rax, qword [r11]
xor qword [rax + 0x38], rdx
mov rax, qword [r11]
mov r8, qword [rdi]
mov rcx, qword [r8 + 0x30]
mov rdx, qword [rax + 0x30]
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
mov qword [r8 + 0x30], rcx
mov rax, qword [r11]
xor qword [rax + 0x30], rdx
mov rax, qword [r11]
mov r8, qword [rdi]
mov rcx, qword [r8 + 0x28]
mov rdx, qword [rax + 0x28]
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
mov qword [r8 + 0x28], rcx
mov rax, qword [r11]
xor qword [rax + 0x28], rdx
mov rax, qword [r11]
mov r8, qword [rdi]
mov rcx, qword [r8 + 0x20]
mov rdx, qword [rax + 0x20]
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
mov qword [r8 + 0x20], rcx
mov rax, qword [r11]
xor qword [rax + 0x20], rdx
mov rax, qword [r11]
mov r8, qword [rdi]
mov rcx, qword [r8 + 0x18]
mov rdx, qword [rax + 0x18]
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
mov qword [r8 + 0x18], rcx
mov rax, qword [r11]
xor qword [rax + 0x18], rdx
mov rax, qword [r11]
mov r8, qword [rdi]
mov rcx, qword [r8 + 0x10]
mov rdx, qword [rax + 0x10]
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
mov qword [r8 + 0x10], rcx
mov rax, qword [r11]
xor qword [rax + 0x10], rdx
mov rax, qword [r11]
mov r8, qword [rdi]
mov rcx, qword [r8 + 8]
mov rdx, qword [rax + 8]
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
mov qword [r8 + 8], rcx
mov rax, qword [r11]
xor qword [rax + 8], rdx
mov r8, qword [rdi]
mov rax, qword [r11]
mov rsi, qword [rsp + 0x10]
mov rdx, qword [r8]
mov rcx, qword [rax]
mov rdi, qword [rsp + 0x18]
xor rcx, rdx
and rcx, rbx
mov rbx, qword [rsp + 8]
xor rdx, rcx
mov qword [r8], rdx
mov rax, qword [r11]
xor qword [rax], rcx
ret
Function at 0x14007b740
Capabilities:
Terminate process

Disassembly:
push rdi
mov eax, 0x20
call fcn.1400d8890
sub rsp, rax
mov edi, ecx
test ecx, ecx
je 0x14007b75c
or eax, 0xffffffff
sub eax, ecx
mov edi, eax
cmp qword [0x1401d3b38], 0
je 0x14007b81b
mov edx, 0x1d
lea r8, [0x14019c960]
mov r9d, 0x131
lea ecx, [rdx - 0x14]
call fcn.14007bf20
mov rcx, qword [0x1401d3b00]
test rcx, rcx
je 0x14007b821
call fcn.14008bcd0
cmp edi, eax
jge 0x14007b821
mov rcx, qword [0x1401d3b00]
mov edx, edi
mov qword [rsp + 0x30], rbx
call fcn.14008bce0
mov rbx, rax
test rax, rax
je 0x14007b7d8
dec dword [rax]
cmp dword [rax], 0
jg 0x14007b7d6
mov rcx, qword [0x1401d3b00]
xor r8d, r8d
mov edx, edi
call fcn.14008bd00
jmp 0x14007b7d8
xor ebx, ebx
mov edx, 0x1d
lea r8, [0x14019c990]
mov r9d, 0x14b
lea ecx, [rdx - 0x13]
call fcn.14007bf20
test rbx, rbx
je 0x14007b816
mov rcx, qword [rbx + 8]
lea rdx, [0x14019c9a8]
mov r8d, 0x14f
call qword [0x1401d3b38]
mov rcx, rbx
call fcn.14007d3f0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 0x1d
lea r8, [0x14019c978]
mov r9d, 0x135
lea ecx, [rdx - 0x13]
add rsp, 0x20
pop rdi
jmp fcn.14007bf20
Function at 0x14007bef0
Capabilities:
Encode data using xor

Disassembly:
xor r9b, r9b
test r8, r8
je 0x14007bf13
sub rdx, rcx
nop dword [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
xor al, byte [rcx - 1]
or r9b, al
sub r8, 1
jne 0x14007bf00
movzx eax, r9b
ret

Function at 0x14007bf20
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x20
call fcn.1400d8890
sub rsp, rax
mov edi, r9d
mov rsi, r8
mov ebx, edx
mov ebp, ecx
test edx, edx
jns 0x14007bfb0
cmp qword [0x1401d3b30], 0
je 0x14007bfbe
mov ecx, edx
call fcn.14007b840
test rax, rax
je 0x14007bf7b
mov r9d, edi
mov r8, rsi
mov rdx, rax
mov ecx, ebp
call qword [0x1401d3b30]
mov ecx, ebx
call fcn.14007b740
jmp 0x14007bfbe
lea r9, str.pointer___NULL
lea rdx, str..cryptocryptlib.c
lea rcx, str._s__d_:_OpenSSL_internal_error__assertion_failed:__s_n
mov r8d, 0x253
call fcn.14007bbe0
mov ecx, 0x16
call fcn.1400d99e8
mov ecx, 3
call fcn.1400d96a0
int3
mov rax, qword [0x1401d3b08]
test rax, rax
je 0x14007bfbe
call rax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14007cc60
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov r9, rcx
test rcx, rcx
je 0x14007ccb7
movzx eax, byte [rcx]
test al, al
je 0x14007ccb7
mov r10d, 0x100
nop dword [rax + rax]
movsx edx, al
inc r9
or edx, r10d
add r10d, 0x100
mov eax, edx
shr eax, 2
xor eax, edx
and eax, 0xf
movzx ecx, al
mov al, byte [r9]
imul edx, edx
rol r8d, cl
xor r8d, edx
test al, al
jne 0x14007cc80
mov eax, r8d
shr eax, 0x10
xor eax, r8d
ret
xor eax, eax
ret

Function at 0x1400801b0
Capabilities:
Terminate process

Disassembly:
mov eax, 0x28
call fcn.1400d8890
sub rsp, rax
lea r8, [0x14019d4d0]
lea edx, [rax - 0x26]
lea ecx, [rax - 0x1f]
mov r9d, 0xcb
call fcn.14007bf20
mov rax, qword [0x1401d3bc8]
mov edx, 2
test rax, rax
lea r11, [0x14019d4a0]
lea r8, [0x14019d4e8]
cmovne r11, rax
lea ecx, [rdx + 8]
mov r9d, 0xce
mov qword [0x1401d3bc8], r11
add rsp, 0x28
jmp fcn.14007bf20
Function at 0x14008e620
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push r12
push r13
mov eax, 0x68
call fcn.1400d8890
sub rsp, rax
mov rax, qword [0x1401cde90]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r12, qword [rsp + 0xb0]
lea edi, [rdx - 1]
mov esi, r9d
lea eax, [rdi - 0x29]
mov r13, r8
cmp r9d, eax
jle 0x14008e683
mov edx, 0x79
lea r9, [0x1401b1d78]
mov dword [rsp + 0x20], 0x2d
lea ecx, [rdx - 0x75]
lea r8d, [rdx - 0xb]
call fcn.140075dc0
xor eax, eax
jmp 0x14008e85d
cmp edi, 0x29
jge 0x14008e6af
mov edx, 0x79
lea r9, [0x1401b1d90]
mov dword [rsp + 0x20], 0x33
lea ecx, [rdx - 0x75]
lea r8d, [rdx - 1]
call fcn.140075dc0
xor eax, eax
jmp 0x14008e85d
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rbp
mov byte [rcx], 0
lea rbp, [rcx + 0x15]
lea rbx, [rcx + 1]
call fcn.140099000
movsxd rdx, dword [rsp + 0xb8]
xor r9d, r9d
mov r8, rbp
mov rcx, r12
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
call fcn.14009fd80
test eax, eax
je 0x14008e776
mov eax, edi
lea rcx, [rbp + 0x14]
xor edx, edx
sub eax, esi
sub eax, 0x29
movsxd r8, eax
call fcn.1400d8c20
movsxd r11, esi
movsxd rax, edi
sub rax, r11
mov r8, rsi
mov rdx, r13
lea rcx, [rax + rbp - 0x14]
mov byte [rax + rbp - 0x15], 1
call fcn.1400d3810
mov edx, 0x14
mov rcx, rbx
call fcn.14007c170
test eax, eax
jle 0x14008e776
add edi, 0xffffffec
lea rdx, [0x1401b1da8]
mov r8d, 0x49
mov ecx, edi
call fcn.14007d160
mov rsi, rax
test rax, rax
jne 0x14008e77d
lea r9, [0x1401b1dc0]
lea edx, [rax + 0x79]
lea ecx, [rax + 4]
lea r8d, [rax + 0x41]
mov dword [rsp + 0x20], 0x4c
call fcn.140075dc0
xor eax, eax
jmp 0x14008e853
mov r9d, 0x14
mov r8, rbx
mov edx, edi
mov rcx, rax
call fcn.14008e5c0
test eax, eax
js 0x14008e776
test edi, edi
jle 0x14008e7c1
mov r11, rsi
mov rcx, rbp
mov r10d, edi
sub r11, rbp
nop word [rax + rax]
movzx eax, byte [r11 + rcx]
inc rcx
xor byte [rcx - 1], al
sub r10, 1
jne 0x14008e7b0
call fcn.140099000
lea rcx, [rsp + 0x30]
mov r9d, edi
mov r8, rbp
mov edx, 0x14
mov qword [rsp + 0x20], rax
call fcn.14008e440
test eax, eax
js 0x14008e776
lea rdx, [rsp + 0x30]
lea r8, [rsp + 0x31]
lea r9, [rsp + 0x32]
lea r10, [rsp + 0x33]
lea r11, [rsp + 0x34]
sub rdx, rbx
sub r8, rbx
sub r9, rbx
sub r10, rbx
sub r11, rbx
mov ecx, 4
movzx eax, byte [rdx + rbx]
add rbx, 5
xor byte [rbx - 5], al
movzx eax, byte [r8 + rbx - 5]
xor byte [rbx - 4], al
movzx eax, byte [r9 + rbx - 5]
xor byte [rbx - 3], al
movzx eax, byte [r10 + rbx - 5]
xor byte [rbx - 2], al
movzx eax, byte [r11 + rbx - 5]
xor byte [rbx - 1], al
sub rcx, 1
jne 0x14008e811
mov rcx, rsi
call fcn.14007d3f0
mov eax, 1
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400d37e0
add rsp, 0x68
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x14008ec10
Capabilities:
Check for software breakpoints

Disassembly:
mov eax, 0x38
call fcn.1400d8890
sub rsp, rax
mov r10, rcx
cmp dword [rsp + 0x60], r9d
jne 0x14008ecfd
movzx eax, byte [r8]
cmp al, 0x6a
je 0x14008ec3b
cmp al, 0x6b
jne 0x14008ecfd
mov qword [rsp + 0x30], rbx
lea rdx, [r8 + 1]
cmp al, 0x6b
jne 0x14008ecac
lea ebx, [r9 - 3]
xor eax, eax
test ebx, ebx
jle 0x14008ec68
movzx ecx, byte [rdx]
inc rdx
cmp cl, 0xba
je 0x14008ec68
cmp cl, 0xbb
jne 0x14008ec9b
inc eax
cmp eax, ebx
jl 0x14008ec52
sub ebx, eax
test eax, eax
jne 0x14008ecb0
mov dword [rsp + 0x20], 0x8a
lea r9, [0x1401b1e80]
mov edx, 0x80
lea ecx, [rdx - 0x7c]
lea r8d, [rdx + 0xa]
call fcn.140075dc0
mov rbx, qword [rsp + 0x30]
or eax, 0xffffffff
add rsp, 0x38
ret
mov dword [rsp + 0x20], 0x81
lea r9, [0x1401b1e68]
jmp 0x14008ec7d
lea ebx, [r9 - 2]
movsxd rax, ebx
cmp byte [rax + rdx], 0xcc
je 0x14008ece6
mov edx, 0x80
lea r9, str..crypto_rsa_rsa_x931.c
mov dword [rsp + 0x20], 0x93
lea ecx, [rdx - 0x7c]
lea r8d, [rdx + 0xb]
call fcn.140075dc0
mov rbx, qword [rsp + 0x30]
or eax, 0xffffffff
add rsp, 0x38
ret
mov r8d, ebx
mov rcx, r10
call fcn.1400d3810
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x38
ret
mov edx, 0x80
lea r9, [0x1401b1e50]
mov dword [rsp + 0x20], 0x72
lea ecx, [rdx - 0x7c]
lea r8d, [rdx + 9]
call fcn.140075dc0
or eax, 0xffffffff
add rsp, 0x38
ret

Function at 0x140094c90
Capabilities:
Encode data using base64

Disassembly:
mov eax, 8
call fcn.1400d8890
sub rsp, rax
xor r11d, r11d
mov r10, rdx
mov r9, rcx
test r8d, r8d
jle 0x140094da6
mov qword [rsp], rbx
lea rbx, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
nop word [rax + rax]
cmp r8d, 3
jl 0x140094d23
movzx eax, byte [r10 + 1]
movzx ecx, byte [r10]
shl ecx, 8
or ecx, eax
movzx eax, byte [r10 + 2]
shl ecx, 8
or ecx, eax
mov eax, ecx
mov edx, ecx
shr rax, 0x12
and edx, 0x3f
and eax, 0x3f
movzx eax, byte [rax + rbx]
mov byte [r9], al
mov eax, ecx
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rax + rbx]
mov byte [r9 + 1], al
mov eax, ecx
shr rax, 6
and eax, 0x3f
add r9, 4
movzx eax, byte [rax + rbx]
mov byte [r9 - 2], al
movzx eax, byte [rdx + rbx]
mov byte [r9 - 1], al
jmp 0x140094d81
movzx ecx, byte [r10]
shl ecx, 0x10
cmp r8d, 2
jne 0x140094d3a
movzx eax, byte [r10 + 1]
shl eax, 8
or ecx, eax
mov rax, rcx
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rax + rbx]
mov byte [r9], al
mov rax, rcx
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rax + rbx]
mov byte [r9 + 1], al
cmp r8d, 1
jne 0x140094d69
lea eax, [r8 + 0x3c]
jmp 0x140094d74
shr rcx, 6
and ecx, 0x3f
movzx eax, byte [rcx + rbx]
mov byte [r9 + 2], al
mov byte [r9 + 3], 0x3d
add r9, 4
sub r8d, 3
add r11d, 4
add r10, 3
test r8d, r8d
jg 0x140094cc0
mov rbx, qword [rsp]
mov byte [r9], 0
mov eax, r11d
add rsp, 8
ret
mov byte [rcx], r11b
mov eax, r11d
add rsp, 8
ret
Function at 0x14009feb0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x28
call fcn.1400d8890
sub rsp, rax
cmp dword [0x1401bfca4], 0
je 0x14009fef9
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x14009fedd
mov dword [0x1401bfca4], eax
jmp 0x14009fef9
xorpd xmm2, xmm2
lea rcx, [rsp + 0x38]
mov edx, 8
call fcn.14007c120
cmp dword [0x1401bfca4], 0
jne 0x14009ff16
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xorpd xmm2, xmm2
lea rcx, [rsp + 0x30]
mov edx, 4
mov dword [rsp + 0x30], eax
call fcn.14007c120
add rsp, 0x28
ret
Function at 0x1400b9750
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
mov eax, 0x2e8
call fcn.1400d8890
sub rsp, rax
mov rax, qword [0x1401cde90]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov rsi, qword [rsp + 0x348]
mov rbp, qword [rsp + 0x358]
mov rdi, rcx
mov rcx, rsi
mov dword [rsp + 0x34], r9d
mov qword [rsp + 0x38], r8
mov ebx, edx
mov r14d, 1
call fcn.1400962f0
movsxd r15, eax
test eax, eax
jns 0x1400b97b3
xor eax, eax
jmp 0x1400b99ec
lea rcx, [rsp + 0x160]
mov qword [rsp + 0x2e0], r12
call fcn.1400ca080
mov r12d, dword [rsp + 0x350]
test rdi, rdi
jne 0x1400b97d9
xor ebx, ebx
jmp 0x1400b97fd
cmp ebx, 0xffffffff
jne 0x1400b97fd
xor ebx, ebx
mov rax, rdi
cmp byte [rdi], bl
je 0x1400b97f9
cmp ebx, 0x80000000
jae 0x1400b97f9
inc rax
inc ebx
cmp byte [rax], 0
jne 0x1400b97e7
btr ebx, 0x1f
lea rcx, [rsp + 0x160]
mov r9, rsi
mov r8d, ebx
mov rdx, rdi
mov qword [rsp + 0x20], 0
call fcn.1400c9d30
test eax, eax
jne 0x1400b9834
lea rcx, [rsp + 0x160]
call fcn.1400ca160
xor eax, eax
jmp 0x1400b99e4
mov qword [rsp + 0x2d8], r13
test r12d, r12d
je 0x1400b99ca
mov esi, dword [rsp + 0x340]
nop dword [rax]
mov eax, r14d
mov r13d, r12d
cmp r12d, r15d
cmovg r13d, r15d
shr eax, 0x18
lea rdx, [rsp + 0x160]
mov byte [rsp + 0x30], al
mov eax, r14d
lea rcx, [rsp + 0x40]
shr eax, 0x10
mov byte [rsp + 0x33], r14b
mov byte [rsp + 0x31], al
mov eax, r14d
shr eax, 8
mov byte [rsp + 0x32], al
call fcn.1400ca0c0
test eax, eax
je 0x1400b9a27
movsxd r8, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x40]
call fcn.1400c9fb0
test eax, eax
je 0x1400b9a0c
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
mov r8d, 4
call fcn.1400c9fb0
test eax, eax
je 0x1400b9a0c
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0x40]
xor r8d, r8d
call fcn.1400c9fd0
test eax, eax
je 0x1400b9a0c
lea rcx, [rsp + 0x40]
call fcn.1400ca160
movsxd rdi, r13d
lea rdx, [rsp + 0x280]
mov r8, rdi
mov rcx, rbp
call fcn.1400d3810
mov ebx, 1
cmp esi, ebx
jle 0x1400b99bb
nop word [rax + rax]
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x40]
call fcn.1400ca0c0
test eax, eax
je 0x1400b9a27
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0x40]
mov r8, r15
call fcn.1400c9fb0
test eax, eax
je 0x1400b9a0c
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0x40]
xor r8d, r8d
call fcn.1400c9fd0
test eax, eax
je 0x1400b9a0c
lea rcx, [rsp + 0x40]
call fcn.1400ca160
test r13d, r13d
jle 0x1400b99b1
lea r8, [rsp + 0x280]
mov rcx, rbp
mov rdx, rdi
sub r8, rbp
nop word [rax + rax]
movzx eax, byte [r8 + rcx]
inc rcx
xor byte [rcx - 1], al
sub rdx, 1
jne 0x1400b99a0
inc ebx
cmp ebx, esi
jl 0x1400b9920
inc r14d
add rbp, rdi
sub r12d, r13d
jne 0x1400b9850
lea rcx, [rsp + 0x160]
call fcn.1400ca160
mov eax, 1
mov r13, qword [rsp + 0x2d8]
mov r12, qword [rsp + 0x2e0]
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.1400d37e0
add rsp, 0x2e8
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
lea rcx, [rsp + 0x160]
call fcn.1400ca160
lea rcx, [rsp + 0x40]
call fcn.1400ca160
xor eax, eax
jmp 0x1400b99dc
lea rcx, [rsp + 0x160]
call fcn.1400ca160
xor eax, eax
jmp 0x1400b99dc
Function at 0x1400c27b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
mov eax, 0x20
call fcn.1400d8890
sub rsp, rax
mov eax, dword [r8 + 8]
mov rsi, rdx
mov rdi, rcx
cmp dword [rdx + 8], eax
jge 0x1400c27dc
mov rbx, r8
jmp 0x1400c27e2
mov rbx, rdx
mov rsi, r8
mov edx, dword [rbx + 8]
cmp edx, dword [rcx + 0xc]
jg 0x1400c27ef
mov rax, rcx
jmp 0x1400c27f4
call fcn.140077dc0
test rax, rax
jne 0x1400c2809
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
xor r8d, r8d
cmp dword [rsi + 8], r8d
jle 0x1400c2844
mov r9, r8
nop word [rax + rax]
mov rax, qword [rbx]
mov rcx, qword [rsi]
inc r8d
mov rdx, qword [rcx + r9]
add r9, 8
xor rdx, qword [rax + r9 - 8]
mov rax, qword [rdi]
mov qword [r9 + rax - 8], rdx
cmp r8d, dword [rsi + 8]
jl 0x1400c2820
cmp r8d, dword [rbx + 8]
movsxd rdx, r8d
jge 0x1400c286d
shl rdx, 3
mov rax, qword [rbx]
mov rcx, qword [rdi]
inc r8d
mov rax, qword [rdx + rax]
add rdx, 8
mov qword [rdx + rcx - 8], rax
cmp r8d, dword [rbx + 8]
jl 0x1400c2851
mov edx, dword [rbx + 8]
mov dword [rdi + 8], edx
test edx, edx
jle 0x1400c2899
lea eax, [rdx - 1]
movsxd rcx, eax
mov rax, qword [rdi]
lea r8, [rax + rcx*8]
mov rax, qword [r8]
sub r8, 8
test rax, rax
jne 0x1400c2896
dec edx
test edx, edx
jg 0x1400c2884
mov dword [rdi + 8], edx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov eax, 1
add rsp, 0x20
pop rdi
ret