joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140105610
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.1401063d0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.1401063d0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140105680
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1401ee1a4]
mov rbx, rcx
test esi, esi
jle 0x1401057b0
mov rax, qword [0x1401ee1a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1401056cb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140105755
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1401056b0
mov rcx, rbx
call fcn.1401060f0
mov rdi, rax
test rax, rax
je 0x1401057d2
mov rax, qword [0x1401ee1a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140106230
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1401ee1a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1401057b7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14010574e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140105760
add dword [0x1401ee1a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1401ee1a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14010574e
call qword [sym.imp.kernel32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140105610
nop dword [rax]
xor esi, esi
jmp 0x1401056d8
mov rax, qword [0x1401ee1a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140105610
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140105610
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140105d60
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1401ee200]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1401ee1e0]
test rbx, rbx
je 0x140105dbc
mov rbp, qword [sym.imp.kernel32.dll_TlsGetValue]
mov rdi, qword [sym.imp.kernel32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x140105db3
test eax, eax
jne 0x140105db3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140105d98
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1401060f0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1401def90]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140106110
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140106118
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140106110
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14010616d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140106164
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140106110
add rax, 0x28
cmp rax, r9
jne 0x140106150
xor eax, eax
ret

Function at 0x140106170
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1401def90]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14010618f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140106198
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14010618f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140106230
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1401def90]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14010624f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140106258
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x14017f760
Capabilities:
Encode data using xor

Disassembly:
push rbx
mov r9d, dword [rcx + 0x60]
mov ebx, dword [rcx + 0x5c]
mov r8, rcx
test r9d, r9d
jle 0x14017f828
mov r10, qword [0x1401def10]
mov edx, dword [rcx + 0x288]
movzx r11d, bl
xor ecx, ecx
nop word [rax + rax]
mov eax, edx
add ecx, 1
shl edx, 8
shr eax, 0x18
xor eax, r11d
xor edx, dword [r10 + rax*4]
cmp ecx, r9d
jne 0x14017f790
mov eax, ebx
mov dword [r8 + 0x288], edx
mov byte [r8 + rax + 0x80], 1
movsxd rax, dword [r8 + 0x6c]
add rax, qword [r8 + 0x40]
cmp ecx, 2
je 0x14017f820
cmp ecx, 3
je 0x14017f7e0
cmp ecx, 1
jne 0x14017f832
mov byte [rax], bl
mov eax, dword [r8 + 0x6c]
add eax, 1
mov dword [r8 + 0x6c], eax
pop rbx
ret
mov byte [rax], bl
mov eax, dword [r8 + 0x6c]
mov rdx, qword [r8 + 0x40]
add eax, 1
mov dword [r8 + 0x6c], eax
cdqe
mov byte [rdx + rax], bl
mov eax, dword [r8 + 0x6c]
mov rdx, qword [r8 + 0x40]
add eax, 1
mov dword [r8 + 0x6c], eax
cdqe
mov byte [rdx + rax], bl
mov eax, dword [r8 + 0x6c]
add eax, 1
mov dword [r8 + 0x6c], eax
pop rbx
ret
mov byte [rax], bl
jmp 0x14017f7f6
mov eax, ebx
mov byte [rcx + rax + 0x80], 1
sub r9d, 4
movsxd r9, r9d
mov byte [r8 + r9 + 0x80], 1
movsxd rax, dword [r8 + 0x6c]
mov rdx, qword [r8 + 0x40]
mov byte [rdx + rax], bl
mov eax, dword [r8 + 0x6c]
mov rdx, qword [r8 + 0x40]
add eax, 1
mov dword [r8 + 0x6c], eax
cdqe
mov byte [rdx + rax], bl
mov eax, dword [r8 + 0x6c]
mov rdx, qword [r8 + 0x40]
add eax, 1
mov dword [r8 + 0x6c], eax
cdqe
mov byte [rdx + rax], bl
mov eax, dword [r8 + 0x6c]
mov rdx, qword [r8 + 0x40]
add eax, 1
mov dword [r8 + 0x6c], eax
cdqe
mov byte [rdx + rax], bl
mov eax, dword [r8 + 0x6c]
movzx ebx, byte [r8 + 0x60]
mov rcx, qword [r8 + 0x40]
add eax, 1
mov dword [r8 + 0x6c], eax
lea edx, [rbx - 4]
cdqe
mov byte [rcx + rax], dl
mov eax, dword [r8 + 0x6c]
add eax, 1
mov dword [r8 + 0x6c], eax
pop rbx
ret
Function at 0x140027e40
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001b8c4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001b8c4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140027f90
cmp rax, 0xffffffffffffffff
je 0x140027f90
xor edi, edi
test rbp, rbp
jle 0x140027f3b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001dec8
mov rbx, rax
test rax, rax
jne 0x140027ec8
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140027f31
mov edx, 0x8000
mov ecx, r14d
call fcn.140015978
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001c5a0
cmp eax, 0xffffffff
je 0x140027f11
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140027ed8
mov edx, r15d
mov ecx, r14d
call fcn.140015978
jmp 0x140027f31
cmp byte [rsi + 0x38], dil
je 0x140027f28
cmp dword [rsi + 0x34], 5
jne 0x140027f28
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140027f31
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140019f88
jmp 0x140027fa4
jns 0x140027fa4
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001b8c4
cmp rax, 0xffffffffffffffff
jne 0x140027f5c
cmp byte [rsi + 0x30], dil
je 0x140027fa4
mov edi, dword [rsi + 0x2c]
jmp 0x140027fa4
mov ecx, r14d
call fcn.14001706c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140027fa4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140027fa4
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140027f9d
mov eax, dword [rsi + 0x2c]
jmp 0x140027fa2
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001b8c4
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140a27000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0x140a2700a
jmp 0x140a2900f
jmp fcn.1406bf058
Function at 0x140004000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
cld
and rsp, 0xfffffffffffffff0
call fcn.1400040d6
push r9
push r8
push rdx
xor rdx, rdx
push rcx
push rsi
mov rdx, qword gs:[rdx + 0x60]
mov rdx, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x20]
movzx rcx, word [rdx + 0x4a]
mov rsi, qword [rdx + 0x50]
xor r9, r9
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x140004037
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x14000402d
push rdx
mov rdx, qword [rdx + 0x20]
mov eax, dword [rdx + 0x3c]
add rax, rdx
cmp word [rax + 0x18], 0x20b
push r9
jne 0x1400040cb
mov eax, dword [rax + 0x88]
test rax, rax
je 0x1400040cb
add rax, rdx
mov ecx, dword [rax + 0x18]
mov r8d, dword [rax + 0x20]
push rax
add r8, rdx
jrcxz 0x1400040ca
dec rcx
xor r9, r9
mov esi, dword [r8 + rcx*4]
add rsi, rdx
xor rax, rax
lodsb al, byte [rsi]
ror r9d, 0xd
add r9d, eax
cmp al, ah
jne 0x140004081
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x140004072
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
add rax, rdx
pop r8
pop r8
pop rsi
pop rcx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x140004021
Function at 0x40a8c0
Capabilities:
Get socket status

Disassembly:
sub rsp, 0x258
xor r9d, r9d
xor r8d, r8d
lea rax, [rsp + 0x38]
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x38], edx
inc ecx
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x3c], 0
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
setg al
add rsp, 0x258
ret
mov rax, qword [rcx + 0x128]
cmp byte [rax], 0
je 0x40dec0
mov eax, 1
ret
mov rcx, qword [rcx + 0x118]
jmp 0x40a8c0

Function at 0x40a910
Capabilities:
Get socket status

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x258
mov r12, rcx
mov rcx, r8
mov rdi, r8
mov rbp, rdx
call sub.msvcrt.dll_strlen
lea ebx, [rax + 1]
cdqe
mov byte [rdi + rax], 0xa
test ebx, ebx
jle 0x40a9b9
xor esi, esi
lea r14, [rsp + 0x40]
lea r13, [rsp + 0x38]
lea r15, [rsp + 0x34]
nop word cs:[rax + rax]
nop dword [rax]
mov rcx, qword [rbp]
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x40], 1
mov qword [rsp + 0x20], r13
mov r8, r14
mov qword [rsp + 0x48], rcx
inc ecx
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x40a9c5
mov rcx, qword [r12]
lea rdx, [rdi + rsi]
mov r9, r15
movsxd r8, ebx
call qword [sym.imp.libcurl_4.dll_curl_easy_send]
test eax, eax
jne 0x40a9c0
movsxd rdx, dword [rsp + 0x34]
sub ebx, edx
add rsi, rdx
test ebx, ebx
jg 0x40a960
mov eax, 1
jmp 0x40a9c7
cmp eax, 0x51
je 0x40a960
xor eax, eax
add rsp, 0x258
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x40c160
Capabilities:
Query environment variable

Disassembly:
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x140
xor eax, eax
mov rbx, rcx
lea rdi, [rsp + 0x50]
mov ecx, 0x1e
mov rsi, rdx
rep stosq qword [rdi], rax
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call qword [sym.imp.libcurl_4.dll_curl_easy_init]
mov r12, rax
test rax, rax
je 0x40c360
lea rdi, [rsp + 0x40]
mov r8, rbx
mov edx, 0x2712
mov rbx, qword [sym.imp.libcurl_4.dll_curl_easy_setopt]
mov rcx, rax
call rbx
mov r8d, 1
mov edx, 0x4a
mov rcx, r12
call rbx
mov r8d, 0xf
mov edx, 0x4e
mov rcx, r12
call rbx
mov r8, rdi
mov edx, 0x271a
mov rcx, r12
call rbx
mov r8d, 1
mov edx, 0x63
mov rcx, r12
call rbx
mov r8d, 1
mov edx, 0x79
mov rcx, r12
call rbx
lea r8, [0x0040a7f0]
mov edx, 0x4e2b
mov rcx, r12
call rbx
lea r8, [rsp + 0x20]
mov edx, 0x2711
mov rcx, r12
call rbx
mov rax, qword [0x00713890]
mov r8, qword [rax]
test r8, r8
je 0x40c2f0
mov edx, 0x2714
mov rcx, r12
call rbx
mov rax, qword [0x007138a0]
mov edx, 0x65
mov rcx, r12
mov r8d, dword [rax]
call rbx
mov rcx, r12
call qword [sym.imp.libcurl_4.dll_curl_easy_perform]
test eax, eax
jne 0x40c340
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x40c2a5
cmp qword [rsp + 0x28], 0
jne 0x40c2e0
lea rdx, str.Empty_data_received_for_config
mov ecx, 1
xor r13d, r13d
call fcn.0040a9e0
mov rcx, r12
call qword [sym.imp.libcurl_4.dll_curl_easy_cleanup]
mov rax, r13
add rsp, 0x140
pop rbx
pop rsi
pop rdi
pop r12
pop r13
ret
mov r8, rsi
xor edx, edx
call fcn.006769b0
mov r13, rax
jmp 0x40c2b9
lea rcx, str.http_proxy
call sub.msvcrt.dll_getenv
test rax, rax
je 0x40c282
lea rcx, str.all_proxy
call sub.msvcrt.dll_getenv
lea rcx, str.all_proxy
test rax, rax
je 0x40c380
call sub.msvcrt.dll_getenv
mov rcx, r12
mov edx, 0x2714
mov r8, rax
call rbx
mov rcx, r12
call qword [sym.imp.libcurl_4.dll_curl_easy_perform]
test eax, eax
je 0x40c293
nop dword [rax]
mov r8, rdi
lea rdx, str.Remote_config_read_failed:__s
mov ecx, 1
xor r13d, r13d
call fcn.0040a9e0
jmp 0x40c2b9
lea rdx, str.Remote_config_init_failed_
mov ecx, 1
xor r13d, r13d
call fcn.0040a9e0
jmp 0x40c2c2
lea rcx, str.ALL_PROXY
call sub.msvcrt.dll_getenv
test rax, rax
je 0x40c3a0
lea rcx, str.ALL_PROXY
jmp 0x40c319
lea r8, [0x006b6c23]
mov edx, 0x2714
mov rcx, r12
call rbx
jmp 0x40c282
Function at 0x40dea0
Capabilities:
Get socket status

Disassembly:
sub rsp, 0x258
xor r9d, r9d
xor r8d, r8d
lea rax, [rsp + 0x38]
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x38], edx
inc ecx
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x3c], 0
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
setg al
add rsp, 0x258
ret
mov rax, qword [rcx + 0x128]
cmp byte [rax], 0
je 0x40dec0
mov eax, 1
ret
mov rcx, qword [rcx + 0x118]
jmp 0x40a8c0
Function at 0x415e40
Capabilities:
Hash data using sha512

Disassembly:
push rdi
push rbx
sub rsp, 0x68
mov rbx, rcx
test rcx, rcx
je 0x415f6a
lea rax, [rdx - 1]
cmp rax, 0x3f
ja 0x415f40
lea rdi, [rcx + 0x48]
mov eax, ecx
mov qword [rsp + 0x29], 0
mov byte [rsp + 0x20], dl
and rdi, 0xfffffffffffffff8
mov qword [rsp + 0x21], 0x10100
mov byte [rsp + 0x31], 0
sub eax, edi
mov qword [rsp + 0x32], 0
mov dword [rsp + 0x3a], 0
mov word [rsp + 0x3e], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rcx + 0x40], 0
mov qword [rcx + 0xe8], 0
lea ecx, [rax + 0xf0]
xor eax, eax
vmovups xmm1, xmmword [0x006b95a0]
shr ecx, 3
rep stosq qword [rdi], rax
vxorps xmm0, xmm1, xmmword [rsp + 0x20]
vmovups xmm2, xmmword [0x006b95b0]
mov dword [rbx + 0xe4], edx
vmovups xmm3, xmmword [0x006b95c0]
vmovups xmm4, xmmword [0x006b95d0]
vmovups xmmword [rbx], xmm0
vxorps xmm0, xmm2, xmmword [rsp + 0x30]
vmovups xmmword [rbx + 0x10], xmm0
vxorps xmm0, xmm3, xmmword [rsp + 0x40]
vmovups xmmword [rbx + 0x20], xmm0
vxorps xmm0, xmm4, xmmword [rsp + 0x50]
vmovups xmmword [rbx + 0x30], xmm0
add rsp, 0x68
pop rbx
pop rdi
ret
mov edx, 0xf0
call fcn.00418c30
cmp byte [rbx + 0xe8], 0
je 0x415f5b
mov qword [rbx + 0x58], 0xffffffffffffffff
mov qword [rbx + 0x50], 0xffffffffffffffff
mov eax, 0xffffffff
jmp 0x415f35
mov eax, 0xffffffff
jmp 0x415f35

Function at 0x415f80
Capabilities:
Hash data using sha512

Disassembly:
push r13
push r12
push rdi
sub rsp, 0xe0
mov r10, r8
mov r12, rcx
mov r8, r9
test rcx, rcx
je 0x416121
lea rax, [rdx - 1]
cmp rax, 0x3f
ja 0x4160f0
lea rax, [r9 - 1]
cmp rax, 0x3f
ja 0x4160f0
test r10, r10
je 0x4160f0
lea rdi, [rcx + 0x48]
mov byte [rsp + 0x21], r9b
mov byte [rsp + 0x20], dl
vmovups xmm1, xmmword [0x006b95a0]
and rdi, 0xfffffffffffffff8
mov qword [rsp + 0x2a], 0
mov qword [rsp + 0x22], 0x101
xor eax, eax
mov qword [rsp + 0x32], 0
mov dword [rsp + 0x3a], 0
lea r13, [rsp + 0x60]
mov word [rsp + 0x3e], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rcx + 0x40], 0
mov qword [rcx + 0xe8], 0
sub ecx, edi
add ecx, 0xf0
vmovups xmm2, xmmword [0x006b95b0]
shr ecx, 3
vmovups xmm3, xmmword [0x006b95c0]
vmovups xmm4, xmmword [0x006b95d0]
rep stosq qword [rdi], rax
vxorps xmm0, xmm1, xmmword [rsp + 0x20]
mov ecx, 0x10
mov rdi, r13
mov dword [r12 + 0xe4], edx
mov rdx, r10
rep stosq qword [rdi], rax
mov rcx, r13
vmovups xmmword [r12], xmm0
vxorps xmm0, xmm2, xmmword [rsp + 0x30]
vmovups xmmword [r12 + 0x10], xmm0
vxorps xmm0, xmm3, xmmword [rsp + 0x40]
vmovups xmmword [r12 + 0x20], xmm0
vxorps xmm0, xmm4, xmmword [rsp + 0x50]
vmovups xmmword [r12 + 0x30], xmm0
call sub.msvcrt.dll_memcpy
mov r8d, pe_nt_image_headers64
mov rdx, r13
mov rcx, r12
call fcn.00415b70
mov edx, pe_nt_image_headers64
mov rcx, r13
call fcn.00418c30
xor eax, eax
add rsp, 0xe0
pop rdi
pop r12
pop r13
ret
mov edx, 0xf0
mov rcx, r12
call fcn.00418c30
cmp byte [r12 + 0xe8], 0
je 0x416111
mov qword [r12 + 0x58], 0xffffffffffffffff
mov qword [r12 + 0x50], 0xffffffffffffffff
mov eax, 0xffffffff
jmp 0x4160db
mov eax, 0xffffffff
jmp 0x4160db
Function at 0x41b190
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
mov r9, r8
test rcx, rcx
je 0x41b1e0
test rdx, rdx
je 0x41b1e0
mov r8, rdx
xor ecx, ecx
xor edx, edx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
call qword [sym.imp.msvcrt.dll__beginthreadex]
test rax, rax
mov qword [rbx], rax
sete al
movzx eax, al
neg eax
add rsp, 0x30
pop rbx
ret
mov eax, 0xffffffff
jmp 0x41b1d1
Function at 0x4528f0
Capabilities:
Hash data using sha256

Disassembly:
push rdi
sub rsp, 0x20
lea eax, [rdx - 1]
mov r8, rcx
cmp al, 0x1f
ja 0x452990
lea rdi, [rcx + 0x28]
mov eax, ecx
mov byte [rsp], dl
mov byte [rsp + 1], 0
and rdi, 0xfffffffffffffff8
mov word [rsp + 2], 0x101
mov dword [rsp + 4], 0
sub eax, edi
mov qword [rsp + 8], 0
mov qword [rsp + 0x10], 0
mov qword [rsp + 0x18], 0
mov qword [rcx + 0x20], 0
mov qword [rcx + 0xb8], 0
lea ecx, [rax + 0xc0]
xor eax, eax
vmovups xmm0, xmmword [0x006baf00]
shr ecx, 3
rep stosq qword [rdi], rax
vxorps xmm0, xmm0, xmmword [rsp]
vmovups xmmword [r8], xmm0
vmovups xmm0, xmmword [0x006baf10]
vxorps xmm0, xmm0, xmmword [rsp + 0x10]
vmovups xmmword [r8 + 0x10], xmm0
add rsp, 0x20
pop rdi
ret
mov eax, 0xffffffff
jmp 0x452988

Function at 0x4537e0
Capabilities:
Hash data using sha256

Disassembly:
push rdi
push rbx
sub rsp, 0x88
mov eax, edx
mov r10, rcx
movzx edx, r9b
lea ecx, [rax - 1]
cmp cl, 0x1f
ja 0x4539e1
lea ecx, [r9 - 1]
cmp cl, 7
ja 0x4539d7
test r8, r8
je 0x4539d7
lea rdi, [r10 + 0x28]
mov byte [rsp + 0x20], al
mov eax, r10d
vmovups xmm0, xmmword [0x006baf00]
and rdi, 0xfffffffffffffff8
mov byte [rsp + 0x21], r9b
mov word [rsp + 0x22], 0x101
lea rbx, [rsp + 0x40]
sub eax, edi
mov dword [rsp + 0x24], 0
mov qword [rsp + 0x28], 0
mov r9, rbx
lea ecx, [rax + 0xc0]
xor eax, eax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
shr ecx, 3
mov qword [r10 + 0x20], 0
mov qword [r10 + 0xb8], 0
rep stosq qword [rdi], rax
vxorps xmm0, xmm0, xmmword [rsp + 0x20]
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov rax, r8
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
vmovups xmmword [r10], xmm0
vmovups xmm0, xmmword [0x006baf10]
vxorps xmm0, xmm0, xmmword [rsp + 0x30]
vmovups xmmword [r10 + 0x10], xmm0
cmp edx, 8
jae 0x4539b0
xor ecx, ecx
test dl, 4
jne 0x453990
test dl, 2
jne 0x453970
and edx, 1
jne 0x453960
mov r8d, 0x40
mov rdx, rbx
mov rcx, r10
call fcn.004536e0
mov rax, rbx
nop word cs:[rax + rax]
nop dword [rax]
mov rdx, rax
lea rdi, [rsp + 0x80]
inc rax
mov byte [rdx], 0
cmp rax, rdi
jne 0x453930
xor eax, eax
add rsp, 0x88
pop rbx
pop rdi
ret
movzx eax, byte [rax + rcx]
mov byte [r9 + rcx], al
jmp 0x45390d
movzx r8d, word [rax + rcx]
mov word [r9 + rcx], r8w
add rcx, 2
and edx, 1
je 0x45390d
jmp 0x453960
mov ecx, dword [rax]
mov dword [r9], ecx
mov ecx, 4
test dl, 2
je 0x453908
jmp 0x453970
mov r11d, edx
xor eax, eax
and r11d, 0xfffffff8
mov ecx, eax
add eax, 8
mov r9, qword [r8 + rcx]
mov qword [rbx + rcx], r9
cmp eax, r11d
jb 0x4539b9
lea r9, [rbx + rax]
add rax, r8
jmp 0x4538f8
mov eax, 0xffffffff
jmp 0x453948
mov eax, 0xffffffff
jmp 0x453948
Function at 0x50d200
Capabilities:
Encode data using xor

Disassembly:
mov r9d, 0x48
jmp fcn.0050a090
Function at 0x5151f0
Capabilities:
Encode data using base64

Disassembly:
mov r9d, 0x88
jmp fcn.0050d500

Function at 0x515410
Capabilities:
Encode data using base64

Disassembly:
mov r9d, 0x48
jmp fcn.0050d500
Function at 0x5661f0
Capabilities:
Hash data using sha256

Disassembly:
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x140
vmovups xmm1, xmmword [0x006f28c0]
vmovups xmm2, xmmword [0x006f28d0]
xor eax, eax
vmovups xmm3, xmmword [rdx]
vmovups xmm4, xmmword [rdx + 0x10]
mov qword [rsp + 0x20], 0x1012020
mov qword [rsp + 0x28], 0
vxorps xmm0, xmm1, xmmword [rsp + 0x20]
mov rsi, r8
lea r8, [rsp + 0xa0]
mov r13, rcx
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov rdi, r8
mov ecx, 0x12
lea r8, [rsp + 0x40]
lea r12, [rsp + 0x80]
rep stosq qword [rdi], rax
mov rdx, r8
mov rcx, r12
vmovups xmmword [rsp + 0x40], xmm3
vmovups xmmword [rsp + 0x50], xmm4
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
vmovups xmmword [rsp + 0x80], xmm0
vxorps xmm0, xmm2, xmmword [rsp + 0x30]
mov dword [rdi], 0
vmovups xmmword [rsp + 0x90], xmm0
call fcn.00565bf0
mov rdx, r13
mov rcx, r12
call fcn.00565bf0
lea r13, [rsp + 0xb0]
mov eax, dword [rsp + 0x130]
cmp eax, 0x40
ja 0x566380
mov ebx, pe_nt_image_headers64
add dword [rsp + 0xa0], eax
mov ecx, eax
mov dword [rsp + 0xa8], 0xffffffff
sub ebx, eax
add rcx, r13
mov eax, ebx
shr eax, 2
je 0x56631e
dec eax
xor edx, edx
lea r8, [rax*4 + 4]
call sub.msvcrt.dll_memset
mov rcx, rax
mov edx, ebx
and edx, 3
je 0x56633d
mov eax, ebx
sub eax, edx
cmp ebx, eax
jbe 0x56633d
dec edx
add rcx, rax
lea r8, [rdx + 1]
xor edx, edx
call sub.msvcrt.dll_memset
mov rdx, r13
mov rcx, r12
call fcn.00564690
vmovups xmm5, xmmword [rsp + 0x80]
vmovups xmm1, xmmword [rsp + 0x90]
vmovups xmmword [rsi], xmm5
vmovups xmmword [rsi + 0x10], xmm1
add rsp, 0x140
pop rbx
pop rsi
pop rdi
pop r12
pop r13
ret
mov rdx, r13
mov rcx, r12
add dword [rsp + 0xa0], 0x40
call fcn.00564690
mov edi, dword [rsp + 0x130]
lea ebx, [rdi - 0x40]
mov eax, ebx
mov dword [rsp + 0x130], ebx
shr eax, 2
je 0x5663c5
dec eax
lea rdx, [rsp + 0xf0]
mov rcx, r13
lea r8, [rax*4 + 4]
call sub.msvcrt.dll_memmove
mov edx, ebx
and edx, 3
je 0x5663f0
mov eax, ebx
sub eax, edx
cmp ebx, eax
jbe 0x5663f0
sub edx, ebx
lea rcx, [r13 + rax]
lea r8d, [rdi + rdx - 0x41]
lea rdx, [rsp + rax + 0xf0]
inc r8
call sub.msvcrt.dll_memmove
mov eax, dword [rsp + 0x130]
jmp 0x5662e5
Function at 0x56a350
Capabilities:
Hash data using sha256 via x86 extensions

Disassembly:
vpshufd xmm0, xmmword [r9], 0xb1
vpshufd xmm1, xmmword [r9 + 0x10], 0x1b
vpalignr xmm2, xmm0, xmm1, 8
vpblendw xmm1, xmm1, xmm0, 0xf0
vmovups xmm0, xmmword [0x006f2920]
vmovups xmmword [r8], xmm2
vmovups xmmword [r8 + 0x10], xmm1
vpaddd xmm0, xmm0, xmmword [rdx]
sha256rnds2 xmm1, xmm2, xmm0
vpshufd xmm0, xmm0, 0xe
sha256rnds2 xmm2, xmm1, xmm0
vmovups xmmword [rcx + 0x10], xmm1
vmovups xmmword [rcx], xmm2
ret