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

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x58
mov r10, qword [rcx + 0x20]
mov eax, dword [rcx + 0x8ce8]
xor esi, esi
mov dword [rsp + 0x2c], eax
mov eax, dword [r10]
mov ebx, r9d
mov dword [rsp + 0x3c], eax
lea eax, [rax*8 + 8]
mov rdi, rcx
sub eax, dword [r10 + 4]
mov byte [rsp + 0x98], 0
mov byte [rsp + 0x80], 0
mov dword [rsp + 0x24], eax
mov al, byte [r10 + 8]
mov dword [rsp + 0x30], esi
lea ebp, [rsi + 8]
mov byte [rsp + 0x20], al
cmp r9d, 1
jbe 0x14000ff0c
cmp r8d, 0x400
jb 0x14000ff0c
mov esi, r8d
shr esi, 1
lea eax, [rsi - 1]
mov r9b, byte [rax + rdx]
cmp byte [rsi + rdx], r9b
je 0x14000fe73
lea eax, [rsi - 2]
cmp r9b, byte [rax + rdx]
jne 0x14000fe80
cmp esi, r8d
jae 0x14000ff0c
inc esi
jmp 0x14000fe5d
cmp esi, r8d
jae 0x14000ff0c
lea r9d, [rbx - 1]
mov r8d, esi
call fcn.14000fde4
mov r8d, dword [rsp + 0x90]
mov edx, esi
add rdx, qword [rsp + 0x88]
lea r9d, [rbx - 1]
mov rcx, rdi
sub r8d, esi
call fcn.14000fde4
mov rcx, qword [rdi + 0x20]
mov eax, dword [rcx]
lea esi, [rax*8 + 8]
mov al, byte [rcx + 8]
sub esi, dword [rcx + 4]
mov byte [rsp + 0x80], al
mov eax, esi
mov dword [rsp + 0x30], esi
and eax, 7
jbe 0x14000feeb
mov r8d, ebp
xor edx, edx
mov rcx, rdi
sub r8d, eax
call fcn.14000f534
mov rdx, qword [rdi + 0x20]
mov ecx, dword [rsp + 0x24]
mov eax, ebp
and ecx, 7
mov byte [rsp + 0x98], 1
sub eax, ecx
mov dword [rdx + 4], eax
mov al, byte [rsp + 0x20]
mov byte [rdx + 8], al
mov rcx, qword [rdi + 0x20]
mov r8d, ebp
mov edx, gethostbyname
mov eax, dword [rcx]
mov dword [rsp + 0x28], eax
lea eax, [rax*8 + 8]
sub eax, dword [rcx + 4]
mov rcx, rdi
mov dword [rsp + 0x38], eax
call fcn.14000f534
mov r8d, ebp
mov edx, 0x41
mov rcx, rdi
call fcn.14000f534
mov ebx, 0x59
mov r8d, ebp
mov edx, ebx
mov rcx, rdi
call fcn.14000f534
lea edx, [rbx - 0x33]
mov r8d, ebp
mov rcx, rdi
call fcn.14000f534
lea edx, [rbx - 6]
mov r8d, ebp
mov rcx, rdi
call fcn.14000f534
mov r8d, ebp
mov edx, ebx
mov rcx, rdi
call fcn.14000f534
mov rbp, qword [rsp + 0x88]
mov esi, dword [rsp + 0x90]
mov r10b, byte [rbp]
or ebx, 0xffffffff
xor r8d, r8d
xor r9d, r9d
lea r11, [0x140179ca0]
mov dl, byte [r9 + rbp]
cmp r8d, 4
jne 0x14000ffd2
test dl, dl
je 0x14000ffcd
movzx r8d, r10b
mov ecx, ebx
mov eax, ebx
shr rcx, 0x18
shl eax, 8
xor rcx, r8
mov ebx, dword [r11 + rcx*4]
xor ebx, eax
add dl, 0xff
jne 0x14000ffb4
xor r8d, r8d
jmp 0x14000fffc
cmp r10b, dl
jne 0x14000ffdc
inc r8d
jmp 0x14000ffe5
mov r8d, 1
mov r10b, dl
mov ecx, ebx
movzx eax, dl
shr rcx, 0x18
xor rcx, rax
mov eax, ebx
mov ebx, dword [r11 + rcx*4]
shl eax, 8
xor ebx, eax
inc r9d
cmp r9d, esi
jb 0x14000ffa2
mov esi, dword [rsp + 0x30]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
not ebx
lea ebp, [rcx - 0x10]
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x34], ecx
mov eax, ebx
mov r8d, ebp
shr eax, cl
mov rcx, rdi
movzx edx, al
call fcn.14000f534
mov ecx, dword [rsp + 0x34]
sub ecx, ebp
mov dword [rsp + 0x34], ecx
cmp ecx, 0xfffffff8
jg 0x14001001a
mov r8d, dword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
mov rcx, rdi
call fcn.14000f58c
mov rcx, qword [rdi + 0x20]
mov eax, dword [rcx]
lea r8d, [rax*8 + 8]
sub r8d, dword [rcx + 4]
cmp byte [rsp + 0x98], 0
je 0x1400100cf
sub r8d, dword [rsp + 0x38]
mov eax, esi
sub eax, dword [rsp + 0x24]
cmp r8d, eax
jae 0x1400100ef
mov eax, dword [rcx]
mov r10, qword [rcx + 0x10]
sub eax, dword [rsp + 0x28]
je 0x1400100b5
mov r11d, dword [rsp + 0x3c]
mov ebx, dword [rsp + 0x28]
mov r9d, eax
sub ebx, r11d
lea eax, [rbx + r11]
mov edx, r11d
inc r11d
mov al, byte [rax + r10]
mov byte [rdx + r10], al
dec r9
jne 0x14001009a
mov ebx, dword [rsp + 0x40]
mov rdx, qword [rdi + 0x20]
mov ecx, dword [rsp + 0x24]
add ecx, r8d
mov eax, ecx
and ecx, 7
shr eax, 3
sub ebp, ecx
mov dword [rdx + 4], ebp
mov dword [rdx], eax
mov eax, dword [rsp + 0x2c]
mov dword [rdi + 0x8ce8], eax
mov dword [rdi + rax*4 + 0x7ce8], ebx
inc dword [rdi + 0x8ce8]
add rsp, 0x58
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov eax, esi
and esi, 7
shr eax, 3
sub ebp, esi
mov dword [rcx + 4], ebp
mov dword [rcx], eax
mov rax, qword [rdi + 0x20]
mov cl, byte [rsp + 0x80]
mov dword [rax + 4], ebp
mov byte [rax + 8], cl
jmp 0x1400100e6