Function at 0x1400fe150
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push r12
push r13
push r15
sub rsp, 0xc0
mov rax, qword [0x140264330]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rax, qword [rcx + 0x80]
mov r12, qword [rcx + 0x130]
xor r13d, r13d
test byte [rcx + 0x19c], 0x20
mov rbx, rcx
lea rsi, [rax + 0x120]
je 0x1400fe1cd
mov r15d, 0x4000
cmp dword [rax + 0xe8], r13d
jne 0x1400fe1d0
mov edx, 0x8f
lea r9, [0x1402818b0]
lea r8d, [r13 + 0x44]
lea ecx, [rdx - 0x7b]
mov dword [rsp + 0x20], 0x134
call fcn.1400dabf0
or eax, 0xffffffff
jmp 0x1400fe67a
mov r15, r13
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rdi
mov qword [rsp + 0x108], r14
mov ebp, 0xffffff00
cmp dword [rbx + 0x4c], 0xf1
mov r14d, 0x300
nop word [rax + rax]
jne 0x1400fe20c
cmp dword [rbx + 0x70], 5
jae 0x1400fe29e
mov rax, qword [rbx + 0x80]
xor r9d, r9d
mov rcx, rbx
mov r8d, dword [rax + 0xf8]
lea edx, [r9 + 5]
call fcn.1400fdee0
test eax, eax
jle 0x1400fe662
mov rcx, qword [rbx + 0x68]
mov dword [rbx + 0x4c], 0xf1
movzx eax, byte [rcx]
mov dword [rsi], eax
movzx eax, byte [rcx + 2]
movzx edi, byte [rcx + 1]
movzx edx, byte [rcx + 4]
shl di, 8
or di, ax
movzx eax, byte [rcx + 3]
shl eax, 8
or edx, eax
mov dword [rsi + 4], edx
cmp dword [rbx + 0x1a8], r13d
jne 0x1400fe274
movsx eax, di
cmp eax, dword [rbx]
jne 0x1400fe4a1
and di, bp
cmp di, r14w
jne 0x1400fe63f
mov rax, qword [rbx + 0x80]
mov rcx, qword [rax + 0xf8]
mov eax, edx
sub rcx, 5
cmp rax, rcx
ja 0x1400fe604
mov eax, dword [rbx + 0x70]
mov ecx, dword [rsi + 4]
sub eax, 5
cmp ecx, eax
jbe 0x1400fe2d0
test ecx, ecx
jle 0x1400fe4ed
mov r8d, ecx
mov edx, ecx
mov r9d, 1
mov rcx, rbx
call fcn.1400fdee0
mov ecx, eax
test eax, eax
jle 0x1400fe4ed
mov rdx, qword [rbx + 0x68]
mov dword [rbx + 0x4c], 0xf0
mov eax, dword [rsi + 4]
add rdx, 5
lea rcx, [r15 + 0x4540]
mov qword [rsi + 0x18], rdx
cmp rax, rcx
ja 0x1400fe5ed
mov qword [rsi + 0x10], rdx
mov rax, qword [rbx + 8]
mov rcx, rbx
mov r8, qword [rax + 0xc8]
xor edx, edx
call qword [r8]
mov r14d, eax
test eax, eax
je 0x1400fe5d3
test r12, r12
je 0x1400fe43d
mov r8, qword [rbx + 0xd0]
test r8, r8
je 0x1400fe43d
mov rcx, qword [rbx + 0xd8]
mov rax, r13
test rcx, rcx
je 0x1400fe343
mov rax, qword [rcx]
test rax, rax
je 0x1400fe43d
test rcx, rcx
je 0x1400fe511
mov rax, qword [rcx]
test rax, rax
je 0x1400fe511
mov ebp, dword [rax + 8]
cmp ebp, 0x40
ja 0x1400fe533
mov r9d, dword [rsi]
mov edx, dword [rsi + 4]
shr r9d, 8
add r9d, edx
cmp r9d, ebp
jb 0x1400fe4f4
mov rax, qword [r8]
mov ecx, dword [rax + 0x10]
and ecx, 0xf0007
cmp ecx, 2
jne 0x1400fe3be
lea eax, [rbp + 1]
cmp r9d, eax
jb 0x1400fe4f4
cmp ecx, ecx
jne 0x1400fe3be
lea rcx, [rsp + 0x70]
mov r8d, ebp
mov rdx, rsi
lea rdi, [rsp + 0x70]
call fcn.140130630
sub dword [rsi + 4], ebp
jmp 0x1400fe3c9
sub edx, ebp
mov edi, edx
mov dword [rsi + 4], edi
add rdi, qword [rsi + 0x10]
mov rax, qword [rbx + 8]
lea rdx, [rsp + 0x30]
xor r8d, r8d
mov r9, qword [rax + 0xc8]
mov rcx, rbx
call qword [r9 + reloc.WS2_32.dll_htonl]
test eax, eax
js 0x1400fe41e
test rdi, rdi
je 0x1400fe41e
xor r8b, r8b
mov rdx, r13
test ebp, ebp
je 0x1400fe422
lea rax, [rsp + 0x30]
sub rdi, rax
nop
lea rax, [rsp + 0x30]
add rax, rdx
inc rdx
movzx ecx, byte [rax + rdi]
xor cl, byte [rax]
or r8b, cl
cmp rdx, rbp
jb 0x1400fe400
test r8b, r8b
je 0x1400fe422
or r14d, 0xffffffff
mov eax, dword [rsi + 4]
lea rcx, [rbp + 0x4400]
add rcx, r15
cmp rax, rcx
ja 0x1400fe5b5
mov ebp, 0xffffff00
test r14d, r14d
js 0x1400fe5b5
cmp qword [rbx + 0xe0], r13
je 0x1400fe472
mov eax, dword [rsi + 4]
lea rcx, [r15 + 0x4400]
cmp rax, rcx
ja 0x1400fe587
mov rcx, rbx
call fcn.1400fe6a0
test eax, eax
je 0x1400fe56a
mov eax, dword [rsi + 4]
lea rcx, [r15 + 0x4000]
cmp rax, rcx
ja 0x1400fe59e
mov dword [rsi + 8], r13d
mov dword [rbx + 0x70], r13d
cmp dword [rsi + 4], r13d
je 0x1400fe1ed
mov eax, 1
jmp 0x1400fe662
mov edx, 0x8f
lea r9, [0x1402818d8]
mov dword [rsp + 0x20], 0x152
lea ecx, [rdx - 0x7b]
lea r8d, [rdx + 0x7c]
call fcn.1400dabf0
movzx ecx, di
mov eax, ecx
xor eax, dword [rbx]
test eax, 0xff00
jne 0x1400fe4e3
cmp qword [rbx + 0xe8], r13
jne 0x1400fe4e3
cmp qword [rbx + 0xf0], r13
jne 0x1400fe4e3
mov dword [rbx], ecx
mov edi, 0x46
jmp 0x1400fe62d
mov eax, ecx
jmp 0x1400fe662
mov edi, 0x32
mov dword [rsp + 0x20], 0x1be
lea r9, [0x1402819e8]
lea r8d, [rdi + 0x6e]
jmp 0x1400fe61e
mov edx, 0xa2
lea r9, str.....opensslopensslcryptoevpevp_lib.c
mov ecx, 6
lea r8d, [rdx - 3]
mov dword [rsp + 0x20], 0x10e
call fcn.1400dabf0
lea r9, [0x1402819a0]
lea rdx, [0x1402819c0]
lea rcx, str._s__d_:_OpenSSL_internal_error__assertion_failed:__s_n
mov r8d, 0x1ae
call fcn.1400f7420
mov ecx, reloc.WS2_32.dll_shutdown
call qword [sym.imp.MSVCR120.dll_raise]
mov ecx, 3
call qword [sym.imp.MSVCR120.dll__exit]
int3
mov edi, 0x1e
mov dword [rsp + 0x20], 0x1f5
lea r9, [0x140281a60]
lea r8d, [rdi + 0x4d]
jmp 0x1400fe61e
mov dword [rsp + 0x20], 0x1ef
lea r9, [0x140281a38]
mov r8d, 0x8c
jmp 0x1400fe619
mov dword [rsp + 0x20], 0x1fd
lea r9, [0x140281a88]
mov r8d, __WSAFDIsSet
jmp 0x1400fe619
mov edi, setsockopt
mov dword [rsp + 0x20], 0x1e5
lea r9, [0x140281a10]
mov ecx, edi
mov r8d, 0x119
jmp 0x1400fe623
mov edi, reloc.WS2_32.dll_setsockopt
mov dword [rsp + 0x20], 0x19b
lea r9, [0x140281978]
lea r8d, [rdi + 0x6c]
jmp 0x1400fe61e
mov dword [rsp + 0x20], 0x18c
lea r9, [0x140281950]
mov r8d, __WSAFDIsSet
jmp 0x1400fe619
mov dword [rsp + 0x20], 0x164
lea r9, [0x140281928]
mov r8d, 0xc6
mov edi, reloc.WS2_32.dll_shutdown
mov ecx, setsockopt
mov edx, 0x8f
call fcn.1400dabf0
mov r8d, edi
mov edx, 2
mov rcx, rbx
call fcn.1400ff9d0
jmp 0x1400fe65f
mov edx, 0x8f
lea r9, [0x140281900]
mov dword [rsp + 0x20], 0x15d
lea ecx, [rdx - 0x7b]
lea r8d, [rdx + 0x7c]
call fcn.1400dabf0
or eax, 0xffffffff
mov rdi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov r14, qword [rsp + 0x108]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1401bb2c0
add rsp, 0xc0
pop r15
pop r13
pop r12
pop rsi
pop rbx
ret