joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401969a0
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rbp, qword [rcx + 0x18]
lea eax, [rdx - 0xc8]
xor edi, edi
movzx esi, r8b
mov rbx, rcx
cmp eax, 0x64
jb 0x1401969e0
lea rdx, str.Couldnt_set_desired_mode
call fcn.140172440
lea eax, [rdi + 0x11]
jmp 0x140196b45
cmp edx, 0xc8
je 0x1401969f7
mov r8d, edx
lea rdx, str.Got_a__03d_response_code_instead_of_the_assumed_200
call fcn.140172530
cmp sil, 0x13
jne 0x140196a0d
mov rdx, rbp
mov rcx, rbx
call fcn.1401968a0
jmp 0x140196b41
cmp sil, 0x14
jne 0x140196b23
cmp byte [rbx + 0x6e0], 2
mov rbp, qword [rbx + 0x18]
jne 0x140196a8b
mov rax, qword [rbx + 0x1a0]
mov rcx, qword [rax]
test rcx, rcx
je 0x140196a8b
xor r9d, r9d
mov qword [rsp + 0x40], rdi
lea r8, [rsp + 0x40]
mov dword [rsp + 0x20], 3
xor edx, edx
call fcn.14019f3d0
test eax, eax
jne 0x140196b41
mov rcx, qword [rsp + 0x40]
lea edx, [rax + 0x2f]
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x140196a80
mov rdi, qword [rsp + 0x40]
mov ecx, 1
sub rax, rdi
cmovne rcx, rax
mov byte [rcx + rdi], 0
jmp 0x140196a8b
mov rcx, qword [rsp + 0x40]
call qword [str._ie_]
mov rdx, qword [rbx + 0x740]
test rdx, rdx
jne 0x140196ab0
cmp byte [rbx + 0x12ff], 0
lea rax, str.NLST
lea rdx, str.LIST
cmovne rdx, rax
lea r8, [0x1401f123a]
test rdi, rdi
mov r9, r8
lea rax, [0x140203384]
cmovne r9, rdi
lea rcx, [0x1401e3bfc]
cmovne r8, rax
call fcn.1401819c0
mov rcx, rdi
mov rsi, rax
call qword [str._ie_]
test rsi, rsi
jne 0x140196aee
lea edi, [rsi + 0x1b]
jmp 0x140196b43
lea rdx, [rbp + 0x5d0]
mov r9, rsi
lea r8, [0x1401f6034]
mov rcx, rbx
call fcn.1401aff90
mov rcx, rsi
mov edi, eax
call qword [str._ie_]
test edi, edi
jne 0x140196b43
mov rcx, qword [rbx + 0x18]
mov byte [rcx + 0x6b6], 0x1f
jmp 0x140196b43
cmp sil, 0x15
jne 0x140196b2e
mov r8b, reloc.WS2_32.dll_listen
jmp 0x140196b37
cmp sil, 0x16
jne 0x140196b43
mov r8b, recv
mov dl, 1
mov rcx, rbx
call fcn.140196400
mov edi, eax
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1401a19b0
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [0x1402488d8]
mov rbx, rcx
mov dword [rsp + 0x50], 0x4020
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x58], 4
test eax, eax
jne 0x1401a1a14
lea r9d, [rax + 2]
mov dword [rsp + 0x20], 3
xor r8d, r8d
lea ecx, [rax + 6]
xor edx, edx
call fcn.1401a7170
test al, al
je 0x1401a1a08
mov dword [0x1402488d8], 2
add rsp, 0x30
pop rbx
ret
mov dword [0x1402488d8], 1
jmp 0x1401a1a19
cmp eax, 2
je 0x1401a1a6b
lea rax, [rsp + 0x58]
mov edx, 0xffff
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r8d, 0x1001
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x1401a1a4a
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x48], eax
jg 0x1401a1a6b
lea r9, [rsp + 0x50]
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, 0x1001
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
add rsp, 0x30
pop rbx
ret
Function at 0x1401a2620
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x1c0
mov rax, qword [0x1402325c0]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov rbx, qword [rcx + 0x10]
lea r8, [rsp + 0x20]
xorps xmm0, xmm0
mov dword [rsp + 0x20], 0x80
mov rsi, rdx
lea rdx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
mov rcx, qword [rbx + 0x98]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x1401a26d6
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, eax
mov ebx, eax
call fcn.140183830
mov r9, rax
lea rdx, str.getsockname___failed_with_errno__d:__s
mov r8d, ebx
mov rcx, rsi
call fcn.140172440
mov eax, 2
jmp 0x1401a2748
mov edx, dword [rsp + 0x20]
lea r9, [rbx + 0x104]
lea r8, [rbx + 0xd4]
lea rcx, [rsp + 0x30]
call fcn.140173210
test al, al
jne 0x1401a2746
mov qword [rsp + 0x1e0], rdi
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov ebx, dword [rax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, ebx
mov rdi, rax
call fcn.140183830
mov r8d, dword [rdi]
lea rdx, str.ssloc_inet_ntop___failed_with_errno__d:__s
mov r9, rax
mov rcx, rsi
call fcn.140172440
mov rdi, qword [rsp + 0x1e0]
mov eax, 2
jmp 0x1401a2748
xor eax, eax
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.1401b5670
mov rbx, qword [rsp + 0x1e8]
add rsp, 0x1c0
pop rsi
ret
Function at 0x1401a43d0
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov r14, r8
mov dword [rsp + 0x58], 0
mov rsi, rdx
lea rbx, [rdx + 0x148]
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.WWW_Authenticate:
mov rcx, r9
mov rdi, r9
call fcn.1401767b0
test eax, eax
je 0x1401a441d
mov ebp, dword [rbx]
cmp ebp, 0x191
je 0x1401a4440
mov r8d, reloc.WS2_32.dll_send
lea rdx, str.Proxy_authenticate:
mov rcx, rdi
call fcn.1401767b0
test eax, eax
je 0x1401a4486
mov ebp, dword [rbx]
cmp ebp, 0x197
jne 0x1401a4486
mov rcx, rdi
call fcn.14017c500
mov rbx, rax
test rax, rax
jne 0x1401a4458
lea eax, [rbx + 0x1b]
jmp 0x1401a45e9
cmp ebp, 0x197
mov r8, rbx
mov rcx, rsi
sete dl
call fcn.14017e160
mov rcx, rbx
mov edi, eax
call qword [str._ie_]
test edi, edi
je 0x1401a45e7
mov eax, edi
jmp 0x1401a45e9
mov r8d, reloc.WS2_32.dll_ntohs
lea rdx, str.Content_Length:
mov rcx, rdi
call fcn.1401767b0
test eax, eax
je 0x1401a44dd
mov r8d, dword [rbx]
lea eax, [r8 - 0xc8]
cmp eax, 0x64
jae 0x1401a44c2
lea rdx, str.Ignoring_Content_Length_in_CONNECT__03d_response
mov rcx, rsi
call fcn.140172530
jmp 0x1401a45e7
xor edx, edx
lea r9, [r14 + 0x298]
lea rcx, [rdi + 0xf]
lea r8d, [rdx + 0xa]
call fcn.1401845a0
jmp 0x1401a45e7
lea r9, str.close
mov qword [rsp + 0x20], 5
mov r8d, listen
lea rdx, str.Connection:
mov rcx, rdi
call fcn.14017c430
test al, al
jne 0x1401a45df
mov r8d, reloc.WS2_32.dll_select
lea rdx, str.Transfer_Encoding:
mov rcx, rdi
call fcn.1401767b0
test eax, eax
je 0x1401a4590
mov r8d, dword [rbx]
lea eax, [r8 - 0xc8]
cmp eax, 0x64
jae 0x1401a4546
lea rdx, str.Ignoring_Transfer_Encoding_in_CONNECT__03d_response
mov rcx, rsi
call fcn.140172530
jmp 0x1401a45e7
lea r9, str.chunked
mov qword [rsp + 0x20], 7
mov r8d, reloc.WS2_32.dll_select
lea rdx, str.Transfer_Encoding:
mov rcx, rdi
call fcn.14017c430
test al, al
je 0x1401a45e7
lea rdx, str.CONNECT_responded_chunked
mov rcx, rsi
call fcn.140172530
mov rcx, rsi
mov byte [r14 + 0x2a4], 1
call fcn.1401a76d0
jmp 0x1401a45e7
lea r9, str.close
mov qword [rsp + 0x20], 5
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Proxy_Connection:
mov rcx, rdi
call fcn.14017c430
test al, al
jne 0x1401a45df
mov r9, rbx
lea r8, [rsp + 0x58]
lea rdx, str.HTTP_1._d__d
mov rcx, rdi
call fcn.1400016d0
cmp eax, 2
jne 0x1401a45e7
mov eax, dword [rbx]
mov dword [rsi + 0x135c], eax
jmp 0x1401a45e7
mov byte [r14 + 0x2a5], 1
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x1401abaf0
Capabilities:
Get file size
Read file on windows

Disassembly:
push rbx
push rbp
push r12
push r13
push r15
sub rsp, 0x180
mov rax, qword [0x1402325c0]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x50], rcx
mov r15, r8
mov rcx, rdx
mov r12, rdx
xor ebp, ebp
xor ebx, ebx
call case.0x140166188.0
mov r13, rax
test rax, rax
jne 0x1401abb6e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.140183960
mov r9, rax
lea rdx, str.schannel:_invalid_path_name_for_CA_file__s:__s
mov r8, r12
mov rcx, r15
call fcn.140172440
xor ecx, ecx
lea ebx, [rbp + 0x4d]
call qword [str._ie_]
jmp 0x1401abd28
xor r9d, r9d
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov rcx, r13
mov qword [rsp + 0x170], r14
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x1401abbe1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.140183960
mov r9, rax
lea rdx, str.schannel:_failed_to_open_CA_file__s:__s
mov r8, r12
mov rcx, r15
call fcn.140172440
xor ecx, ecx
lea ebx, [r14 + 0x4e]
jmp 0x1401abd12
lea rdx, [rsp + 0x48]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x1401abc2a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.140183960
mov r9, rax
lea rdx, str.schannel:_failed_to_determine_size_of_CA_file__s:__s
mov r8, r12
mov rcx, r15
call fcn.140172440
mov ebx, Ordinal_79
jmp 0x1401abd06
mov qword [rsp + 0x178], rdi
mov rdi, qword [rsp + 0x48]
cmp rdi, 0x100000
jle 0x1401abc5f
mov r8d, 0x100000
lea rdx, str.schannel:_CA_file_exceeds_max_size_of__u_bytes
mov rcx, r15
call fcn.140172440
mov ebx, Ordinal_79
jmp 0x1401abcfe
lea rcx, [rdi + 1]
call qword [str..ie_]
mov rbp, rax
test rax, rax
jne 0x1401abc79
lea ebx, [rax + 0x1b]
jmp 0x1401abcfe
mov qword [rsp + 0x1c8], rsi
test rdi, rdi
je 0x1401abcd8
nop word [rax + rax]
mov r8d, edi
mov dword [rsp + 0x40], 0
sub r8d, ebx
mov esi, ebx
lea rdx, [rbx + rbp]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1401abd4a
mov eax, dword [rsp + 0x40]
test eax, eax
jne 0x1401abccf
mov edi, esi
jmp 0x1401abcd1
add ebx, eax
mov eax, ebx
cmp rax, rdi
jb 0x1401abc90
mov rcx, qword [rsp + 0x50]
mov r9, r12
mov r8, rdi
mov byte [rdi + rbp], 0
mov rdx, rbp
mov qword [rsp + 0x20], r15
call fcn.1401ab870
mov ebx, eax
mov rsi, qword [rsp + 0x1c8]
mov rdi, qword [rsp + 0x178]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbp
call qword [str._ie_]
mov rcx, r13
call case.0x1401717df.0
mov r14, qword [rsp + 0x170]
mov eax, ebx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1401b5670
add rsp, 0x180
pop r15
pop r13
pop r12
pop rbp
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.140183960
mov r9, rax
lea rdx, str.schannel:_failed_to_read_from_CA_file__s:__s
mov r8, r12
mov rcx, r15
call fcn.140172440
mov ebx, Ordinal_79
jmp 0x1401abcf6
Function at 0x1401b39d0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push r14
push r15
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbp, rcx
mov ecx, dword [rcx + 0x20]
mov r14, rdx
add rcx, 0x18
mov r15d, r8d
lea r9d, [rax + rax]
add rcx, r9
call qword [str..ie_]
mov rbx, rax
test rax, rax
jne 0x1401b3a15
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbp
mov qword [rax + 8], rcx
mov eax, dword [rbp + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rbx + 0x10], rax
mov qword [rsp + 0x50], rdi
cmp r15d, dword [rbp + 0x1c]
jbe 0x1401b3a60
call qword [rbp]
mov rcx, qword [rbx + 8]
mov r8d, r15d
mov rdx, r14
call qword [rbp + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbp + 0x18]
add r14, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, r14
call qword [rbp + reloc.WS2_32.dll_recv]
mov r15d, dword [rbp + 0x20]
mov rcx, qword [rbx + 8]
call qword [rbp]
mov rcx, qword [rbx + 0x10]
call qword [rbp]
xor esi, esi
test r15, r15
je 0x1401b3ac2
mov rsi, r15
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rbx + 8]
call qword [rbp + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rbx + 0x10]
call qword [rbp + reloc.WS2_32.dll_htonl]
sub r15, 1
jne 0x1401b3a80
mov eax, dword [rbp + 0x1c]
cmp rsi, rax
jae 0x1401b3b03
nop word [rax + rax]
mov rcx, qword [rbx + 8]
lea rdx, [0x1401f0821]
mov r8d, 1
call qword [rbp + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbx + 0x10]
lea rdx, [0x1401f0822]
mov r8d, 1
call qword [rbp + reloc.WS2_32.dll_htonl]
mov eax, dword [rbp + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1401b3ad0
mov rdi, qword [rsp + 0x50]
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop r14
pop rbp
ret
Function at 0x1401b3b20
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push rbx
push rbp
push r12
push r14
push r15
sub rsp, 0x20
mov rbp, rcx
mov r12, r9
mov rcx, r8
mov r14, rdx
call fcn.140174140
mov r8d, dword [rbp + 0x18]
mov ecx, dword [rbp + 0x20]
add rcx, 0x18
mov r15d, eax
lea r9d, [r8 + r8]
add rcx, r9
call qword [str..ie_]
mov rbx, rax
test rax, rax
je 0x1401b3cc6
lea rcx, [rax + 0x18]
mov qword [rax], rbp
mov qword [rax + 8], rcx
mov eax, dword [rbp + 0x18]
add rax, rcx
mov qword [rsp + 0x58], rsi
mov qword [rbx + 0x10], rax
mov qword [rsp + 0x60], rdi
cmp r15d, dword [rbp + 0x1c]
jbe 0x1401b3bb0
call qword [rbp]
mov rcx, qword [rbx + 8]
mov r8d, r15d
mov rdx, r14
call qword [rbp + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbp + 0x18]
add r14, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, r14
call qword [rbp + reloc.WS2_32.dll_recv]
mov r15d, dword [rbp + 0x20]
mov rcx, qword [rbx + 8]
call qword [rbp]
mov rcx, qword [rbx + 0x10]
call qword [rbp]
xor esi, esi
test r15, r15
je 0x1401b3c12
mov rsi, r15
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x50]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x50], al
mov rcx, qword [rbx + 8]
call qword [rbp + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x50]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x50], al
mov r8d, 1
mov rcx, qword [rbx + 0x10]
call qword [rbp + reloc.WS2_32.dll_htonl]
sub r15, 1
jne 0x1401b3bd0
mov eax, dword [rbp + 0x1c]
cmp rsi, rax
jae 0x1401b3c53
nop word [rax + rax]
mov rcx, qword [rbx + 8]
lea rdx, [0x1401f0821]
mov r8d, 1
call qword [rbp + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbx + 0x10]
lea rdx, [0x1401f0822]
mov r8d, 1
call qword [rbp + reloc.WS2_32.dll_htonl]
mov eax, dword [rbp + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1401b3c20
mov rcx, qword [rsp + 0x70]
call fcn.140174140
mov r9, qword [rbx]
mov r8d, eax
mov rcx, qword [rbx + 8]
mov rdx, r12
call qword [r9 + reloc.WS2_32.dll_htonl]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rbx]
test rdi, rdi
jne 0x1401b3c82
mov edi, dword [rsi + 0x18]
add rdi, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, rdi
call qword [rsi + reloc.WS2_32.dll_recv]
mov r8d, dword [rsi + 0x20]
mov rdx, rdi
mov rcx, qword [rbx + 0x10]
call qword [rsi + reloc.WS2_32.dll_htonl]
mov rdx, qword [rbx + 0x10]
mov rcx, rdi
call qword [rsi + reloc.WS2_32.dll_recv]
mov rcx, rbx
call qword [str._ie_]
mov rdi, qword [rsp + 0x60]
xor eax, eax
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rbp
pop rbx
ret
mov eax, reloc.WLDAP32.dll_Ordinal_27
add rsp, 0x20
pop r15
pop r14
pop r12
pop rbp
pop rbx
ret

Function at 0x1401b54d0
Capabilities:
Encode data using xor

Disassembly:
mov r10, rcx
test rdx, rdx
je 0x1401b5535
nop dword [rax + rax]
movzx r8d, byte [r10]
lea r10, [r10 + 1]
movzx eax, r8b
movzx r9d, r8b
shr r9b, 1
and al, 0xfe
not r9b
movzx eax, al
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
or r8b, 1
test r9b, 2
movzx ecx, r8b
cmove ecx, eax
mov byte [r10 - 1], cl
sub rdx, 1
jne 0x1401b54e0
ret
Function at 0x1401b64f4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401b653e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401b653e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401b653e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401b653e
cmp dword [rcx + 0x84], 0xe
jbe 0x1401b653e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1401b6540
xor al, al
add rsp, 0x28
ret
Function at 0x140001d04
Capabilities:
Hash data using sha256

Disassembly:
mov rcx, qword [rcx]
mov r8d, 1
jmp 0x14001570f

Function at 0x140009e90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x140009f20
cmp r11, r10
ja 0x140009f96
cmp r10, rdx
ja 0x140009fa8
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x140009f22
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140009f00
jmp 0x140009f84
ja 0x140009f2a
mov r11, r10
cmp rax, r8
jne 0x140009ec4
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x140009f60
mov rdi, r8
sub ecx, edx
jns 0x140009f7b
jmp 0x140009f86
cmp r8, rsi
je 0x140009fb7
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140009f86
xor al, 1
cmp rdi, rsi
jne 0x140009f40
jmp 0x140009f86
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.1400305c0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140030350
lea rcx, [0x140188209]
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.1400303d0
int3
Function at 0x14000b3f7
Capabilities:
Encrypt data using aes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
mov byte [rdx + 0xf0], 0xe
mov edx, 4
call fcn.14000b743
mov dword [rsi], eax
lea rcx, [rdi + 4]
mov edx, 4
call fcn.14000b743
mov dword [rsi + 4], eax
lea rcx, [rdi + 8]
mov edx, 4
call fcn.14000b743
mov dword [rsi + 8], eax
lea rcx, [rdi + 0xc]
mov edx, 4
call fcn.14000b743
mov dword [rsi + 0xc], eax
lea rcx, [rdi + 0x10]
mov edx, 4
call fcn.14000b743
mov dword [rsi + 0x10], eax
lea rcx, [rdi + 0x14]
mov edx, 4
call fcn.14000b743
mov dword [rsi + 0x14], eax
lea rcx, [rdi + 0x18]
mov edx, 4
call fcn.14000b743
mov dword [rsi + 0x18], eax
add rdi, 0x1c
mov edx, 4
mov rcx, rdi
call fcn.14000b743
mov dword [rsi + 0x1c], eax
mov edx, 0x3c
xor ebx, ebx
mov ebp, 0xff
lea r14, [0x140183960]
lea r15, [0x140183d60]
lea r12, [0x140184160]
lea r13, [0x140184560]
lea rdi, [0x140184960]
cmp rdx, 7
jbe 0x14000b622
cmp rdx, 8
je 0x14000b633
mov eax, dword [rsi + 0x1c]
mov ecx, eax
shr ecx, 0x10
and ecx, ebp
movzx r8d, byte [r14 + rcx*4 + 3]
shl r8d, 0x18
xor r8d, dword [rsi]
mov ecx, eax
shr ecx, 8
and ecx, ebp
movzx ecx, byte [r15 + rcx*4 + 2]
shl ecx, 0x10
movzx r9d, al
movzx r9d, byte [r12 + r9*4 + 1]
shl r9d, 8
xor r9d, ecx
mov ecx, eax
shr ecx, 0x18
movzx ecx, byte [r13 + rcx*4]
xor ecx, r9d
xor ecx, r8d
xor ecx, dword [rbx + rdi]
mov dword [rsi + 0x20], ecx
cmp rdx, 9
je 0x14000b649
xor ecx, dword [rsi + 4]
mov dword [rsi + 0x24], ecx
cmp rdx, 0xa
jbe 0x14000b65f
xor ecx, dword [rsi + 8]
mov dword [rsi + 0x28], ecx
cmp rdx, 0xb
je 0x14000b675
xor ecx, dword [rsi + 0xc]
mov dword [rsi + 0x2c], ecx
cmp rbx, 0x18
je 0x14000b611
cmp rdx, 0xd
jb 0x14000b68b
mov r8d, ecx
shr r8d, 0x18
movzx r8d, byte [r14 + r8*4 + 3]
shl r8d, 0x18
xor r8d, dword [rsi + 0x10]
mov r9d, ecx
shr r9d, 0x10
and r9d, ebp
movzx r9d, byte [r15 + r9*4 + 2]
shl r9d, 0x10
mov r10d, ecx
shr r10d, 8
and r10d, ebp
movzx r10d, byte [r12 + r10*4 + 1]
shl r10d, 8
xor r10d, r9d
and ecx, ebp
movzx ecx, byte [r13 + rcx*4]
xor ecx, r10d
xor ecx, r8d
mov dword [rsi + 0x30], ecx
cmp rdx, 0xd
je 0x14000b6a1
xor ecx, dword [rsi + 0x14]
mov dword [rsi + 0x34], ecx
cmp rdx, 0xe
jbe 0x14000b6b7
xor ecx, dword [rsi + 0x18]
mov dword [rsi + 0x38], ecx
cmp rdx, 0xf
je 0x14000b6cd
xor ecx, eax
mov dword [rsi + 0x3c], ecx
mov r8d, 8
mov rcx, rsi
lea r9, [0x140184a60]
call fcn.14000b6e4
mov rsi, rax
add rbx, 4
jmp 0x14000b4c9
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, [0x140184988]
mov ecx, 7
call fcn.1400302d0
lea r8, [0x1401849a0]
mov ecx, 8
mov edx, 8
call fcn.1400302d0
lea r8, [0x1401849b8]
mov ecx, 9
mov edx, 9
call fcn.1400302d0
lea r8, [0x1401849d0]
mov ecx, 0xa
mov edx, 0xa
call fcn.1400302d0
lea r8, [0x1401849e8]
mov ecx, 0xb
mov edx, 0xb
call fcn.1400302d0
lea r8, [0x140184a00]
mov ecx, 0xc
mov edx, 0xc
call fcn.1400302d0
lea r8, [0x140184a18]
mov ecx, 0xd
mov edx, 0xd
call fcn.1400302d0
lea r8, [0x140184a30]
mov ecx, 0xe
mov edx, 0xe
call fcn.1400302d0
lea r8, [0x140184a48]
mov ecx, 0xf
mov edx, 0xf
call fcn.1400302d0
int3
Function at 0x14000b9dc
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x50
xorps xmm0, xmm0
lea rsi, [rsp + 0x20]
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
mov rcx, rsi
call sub.KERNEL32.dll_GetSystemInfo
mov eax, dword [rsi + 0x28]
add rsp, 0x50
pop rsi
ret

Function at 0x140012470
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.140007360
cmp rax, rcx
je 0x140012495
cmp rdx, 4
jae 0x140012498
xor eax, eax
xor r8d, r8d
jmp 0x140012530
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x140032460]
movdqa xmm3, xmmword [0x140032470]
pxor xmm1, xmm1
nop dword [rax]
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x1400124c0
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x140012547
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x140012530
ret
Function at 0x140016f08
Capabilities:
Hash data using sha256 via x86 extensions

Disassembly:
movaps xmm0, xmmword [rdx]
sha256msg1 xmm0, xmmword [r8]
movaps xmmword [rcx], xmm0
ret

Function at 0x140016f24
Capabilities:
Hash data using sha256 via x86 extensions

Disassembly:
movaps xmm0, xmmword [rdx]
sha256msg2 xmm0, xmmword [r8]
movaps xmmword [rcx], xmm0
ret

Function at 0x140017028
Capabilities:
Hash data using murmur3

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
mov rsi, qword [rsp + 0x58]
mov eax, dword [rdx]
mov edi, r8d
rol edi, 0x19
mov r10d, dword [rdx + 4]
mov ebx, eax
rol ebx, 0x19
mov r11d, dword [rdx + 8]
mov ebp, r10d
rol ebp, 0x19
mov r14d, r11d
rol r14d, 0x19
mov r15d, r8d
rol r15d, 0xe
xor r15d, edi
mov edi, eax
rol edi, 0xe
xor edi, ebx
mov ebx, r10d
rol ebx, 0xe
xor ebx, ebp
mov ebp, r11d
rol ebp, 0xe
xor ebp, r14d
shr r8d, 3
xor r8d, r15d
add r8d, eax
shr eax, 3
xor eax, edi
add eax, r10d
shr r10d, 3
xor r10d, ebx
add r10d, r11d
shr r11d, 3
xor r11d, ebp
add r11d, dword [rdx + 0xc]
add r8d, dword [rsi + 0xc]
add eax, dword [r9]
add r10d, dword [r9 + 4]
add r11d, dword [r9 + 8]
mov edx, dword [rsi + 4]
mov edi, edx
rol edi, 0xf
mov r9d, dword [rsi]
mov esi, edx
rol esi, 0xd
xor esi, edi
shr edx, 0xa
xor edx, esi
add edx, r11d
mov r11d, r9d
rol r11d, 0xf
mov esi, r9d
rol esi, 0xd
xor esi, r11d
shr r9d, 0xa
xor r9d, esi
mov r11d, edx
rol r11d, 0xf
add r9d, r10d
mov r10d, edx
rol r10d, 0xd
xor r10d, r11d
mov r11d, edx
shr r11d, 0xa
xor r11d, r10d
add r11d, eax
mov eax, r9d
rol eax, 0xf
mov r10d, r9d
rol r10d, 0xd
xor r10d, eax
mov eax, r9d
shr eax, 0xa
xor eax, r10d
add eax, r8d
mov dword [rcx], eax
mov dword [rcx + 4], r11d
mov dword [rcx + 8], r9d
mov dword [rcx + 0xc], edx
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret