joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419a20
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x005352d0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x419a8d
mov rcx, r8
call fcn.00419900
test eax, eax
je 0x419a8d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x419a8d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x419a84
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x419a8f
add rax, 0x28
cmp rax, r9
jne 0x419a70
xor eax, eax
add rsp, 0x28
ret

Function at 0x41cb70
Capabilities:
Write file on windows

Disassembly:
lea rcx, [0x00401540]
jmp 0x401510
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
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.00419de0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.czogoelbljojhzjlztnicjdldt_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.00419de0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
jmp 0x401530
Function at 0x140001250
Capabilities:
Resolve dns

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140084ac0]
xor rax, rsp
mov qword [rsp + 0x58], rax
movdqa xmm0, xmmword [reloc.WS2_32.dll_accept]
mov rbx, r8
movdqu xmmword [rsp + 0x20], xmm0
and qword [r11 - 0x38], 0
lea r8, [0x140065604]
xorps xmm0, xmm0
movzx r9d, dx
mov rdi, rcx
mov edx, 8
movdqu xmmword [rsp + 0x38], xmm0
and qword [r11 - 0x20], 0
lea rcx, [r11 - 0x18]
call fcn.14000141c
mov r9, rbx
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400479e0
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
ret

Function at 0x1400012dc
Capabilities:
Set socket configuration

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
push r14
sub rsp, 0x40
and qword [r11 - 0x18], 0
movzx eax, r8w
mov r9, rdx
lea r8, [r11 - 0x18]
mov r14, rcx
movzx edx, ax
mov rcx, r9
call fcn.140001250
test eax, eax
je 0x14000131b
or eax, 0xffffffff
jmp 0x1400013d1
mov rdi, qword [rsp + 0x30]
or esi, 0xffffffff
test rdi, rdi
je 0x140001398
mov r8d, dword [rdi + 0xc]
mov edx, dword [rdi + 8]
mov ecx, dword [rdi + 4]
call qword [sym.imp.WS2_32.dll_socket]
mov rsi, rax
test eax, eax
js 0x14000138a
movsxd rbx, esi
lea r9, [rsp + 0x68]
mov rcx, rbx
mov dword [rsp + 0x68], 1
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 4
call qword [sym.imp.WS2_32.dll_setsockopt]
mov r8d, dword [rdi + 0x10]
mov rcx, rbx
mov rdx, qword [rdi + 0x20]
call qword [sym.imp.WS2_32.dll_bind]
test eax, eax
jns 0x140001393
mov ecx, esi
call fcn.1400556cc
or esi, 0xffffffff
mov rdi, qword [rdi + 0x28]
test rdi, rdi
jne 0x140001328
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
test esi, esi
jns 0x1400013ac
mov eax, 0xfffffffe
jmp 0x1400013d1
movsxd rcx, esi
mov edx, 0x7fffffff
call qword [sym.imp.WS2_32.dll_listen]
test eax, eax
jns 0x1400013cc
mov ecx, esi
call fcn.1400556cc
mov eax, 0xfffffffd
jmp 0x1400013d1
mov dword [r14], esi
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop r14
ret
Function at 0x140002bac
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rsi
sub rsp, 0x60
mov rax, qword [0x140084ac0]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp dword [0x140085620], 0
mov rsi, r8
mov rbx, rdx
mov ecx, 2
je 0x140002bfa
call fcn.140049b58
mov rcx, rax
lea rdx, str.The_first__s_supported_by_the_server_is_n_s__which_is_below_the_configured_warning_threshold._nConnection_abandoned._n
mov r9, rsi
mov r8, rbx
call fcn.140001008
xor eax, eax
jmp 0x140002cab
call fcn.140049b58
mov rcx, rax
lea rdx, str.The_first__s_supported_by_the_server_is_n_s__which_is_below_the_configured_warning_threshold._nContinue_with_connection___y_n_
mov r9, rsi
mov r8, rbx
call fcn.140001008
mov ecx, 2
call fcn.140049b58
mov rcx, rax
call fcn.14004d0b0
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
lea rdx, [rsp + 0x30]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov edx, dword [rsp + 0x30]
mov rcx, rbx
or edx, 7
call qword [sym.imp.KERNEL32.dll_SetConsoleMode]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x34]
mov r8d, 0x1f
lea rdx, [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetConsoleMode]
mov al, byte [rsp + 0x38]
sub al, 0x59
test al, 0xdf
je 0x140002ca6
mov ecx, 2
call fcn.140049b58
mov rcx, rax
lea rdx, str.Connection_abandoned._n
call fcn.140001008
jmp 0x140002bf3
mov eax, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400479e0
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rsi
ret
Function at 0x140002cc4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140084ac0]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor edi, edi
mov rbx, rdx
cmp dword [0x140085620], edi
lea ecx, [rdi + 2]
je 0x140002d21
call fcn.140049b58
mov r9, qword [rbx]
lea rdx, str.The_session_log_file___.s__already_exists._nLogging_will_not_be_enabled._n
mov rcx, rax
mov r8d, 0x104
call fcn.140001008
lea ecx, [rdi + 2]
call fcn.140049b58
mov rcx, rax
call fcn.14004d0b0
xor eax, eax
jmp 0x140002dc4
call fcn.140049b58
mov r9, qword [rbx]
lea rdx, str.The_session_log_file___.s__already_exists._nYou_can_overwrite_it_with_a_new_session_log__nappend_your_session_log_to_the_end_of_it__nor_disable_session_logging_for_this_session._nEnter__y__to_wipe_the_file___n__to_append_to_it__nor_just_press_Return_to_disable_logging._nWipe_the_log_file___y_n__Return_cancels_logging_
mov rcx, rax
mov r8d, 0x104
call fcn.140001008
mov ecx, 2
call fcn.140049b58
mov rcx, rax
call fcn.14004d0b0
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
lea rdx, [rsp + 0x30]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov edx, dword [rsp + 0x30]
mov rcx, rbx
or edx, 7
call qword [sym.imp.KERNEL32.dll_SetConsoleMode]
lea r9, [rsp + 0x34]
mov qword [rsp + 0x20], rdi
mov r8d, 0x1f
lea rdx, [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetConsoleMode]
mov al, byte [rsp + 0x38]
lea ecx, [rax - 0x59]
test cl, 0xdf
je 0x140002dbf
sub al, 0x4e
test al, 0xdf
sete dil
mov eax, edi
jmp 0x140002dc4
mov eax, 2
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400479e0
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret

Function at 0x140002df8
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_WriteFile]
add rsp, 0x38
ret
Function at 0x140003178
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x140084ac0]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r14, qword [rsp + 0xb0]
mov rdi, r9
mov r15, qword [rsp + 0xb8]
mov ebp, r8d
mov rsi, rdx
mov r9, r14
mov r8, rdi
mov edx, ebp
mov rcx, rsi
call fcn.14003f548
mov ebx, eax
test eax, eax
je 0x1400032d1
cmp eax, 2
jne 0x140003227
cmp dword [0x140085620], 0
mov ecx, eax
je 0x1400031fb
call fcn.140049b58
mov rcx, rax
lea rdx, str.WARNING___POTENTIAL_SECURITY_BREACH__nThe_servers_host_key_does_not_match_the_one_PuTTY_has_ncached_in_the_registry._This_means_that_either_the_nserver_administrator_has_changed_the_host_key__or_you_nhave_actually_connected_to_another_computer_pretending_nto_be_the_server._nThe_new__s_key_fingerprint_is:_n_s_nConnection_abandoned._n
mov r9, r15
mov r8, rdi
call fcn.140001008
xor eax, eax
jmp 0x1400032d6
call fcn.140049b58
mov rcx, rax
lea rdx, str.WARNING___POTENTIAL_SECURITY_BREACH__nThe_servers_host_key_does_not_match_the_one_PuTTY_has_ncached_in_the_registry._This_means_that_either_the_nserver_administrator_has_changed_the_host_key__or_you_nhave_actually_connected_to_another_computer_pretending_nto_be_the_server._nThe_new__s_key_fingerprint_is:_n_s_nIf_you_were_expecting_this_change_and_trust_the_new_key__nenter__y__to_update_PuTTYs_cache_and_continue_connecting._nIf_you_want_to_carry_on_connecting_but_without_updating_nthe_cache__enter__n_._nIf_you_want_to_abandon_the_connection_completely__press_nReturn_to_cancel._Pressing_Return_is_the_ONLY_guaranteed_nsafe_choice._nUpdate_cached_key___y_n__Return_cancels_connection_
mov r9, r15
mov r8, rdi
call fcn.140001008
mov ecx, 2
call fcn.140049b58
mov rcx, rax
call fcn.14004d0b0
cmp ebx, 1
je 0x1400032c1
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
lea rdx, [rsp + 0x30]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov edx, dword [rsp + 0x30]
mov rcx, rbx
or edx, 7
call qword [sym.imp.KERNEL32.dll_SetConsoleMode]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x34]
mov r8d, 0x1f
lea rdx, [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetConsoleMode]
mov cl, byte [rsp + 0x38]
cmp cl, 0xd
ja 0x1400032b9
mov edx, 0x2401
bt edx, ecx
jae 0x1400032b9
mov ecx, 2
call fcn.140049b58
mov rcx, rax
lea rdx, [0x140066738]
call fcn.140001008
jmp 0x1400031f4
sub cl, 0x59
test cl, 0xdf
jne 0x1400032d1
mov r9, r14
mov r8, rdi
mov edx, ebp
mov rcx, rsi
call fcn.14003f3ac
mov eax, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400479e0
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140016c64
Capabilities:
Hash data with crc32

Disassembly:
mov r8, rdx
mov rdx, rcx
xor ecx, ecx
jmp fcn.140016c74

Function at 0x140016c74
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r10d, ecx
test r8, r8
je 0x140016ca4
movzx r9d, byte [rdx]
mov eax, r10d
movzx ecx, r10b
inc rdx
xor rcx, r9
shr eax, 8
lea r9, [0x14006c1c0]
mov r10d, dword [r9 + rcx*4]
xor r10d, eax
sub r8, 1
jne 0x140016c7c
mov eax, r10d
ret

Function at 0x140017420
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
mov ebp, dword [r8 + 0x80]
mov rsi, r8
mov r15d, dword [r8 + 0x84]
test edx, edx
je 0x140017511
lea r12d, [rdx - 1]
shr r12d, 3
lea r14, [rcx + 2]
inc r12d
movzx eax, byte [r14 - 1]
lea rcx, [rsp + 0x60]
movzx edi, byte [r14 - 2]
mov r9, rsi
movzx ebx, byte [r14 + 2]
shl edi, 8
or edi, eax
shl ebx, 8
movzx eax, byte [r14]
shl edi, 8
or edi, eax
movzx eax, byte [r14 + 1]
shl edi, 8
or edi, eax
movzx eax, byte [r14 + 3]
or ebx, eax
mov edx, edi
movzx eax, byte [r14 + 4]
shl ebx, 8
or ebx, eax
movzx eax, byte [r14 + 5]
shl ebx, 8
or ebx, eax
mov r8d, ebx
call fcn.140017630
xor ebp, dword [rsp + 0x60]
xor r15d, dword [rsp + 0x64]
mov eax, ebp
shr eax, 0x18
mov byte [r14 - 2], al
mov eax, ebp
shr eax, 0x10
mov byte [r14 - 1], al
mov eax, ebp
shr eax, 8
mov byte [r14], al
mov eax, r15d
shr eax, 0x18
mov byte [r14 + 2], al
mov eax, r15d
shr eax, 0x10
mov byte [r14 + 3], al
mov eax, r15d
shr eax, 8
mov byte [r14 + 1], bpl
mov ebp, edi
mov byte [r14 + 5], r15b
mov r15d, ebx
mov byte [r14 + 4], al
lea r14, [r14 + 8]
sub r12, 1
jne 0x14001745e
mov rbx, qword [rsp + 0x50]
mov dword [rsi + 0x80], ebp
mov rbp, qword [rsp + 0x58]
mov dword [rsi + 0x84], r15d
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret

Function at 0x140017538
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov eax, dword [r8 + 0x80]
mov rbx, r8
mov r9d, dword [r8 + 0x84]
test edx, edx
je 0x140017613
lea esi, [rdx - 1]
shr esi, 3
lea rdi, [rcx + 2]
inc esi
movzx ecx, byte [rdi + 3]
movzx r8d, byte [rdi + 2]
movzx edx, byte [rdi - 2]
shl r8d, 8
or r8d, ecx
shl edx, 8
movzx ecx, byte [rdi + 4]
shl r8d, 8
or r8d, ecx
movzx ecx, byte [rdi + 5]
shl r8d, 8
or r8d, ecx
movzx ecx, byte [rdi - 1]
or edx, ecx
xor r8d, r9d
movzx ecx, byte [rdi]
mov r9, rbx
shl edx, 8
or edx, ecx
movzx ecx, byte [rdi + 1]
shl edx, 8
or edx, ecx
lea rcx, [rsp + 0x40]
xor edx, eax
call fcn.140018114
mov rax, qword [rsp + 0x40]
mov r9d, dword [rsp + 0x44]
mov ecx, eax
shr ecx, 0x18
mov byte [rdi - 2], cl
mov ecx, eax
shr ecx, 0x10
mov byte [rdi - 1], cl
mov ecx, eax
shr ecx, 8
mov byte [rdi], cl
mov ecx, r9d
shr ecx, 0x18
mov byte [rdi + 2], cl
mov ecx, r9d
shr ecx, 0x10
mov byte [rdi + 3], cl
mov ecx, r9d
shr ecx, 8
mov byte [rdi + 4], cl
mov byte [rdi + 1], al
mov byte [rdi + 5], r9b
lea rdi, [rdi + 8]
sub rsi, 1
jne 0x14001756c
mov rsi, qword [rsp + 0x38]
mov dword [rbx + 0x80], eax
mov dword [rbx + 0x84], r9d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14001b12c
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x88
mov rax, qword [0x140084ac0]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov edi, dword [rsp + 0xf0]
mov rsi, r9
mov r13d, r8d
mov r12, rdx
mov r15, rcx
xor ebp, ebp
jmp 0x14001b1f2
cmp edi, dword [r15 + 0x28]
mov eax, ebp
mov r14d, edi
mov byte [rsp + 0x23], bpl
cmovg r14d, dword [r15 + 0x28]
shr eax, 0x18
mov byte [rsp + 0x20], al
mov eax, ebp
shr eax, 0x10
mov byte [rsp + 0x21], al
mov eax, ebp
shr eax, 8
mov byte [rsp + 0x22], al
call qword [r15]
mov r8d, r13d
mov rdx, r12
mov rcx, rax
mov rbx, rax
call qword [r15 + reloc.WS2_32.dll_recv]
mov r8d, 4
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [r15 + reloc.WS2_32.dll_recv]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [r15 + 0x18]
inc ebp
movsxd r9, r14d
test r14d, r14d
jle 0x14001b1ec
lea rdx, [rsp + 0x30]
mov rcx, rsi
sub rdx, rsi
mov r8, r9
mov al, byte [rdx + rcx]
xor byte [rcx], al
inc rcx
sub r8, 1
jne 0x14001b1de
add rsi, r9
sub edi, r14d
test edi, edi
jg 0x14001b169
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400479e0
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14001bd44
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
xor esi, esi
mov ebx, edx
cmp dword [0x140085770], esi
mov rdi, rcx
je 0x14001be38
mov ecx, dword [0x140085c88]
lea eax, [rsi + 0x40]
sub eax, ecx
lea r14, [0x140085c48]
cmp edx, eax
jl 0x14001be21
lea r15, [0x140085780]
mov eax, 0x40
mov rdx, rdi
sub eax, ecx
movsxd rcx, ecx
add rcx, r14
movsxd r8, eax
call fcn.140048790
mov ecx, dword [0x140085c88]
mov eax, 0x40
sub eax, ecx
mov rdx, r14
add ecx, 0xffffffc0
cdqe
add ebx, ecx
add rdi, rax
lea rcx, [0x140085c34]
call fcn.14001c56c
mov eax, dword [0x140085c30]
mov rdx, rsi
movsxd rcx, eax
mov al, byte [rdx + r15 + 0x4c8]
xor byte [rcx + r15], al
mov eax, dword [0x140085c30]
inc eax
cmp eax, 0x4b0
cmovge eax, esi
inc rdx
mov dword [0x140085c30], eax
cmp rdx, 0x14
jl 0x14001bdd8
cmp eax, 0x14
jge 0x14001be10
call fcn.14001bf58
mov ecx, esi
mov dword [0x140085c88], ecx
cmp ebx, 0x40
jge 0x14001bd91
movsxd rcx, ecx
mov rdx, rdi
add rcx, r14
movsxd r8, ebx
call fcn.140048790
add dword [0x140085c88], ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
Function at 0x14001bf58
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x140084ac0]
xor rax, rsp
mov qword [rsp + 0x80], rax
cmp dword [0x140085c8c], 0
jne 0x14001c089
lea rcx, [fcn.14001bd44]
mov dword [0x140085c8c], 1
call fcn.1400351f4
lea rdx, [0x140085c48]
lea rcx, [0x140085c34]
call fcn.14001c56c
and dword [0x140085c88], 0
lea rdx, [0x140085c34]
mov r8d, socket
lea rcx, [rsp + 0x20]
call fcn.140048790
lea rax, [rsp + 0x20]
mov esi, 2
lea rbp, [0x140085c1c]
sub rbp, rax
mov r8d, 0x40
lea rdx, [0x140085780]
lea rcx, [rsp + 0x40]
call fcn.140048790
mov rbx, rbp
mov edi, 0x3c
xor edx, edx
lea rcx, [rsp + 0x20]
mov eax, dword [rbx + rcx]
inc edx
xor dword [rcx], eax
lea rcx, [rcx + 4]
cmp edx, 5
jb 0x14001c00f
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.14001c56c
xor edx, edx
lea rcx, [rsp + 0x20]
mov eax, dword [rcx]
inc edx
mov dword [rbx + rcx], eax
lea rcx, [rcx + 4]
cmp edx, 5
jb 0x14001c035
sub rbx, 0x14
sub rdi, 1
jne 0x14001c008
sub rsi, 1
jne 0x14001bfe9
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.14001c56c
lea r8d, [rdi + 0x14]
lea rdx, [rsp + 0x20]
lea rcx, [0x140085c34]
call fcn.140048790
and dword [0x140085c8c], esi
mov dword [0x140085c30], 0x14
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400479e0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14001c56c
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x170
mov rax, qword [0x140084ac0]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rbx, rcx
mov edi, 0x40
mov r8d, edi
lea rcx, [rsp + 0x20]
call fcn.140048790
lea rdx, [rsp + 0x28]
mov eax, dword [rdx + 0x2c]
xor eax, dword [rdx + 0x18]
xor eax, dword [rdx - 8]
xor eax, dword [rdx]
lea rdx, [rdx + 4]
rol eax, 1
mov dword [rdx + 0x34], eax
sub rdi, 1
jne 0x14001c5b7
mov r14d, dword [rbx]
xor ebp, ebp
mov r15d, dword [rbx + 4]
mov r11d, r14d
mov r12d, dword [rbx + 8]
mov r9d, r15d
mov r13d, dword [rbx + 0xc]
mov r8d, r12d
mov esi, dword [rbx + 0x10]
lea edi, [rbp + 0x14]
mov r10d, r13d
mov eax, r8d
mov ecx, r9d
and eax, r9d
mov edx, r11d
rol edx, 5
not ecx
and ecx, r10d
or eax, ecx
add eax, edx
add eax, dword [rsp + rbp*4 + 0x20]
inc rbp
add eax, esi
mov esi, r10d
mov r10d, r8d
mov r8d, r9d
ror r8d, 2
mov r9d, r11d
lea r11d, [rax + 0x5a827999]
cmp rbp, rdi
jl 0x14001c5f4
mov ebp, 0x28
mov edx, r10d
mov eax, r11d
xor edx, r8d
rol eax, 5
add eax, dword [rsp + rdi*4 + 0x20]
xor edx, r9d
add eax, esi
inc rdi
add edx, eax
mov esi, r10d
mov r10d, r8d
mov r8d, r9d
ror r8d, 2
mov r9d, r11d
lea r11d, [rdx + 0x6ed9eba1]
cmp rdi, rbp
jl 0x14001c636
mov edi, 0x3c
mov edx, r11d
mov ecx, r8d
or ecx, r9d
rol edx, 5
and ecx, r10d
mov eax, r8d
and eax, r9d
or ecx, eax
add ecx, dword [rsp + rbp*4 + 0x20]
lea eax, [rsi + rdx]
add eax, 0x8f1bbcdc
mov esi, r10d
mov r10d, r8d
add eax, ecx
mov r8d, r9d
inc rbp
ror r8d, 2
mov r9d, r11d
mov r11d, eax
cmp rbp, rdi
jl 0x14001c671
mov eax, dword [rsp + rdi*4 + 0x20]
mov edx, r11d
mov ecx, r10d
rol edx, 5
xor ecx, r8d
inc rdi
xor ecx, r9d
add eax, ecx
lea ecx, [rsi + rdx]
mov esi, r10d
mov r10d, r8d
add ecx, 0xca62c1d6
mov r8d, r9d
add ecx, eax
ror r8d, 2
mov r9d, r11d
mov r11d, ecx
cmp rdi, 0x50
jl 0x14001c6b1
add dword [rbx + 0x10], esi
lea eax, [r14 + rcx]
mov dword [rbx], eax
lea eax, [r15 + r9]
mov dword [rbx + 4], eax
lea eax, [r12 + r8]
mov dword [rbx + 8], eax
lea eax, [r10 + r13]
mov dword [rbx + 0xc], eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400479e0
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14001da74
Capabilities:
Encrypt data using blowfish

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rdx, [0x14006d8f0]
add rcx, 0x1000
mov r8d, 0x48
call fcn.140048790
lea r8, [0x14006d940]
mov edx, 0x100
lea r9, [0x14006dd40]
sub r8, rbx
lea r10, [0x14006e140]
sub r9, rbx
sub r10, rbx
lea r11, [0x14006e540]
sub r11, rbx
lea rcx, [rbx + 0x800]
mov eax, dword [r8 + rcx - 0x800]
mov dword [rcx - 0x800], eax
mov eax, dword [r9 + rcx - 0x800]
mov dword [rcx - 0x400], eax
mov eax, dword [r10 + rcx - 0x800]
mov dword [rcx], eax
mov eax, dword [r11 + rcx - 0x800]
mov dword [rcx + 0x400], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x14001daca
add rsp, 0x20
pop rbx
ret
Function at 0x1400255ac
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x140084ac0]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea r14, [r8 + 0x3d0]
mov r15, r8
mov edi, edx
mov rbp, rcx
mov rdx, r14
lea rcx, [rsp + 0x20]
mov r8d, reloc.WS2_32.dll_recv
call fcn.140048790
test edi, edi
jle 0x1400256d4
lea rsi, [rbp + 2]
mov rbx, 0xfffffffffffffffe
sub rbx, rbp
lea ebp, [rdi - 1]
shr ebp, 4
inc ebp
lea r13, [rsp + 0x40]
mov rdi, rsi
add r13, rbx
lea r12, [rsp + 0x30]
add r12, rbx
mov edx, 4
movzx eax, byte [rdi - 1]
movzx ecx, byte [rdi - 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi + 1]
shl ecx, 8
or ecx, eax
mov dword [rdi + r13], ecx
mov dword [rdi + r12], ecx
add rdi, 4
sub rdx, 1
jne 0x140025627
lea rdx, [rsp + 0x30]
mov rcx, r15
call fcn.1400255a4
lea r9, [rsp + 0x20]
mov r10d, 4
add r9, rbx
mov edx, dword [rsi + r9]
mov ecx, edx
mov r8d, dword [rsi + r12]
mov eax, r8d
shr eax, 0x18
shr ecx, 0x18
xor cl, al
mov eax, r8d
shr eax, 0x10
mov byte [rsi - 2], cl
mov ecx, edx
shr ecx, 0x10
xor cl, al
shr edx, 8
mov al, byte [rsi + r9]
xor al, byte [rsi + r12]
shr r8d, 8
mov byte [rsi + 1], al
xor dl, r8b
mov eax, dword [rsi + r13]
mov dword [rsi + r9], eax
mov byte [rsi - 1], cl
mov byte [rsi], dl
lea rsi, [rsi + 4]
sub r10, 1
jne 0x140025672
sub rbx, 0x10
mov rsi, rdi
sub rbp, 1
jne 0x14002560f
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.140048790
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400479e0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140029400
Capabilities:
Hash data using sha256

Disassembly:
mov dword [rcx], 0x6a09e667
mov dword [rcx + 4], 0xbb67ae85
mov dword [rcx + 8], 0x3c6ef372
mov dword [rcx + 0xc], 0xa54ff53a
mov dword [rcx + 0x10], 0x510e527f
mov dword [rcx + 0x14], 0x9b05688c
mov dword [rcx + 0x18], 0x1f83d9ab
mov dword [rcx + 0x1c], 0x5be0cd19
ret
Function at 0x14002ddb4
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov r11b, byte [rcx]
xor edi, edi
mov bl, byte [rcx + 1]
mov esi, r8d
mov r10, rcx
test r8d, r8d
jle 0x14002de16
inc r11b
movzx r9d, r11b
movzx r8d, byte [r9 + r10 + 2]
add bl, r8b
movzx ecx, bl
mov al, byte [rcx + r10 + 2]
mov byte [r9 + r10 + 2], al
mov byte [rcx + r10 + 2], r8b
movzx ecx, byte [r9 + r10 + 2]
add rcx, r8
movzx eax, cl
mov cl, byte [rax + r10 + 2]
xor byte [rdi + rdx], cl
inc edi
cmp edi, esi
jl 0x14002ddda
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov byte [r10 + 1], bl
mov rbx, qword [rsp + 8]
mov byte [r10], r11b
ret

Function at 0x1400331b0
Capabilities:
Encrypt data using curve25519

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x140084ac0]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor ebx, ebx
mov rsi, rdx
mov rbp, rcx
cmp dword [rdx], ebx
jne 0x1400331ee
lea rcx, [rdx + 0x40]
mov rdx, rbp
call fcn.140034460
jmp 0x140033293
cmp dword [rdx], 2
jne 0x140033291
lea rcx, [rsp + 0x30]
call fcn.14002b018
mov edi, dword [rsi + 0x18]
shr edi, 3
test edi, edi
je 0x140033234
mov edx, ebx
mov rcx, rbp
call fcn.14002b7a8
mov r8d, 1
mov byte [rsp + 0x20], al
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.14002ad14
inc ebx
cmp ebx, edi
jl 0x14003320b
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x30]
call fcn.14002aeb4
mov al, byte [rsp + 0x12f]
lea rcx, [rsp + 0x110]
and byte [rsp + 0x110], 0xf8
and al, 0x3f
or al, 0x40
mov edx, 0x20
mov byte [rsp + 0x12f], al
call fcn.14002b940
lea rcx, [rsi + 0x38]
mov rdx, rax
mov rdi, rax
call fcn.140034460
mov rcx, rdi
mov rbx, rax
call fcn.14002c000
mov rax, rbx
jmp 0x140033293
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400479e0
mov rbx, qword [rsp + 0x190]
add rsp, 0x160
pop rdi
pop rsi
pop rbp
ret