Function at 0x14000be90
Capabilities:
Access peb ldr_data
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x118]
sub rsp, 0x1e0
movaps xmmword [rax - 0x48], xmm6
mov rbx, rcx
mov rax, qword gs:[0x60]
xor r13d, r13d
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r9, qword [rax + 0x30]
movsxd rdx, dword [r9 + 0x3c]
mov r10d, dword [rdx + r9 + 0x88]
add r10, r9
cmp r10, r9
je 0x14000bf31
mov r8d, dword [r10 + 0x18]
test r8d, r8d
je 0x14000bf31
mov esi, dword [r10 + 0x20]
dec r8d
mov r11d, 0x43a08254
lea rcx, [rsi + r8*4]
mov edx, dword [rcx + r9]
add rdx, r9
mov cl, byte [rdx]
inc rdx
test cl, cl
je 0x14000bf2c
movsx ecx, cl
xor ecx, r11d
imul r11d, ecx, 0x37d89a
mov cl, byte [rdx]
inc rdx
test cl, cl
jne 0x14000bf0d
cmp r11d, 0x3565d964
je 0x14000bf36
test r8d, r8d
jne 0x14000bef0
mov rax, qword [rax]
jmp 0x14000becb
mov ecx, dword [r10 + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [r10 + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
xor edx, edx
add rax, r9
lea ecx, [rdx + 2]
call rax
mov qword [rbp + 0x130], rax
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x14000bf90
mov qword [rbx], r13
mov ecx, 0x48
mov qword [rbx + 8], r13
call fcn.14006fa58
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
jmp 0x14000c3c4
mov dword [rbp - 0x60], 0x130
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r10d, dword [rcx + r8 + 0x88]
add r10, r8
cmp r10, r8
je 0x14000c00e
mov r9d, dword [r10 + 0x18]
test r9d, r9d
je 0x14000c00e
mov esi, dword [r10 + 0x20]
dec r9d
mov r11d, 0xbae49852
lea rcx, [rsi + r9*4]
mov edx, dword [rcx + r8]
add rdx, r8
mov cl, byte [rdx]
inc rdx
test cl, cl
je 0x14000c009
movsx ecx, cl
xor ecx, r11d
imul r11d, ecx, 0x37d89a
mov cl, byte [rdx]
inc rdx
test cl, cl
jne 0x14000bfea
cmp r11d, 0x1bd17aa4
je 0x14000c013
test r9d, r9d
jne 0x14000bfcd
mov rax, qword [rax]
jmp 0x14000bfa8
mov ecx, dword [r10 + 0x24]
add rcx, r8
movzx edx, word [rcx + r9*2]
mov ecx, dword [r10 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
lea rdx, [rbp - 0x60]
add rax, r8
mov rcx, r14
call rax
test eax, eax
jne 0x14000c047
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000bf66
mov r15d, 0x48
mov qword [rsp + 0x28], r13
mov ecx, r15d
call fcn.14006fa58
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rsp + 0x20], rax
mov rax, qword [0x1400b8e28]
test rax, rax
jne 0x14000c11c
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r9d, dword [rcx + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x14000c0f7
mov r10d, dword [r9 + 0x18]
test r10d, r10d
je 0x14000c0f7
mov esi, dword [r9 + 0x20]
dec r10d
mov r11d, 0xfa7eb00c
lea rcx, [rsi + r10*4]
mov edx, dword [rcx + r8]
add rdx, r8
mov cl, byte [rdx]
inc rdx
test cl, cl
je 0x14000c0f2
movsx ecx, cl
xor ecx, r11d
imul r11d, ecx, 0x37d89a
mov cl, byte [rdx]
inc rdx
test cl, cl
jne 0x14000c0d3
cmp r11d, 0x6deeff40
je 0x14000c0fc
test r10d, r10d
jne 0x14000c0b6
mov rax, qword [rax]
jmp 0x14000c091
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + r10*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
mov qword [0x1400b8e28], rax
lea rdx, [rbp - 0x60]
mov rcx, r14
call rax
test eax, eax
je 0x14000c35c
xorps xmm0, xmm0
mov qword [rsp + 0x40], r13
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x48], r13
lea rax, [rbp - 0x34]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r13b
jne 0x14000c147
lea rdx, [rbp - 0x34]
lea rcx, [rsp + 0x30]
call fcn.140002a90
mov eax, dword [rbp - 0x58]
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x80]
mov dword [rbp + 0x128], eax
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x50], eax
call fcn.140018ba4
mov r14, qword [rsp + 0x40]
mov r12, qword [rsp + 0x30]
movsd xmm0, qword [rax + 0x10]
movups xmm6, xmmword [rax]
movsd qword [rsp + 0x70], xmm0
mov rdx, qword [rsp + 0x70]
cmp byte [rdx + 0x19], r13b
jne 0x14000c1f7
mov rdi, qword [rdx + 0x30]
add rdx, 0x20
cmp qword [rdx + 0x18], 0xf
jbe 0x14000c1b3
mov rdx, qword [rdx]
mov rsi, qword [rsp + 0x48]
lea rcx, [rsp + 0x30]
cmp rsi, 0xf
mov r8, r14
cmova rcx, r12
cmp rdi, r14
cmovb r8, rdi
call fcn.140098e50
test eax, eax
je 0x14000c1dc
jns 0x14000c1eb
jmp 0x14000c1e1
cmp r14, rdi
jae 0x14000c1e5
mov al, 0xff
jmp 0x14000c1ed
jbe 0x14000c314
mov al, 1
test al, al
jns 0x14000c314
jmp 0x14000c1fc
mov rsi, qword [rsp + 0x48]
movabs rax, 0x38e38e38e38e38e
cmp qword [rsp + 0x28], rax
je 0x14000c3e7
mov r13, qword [rsp + 0x20]
mov rcx, r15
call fcn.14006fa58
mov rdi, rax
xorps xmm0, xmm0
mov ecx, reloc.WS2_32.dll_ntohs
movabs rdx, 0x7fffffffffffffff
movups xmmword [rax + 0x20], xmm0
and qword [rax + 0x30], 0
and qword [rax + 0x38], 0
lea rax, [rsp + 0x30]
cmp rsi, rcx
cmova rax, r12
mov qword [rbp + 0x138], rax
cmp r14, rdx
ja 0x14000c3f3
cmp r14, rcx
ja 0x14000c274
mov qword [rdi + 0x30], r14
mov qword [rdi + 0x38], rcx
movups xmm0, xmmword [rax]
movdqu xmmword [rdi + 0x20], xmm0
jmp 0x14000c2e0
mov rsi, r14
or rsi, rcx
cmp rsi, rdx
jbe 0x14000c28e
mov rsi, rdx
movabs rcx, 0x8000000000000000
jmp 0x14000c2b0
mov eax, reloc.WS2_32.dll_shutdown
cmp rsi, rax
cmovb rsi, rax
lea rcx, [rsi + 1]
test rcx, rcx
jne 0x14000c2a7
xor eax, eax
jmp 0x14000c2bc
cmp rcx, 0x1000
jb 0x14000c2b7
call fcn.1400190b8
jmp 0x14000c2bc
call fcn.14006fa58
mov rdx, qword [rbp + 0x138]
lea r8, [r14 + 1]
mov rcx, rax
mov qword [rdi + 0x20], rax
mov qword [rdi + 0x30], r14
mov qword [rdi + 0x38], rsi
call fcn.140098410
mov rsi, qword [rsp + 0x48]
mov eax, dword [rbp + 0x128]
lea rdx, [rsp + 0x60]
mov dword [rdi + 0x40], eax
lea rcx, [rsp + 0x20]
mov qword [rdi], r13
mov r8, rdi
mov qword [rdi + 8], r13
mov qword [rdi + 0x10], r13
xor r13d, r13d
mov word [rdi + 0x18], r13w
movdqu xmmword [rsp + 0x60], xmm6
call fcn.140017e3c
mov r14, qword [rbp + 0x130]
cmp rsi, 0xf
jbe 0x14000c070
lea rdx, [rsi + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x14000c34f
mov r12, qword [r12 - 8]
add rdx, 0x27
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c3ed
mov rcx, r12
call fcn.14006f96c
jmp 0x14000c070
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r15
mov qword [rbx], r13
mov qword [rbx + 8], r13
call fcn.14006fa58
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov rcx, qword [rsp + 0x20]
mov qword [rbx], rcx
mov rdx, qword [rbx + 8]
mov rcx, qword [rsp + 0x28]
mov qword [rbx + 8], rcx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
mov r8, qword [rax + 8]
call fcn.140018c64
mov rcx, qword [rsp + 0x20]
mov rdx, r15
call fcn.14006f96c
lea r11, [rsp + 0x1e0]
mov rax, rbx
mov rbx, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140002380
int3
call fcn.140075b5c
int3
call fcn.1400014b4
int3