Function at 0x14004e6d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3d0]
sub rsp, 0x4d0
mov rax, qword [0x14012e0c0]
xor rax, rsp
mov qword [rbp + 0x3c0], rax
mov ebx, edx
mov r14, rcx
mov qword [rsp + 0x40], rcx
xor edi, edi
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
lea rax, [rbp + 0x408]
movabs rcx, 0xff00ff00ff00ff00
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x50], rax
mov r13, qword [rax]
mov r12, r13
xor r12, rcx
mov qword [rbp - 0x60], r12
mov qword [rax], rdi
mov eax, edx
sar eax, 0x10
lea ecx, [rax*8]
mov rax, qword [0x14012fb50]
add rax, 0x120a7a50
add rcx, rax
call fcn.140077470
mov rcx, rax
movzx eax, bx
lea rax, [rcx + rax*2]
mov qword [rsp + 0x40], rax
mov word [rsp + 0x4c], di
mov dword [rsp + 0x71], edi
mov word [rsp + 0x75], di
mov byte [rsp + 0x77], dil
mov dword [rsp + 0x50], 0x9af2b37
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 2
mov eax, dword [0x14012fb28]
mov dword [rsp + 0x54], eax
mov byte [rsp + 0x70], dil
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
mov r9d, Ordinal_41
lea r8, [rsp + 0x50]
mov edx, 0x228d14
mov rcx, qword [0x14012fb20]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
movzx r15d, word [rsp + 0x4c]
shr r15d, 6
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_memset
lea rbx, [rbp - 0x40]
mov esi, reloc.WLDAP32.dll_Ordinal_30
test r15d, r15d
je 0x14004e8f0
xor r13d, r13d
mov dword [rbp - 0x67], r13d
mov word [rbp - 0x63], r13w
mov byte [rbp - 0x61], r13b
mov dword [rsp + 0x78], 0x9af2b37
mov rax, qword [rsp + 0x40]
add rax, 2
mov qword [rbp - 0x80], rax
lea rax, [rbp - 0x40]
mov qword [rbp - 0x78], rax
lea ecx, [r15 + r15]
mov qword [rbp - 0x70], rcx
mov eax, dword [0x14012fb28]
mov dword [rsp + 0x7c], eax
mov byte [rbp - 0x68], r13b
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
mov r9d, Ordinal_41
lea r8, [rsp + 0x78]
mov edx, 0x228d14
mov rcx, qword [0x14012fb20]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
nop
or esi, edi
mov eax, esi
inc edi
add esi, esi
not al
xor byte [rbx], al
lea rbx, [rbx + 1]
cmp edi, r15d
jl 0x14004e880
cmp r15d, 0x400
jae 0x14004e94b
mov byte [rbp + r15 - 0x40], r13b
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r13
mov qword [r14 + 0x18], r13
lea rax, [rbp - 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r13b
jne 0x14004e8c1
lea rdx, [rbp - 0x40]
mov rcx, r14
call fcn.1400049d0
nop
movabs rax, 0xff00ff00ff00ff00
xor r12, rax
lea rax, [rbp + 0x408]
mov qword [rax], r12
jmp 0x14004e91e
xorps xmm0, xmm0
movups xmmword [r14], xmm0
xor eax, eax
mov qword [r14 + 0x10], rax
mov qword [r14 + 0x18], rax
xor r8d, r8d
lea rdx, [0x1400f44b8]
mov rcx, r14
call fcn.1400049d0
nop
lea rax, [rbp + 0x408]
mov qword [rax], r13
mov rax, r14
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.1400ddf50
mov rbx, qword [rsp + 0x520]
add rsp, 0x4d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400de590
nop
int3