Function at 0x1402d9da0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push rsi
push rdi
push rbx
mov eax, 0xfffffffe
test rcx, rcx
je 0x1402da14f
mov rdx, rcx
cmp qword [rcx + 0x30], 0
je 0x1402da14f
mov ecx, dword [0x14055de44]
mov r8d, dword [0x14052f4b0]
add r8d, ecx
dec r8d
imul r8d, ecx
test r8b, 1
jne 0x1402d9e00
mov rcx, qword [rdx + 0x38]
mov r8d, dword [0x14055de44]
lea r9d, [r8 - 1]
imul r9d, r8d
test r9b, 1
je 0x1402d9e0d
nop word cs:[rax + rax]
mov ecx, dword [0x14055de48]
cmp ecx, 0x4f
jge 0x1402d9e00
jmp 0x1402d9ddc
test rcx, rcx
je 0x1402da14f
mov rcx, qword [rdx + 0x28]
test rcx, rcx
je 0x1402da14f
cmp qword [rcx], rdx
jne 0x1402da14f
mov r8d, 0xffffc0cc
add r8d, dword [rcx + 8]
cmp r8d, 0x1f
ja 0x1402da14f
mov rcx, qword [rdx + 0x28]
mov qword [rcx + 0x34], 0
mov dword [rcx + 0x3c], 0
cmp qword [rdx + 0x30], 0
je 0x1402da14f
cmp qword [rdx + 0x38], 0
je 0x1402da14f
mov r9, qword [rdx + 0x28]
test r9, r9
je 0x1402da14f
cmp qword [r9], rdx
setne r8b
sete cl
movzx r10d, byte [0x14055ca54]
xor cl, r10b
not r10b
and r10b, r8b
or r10b, cl
test r10b, 1
je 0x1402d9ea3
test cl, 1
je 0x1402da14f
mov ecx, dword [r9 + 8]
mov r8d, dword [0x14052f4b0]
lea r10d, [r8 + 0x289f8a]
mov r11d, r10d
xor r11d, r11d
not r11d
and r11d, ecx
xor r11d, r10d
and r10d, ecx
lea ecx, [r11 + r10*2]
add r8d, 0x28dede
cmp ecx, r8d
jae 0x1402da14f
mov dword [r9 + 0x24], 0
mov dword [rdx + 0x1c], 0
mov dword [rdx + 0xc], 0
mov qword [rdx + 0x20], 0
mov r10d, dword [r9 + 0x10]
test r10d, r10d
je 0x1402da043
mov eax, dword [0x14052f4b0]
mov ecx, eax
xor ecx, 0x28debf
and eax, 0x28debf
lea eax, [rcx + rax*2]
lea rcx, [fcn.1402d9da0]
add ecx, ecx
add ecx, 0x4760
mov r8d, eax
not r8d
mov r11d, eax
xor r11d, r8d
and r11d, ecx
xor r11d, r8d
mov ecx, r11d
not ecx
xor r11d, eax
and ecx, r8d
or ecx, r11d
cmp ecx, 0xffffffff
jne 0x1402d9f94
mov eax, 0x28debf
add eax, dword [0x14052f4b0]
mov ecx, eax
not ecx
xor eax, ecx
and eax, r10d
xor eax, ecx
xor ecx, eax
and ecx, eax
mov eax, dword [0x14055c6c0]
mov r8d, eax
xor r8d, ecx
and ecx, eax
lea eax, [r8 + rcx*2]
mov dword [rdx + 0x4c], eax
mov eax, dword [0x14055de44]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
je 0x1402da043
mov r11d, r10d
neg r11d
nop word [rax + rax]
mov esi, dword [0x14052f4b0]
lea eax, [rsi + 0x28debf]
mov ecx, r11d
xor ecx, eax
and eax, r11d
lea ecx, [rcx + rax*2]
mov eax, r10d
shl eax, cl
sub ecx, eax
sub eax, ecx
imul eax, ecx
shl eax, cl
sub ecx, eax
shl eax, cl
mov r8d, eax
sub r8d, ecx
imul r8d, ecx
mov edi, eax
mov ecx, r8d
shl edi, cl
xor eax, edi
not eax
and eax, edi
mov r8d, dword [0x14055c6c0]
mov ecx, eax
shl r8d, cl
mov ecx, r8d
sub ecx, eax
lea eax, [r8 + rcx]
neg ecx
imul ecx, eax
sub ecx, r8d
sub esi, r8d
lea eax, [rcx + rsi]
add eax, 0xecd8e344
mov r8d, eax
xor r8d, 0x134ffb7a
and eax, 0x134ffb7a
lea eax, [r8 + rax*2]
mov r8d, eax
shl r8d, cl
mov ecx, eax
sub ecx, r8d
imul ecx, r8d
add ecx, eax
mov dword [rdx + 0x4c], ecx
mov eax, dword [0x14055de48]
cmp eax, 0x24
jge 0x1402d9fa0
jmp 0x1402d9f50
mov ecx, 0x28dec0
mov r8d, 0x291df2
movabs r10, 0xffffffff00000000
lea r11, [r9 + 0x550]
movabs rsi, 0xffffffff00000001
mov edi, 0x28debd
mov edx, dword [0x14055de44]
lea eax, [rdx - 1]
imul eax, edx
mov ebx, dword [0x14052f4b0]
add ebx, ecx
xor edx, edx
div ebx
test edx, edx
jne 0x1402da0e2
mov eax, dword [0x14052f4b0]
add eax, r8d
mov dword [r9 + 8], eax
mov dword [r9 + 0xc], 0
mov qword [r9 + 0x14], r10
mov dword [r9 + 0x1c], 0x8000
mov qword [r9 + 0x28], 0
mov qword [r9 + 0x48], 0
mov qword [r9 + 0x88], r11
mov qword [r9 + 0x68], r11
mov qword [r9 + 0x60], r11
mov qword [r9 + 0x1be0], rsi
mov eax, dword [0x14055de44]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
je 0x1402da14d
mov qword [r9 + 8], 0x3f34
mov dword [r9 + 0x14], 0
mov eax, dword [0x14052f4b0]
add eax, edi
mov dword [r9 + 0x18], eax
mov dword [r9 + 0x1c], 0x8000
mov qword [r9 + 0x28], 0
mov qword [r9 + 0x48], 0
mov qword [r9 + 0x88], r11
mov qword [r9 + 0x68], r11
mov qword [r9 + 0x60], r11
mov qword [r9 + 0x1be0], rsi
mov eax, dword [0x14055de44]
mov edx, dword [0x14052f4b0]
add edx, eax
dec edx
imul edx, eax
test dl, 1
jne 0x1402da06e
jmp 0x1402da08a
xor eax, eax
pop rbx
pop rdi
pop rsi
ret