Function at 0x1400113e0
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
sub rsp, 0x60
mov rax, qword [0x1401288b0]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r15d, edx
mov rbx, rcx
mov qword [rsp + 0x40], rcx
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
lea r8, str.CreateFileA
mov r9d, 0x25
mov cl, 0x43
nop dword [rax]
movsx ecx, cl
imul edx, ecx, 0x12ca3
imul ecx, r9d, 0xd32b
xor edx, ecx
mov r9d, edx
lea r8, [r8 + 1]
movzx ecx, byte [r8]
test cl, cl
jne 0x140011430
mov rcx, rdi
call fcn.1400112f0
mov r14, rax
lea r8, str.CreateFileMappingW
mov r9d, 0x25
mov cl, 0x43
nop dword [rax + rax]
movsx ecx, cl
imul edx, ecx, 0x12ca3
imul ecx, r9d, 0xd32b
xor edx, ecx
mov r9d, edx
lea r8, [r8 + 1]
movzx ecx, byte [r8]
test cl, cl
jne 0x140011470
mov rcx, rdi
call fcn.1400112f0
mov rbp, rax
lea r8, str.MapViewOfFile
mov r9d, 0x25
mov cl, 0x4d
nop dword [rax + rax]
movsx ecx, cl
imul edx, ecx, 0x12ca3
imul ecx, r9d, 0xd32b
xor edx, ecx
mov r9d, edx
lea r8, [r8 + 1]
movzx ecx, byte [r8]
test cl, cl
jne 0x1400114b0
mov rcx, rdi
call fcn.1400112f0
mov rsi, rax
lea r8, str.VirtualProtect
mov r9d, 0x25
mov cl, 0x56
nop dword [rax + rax]
movsx ecx, cl
imul edx, ecx, 0x12ca3
imul ecx, r9d, 0xd32b
xor edx, ecx
mov r9d, edx
lea r8, [r8 + 1]
movzx ecx, byte [r8]
test cl, cl
jne 0x1400114f0
mov rcx, rdi
call fcn.1400112f0
mov r12, rax
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140011529
mov rcx, qword [rbx]
xor r13d, r13d
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r13 + 1]
call r14
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor edx, edx
mov r8d, 0x1000002
mov rcx, rax
call rbp
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
lea edx, [r13 + 4]
mov rcx, rax
call rsi
mov r11, rax
test rax, rax
je 0x1400116a9
mov eax, 0x5a4d
cmp word [r11], ax
jne 0x1400116a9
movsxd rax, dword [r11 + 0x3c]
add rax, r11
je 0x1400116a9
add rax, 0x18
je 0x1400116a9
mov eax, dword [rax + 0x70]
add rax, r11
je 0x1400116a9
mov esi, dword [rax + 0x1c]
add rsi, r11
mov r9d, dword [rax + 0x20]
add r9, r11
mov ebp, dword [rax + 0x24]
add rbp, r11
mov r10d, r13d
mov edi, dword [rax + 0x18]
test edi, edi
je 0x1400116a9
nop word [rax + rax]
mov edx, dword [r9]
add rdx, r11
mov r8d, 0x25
movzx eax, byte [rdx]
test al, al
je 0x14001161e
nop dword [rax]
nop word [rax + rax]
movsx eax, al
imul ecx, eax, 0x12ca3
imul r8d, r8d, 0xd32b
xor r8d, ecx
lea rdx, [rdx + 1]
movzx eax, byte [rdx]
test al, al
jne 0x140011600
cmp r8d, r15d
je 0x140011631
inc r10d
add r9, 4
cmp r10d, edi
jb 0x1400115e0
jmp 0x1400116a9
mov eax, r10d
movzx ecx, word [rbp + rax*2]
mov edi, dword [rsi + rcx*4]
add rdi, r11
je 0x1400116a9
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14001164e
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x1400116a9
mov edx, r15d
mov rcx, rax
call fcn.1400112f0
mov rsi, rax
mov rcx, qword [rax]
cmp rcx, qword [rdi]
jne 0x140011679
mov rcx, qword [rax + 8]
cmp rcx, qword [rdi + 8]
je 0x1400116a9
lea r9, [rsp + 0x48]
mov edx, reloc.WS2_32.dll_recv
lea r8d, [rdx + 0x30]
mov rcx, rsi
call r12
movups xmm0, xmmword [rdi]
movups xmmword [rsi], xmm0
lea r9, [rsp + 0x4c]
mov r8d, dword [rsp + 0x48]
mov edx, reloc.WS2_32.dll_recv
mov rcx, rsi
call r12
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1400116df
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400116da
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140011713
mov rcx, r8
call fcn.1400a67d0
mov byte [rbx], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rbx + 0x10], r13
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400a67b0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400b68ec
int3