joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a04e0
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 [0x140612ab8]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rsi, qword [rcx + 0x20]
lea r8, [rsp + 0x20]
mov rdi, rcx
lea rdx, [rsp + 0x30]
mov rbx, qword [rsi + 0x1b0]
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 0x1400a055c
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 0x1400a0561
mov rax, qword [rsp + 0x28]
mov rcx, rdi
cmp rax, 0xffffffffffffffff
jne 0x1400a0580
lea rdx, str.Error_accept__ing_server_connect
call fcn.14007c290
mov eax, 0x1e
jmp 0x1400a060c
lea rdx, str.Connection_accepted_from_server
call fcn.14007c380
mov byte [rsi + 0x2d5], 0
mov edx, 1
mov rcx, qword [rsp + 0x28]
call fcn.1400b88d0
lea r9, [rsp + 0x28]
mov r8d, 1
mov rdx, rsi
mov rcx, rdi
call fcn.1400b14f0
test eax, eax
jne 0x1400a060c
cmp qword [rdi + 0x278], 0
je 0x1400a060a
mov dl, 1
mov rcx, rdi
call fcn.14006a4e0
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.14006a4e0
test ebx, ebx
je 0x1400a060a
mov rdx, rsi
mov rcx, rdi
call fcn.1400a0b30
mov eax, 0x2a
jmp 0x1400a060c
xor eax, eax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1402036b0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

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

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x1a8]
mov rbx, rcx
mov rdx, qword [rcx + 0x20]
cmp dword [rax + 0x10], 0
je 0x1400a2150
mov byte [rdx + 0x6c6], 0xd
mov r8b, reloc.WS2_32.dll_listen
mov dl, 1
add rsp, 0x20
pop rbx
jmp fcn.1400a2240
cmp byte [rcx + 0xaa7], 0
je 0x1400a2165
xor edx, edx
add rsp, 0x20
pop rbx
jmp fcn.1400a2c70
cmp byte [rcx + 0xaaa], 0
je 0x1400a21e3
mov r9, qword [rdx + 0x670]
test r9, r9
jne 0x1400a21a8
mov r9, qword [rcx + 0x750]
test r9, r9
jne 0x1400a219f
cmp byte [rbx + 0x137b], 0
lea rcx, str.NLST
lea r9, str.LIST
cmovne r9, rcx
lea r8, str.PRET__s
jmp 0x1400a21bf
cmp byte [rcx + 0x1380], 0
lea r8, str.PRET_STOR__s
jne 0x1400a21bf
lea r8, str.PRET_RETR__s
add rdx, 0x5d0
mov rcx, rbx
call fcn.1400bdb90
test eax, eax
jne 0x1400a21ed
mov rcx, qword [rbx + 0x20]
mov byte [rcx + 0x6c6], 0x1d
add rsp, 0x20
pop rbx
ret
add rsp, 0x20
pop rbx
jmp fcn.1400a2bc0
add rsp, 0x20
pop rbx
ret

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

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x1a8]
add rdx, 0x5d0
mov rbx, rcx
cmp dword [rax + 0x10], 0
je 0x1400a251b
cmp qword [rdx + 0xa0], 0
je 0x1400a251b
xor r9d, r9d
lea r8, str.REST__d
call fcn.1400bdb90
test eax, eax
jne 0x1400a2525
mov rcx, qword [rbx + 0x20]
mov byte [rcx + 0x6c6], 0x1a
add rsp, 0x20
pop rbx
ret
add rsp, 0x20
pop rbx
jmp fcn.1400a2120
add rsp, 0x20
pop rbx
ret
Function at 0x1400a27e0
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 + 0x20]
lea eax, [rdx - 0xc8]
xor edi, edi
movzx esi, r8b
mov rbx, rcx
cmp eax, 0x64
jb 0x1400a2820
lea rdx, str.Couldnt_set_desired_mode
call fcn.14007c290
lea eax, [rdi + 0x11]
jmp 0x1400a2985
cmp edx, 0xc8
je 0x1400a2837
mov r8d, edx
lea rdx, str.Got_a__03d_response_code_instead_of_the_assumed_200
call fcn.14007c380
cmp sil, 0x13
jne 0x1400a284d
mov rdx, rbp
mov rcx, rbx
call fcn.1400a26e0
jmp 0x1400a2981
cmp sil, 0x14
jne 0x1400a2963
cmp byte [rbx + 0x6f8], 2
mov rbp, qword [rbx + 0x20]
jne 0x1400a28cb
mov rax, qword [rbx + 0x1a8]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400a28cb
xor r9d, r9d
mov qword [rsp + 0x40], rdi
lea r8, [rsp + 0x40]
mov dword [rsp + 0x20], 3
xor edx, edx
call fcn.1400ab3b0
test eax, eax
jne 0x1400a2981
mov rcx, qword [rsp + 0x40]
lea edx, [rax + 0x2f]
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x1400a28c0
mov rdi, qword [rsp + 0x40]
mov ecx, 1
sub rax, rdi
cmovne rcx, rax
mov byte [rcx + rdi], 0
jmp 0x1400a28cb
mov rcx, qword [rsp + 0x40]
call qword [fcn.1402047ca]
mov rdx, qword [rbx + 0x750]
test rdx, rdx
jne 0x1400a28f0
cmp byte [rbx + 0x137b], 0
lea rax, str.NLST
lea rdx, str.LIST
cmovne rdx, rax
lea r8, [0x1404629a0]
test rdi, rdi
mov r9, r8
lea rax, [0x140471c54]
cmovne r9, rdi
lea rcx, [0x14020d8bc]
cmovne r8, rax
call fcn.14008e550
mov rcx, rdi
mov rsi, rax
call qword [fcn.1402047ca]
test rsi, rsi
jne 0x1400a292e
lea edi, [rsi + 0x1b]
jmp 0x1400a2983
lea rdx, [rbp + 0x5d0]
mov r9, rsi
lea r8, [0x14020c274]
mov rcx, rbx
call fcn.1400bdb90
mov rcx, rsi
mov edi, eax
call qword [fcn.1402047ca]
test edi, edi
jne 0x1400a2983
mov rcx, qword [rbx + 0x20]
mov byte [rcx + 0x6c6], 0x1f
jmp 0x1400a2983
cmp sil, 0x15
jne 0x1400a296e
mov r8b, reloc.WS2_32.dll_listen
jmp 0x1400a2977
cmp sil, 0x16
jne 0x1400a2983
mov r8b, ntohs
mov dl, 1
mov rcx, rbx
call fcn.1400a2240
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 0x1400a9e10
Capabilities:
Convert ip address from string

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x140612ab8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, r8
mov rsi, rdx
mov r13, rcx
cmp r8, 4
jb 0x1400a9f9e
inc rsi
lea rdx, str.0123456789abcdefABCDEF:.
mov rcx, rsi
sub rdi, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strspn]
cmp rdi, rax
je 0x1400a9f16
cmp byte [rsi + rax], 0x25
lea r14, [rsi + rax]
mov rdi, rax
jne 0x1400a9f9e
xor ebp, ebp
lea rdx, [0x1402173f8]
lea rcx, [r14 + 1]
lea rbx, [r14 + 1]
lea r8d, [rbp + 2]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x1400a9ea4
movzx eax, byte [r14 + 3]
lea rcx, [r14 + 3]
test al, al
je 0x1400a9ea4
cmp al, 0x5d
cmovne rbx, rcx
movzx eax, byte [rbx]
test al, al
je 0x1400a9f9e
mov rcx, rbp
cmp al, 0x5d
je 0x1400a9ecf
cmp rcx, 0xf
jge 0x1400a9ecf
inc rbx
mov byte [rsp + rcx + 0x20], al
inc ebp
inc rcx
movzx eax, byte [rbx]
test al, al
jne 0x1400a9eb2
test ebp, ebp
je 0x1400a9f9e
cmp byte [rbx], 0x5d
jne 0x1400a9f9e
movsxd rax, ebp
cmp rax, 0x10
jae 0x1400a9fbf
lea rcx, [rsp + 0x20]
mov byte [rsp + rax + 0x20], 0
call qword [case.0x1400784f0.1]
mov qword [r13 + 0x28], rax
test rax, rax
jne 0x1400a9f10
mov eax, 7
jmp 0x1400a9fa3
mov word [r14], 0x5d
lea r8, [rsp + 0x20]
mov byte [rdi + rsi], 0
mov rdx, rsi
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x1400a9f9e
lea r9d, [rax + 0x2d]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x20]
lea ecx, [rax + 0x16]
call sub.WS2_32.dll_inet_ntop
test rax, rax
je 0x1400a9f96
lea rax, [rsp + 0x30]
mov rdx, 0xffffffffffffffff
nop dword [rax]
inc rdx
cmp byte [rax + rdx], 0
jne 0x1400a9f60
cmp rdx, rdi
jae 0x1400a9f96
lea rax, [rsp + 0x30]
mov r8, rsi
sub r8, rax
lea rcx, [rsp + 0x30]
nop
movzx eax, byte [rcx]
mov byte [r8 + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x1400a9f80
mov rdi, rdx
mov byte [rdx + rsi + 1], al
mov byte [rdi + rsi], 0x5d
xor eax, eax
jmp 0x1400a9fa3
mov eax, socket
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1402036b0
add rsp, 0x70
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.140204180
int3
Function at 0x1400b1880
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [0x140615888]
mov rbx, rcx
mov dword [rsp + 0x50], 0x4020
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x58], 4
test eax, eax
jne 0x1400b18e4
lea r9d, [rax + 2]
mov dword [rsp + 0x20], 3
xor r8d, r8d
lea ecx, [rax + 6]
xor edx, edx
call fcn.1400b36c0
test al, al
je 0x1400b18d8
mov dword [0x140615888], 2
add rsp, 0x30
pop rbx
ret
mov dword [0x140615888], 1
jmp 0x1400b18e9
cmp eax, 2
je 0x1400b193b
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 0x1400b191a
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x48], eax
jg 0x1400b193b
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 0x1400b2540
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x148
mov rax, qword [0x140612ab8]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rax, qword [rcx]
mov rdi, rcx
mov rsi, r9
mov rbp, r8
mov rcx, qword [rax + 0x10]
mov dword [r9], 0
xor r9d, r9d
mov rcx, qword [rcx + 0x98]
call qword [sym.imp.WS2_32.dll_recv]
movsxd rbx, eax
cmp rbx, 0xffffffffffffffff
jne 0x1400b25e1
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp eax, 0x2733
jne 0x1400b25a5
mov dword [rsi], 0x51
jmp 0x1400b25da
mov r8d, 0x100
lea rdx, [rsp + 0x30]
mov ecx, ebx
call fcn.140090520
mov rcx, qword [rdi + 8]
lea rdx, str.Recv_failure:__s
mov r8, rax
call fcn.14007c290
mov rax, qword [rdi + 8]
mov dword [rax + 0xd7c], ebx
mov dword [rsi], gethostname
mov rbx, 0xffffffffffffffff
mov edx, dword [rsi]
lea r8, str.nw_in_read_len_zu______d__err_d
mov rcx, qword [rdi + 8]
mov r9, rbp
mov dword [rsp + 0x28], edx
mov rdx, qword [rdi]
mov dword [rsp + 0x20], ebx
call fcn.14007c420
mov rax, rbx
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1402036b0
add rsp, 0x148
pop rdi
pop rsi
pop rbp
pop rbx
ret

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

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x1c0
mov rax, qword [0x140612ab8]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov rax, qword [rdx + 0x20]
mov rsi, rdx
mov rbx, qword [rcx + 0x10]
mov rcx, qword [rax + 0x2e8]
test dword [rcx + 0x84], 0x800
jne 0x1400b2763
mov rcx, qword [rbx + 0x98]
lea r8, [rsp + 0x20]
xorps xmm0, xmm0
mov dword [rsp + 0x20], 0x80
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
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x1400b26f1
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, eax
mov ebx, eax
call fcn.140090520
mov r9, rax
lea rdx, str.getsockname___failed_with_errno__d:__s
mov r8d, ebx
mov rcx, rsi
call fcn.14007c290
mov eax, 2
jmp 0x1400b2765
mov edx, dword [rsp + 0x20]
lea r9, [rbx + 0x144]
lea r8, [rbx + 0x114]
lea rcx, [rsp + 0x30]
call fcn.14007d640
test al, al
jne 0x1400b2763
mov qword [rsp + 0x1e0], rdi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ebx, dword [rax]
call qword [sym.imp.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.140090520
mov r8d, dword [rdi]
lea rdx, str.ssloc_inet_ntop___failed_with_errno__d:__s
mov r9, rax
mov rcx, rsi
call fcn.14007c290
mov rdi, qword [rsp + 0x1e0]
mov eax, 2
jmp 0x1400b2765
xor eax, eax
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.1402036b0
mov rbx, qword [rsp + 0x1e8]
add rsp, 0x1c0
pop rsi
ret
Function at 0x1400c0c40
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push r15
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbp, rcx
mov ecx, dword [rcx + 0x20]
mov rsi, rdx
add rcx, 0x18
mov r15d, r8d
lea r9d, [rax + rax]
add rcx, r9
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x1400c0c83
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop rsi
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], rdi
mov qword [rbx + 0x10], rax
lea rdi, [rbp + 8]
mov qword [rsp + 0x50], r14
cmp r15d, dword [rbp + 0x1c]
jbe 0x1400c0cd0
call qword [rbp]
mov rcx, qword [rbx + 8]
mov r8d, r15d
mov rdx, rsi
call qword [rdi]
mov esi, dword [rbp + 0x18]
add rsi, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, rsi
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 r14d, r14d
test r15, r15
je 0x1400c0d32
mov r14, r15
nop dword [rax]
movzx eax, byte [rsi]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rbx + 8]
call qword [rdi]
movzx eax, byte [rsi]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea rsi, [rsi + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rbx + 0x10]
call qword [rdi]
sub r15, 1
jne 0x1400c0cf0
lea rdi, [rbp + 8]
mov eax, dword [rbp + 0x1c]
cmp r14, rax
jae 0x1400c0d71
nop word [rax + rax]
mov rcx, qword [rbx + 8]
lea rdx, [0x14021b221]
mov r8d, 1
call qword [rdi]
mov rcx, qword [rbx + 0x10]
lea rdx, [0x14021b222]
mov r8d, 1
call qword [rdi]
mov eax, dword [rbp + 0x1c]
inc r14
cmp r14, rax
jb 0x1400c0d40
mov r14, qword [rsp + 0x50]
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rsi
pop rbp
ret
Function at 0x1400c0f60
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140612ab8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbp, r8
mov dword [rsp + 0x20], 0xf0000040
mov rsi, rdx
mov rdi, rcx
xor r8d, r8d
lea rcx, [rsp + 0x38]
xor edx, edx
mov r9d, 0x18
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x1400c0fac
mov eax, 0x1b
jmp 0x1400c107e
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x800c
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x1400c0ff0
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 2
mov qword [rsp + 0x38], 0
jmp 0x1400c107e
mov rcx, rbp
call fcn.140037050
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
mov r8d, eax
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0
lea edx, [r8 + 2]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp dword [rsp + 0x30], 0x20
jne 0x1400c105a
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
mov r8, rdi
mov dword [rsp + 0x20], 0
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400c106a
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400c107c
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1402036b0
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400c1e40
Capabilities:
Encode data using xor

Disassembly:
mov r10, rcx
test rdx, rdx
je 0x1400c1ea5
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 0x1400c1e50
ret
Function at 0x140112660
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov byte [rsp + 0x18], r8b
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
sub rsp, 0x48
movsx eax, byte [rsp + 0x58]
and eax, 1
mov dword [rsp + 0x34], eax
movsx eax, byte [rsp + 0x60]
mov ecx, eax
call fcn.1401120b0
mov dword [rsp + 0x30], eax
movzx eax, byte [rsp + 0x58]
and eax, 0xf
mov byte [rsp + 0x20], al
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x24], eax
jmp 0x1401126b0
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 3
ja 0x140112733
movsx eax, byte [rsp + 0x60]
mov ecx, dword [rsp + 0x24]
sar eax, cl
and eax, 1
cmp eax, dword [rsp + 0x34]
jne 0x1401126d5
mov dword [rsp + 0x28], 1
jmp 0x1401126dd
mov dword [rsp + 0x28], 0
cmp dword [rsp + 0x28], 0
jne 0x1401126ee
mov dword [rsp + 0x2c], 0
jmp 0x1401126f6
mov dword [rsp + 0x2c], 1
movzx eax, byte [rsp + 0x2c]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x140112719
movzx edx, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
call fcn.1401124f0
jmp 0x14011272e
movzx eax, byte [rsp + 0x20]
xor eax, 1
movzx edx, al
mov rcx, qword [rsp + 0x50]
call fcn.1401124f0
jmp 0x1401126a6
movzx edx, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
call fcn.1401124f0
add rsp, 0x48
ret
Function at 0x140204508
Capabilities:
Parse pe header

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

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, r8
call fcn.140001440
test eax, eax
js 0x1400022e4
mov ecx, dword [rbx + 0xf0]
lea eax, [rcx*4]
movsxd r9, eax
test eax, eax
jle 0x140002113
lea r8, [rbx + 8]
xor r10d, r10d
lea r8, [r8 + r9*4]
lea rax, [rbx + 8]
nop dword [rax]
mov edx, dword [rax - 8]
add r10, 4
mov ecx, dword [r8 - 8]
lea r8, [r8 - 0x10]
mov dword [rax - 8], ecx
lea rax, [rax + 0x10]
mov ecx, dword [r8 + 0xc]
sub r9, 4
mov dword [r8 + 8], edx
mov edx, dword [rax - 0x14]
mov dword [rax - 0x14], ecx
mov ecx, dword [r8 + 0x10]
mov dword [r8 + 0xc], edx
mov edx, dword [rax - 0x10]
mov dword [rax - 0x10], ecx
mov ecx, dword [r8 + 0x14]
mov dword [r8 + 0x10], edx
mov edx, dword [rax - 0xc]
mov dword [rax - 0xc], ecx
mov dword [r8 + 0x14], edx
cmp r10, r9
jl 0x1400020c0
mov ecx, dword [rbx + 0xf0]
mov r11d, 1
cmp ecx, r11d
jle 0x1400022e2
mov qword [rsp + 0x30], rdi
lea r10, [rbx + 4]
lea rdi, [0x140000000]
nop dword [rax]
nop word [rax + rax]
mov r9d, dword [r10 + 0x10]
lea r10, [r10 + 0x10]
mov edx, dword [r10 - 4]
inc r11d
movzx eax, byte [r10 - 3]
movzx ecx, byte [rdi + rax*4 + 0x16c5f0]
mov eax, edx
shr rax, 0x18
mov r8d, dword [rdi + rcx*4 + 0x16d1f0]
movzx eax, byte [rdi + rax*4 + 0x16c5f0]
xor r8d, dword [rdi + rax*4 + 0x16c9f0]
movzx eax, dl
movzx ecx, byte [rdi + rax*4 + 0x16c5f0]
movzx eax, byte [r10 - 2]
xor r8d, dword [rdi + rcx*4 + 0x16d5f0]
movzx ecx, byte [rdi + rax*4 + 0x16c5f0]
mov eax, r9d
shr eax, 0x10
xor r8d, dword [rdi + rcx*4 + 0x16cdf0]
movzx ecx, al
mov eax, r9d
shr eax, 8
mov dword [r10 - 4], r8d
movzx edx, byte [rdi + rcx*4 + 0x16c5f0]
movzx ecx, al
mov r8d, dword [rdi + rdx*4 + 0x16cdf0]
movzx eax, byte [rdi + rcx*4 + 0x16c5f0]
xor r8d, dword [rdi + rax*4 + 0x16d1f0]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x16c5f0]
movzx eax, r9b
mov r9d, dword [r10 + 4]
xor r8d, dword [rdi + rcx*4 + 0x16c9f0]
movzx ecx, byte [rdi + rax*4 + 0x16c5f0]
mov eax, r9d
shr eax, 0x10
xor r8d, dword [rdi + rcx*4 + 0x16d5f0]
movzx ecx, al
mov eax, r9d
shr eax, 8
mov dword [r10], r8d
movzx edx, byte [rdi + rcx*4 + 0x16c5f0]
movzx ecx, al
mov r8d, dword [rdi + rdx*4 + 0x16cdf0]
movzx eax, byte [rdi + rcx*4 + 0x16c5f0]
xor r8d, dword [rdi + rax*4 + 0x16d1f0]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x16c5f0]
movzx eax, r9b
mov r9d, dword [r10 + 8]
xor r8d, dword [rdi + rcx*4 + 0x16c9f0]
movzx ecx, byte [rdi + rax*4 + 0x16c5f0]
mov eax, r9d
shr eax, 0x10
xor r8d, dword [rdi + rcx*4 + 0x16d5f0]
movzx ecx, al
mov eax, r9d
shr eax, 8
mov dword [r10 + 4], r8d
movzx edx, byte [rdi + rcx*4 + 0x16c5f0]
movzx ecx, al
mov r8d, dword [rdi + rdx*4 + 0x16cdf0]
movzx eax, byte [rdi + rcx*4 + 0x16c5f0]
xor r8d, dword [rdi + rax*4 + 0x16d1f0]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x16c5f0]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x16c9f0]
movzx ecx, byte [rdi + rax*4 + 0x16c5f0]
xor r8d, dword [rdi + rcx*4 + 0x16d5f0]
mov dword [r10 + 8], r8d
cmp r11d, dword [rbx + 0xf0]
jl 0x140002140
mov rdi, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x140002fb0
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
mov rbx, rcx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rcx + 4], xmm0
movups xmmword [rcx + 0x14], xmm0
movups xmmword [rcx + 0x24], xmm0
movups xmmword [rcx + 0x34], xmm0
movups xmmword [rcx + 0x44], xmm0
mov qword [rcx + 0x54], rax
mov dword [rcx + 0x5c], eax
mov dword [rcx + 4], 0x67452301
mov dword [rcx + 8], 0xefcdab89
mov dword [rcx + 0xc], 0x98badcfe
mov dword [rcx + 0x10], 0x10325476
xor edi, edi
mov qword [rcx + 0xa0], rdi
mov qword [rcx + 0xb0], rdi
mov qword [rcx + 0xb8], 0xf
mov byte [rcx + 0xa0], al
mov qword [rcx + 0xc0], rdi
mov qword [rcx + 0xd0], rdi
mov qword [rcx + 0xd8], 0xf
mov byte [rcx + 0xc0], dil
mov word [rcx], 0x101
mov dword [rsp + 0x78], 0x333231
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], dil
lea rax, [rsp + 0x78]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140003070
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x20]
call fcn.140004140
nop
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x58], 0xf
mov qword [rsp + 0x50], rdi
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140003110
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x1400030ea
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400030e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400030fb
call fcn.1400fdcc4
nop
mov rax, rbx
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
ret
call fcn.14010eeac
nop
int3
Function at 0x140007740
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x150
xor edx, edx
lea ecx, [rdx + 2]
call fcn.14004f720
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000777d
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
call fcn.14004f640
test eax, eax
jne 0x140007788
mov rcx, rbx
call fcn.140052f80
xor al, al
add rsp, 0x150
pop rbx
ret
mov qword [rsp + 0x160], rdi
xor dil, dil
mov dword [rsp + 0x168], 0xf321d342
nop
lea rcx, [rsp + 0x4c]
call fcn.1400540e0
movzx edx, byte [rsp + 0x4c]
mov ecx, 0xffffffff
test dl, dl
je 0x14000785d
lea r8, [rsp + 0x4c]
movzx eax, dl
lea r8, [r8 + 1]
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
movzx eax, byte [r8]
movzx edx, al
test al, al
jne 0x1400077c1
not ecx
xor eax, eax
cmp dword [rsp + rax*4 + 0x168], ecx
je 0x14000788a
inc rax
cmp rax, 1
jl 0x140007861
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14004f560
test eax, eax
jne 0x1400077a0
jmp 0x14000788d
mov dil, 1
mov rcx, rbx
call fcn.140052f80
movzx eax, dil
mov rdi, qword [rsp + 0x160]
add rsp, 0x150
pop rbx
ret