Function at 0x140061b70
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbp
push rbx
lea rbp, [r11 - 0x58]
sub rsp, 0x148
mov rax, qword [0x1408f0280]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov qword [r11 + 8], rsi
mov qword [r11 + 0x10], rdi
mov qword [r11 + 0x18], r12
mov qword [r11 - 0x18], r13
mov qword [r11 - 0x20], r14
mov qword [r11 - 0x28], r15
call qword [sym.imp.KERNEL32.dll_AllocConsole]
xor ecx, ecx
call fcn.14012d138
mov r9, rax
lea r8, [0x1408d2da4]
lea rdx, str.CONIN_
lea rcx, [rsp + 0x70]
call fcn.1401333d0
mov ecx, 2
call fcn.14012d138
mov r9, rax
lea r8, [0x1408d2d98]
lea rdx, str.CONOUT_
lea rcx, [rsp + 0x70]
call fcn.1401333d0
mov ecx, 1
call fcn.14012d138
mov r9, rax
lea r8, [0x1408d2d98]
lea rdx, str.CONOUT_
lea rcx, [rsp + 0x70]
call fcn.1401333d0
mov ecx, 8
call fcn.140117ac0
mov rbx, rax
lea rax, vtable.c_log::c_log_consolestream.0
mov qword [rsp + 0x60], rbx
mov qword [rbx], rax
call fcn.14005a670
mov rdx, qword [rax + 8]
cmp rdx, qword [rax + 0x10]
je 0x140061c4d
mov qword [rdx], rbx
add qword [rax + 8], 8
jmp 0x140061c5a
lea r8, [rsp + 0x60]
mov rcx, rax
call fcn.140063170
call fcn.14005c010
call fcn.14006b8a0
xor ebx, ebx
lea rsi, reloc.WS2_32.dll_accept
mov r13d, ebx
test dword [rsi - 4], 0xfffffffd
mov r15d, dword [rsi + 4]
mov r12d, dword [rsi]
je 0x140061c87
xor al, al
jmp 0x140061d1e
xor r14b, r14b
lea rcx, [0x1409118e8]
mov rdi, rbx
xor al, al
lea rbx, [0x140911818]
nop dword [rax]
test rdi, rdi
je 0x140061cb7
cmp dword [rbx - 8], r12d
jne 0x140061cb7
mov r14b, 1
call qword [rbx]
lea rcx, [0x1409118e8]
inc rdi
add rbx, 0x10
cmp rbx, rcx
jl 0x140061ca0
test r14b, r14b
jne 0x140061cce
xor al, al
xor ebx, ebx
jmp 0x140061d1e
test al, al
jne 0x140061cd6
xor ebx, ebx
jmp 0x140061d1e
test r15d, r15d
jne 0x140061ce1
mov al, 1
xor ebx, ebx
jmp 0x140061d1e
xor dil, dil
lea rbx, [0x140911818]
xor al, al
nop dword [rax]
cmp dword [rbx - 8], r15d
jne 0x140061d07
mov dil, 1
call qword [rbx]
test al, al
lea rcx, [0x1409118e8]
sete al
add rbx, 0x10
cmp rbx, rcx
jl 0x140061cf0
test dil, dil
movzx eax, al
mov ebx, 0
cmove eax, ebx
mov rcx, qword [rsi - 0x14]
mov byte [rsi + 9], al
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
jne 0x140061d35
mov byte [rsi + 8], al
jmp 0x140061d4f
mov rdx, qword [rsi - 0xc]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [rsi + 0xc], rax
setne al
mov byte [rsi + 8], al
inc r13d
add rsi, 0x30
cmp r13d, 0x1e
jb 0x140061c70
mov r15, qword [rsp + 0x130]
mov r14, qword [rsp + 0x138]
mov r13, qword [rsp + 0x140]
mov r12, qword [rsp + 0x170]
mov rsi, qword [rsp + 0x160]
call fcn.140056ed0
call fcn.1400599a0
xor ecx, ecx
call rax
mov rcx, rax
call fcn.1400521a0
test eax, eax
jne 0x1400621e3
mov ecx, 0x29a
movaps xmmword [rsp + 0x120], xmm6
call fcn.1400ab62e
movups xmm0, xmmword [str._U_RUWA]
mov r8d, ebx
movups xmm1, xmmword [0x1408d2de0]
mov edi, dword [reloc.WS2_32.dll_accept]
mov eax, dword [0x1408d2e28]
movups xmmword [rbp - 0x80], xmm0
movups xmm0, xmmword [0x1408d2df0]
movups xmmword [rbp - 0x60], xmm0
movups xmm0, xmmword [0x1408d2e10]
movups xmmword [rbp - 0x40], xmm0
movsd xmm0, qword [0x1408d2e20]
movups xmmword [rbp - 0x70], xmm1
movups xmm1, xmmword [0x1408d2e00]
movsd qword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x50], xmm1
mov dword [rbp - 0x28], eax
cmp edi, 2
jl 0x140061f5f
movdqa xmm0, xmmword [0x1408d3c70]
lea rcx, [rbp - 0x80]
movdqa xmm5, xmmword [0x1408d3b80]
movdqa xmm4, xmmword [0x1408d3d10]
movdqa xmm6, xmmword [0x1408d3bb0]
movdqa xmmword [rsp + 0x60], xmm0
mov edx, dword [rsp + 0x60]
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1408d3c30]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 8], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1408d3c30]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
cmp r8d, 0x58
jl 0x140061e50
cmp r8d, 0x5c
jge 0x140061fa6
movsxd rax, r8d
lea r9, [rbp - 0x80]
add r9, rax
nop dword [rax]
mov eax, 0xa0a0a0a1
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x33
add cl, r8b
inc r8d
xor byte [r9 - 1], cl
cmp r8d, 0x5c
jl 0x140061f70
call fcn.14005a670
lea rcx, [0x14005a3a0]
mov qword [rsp + 0x20], rcx
lea r9, str.____INFO_
mov rcx, rax
lea r8, [fcn.14005a460]
lea rdx, [fcn.14005a4c0]
call fcn.140062750
mov rcx, rax
call fcn.14005a400
lea rdx, reloc.WLDAP32.dll_Ordinal_32
mov rbx, rax
lea rcx, [0x140915f70]
call fcn.140017550
lea rdx, [rbp - 0x80]
lea rcx, [0x140915f70]
call fcn.140017550
mov rcx, rbx
call fcn.14005a520
cmp byte [rbp - 0x25], 0
jne 0x1400621a6
xor r8d, r8d
cmp edi, 2
jl 0x14006215f
movdqa xmm0, xmmword [0x1408d3c70]
lea rcx, [rbp - 0x80]
movdqa xmm5, xmmword [0x1408d3b80]
movdqa xmm4, xmmword [0x1408d3d10]
movdqa xmm6, xmmword [0x1408d3bb0]
movdqa xmmword [rsp + 0x60], xmm0
mov edx, dword [rsp + 0x60]
nop
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1408d3c30]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 8], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1408d3c30]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
cmp r8d, 0x58
jl 0x140062050
cmp r8d, 0x5c
jge 0x1400621a6
movsxd rax, r8d
lea r9, [rbp - 0x80]
add r9, rax
nop dword [rax]
mov eax, 0xa0a0a0a1
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x33
add cl, r8b
inc r8d
xor byte [r9 - 1], cl
cmp r8d, 0x5c
jl 0x140062170
call fcn.14003d060
cmp byte [0x1408d0cfd], 0
mov rbx, rax
movzx eax, word [0x1408d0cfc]
movaps xmm6, xmmword [rsp + 0x120]
mov word [rsp + 0x40], ax
je 0x1400621d5
xor byte [rsp + 0x41], 0x34
mov byte [rsp + 0x40], Ordinal_50
lea rcx, [rsp + 0x40]
call fcn.140132c5c
mov ecx, eax
call rbx
mov ecx, 0x29a
call fcn.1400ab62e
call fcn.140062c00
xor edx, edx
lea rcx, [rbp - 0x20]
lea r8d, [rdx + 0x30]
call rax
mov ecx, 8
mov dword [0x140917d98], 0xbe91bf
call fcn.140117ac0
lea rcx, [0x1400614e0]
mov r9, rax
lea r8, [0x140063e70]
xor edx, edx
mov qword [rax], rcx
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov dword [rsp + 0x20], 0
call fcn.140132f40
mov rdi, qword [rsp + 0x168]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x1400623f8
cmp dword [rsp + 0x68], 0
je 0x1400623ed
movaps xmm0, xmmword [rsp + 0x60]
lea rcx, [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
call fcn.140117210
test eax, eax
jne 0x1400623ed
movzx eax, word [0x1408d2f54]
lea rcx, [rsp + 0x44]
mov word [rsp + 0x44], ax
movzx eax, byte [0x1408d2f56]
xor byte [rsp + 0x45], 0x34
xor al, 0x35
mov byte [rsp + 0x46], al
mov byte [rsp + 0x44], Ordinal_50
call fcn.140132c5c
cmp dword [rbp - 0x18], eax
je 0x1400623d2
call fcn.1400ab5e8
call fcn.1400ab5ef
cmp byte [0x140919288], 0
je 0x140062355
cmp byte [0x140917c6a], 0
jne 0x140062398
call fcn.140050e50
call rax
mov rbx, rax
call fcn.1400694c0
lea rdx, [0x140917cf8]
mov rcx, rbx
call rax
mov eax, dword [0x140917d00]
cdq
sub eax, edx
sar eax, 1
mov dword [0x140917cf8], eax
mov eax, dword [0x140917d04]
cdq
sub eax, edx
sar eax, 1
mov dword [0x140917cfc], eax
call fcn.14006a4d0
mov r9d, dword [0x140917cfc]
xor edx, edx
mov r8d, dword [0x140917cf8]
mov rcx, qword [0x1409196f8]
mov dword [rsp + 0x30], 0x204
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
call rax
mov byte [0x140917c6a], 1
jmp 0x140062398
mov eax, dword [0x140917d98]
cmp eax, 0xbe91bf
jne 0x140062370
lea rcx, [0x140917d80]
call fcn.1400675d0
jmp 0x140062398
cmp eax, 0xe9a38e
je 0x14006238c
cmp eax, 0x157c017
je 0x14006238c
lea rcx, [0x140917d80]
call fcn.1400680c0
jmp 0x140062398
lea rcx, [0x140917d80]
call fcn.140067840
call fcn.14003cc30
cmp byte [0x1408d2309], 0
mov rbx, rax
movzx eax, word [0x1408d2308]
mov word [rsp + 0x40], ax
je 0x1400623bf
xor byte [rsp + 0x41], 0x34
mov byte [rsp + 0x40], Ordinal_50
lea rcx, [rsp + 0x40]
call fcn.140132c5c
mov ecx, eax
call rbx
jmp 0x14006227f
mov eax, 2
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140117aa0
add rsp, 0x148
pop rbx
pop rbp
ret
mov ecx, 1
call fcn.1401173c0
int3
mov ecx, 6
mov dword [rsp + 0x68], 0
call fcn.1401173c0
int3