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

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, qword [0x14016a3a0]
cmp rsi, 1
jbe 0x14009afc3
mov rcx, rsi
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14007bca0
lea rcx, [0x14016a3a0]
call fcn.1400469e0
test al, al
je 0x14009b009
mov qword [0x14016a3a8], 0
lea rdi, [0x14016a3a0]
lea rsi, [0x14016a3a8]
mov rcx, rsi
xor edx, edx
call fcn.14003a140
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9, rdi
call fcn.140046a80
jmp 0x14009afb3
mov rsi, qword [0x14016a3a0]
jmp 0x14009afb3

Function at 0x14009b020
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov eax, dword [0x14016a3b8]
mov ecx, dword [0x140161514]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14009b05d
lea rcx, [0x14016a3b0]
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp fcn.14007bca0
lea rcx, [0x14016a3b8]
call fcn.14009c480
cmp dword [0x14016a3b8], 0xffffffff
jne 0x14009b049
mov qword [0x14016a3b0], 0
lea rcx, [0x14016a3b0]
xor edx, edx
call fcn.14003a140
lea rcx, [0x14016a3b8]
call fcn.14009c518
jmp 0x14009b049

Function at 0x14009c200
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x14016a3c8]
mov ecx, dword [0x140161514]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14009c2a2
lea rcx, [0x14016a3c0]
xor edx, edx
call fcn.14007bca0
mov eax, dword [0x14016a3d8]
mov ecx, dword [0x140161514]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14009c266
lea rcx, [0x14016a3d0]
xor edx, edx
add rsp, 0x28
jmp fcn.14007bca0
lea rcx, [0x14016a3d8]
call fcn.14009c480
cmp dword [0x14016a3d8], 0xffffffff
jne 0x14009c254
mov qword [0x14016a3d0], 0
lea rcx, [0x14016a3d0]
xor edx, edx
call fcn.14003a140
lea rcx, [0x14016a3d8]
call fcn.14009c518
jmp 0x14009c254
lea rcx, [0x14016a3c8]
call fcn.14009c480
cmp dword [0x14016a3c8], 0xffffffff
jne 0x14009c225
mov qword [0x14016a3c0], 0
lea rcx, [0x14016a3c0]
xor edx, edx
call fcn.14003a140
lea rcx, [0x14016a3c8]
call fcn.14009c518
jmp 0x14009c225

Function at 0x1400a8b38
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400a8c68
Function at 0x1400cf460
Capabilities:
Encrypt data using rc4 prga

Disassembly:
xor edx, edx
jmp 0x1400cf590
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 [0x14015e028]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp byte [rcx + 0x60], 0
je 0x1400cf5ee
mov edi, dword [rsi + 0x5c]
test r15b, r15b
je 0x1400cf5ce
mov dword [rsi + 0x5c], 0xffffffff
mov byte [rsi + 0x60], 0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14009d180
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]
test eax, eax
mov edi, 1
cmovg edi, eax
xor ebp, ebp
mov rcx, qword [rsi + 0x40]
call fcn.1400b38e4
cmp eax, 0xffffffff
je 0x1400cf668
mov byte [rsp + rbp + 0x58], al
inc rbp
cmp rdi, rbp
jne 0x1400cf60c
mov byte [rsp + 0x57], 0xaa
cmp byte [rsi + 0x61], 0
je 0x1400cf672
mov al, byte [rsp + 0x58]
mov byte [rsp + 0x57], al
test r15b, r15b
je 0x1400cf648
movzx edi, byte [rsp + 0x57]
mov dword [rsi + 0x5c], edi
jmp 0x1400cf5ce
mov edi, edi
test edi, edi
jle 0x1400cf716
mov rdx, qword [rsi + 0x40]
movzx ecx, byte [rsp + rdi + 0x57]
dec rdi
call fcn.1400b5334
cmp eax, 0xffffffff
jne 0x1400cf64a
mov edi, 0xffffffff
jmp 0x1400cf5ce
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 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 [rax + 0x18]
cmp eax, 1
jne 0x1400cf6ff
mov rax, qword [rsi + 0x50]
mov dword [rax], r13d
mov word [rax + 4], bp
mov word [rax + 6], r14w
cmp edi, 8
je 0x1400cf668
mov rcx, qword [rsi + 0x40]
call fcn.1400b38e4
cmp eax, 0xffffffff
je 0x1400cf668
mov byte [rsp + rdi + 0x58], al
inc rdi
jmp 0x1400cf683
cmp eax, 2
je 0x1400cf668
cmp eax, 3
je 0x1400cf631
jmp 0x1400cf639
movzx edi, byte [rsp + 0x57]
jmp 0x1400cf5ce
Function at 0x1400cf750
Capabilities:
Encrypt data using rc4 prga

Disassembly:
xor edx, edx
jmp 0x1400cf880
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 [0x14015e028]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp byte [rcx + 0x5e], 0
je 0x1400cf8de
movzx edi, word [rsi + 0x5c]
test r15b, r15b
je 0x1400cf8be
mov word [rsi + 0x5c], 0xffff
mov byte [rsi + 0x5e], 0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14009d180
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]
test eax, eax
mov edi, 1
cmovg edi, eax
xor ebp, ebp
mov rcx, qword [rsi + 0x40]
call fcn.1400b38e4
cmp eax, 0xffffffff
je 0x1400cf960
mov byte [rsp + rbp + 0x58], al
inc rbp
cmp rdi, rbp
jne 0x1400cf8fc
mov word [rsp + 0x56], 0xaaaa
cmp byte [rsi + 0x5f], 0
je 0x1400cf969
movsx eax, byte [rsp + 0x58]
mov word [rsp + 0x56], ax
test r15b, r15b
je 0x1400cf93d
movzx edi, word [rsp + 0x56]
mov word [rsi + 0x5c], di
jmp 0x1400cf8be
mov edi, edi
test edi, edi
jle 0x1400cfa0d
mov rdx, qword [rsi + 0x40]
movsx eax, byte [rsp + rdi + 0x57]
dec rdi
movzx ecx, ax
call fcn.1400b5334
cmp eax, 0xffffffff
jne 0x1400cf93f
mov di, 0xffff
jmp 0x1400cf8be
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 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 [rax + 0x18]
cmp eax, 1
jne 0x1400cf9f6
mov rax, qword [rsi + 0x50]
mov dword [rax], r13d
mov word [rax + 4], bp
mov word [rax + 6], r14w
cmp edi, 8
je 0x1400cf960
mov rcx, qword [rsi + 0x40]
call fcn.1400b38e4
cmp eax, 0xffffffff
je 0x1400cf960
mov byte [rsp + rdi + 0x58], al
inc rdi
jmp 0x1400cf97a
cmp eax, 2
je 0x1400cf960
cmp eax, 3
je 0x1400cf923
jmp 0x1400cf92d
movzx edi, word [rsp + 0x56]
jmp 0x1400cf8be
Function at 0x1400cfa60
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rsi, rcx
mov rax, qword [0x14015e028]
xor rax, rsp
mov qword [rsp + 0x40], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x40]
mov qword [r14 - 8], r12
lea r13, [rsp + 0x30]
lea r15, [rsp + 0x38]
mov ebp, 0xffffffff
mov qword [rsp + 0x30], r12
mov rcx, qword [rsi + 0x48]
mov rdx, qword [rsi + 0x50]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r13
mov r8, r15
mov r9, r14
call qword [rax + 0x20]
mov edi, eax
mov rbx, qword [rsp + 0x30]
sub rbx, r15
mov r9, qword [rsi + 0x40]
mov edx, 1
mov rcx, r15
mov r8, rbx
call fcn.1400b3508
cmp rax, rbx
jne 0x1400cfafc
cmp edi, 1
je 0x1400cfaa4
cmp edi, 2
je 0x1400cfafc
mov rcx, qword [rsi + 0x40]
call fcn.1400b2e8c
neg eax
sbb ebp, ebp
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14009d180
mov eax, ebp
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x1400cfb20
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, r8
mov r14, rdx
mov rdi, rcx
cmp byte [rcx + 0x58], 0
je 0x1400cfb55
mov r9, qword [rdi + 0x40]
mov edx, 1
mov rcx, r14
mov r8, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.1400b3508
xor ebx, ebx
test rsi, rsi
jle 0x1400cfb7a
movzx edx, byte [r14 + rbx]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x60]
cmp eax, 0xffffffff
je 0x1400cfb7a
inc rbx
cmp rsi, rbx
jne 0x1400cfb5c
mov rbx, rsi
mov rax, rbx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400cfb90
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rax, qword [0x14015e028]
xor rax, rsp
mov qword [rsp + 0x60], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x58], r12
cmp edx, 0xffffffff
je 0x1400cfbfa
mov r15d, edx
mov rdi, rcx
mov byte [rsp + 0x57], r15b
cmp byte [rcx + 0x58], 0
je 0x1400cfc20
mov r9, qword [rdi + 0x40]
lea rcx, [rsp + 0x57]
mov edx, 1
mov r8d, 1
call fcn.1400b3508
mov esi, 0xffffffff
cmp rax, 1
je 0x1400cfbfd
jmp 0x1400cfc00
xor r15d, r15d
mov esi, r15d
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14009d180
mov eax, esi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rbx, [rsp + 0x58]
lea r13, [rsp + 0x48]
mov qword [r13], rbx
lea rsi, [rsp + 0x57]
lea r14, [rsp + 0x40]
mov qword [rsp + 0x40], r12
mov rcx, qword [rdi + 0x48]
mov rdx, qword [rdi + 0x50]
mov rax, qword [rcx]
mov qword [rsp + 0x38], r13
lea rbp, [rsp + 0x60]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r14
mov r8, rsi
lea r9, [rsp + 0x58]
call qword [rax + 0x10]
cmp qword [rsp + 0x40], rsi
je 0x1400cfcd0
mov ebp, eax
cmp eax, 3
je 0x1400cfcaf
cmp ebp, 1
ja 0x1400cfcd0
mov rsi, qword [rsp + 0x48]
sub rsi, rbx
mov r9, qword [rdi + 0x40]
mov edx, 1
mov rcx, rbx
mov r8, rsi
call fcn.1400b3508
cmp rax, rsi
jne 0x1400cfcd0
mov rsi, qword [rsp + 0x40]
cmp ebp, 1
je 0x1400cfc38
jmp 0x1400cfbfd
mov r9, qword [rdi + 0x40]
mov edx, 1
mov r8d, 1
mov rcx, rsi
call fcn.1400b3508
cmp rax, 1
je 0x1400cfbfd
mov esi, 0xffffffff
jmp 0x1400cfc00

Function at 0x1400cfd20
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, r8
mov r14, rdx
mov rdi, rcx
cmp byte [rcx + 0x58], 0
je 0x1400cfd55
mov r9, qword [rdi + 0x40]
mov edx, 2
mov rcx, r14
mov r8, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.1400b3508
xor ebx, ebx
test rsi, rsi
jle 0x1400cfd7b
movzx edx, word [r14 + rbx*2]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x60]
cmp ax, 0xffff
je 0x1400cfd7b
inc rbx
cmp rsi, rbx
jne 0x1400cfd5c
mov rbx, rsi
mov rax, rbx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400cfd90
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rax, qword [0x14015e028]
xor rax, rsp
mov qword [rsp + 0x60], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x58], r12
cmp dx, 0xffff
je 0x1400cfdfa
mov r15d, edx
mov rdi, rcx
mov word [rsp + 0x56], dx
cmp byte [rcx + 0x58], 0
je 0x1400cfe20
mov r9, qword [rdi + 0x40]
lea rcx, [rsp + 0x56]
mov edx, 2
mov r8d, 1
call fcn.1400b3508
mov si, 0xffff
cmp rax, 1
je 0x1400cfdfd
jmp 0x1400cfe00
xor r15d, r15d
mov esi, r15d
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14009d180
mov eax, esi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rbx, [rsp + 0x58]
lea r13, [rsp + 0x48]
mov qword [r13], rbx
lea rsi, [rsp + 0x56]
lea r14, [rsp + 0x40]
mov qword [rsp + 0x40], r12
mov rcx, qword [rdi + 0x48]
mov rdx, qword [rdi + 0x50]
mov rax, qword [rcx]
mov qword [rsp + 0x38], r13
lea rbp, [rsp + 0x60]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r14
mov r8, rsi
lea r9, [rsp + 0x58]
call qword [rax + 0x10]
cmp qword [rsp + 0x40], rsi
je 0x1400cfed0
mov ebp, eax
cmp eax, 3
je 0x1400cfeaf
cmp ebp, 1
ja 0x1400cfed0
mov rsi, qword [rsp + 0x48]
sub rsi, rbx
mov r9, qword [rdi + 0x40]
mov edx, 1
mov rcx, rbx
mov r8, rsi
call fcn.1400b3508
cmp rax, rsi
jne 0x1400cfed0
mov rsi, qword [rsp + 0x40]
cmp ebp, 1
je 0x1400cfe38
jmp 0x1400cfdfd
mov r9, qword [rdi + 0x40]
mov edx, 1
mov r8d, 1
mov rcx, rsi
call fcn.1400b3508
cmp rax, 1
je 0x1400cfdfd
mov si, 0xffff
jmp 0x1400cfe00

Function at 0x1400cff20
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp rdx, r8
je 0x1400cff57
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 r8, rdx
jne 0x1400cff31
ret

Function at 0x1400cffb0
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp rdx, r8
je 0x1400cffe8
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 r8, rdx
jne 0x1400cffc1
ret
Function at 0x1400fe3f0
Capabilities:
Encode data using xor

Disassembly:
push rsi
movsxd r9, dword [rcx + 8]
movsxd r10, dword [rdx + 8]
cmp r9d, r10d
jge 0x1400fe415
mov r11, qword [rdx]
xor r8d, r8d
mov rax, r9
or r8, qword [r11 + rax*8]
inc rax
cmp rax, r10
jl 0x1400fe407
jmp 0x1400fe418
xor r8d, r8d
cmp r10d, r9d
jge 0x1400fe42f
mov r11, qword [rcx]
mov rax, r10
or r8, qword [r11 + rax*8]
inc rax
cmp r9, rax
jne 0x1400fe423
cmp r9d, r10d
cmovl r10d, r9d
test r10d, r10d
jle 0x1400fe459
mov r9, qword [rcx]
mov r11, qword [rdx]
mov r10d, r10d
xor eax, eax
mov rsi, qword [r11 + rax*8]
xor rsi, qword [r9 + rax*8]
or r8, rsi
inc rax
cmp r10, rax
jne 0x1400fe446
mov eax, dword [rdx + 0x10]
xor eax, dword [rcx + 0x10]
movsxd rcx, eax
xor eax, eax
or rcx, r8
sete al
pop rsi
ret
Function at 0x140108390
Capabilities:
Hash data using sha512

Disassembly:
push rsi
push rdi
sub rsp, 0x108
mov rsi, r8
mov r8, rdx
mov rdx, rcx
mov rax, qword [0x14015e028]
xor rax, rsp
mov qword [rsp + 0x100], rax
movaps xmm0, xmmword [0x1401399e0]
lea rdi, [rsp + 0x28]
movups xmmword [rdi + 0xc0], xmm0
movups xmmword [rdi + 0xb0], xmm0
movups xmmword [rdi + 0xa0], xmm0
movups xmmword [rdi + 0x90], xmm0
movups xmmword [rdi + 0x80], xmm0
movups xmmword [rdi + 0x70], xmm0
movups xmmword [rdi + 0x60], xmm0
movups xmmword [rdi + 0x50], xmm0
movabs rax, 0x6a09e667f3bcc908
mov qword [rdi], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [rdi + 8], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rdi + 0x10], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rdi + 0x18], rax
movabs rax, 0x510e527fade682d1
mov qword [rdi + 0x20], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rdi + 0x28], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rdi + 0x30], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rdi + 0x38], rax
movabs rax, 0x4000000000
mov qword [rdi + 0xd0], rax
xorps xmm0, xmm0
movups xmmword [rdi + 0x40], xmm0
mov rcx, rdi
call fcn.1400430b0
mov rcx, rsi
mov rdx, rdi
call fcn.1400431d0
mov edx, 0xd8
mov rcx, rdi
call fcn.140081ab0
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.14009d180
mov rax, rsi
add rsp, 0x108
pop rdi
pop rsi
ret
Function at 0x14010e8f0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov r12, r9
mov r13, r8
mov rdi, rdx
mov r14, rcx
mov r15, qword [rsp + 0x108]
mov rax, qword [rsp + 0x100]
mov rcx, qword [0x14015e028]
xor rcx, rsp
mov qword [rsp + 0x80], rcx
test rax, rax
jne 0x14010e950
lea rcx, [0x140169550]
lea rdx, [0x1401081b0]
call fcn.140088f00
lea rax, [0x140169558]
test r15, r15
cmove r15, rax
mov ebx, dword [rax + 4]
lea rcx, [rbx + rbx]
add rcx, 2
cmp rcx, rdi
jbe 0x14010e9b0
mov dword [rsp + 0x20], 0x14a
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
xor esi, esi
mov ecx, 4
xor edx, edx
mov r8d, 0x7e
call fcn.14011fe20
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14009d180
mov eax, esi
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rbx + rbx]
mov rbp, rcx
not rbp
lea rdx, [rdi + rbp]
dec rdx
cmp rdx, r12
jae 0x14010e9e6
mov dword [rsp + 0x20], 0x150
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
xor esi, esi
mov ecx, 4
xor edx, edx
mov r8d, 0x72
jmp 0x14010e985
dec rdi
or rcx, 1
cmp rdi, rcx
jae 0x14010e9ff
mov dword [rsp + 0x20], 0x155
jmp 0x14010e96f
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xf0]
mov byte [r14], 0
lea r8, [r14 + rbx]
inc r8
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
xor esi, esi
mov qword [rsp + 0x38], r8
xor r9d, r9d
call fcn.140108060
test eax, eax
je 0x14010e98a
mov rsi, rdi
sub rsi, r12
add rbp, rsi
mov rcx, qword [rsp + 0x38]
je 0x14010ea67
mov rax, qword [rsp + 0x38]
lea rcx, [rax + rbx]
xor edx, edx
mov r8, rbp
call fcn.14009fa40
mov rcx, qword [rsp + 0x38]
inc r14
mov rax, rbx
not rax
add rsi, rax
mov byte [rcx + rsi], 1
test r12, r12
mov rbp, rcx
je 0x14010ea94
lea rcx, [rdi + rbp]
sub rcx, r12
sub rcx, rbx
mov rdx, r13
mov r8, r12
call fcn.14009f630
lea r8, [0x140148760]
mov rcx, r14
mov rdx, rbx
call fcn.140080220
sub rdi, rbx
mov rcx, rdi
call fcn.140081a40
test rax, rax
jne 0x14010ead9
mov dword [rsp + 0x20], 0x169
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
xor esi, esi
mov ecx, 4
xor edx, edx
mov r8d, 0x41
jmp 0x14010e985
mov r12, rax
mov qword [rsp + 0x20], r15
mov rcx, rax
mov rdx, rdi
mov r8, r14
mov r9, rbx
call fcn.14010eb70
xor esi, esi
test eax, eax
jne 0x14010eb05
mov rcx, r12
call fcn.140081a70
jmp 0x14010e98a
test rdi, rdi
je 0x14010eb1c
xor eax, eax
mov cl, byte [r12 + rax]
xor byte [rbp + rax], cl
inc rax
cmp rdi, rax
jne 0x14010eb0c
movaps xmm0, xmmword [0x1401399e0]
lea rcx, [rsp + 0x40]
movaps xmmword [rcx + 0x30], xmm0
movaps xmmword [rcx + 0x20], xmm0
movaps xmmword [rcx + 0x10], xmm0
movaps xmmword [rcx], xmm0
mov qword [rsp + 0x20], r15
mov rdx, rbx
mov r8, rbp
mov r9, rdi
call fcn.14010eb70
test eax, eax
je 0x14010eaf8
mov esi, 1
test ebx, ebx
je 0x14010eaf8
xor eax, eax
mov cl, byte [rsp + rax + 0x40]
xor byte [r14 + rax], cl
inc rax
cmp rbx, rax
jne 0x14010eb59
jmp 0x14010eaf8
Function at 0x140128260
Capabilities:
Encrypt data using curve25519

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x110
mov rbx, r8
mov rsi, rdx
mov r14, rcx
mov rax, qword [0x14015e028]
xor rax, rsp
mov qword [rsp + 0x108], rax
movaps xmm0, xmmword [0x1401399e0]
lea rdi, [rsp + 0xc0]
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
mov edx, 0x20
mov rcx, r8
mov r8, rdi
call fcn.140108390
and byte [rdi], 0xf8
mov al, byte [rdi + 0x1f]
and al, 0x3f
or al, 0x40
mov byte [rdi + 0x1f], al
lea r15, [rsp + 0x20]
mov r8d, 0xa0
mov rcx, r15
mov dl, 0xaa
call fcn.14009fa40
lea r8, [0x14014fff0]
mov rcx, r15
mov rdx, rdi
call fcn.140090010
mov rcx, r14
mov rdx, r15
call fcn.140126b80
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
movups xmm0, xmmword [r14]
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rsi + 0x20], xmm0
movups xmmword [rsi + 0x30], xmm1
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.14009d180
nop
add rsp, 0x110
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140002870
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x140002891
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x1400028be
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400028c0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140002919
test ecx, ecx
jle 0x1400028f9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140002919
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140002919
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
Function at 0x140002940
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140002971
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140002988
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x30], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1400029ab
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400029ad
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400029e9
mov qword [rsp + 0x38], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x38]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140002a7e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140002a24
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x140002a5e
nop dword [rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x140002a7e
cmp rbx, rax
ja 0x140002a30
test rbx, rbx
je 0x140002a7e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
mov rsi, qword [rsp + 0x48]
sub rbp, rbx
mov rbx, qword [rsp + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al