joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007a6e0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xc0
mov rax, qword [0x140160200]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rsi, qword [rcx + 0x18]
lea r8, [rsp + 0x20]
mov rdi, rcx
lea rdx, [rsp + 0x30]
mov rbx, qword [rsi + 0x1c0]
mov rcx, rbx
mov qword [rsp + 0x28], 0xffffffffffffffff
mov dword [rsp + 0x20], 0x80
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x14007a75c
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], 0x80
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_accept]
mov qword [rsp + 0x28], rax
jmp 0x14007a761
mov rax, qword [rsp + 0x28]
mov rcx, rdi
cmp rax, 0xffffffffffffffff
jne 0x14007a780
lea rdx, str.Error_accept__ing_server_connect
call fcn.140057fb0
mov eax, reloc.WLDAP32.dll_Ordinal_30
jmp 0x14007a80c
lea rdx, str.Connection_accepted_from_server
call fcn.1400580a0
mov byte [rsi + 0x33d], 0
mov edx, 1
mov rcx, qword [rsp + 0x28]
call fcn.140086980
lea r9, [rsp + 0x28]
mov r8d, 1
mov rdx, rsi
mov rcx, rdi
call fcn.140058f00
test eax, eax
jne 0x14007a80c
cmp qword [rdi + 0x278], 0
je 0x14007a80a
mov dl, 1
mov rcx, rdi
call fcn.140046c60
mov rdx, qword [rsp + 0x28]
mov r8d, 1
mov rcx, qword [rdi + 0x280]
call qword [rdi + 0x278]
xor edx, edx
mov rcx, rdi
mov ebx, eax
call fcn.140046c60
test ebx, ebx
je 0x14007a80a
mov rdx, rsi
mov rcx, rdi
call fcn.14007acf0
mov eax, Ordinal_46
jmp 0x14007a80c
xor eax, eax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400daef0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x14007c2c0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x1b0]
mov rbx, rcx
mov rdx, qword [rcx + 0x18]
cmp dword [rax + 0x10], 0
je 0x14007c2f6
mov dword [rdx + 0x728], 0xd
mov r8d, reloc.WS2_32.dll_listen
mov dl, 1
add rsp, 0x20
pop rbx
jmp fcn.14007c3e0
cmp byte [rcx + 0xabe], 0
je 0x14007c30b
xor edx, edx
add rsp, 0x20
pop rbx
jmp fcn.14007ce50
cmp byte [rcx + 0xac1], 0
je 0x14007c38c
mov r9, qword [rdx + 0x6e8]
test r9, r9
jne 0x14007c34e
mov r9, qword [rcx + 0x778]
test r9, r9
jne 0x14007c345
cmp byte [rbx + 0x1310], 0
lea rcx, str.NLST
lea r9, str.LIST
cmovne r9, rcx
lea r8, str.PRET__s
jmp 0x14007c365
cmp byte [rcx + 0xace], 0
lea r8, str.PRET_STOR__s
jne 0x14007c365
lea r8, str.PRET_RETR__s
add rdx, 0x658
mov rcx, rbx
call fcn.140093870
test eax, eax
jne 0x14007c396
mov rcx, qword [rbx + 0x18]
mov dword [rcx + 0x728], 0x1d
add rsp, 0x20
pop rbx
ret
add rsp, 0x20
pop rbx
jmp fcn.14007cda0
add rsp, 0x20
pop rbx
ret

Function at 0x14007c6b0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x1b0]
add rdx, 0x658
mov rbx, rcx
cmp dword [rax + 0x10], 0
je 0x14007c6fe
cmp qword [rdx + 0x90], 0
je 0x14007c6fe
xor r9d, r9d
lea r8, str.REST__d
call fcn.140093870
test eax, eax
jne 0x14007c708
mov rcx, qword [rbx + 0x18]
mov dword [rcx + 0x728], 0x1a
add rsp, 0x20
pop rbx
ret
add rsp, 0x20
pop rbx
jmp fcn.14007c2c0
add rsp, 0x20
pop rbx
ret
Function at 0x14007c9d0
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
mov esi, r8d
mov rbx, rcx
cmp eax, 0x64
jb 0x14007ca0f
lea rdx, str.Couldnt_set_desired_mode
call fcn.140057fb0
lea eax, [rdi + 0x11]
jmp 0x14007cb75
cmp edx, 0xc8
je 0x14007ca26
mov r8d, edx
lea rdx, str.Got_a__03d_response_code_instead_of_the_assumed_200
call fcn.1400580a0
cmp esi, 0x13
jne 0x14007ca3b
mov rdx, rbp
mov rcx, rbx
call fcn.14007c8d0
jmp 0x14007cb71
cmp esi, 0x14
jne 0x14007cb53
cmp byte [rbx + 0x710], 2
mov rbp, qword [rbx + 0x18]
jne 0x14007cab8
mov rax, qword [rbx + 0x1b0]
mov rcx, qword [rax]
test rcx, rcx
je 0x14007cab8
xor r9d, r9d
mov qword [rsp + 0x40], rdi
lea r8, [rsp + 0x40]
mov dword [rsp + 0x20], 3
xor edx, edx
call fcn.140085330
test eax, eax
jne 0x14007cb71
mov rcx, qword [rsp + 0x40]
lea edx, [rsi + 0x1b]
call fcn.1400de168
test rax, rax
je 0x14007caad
mov rdi, qword [rsp + 0x40]
mov ecx, 1
sub rax, rdi
cmovne rcx, rax
mov byte [rcx + rdi], 0
jmp 0x14007cab8
mov rcx, qword [rsp + 0x40]
call qword [fcn.1400ef2dc]
mov rdx, qword [rbx + 0x778]
test rdx, rdx
jne 0x14007cadd
cmp byte [rbx + 0x1310], 0
lea rax, str.NLST
lea rdx, str.LIST
cmovne rdx, rax
lea r8, [0x140140228]
test rdi, rdi
mov r9, r8
lea rax, [0x1401209ec]
cmovne r9, rdi
lea rcx, [0x14012113c]
cmovne r8, rax
call fcn.14005d690
mov rcx, rdi
mov rsi, rax
call qword [fcn.1400ef2dc]
test rsi, rsi
jne 0x14007cb1b
lea edi, [rsi + 0x1b]
jmp 0x14007cb73
lea rdx, [rbp + 0x658]
mov r9, rsi
lea r8, [0x140145a10]
mov rcx, rbx
call fcn.140093870
mov rcx, rsi
mov edi, eax
call qword [fcn.1400ef2dc]
test edi, edi
jne 0x14007cb73
mov rcx, qword [rbx + 0x18]
mov dword [rcx + 0x728], 0x1f
jmp 0x14007cb73
cmp esi, 0x15
jne 0x14007cb5e
lea r8d, [rsi - 8]
jmp 0x14007cb67
cmp esi, 0x16
jne 0x14007cb73
lea r8d, [rsi - 8]
mov dl, 1
mov rcx, rbx
call fcn.14007c3e0
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 0x14008c700
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rdi, r8
mov dword [rsp + 0x50], 0
mov r14, rdx
lea rbx, [rcx + 0x158]
mov rsi, rcx
lea rdx, str.WWW_Authenticate:
mov rcx, rdi
mov r8d, reloc.WS2_32.dll_recvfrom
call fcn.14005edb0
test eax, eax
je 0x14008c74d
mov ebp, dword [rbx]
cmp ebp, 0x191
je 0x14008c770
mov r8d, reloc.WS2_32.dll_send
lea rdx, str.Proxy_authenticate:
mov rcx, rdi
call fcn.14005edb0
test eax, eax
je 0x14008c7b6
mov ebp, dword [rbx]
cmp ebp, 0x197
jne 0x14008c7b6
mov rcx, rdi
call fcn.140064bb0
mov rbx, rax
test rax, rax
jne 0x14008c788
lea eax, [rbx + 0x1b]
jmp 0x14008c919
cmp ebp, 0x197
mov r8, rbx
mov rcx, rsi
sete dl
call fcn.1400667f0
mov rcx, rbx
mov edi, eax
call qword [fcn.1400ef2dc]
test edi, edi
je 0x14008c917
mov eax, edi
jmp 0x14008c919
mov r8d, reloc.WS2_32.dll_ntohs
lea rdx, str.Content_Length:
mov rcx, rdi
call fcn.14005edb0
test eax, eax
je 0x14008c80d
mov r8d, dword [rbx]
lea eax, [r8 - 0xc8]
cmp eax, 0x64
jae 0x14008c7f2
lea rdx, str.Ignoring_Content_Length_in_CONNECT__03d_response
mov rcx, rsi
call fcn.1400580a0
jmp 0x14008c917
xor edx, edx
lea r9, [r14 + 0x298]
lea rcx, [rdi + 0xf]
lea r8d, [rdx + 0xa]
call fcn.14006a7a0
jmp 0x14008c917
lea r9, str.close
mov qword [rsp + 0x20], 5
mov r8d, recv
lea rdx, str.Connection:
mov rcx, rdi
call fcn.140064ae0
test al, al
jne 0x14008c90f
mov r8d, reloc.WS2_32.dll_select
lea rdx, str.Transfer_Encoding:
mov rcx, rdi
call fcn.14005edb0
test eax, eax
je 0x14008c8c0
mov r8d, dword [rbx]
lea eax, [r8 - 0xc8]
cmp eax, 0x64
jae 0x14008c876
lea rdx, str.Ignoring_Transfer_Encoding_in_CONNECT__03d_response
mov rcx, rsi
call fcn.1400580a0
jmp 0x14008c917
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.140064ae0
test al, al
je 0x14008c917
lea rdx, str.CONNECT_responded_chunked
mov rcx, rsi
call fcn.1400580a0
mov rcx, rsi
mov byte [r14 + 0x2a4], 1
call fcn.1400884a0
jmp 0x14008c917
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.140064ae0
test al, al
jne 0x14008c90f
mov r9, rbx
lea r8, [rsp + 0x50]
lea rdx, str.HTTP_1._d__d
mov rcx, rdi
call fcn.14000b450
cmp eax, 2
jne 0x14008c917
mov eax, dword [rbx]
mov dword [rsi + 0x136c], eax
jmp 0x14008c917
mov byte [r14 + 0x2a5], 1
xor eax, eax
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x14008f3d0
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 [0x140160200]
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.0x14004c568.0
mov r13, rax
test rax, rax
jne 0x14008f44e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.140042ac0
mov r9, rax
lea rdx, str.schannel:_invalid_path_name_for_CA_file__s:__s
mov r8, r12
mov rcx, r15
call fcn.140057fb0
xor ecx, ecx
lea ebx, [rbp + 0x4d]
call qword [fcn.1400ef2dc]
jmp 0x14008f608
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 0x14008f4c1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.140042ac0
mov r9, rax
lea rdx, str.schannel:_failed_to_open_CA_file__s:__s
mov r8, r12
mov rcx, r15
call fcn.140057fb0
xor ecx, ecx
lea ebx, [r14 + 0x4e]
jmp 0x14008f5f2
lea rdx, [rsp + 0x48]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x14008f50a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.140042ac0
mov r9, rax
lea rdx, str.schannel:_failed_to_determine_size_of_CA_file__s:__s
mov r8, r12
mov rcx, r15
call fcn.140057fb0
mov ebx, Ordinal_79
jmp 0x14008f5e6
mov qword [rsp + 0x178], rdi
mov rdi, qword [rsp + 0x48]
cmp rdi, 0x100000
jle 0x14008f53f
mov r8d, 0x100000
lea rdx, str.schannel:_CA_file_exceeds_max_size_of__u_bytes
mov rcx, r15
call fcn.140057fb0
mov ebx, Ordinal_79
jmp 0x14008f5de
lea rcx, [rdi + 1]
call qword [fcn.1400ef748]
mov rbp, rax
test rax, rax
jne 0x14008f559
lea ebx, [rax + 0x1b]
jmp 0x14008f5de
mov qword [rsp + 0x1c8], rsi
test rdi, rdi
je 0x14008f5b8
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 0x14008f62a
mov eax, dword [rsp + 0x40]
test eax, eax
jne 0x14008f5af
mov edi, esi
jmp 0x14008f5b1
add ebx, eax
mov eax, ebx
cmp rax, rdi
jb 0x14008f570
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.14008f150
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 [fcn.1400ef2dc]
mov rcx, r13
call fcn.1400ef2dc
mov r14, qword [rsp + 0x170]
mov eax, ebx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400daef0
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.140042ac0
mov r9, rax
lea rdx, str.schannel:_failed_to_read_from_CA_file__s:__s
mov r8, r12
mov rcx, r15
call fcn.140057fb0
mov ebx, Ordinal_79
jmp 0x14008f5d6
Function at 0x1400964f0
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 [fcn.1400ef748]
mov rbx, rax
test rax, rax
jne 0x140096535
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 0x140096580
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 0x1400965e2
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 0x1400965a0
mov eax, dword [rbp + 0x1c]
cmp rsi, rax
jae 0x140096623
nop word [rax + rax]
mov rcx, qword [rbx + 8]
lea rdx, [0x14012bb30]
mov r8d, 1
call qword [rbp + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbx + 0x10]
lea rdx, [0x14012bb31]
mov r8d, 1
call qword [rbp + reloc.WS2_32.dll_htonl]
mov eax, dword [rbp + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400965f0
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 0x140096640
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.14005b1c0
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 [fcn.1400ef748]
mov rbx, rax
test rax, rax
je 0x1400967e6
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 0x1400966d0
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 0x140096732
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 0x1400966f0
mov eax, dword [rbp + 0x1c]
cmp rsi, rax
jae 0x140096773
nop word [rax + rax]
mov rcx, qword [rbx + 8]
lea rdx, [0x14012bb30]
mov r8d, 1
call qword [rbp + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbx + 0x10]
lea rdx, [0x14012bb31]
mov r8d, 1
call qword [rbp + reloc.WS2_32.dll_htonl]
mov eax, dword [rbp + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140096740
mov rcx, qword [rsp + 0x70]
call fcn.14005b1c0
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 0x1400967a2
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 [fcn.1400ef2dc]
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 0x140098d20
Capabilities:
Encode data using xor

Disassembly:
mov r10, rcx
test rdx, rdx
je 0x140098d85
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 0x140098d30
ret
Function at 0x1400abc10
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
mov r10, rdx
test r9, r9
je 0x1400abd64
cmp r9, 4
jb 0x1400abc5a
mov rdx, r9
shr rdx, 2
imul rax, rdx, 0xfffffffffffffffc
add r9, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, dword [r10]
add r10, 4
xor eax, dword [r8]
add r8, 4
mov dword [rcx], eax
add rcx, 4
sub rdx, 1
jne 0x1400abc40
xor r11d, r11d
test r9, r9
je 0x1400abd64
cmp r9, 0x40
jb 0x1400abd43
lea rdx, [rcx - 1]
lea rax, [r8 - 1]
add rdx, r9
add rax, r9
cmp rcx, rax
ja 0x1400abc8c
cmp rdx, r8
jae 0x1400abd43
lea rax, [r10 - 1]
add rax, r9
cmp rcx, rax
ja 0x1400abca1
cmp rdx, r10
jae 0x1400abd43
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov rsi, r9
and rsi, 0xffffffffffffffc0
mov qword [rsp], rdi
mov rdx, r10
lea rax, [r8 + 0x10]
sub rdx, r8
mov rbx, rcx
sub rbx, r8
nop word [rax + rax]
movdqu xmm0, xmmword [rax - 0x10]
add r11, 0x40
movdqu xmm1, xmmword [rdx + rax - 0x10]
movdqu xmm2, xmmword [rdx + rax]
lea rax, [rax + 0x40]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmmword [rbx + rax - 0x50], xmm1
pxor xmm2, xmm0
movdqu xmm0, xmmword [rax - 0x30]
movdqu xmm1, xmmword [rdx + rax - 0x30]
movdqu xmmword [rbx + rax - 0x40], xmm2
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm2, xmmword [rdx + rax - 0x20]
movdqu xmmword [rbx + rax - 0x30], xmm1
pxor xmm2, xmm0
movdqu xmmword [rbx + rax - 0x20], xmm2
cmp r11, rsi
jb 0x1400abcd0
mov rsi, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x10]
mov rdi, qword [rsp]
cmp r11, r9
jae 0x1400abd64
sub r10, r8
lea rdx, [r11 + r8]
sub rcx, r8
sub r9, r11
movzx eax, byte [rdx + r10]
xor al, byte [rdx]
mov byte [rdx + rcx], al
lea rdx, [rdx + 1]
sub r9, 1
jne 0x1400abd50
add rsp, 8
ret

Function at 0x1400d07b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x1400baab2
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x1400baa95
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x1400baa80

Function at 0x1400dbea4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400dbeee
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400dbeee
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400dbeee
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400dbeee
cmp dword [rcx + 0x84], 0xe
jbe 0x1400dbeee
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400dbef0
xor al, al
add rsp, 0x28
ret
Function at 0x1400ea508
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400ea367
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400ea367
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400ea367
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400ea367
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400ea367
cmp dword [rcx + 0x84], 0xe
jbe 0x1400ea367
cmp dword [rcx + 0xf8], 0
je 0x1400ea367
mov ecx, ebx
call fcn.1400ea424
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1400ea1f4
nop
cmp dword [rbp + 0x20], 0
je 0x1400ea3b5
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400ea3c0
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400ea2f8

Function at 0x1400ef59c
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov r14, rdx
mov rsi, rcx
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.1400ea704
mov rax, qword [rbp - 0x58]
mov edi, 0xfde9
cmp dword [rax + 0xc], edi
jne 0x1400ef5e7
xor ebx, ebx
cmp byte [rbp - 0x48], bl
je 0x1400ef61b
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400ef61b
call fcn.14010777c
xor ebx, ebx
test eax, eax
jne 0x1400ef609
cmp byte [rbp - 0x48], bl
je 0x1400ef602
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
mov edi, 1
jmp 0x1400ef61b
cmp byte [rbp - 0x48], bl
je 0x1400ef619
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
mov edi, ebx
mov r9d, edi
mov qword [rbp - 0x30], rbx
lea r8, [rbp + 0x30]
mov qword [rbp - 0x28], rbx
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x20], rbx
mov rcx, rsi
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], rbx
mov byte [rbp - 8], bl
call fcn.1400ef334
mov esi, eax
test eax, eax
je 0x1400ef657
call fcn.1400ef2bc
or edi, 0xffffffff
mov dword [rax], esi
jmp 0x1400ef6b0
mov r9d, edi
mov qword [rbp - 0x60], rbx
lea r8, [rbp + 0x30]
mov qword [rbp - 0x58], rbx
lea rdx, [rbp - 0x60]
mov qword [rbp - 0x50], rbx
mov rcx, r14
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], rbx
mov byte [rbp - 0x38], bl
call fcn.1400ef334
mov edi, eax
test eax, eax
je 0x1400ef693
call fcn.1400ef2bc
mov dword [rax], edi
or edi, 0xffffffff
jmp 0x1400ef6a2
mov rdx, qword [rbp - 0x50]
mov rcx, qword [rbp - 0x20]
call fcn.14010a2e8
mov edi, eax
cmp byte [rbp - 0x38], bl
je 0x1400ef6b0
mov rcx, qword [rbp - 0x50]
call fcn.140107420
cmp byte [rbp - 8], bl
je 0x1400ef6be
mov rcx, qword [rbp - 0x20]
call fcn.140107420
lea r11, [rsp + 0x80]
mov eax, edi
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400efaf0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1400dbac0
sub rsp, rax
mov rax, qword [0x140160200]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140109f64
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400efb3f
mov rax, rbp
jmp 0x1400efc47
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x17a8d0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1400fb404
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x17a8d0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400efc43
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400efc43
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1400fb404
test rax, rax
js 0x1400efc43
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400efc43
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1400efc35
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1400efc35
cmp byte [rcx], 0xd
jne 0x1400efc1b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1400efc2a
cmp byte [rcx + 1], 0xa
jne 0x1400efc2a
inc rcx
jmp 0x1400efc2a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x160450]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1400efbfd
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400efc47
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400daef0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret