Function at 0x18008a250
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x100
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x1803435b8]
xor rax, rsp
mov qword [rbp + 0x27], rax
xor r14d, r14d
mov dword [rbp - 0x71], r14d
xor r9d, r9d
lea r8, [rbp - 0x79]
xor edx, edx
lea rbx, [0x180346638]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_InitOnceBeginInitialize]
test eax, eax
je 0x18008aa5f
lea rdi, [r14 - 1]
cmp dword [rbp - 0x79], r14d
je 0x18008a35e
mov qword [rbp - 0x61], rbx
mov dword [rbp - 0x59], 4
movdqa xmm0, xmmword [0x180125250]
movdqu xmmword [rbp - 0x51], xmm0
mov dword [rbp - 0x41], 0xcaf2939c
mov word [rbp - 0x3d], 0xa1
mov byte [rbp - 0x3b], 1
mov ecx, r14d
nop word [rax + rax]
lea eax, [rcx - 0x54]
xor byte [rbp + rcx - 0x51], al
inc rcx
cmp rcx, 0x15
jb 0x18008a2f0
mov byte [rbp - 0x3b], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], r14
mov qword [rbp - 0x21], r14
lea rax, [rbp - 0x51]
mov r8, rdi
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18008a320
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 0x39]
call fcn.18005bb80
lea rdx, [rbp - 0x39]
lea rcx, [0x180346520]
call fcn.18008cd60
nop
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_InitOnceComplete]
test eax, eax
je 0x18008aa65
xor edx, edx
lea r8d, [rdx + 0xb]
lea rcx, str.Executorffa
call fcn.18001bc10
call fcn.180058cb0
lea rcx, [rbp - 0x69]
call fcn.180023800
movss xmm6, dword [rax]
movss xmm7, dword [0x1800fb45c]
movss dword [rsp + 0x20], xmm7
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Lua_Executor
lea rcx, [rbp - 0x79]
call fcn.18001f3d0
mulss xmm6, dword [0x1800fb3c8]
movss xmm2, dword [rax]
mulss xmm2, dword [0x1800fb3c8]
subss xmm6, xmm2
movaps xmm1, xmm7
movaps xmm0, xmm6
call fcn.180030170
lea rcx, str.Lua_Executor
call fcn.180058f00
call fcn.180058cb0
mov ecx, 1
call fcn.1800896d0
mov dword [rbp - 0x79], 0x44480000
mov dword [rbp - 0x75], 0x43fa0000
xor edx, edx
lea rcx, [rbp - 0x79]
call fcn.180031460
mov ecx, dword [0x180346c50]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov eax, dword [rdx + rax]
cmp dword [0x180346990], eax
jg 0x18008aa1c
call fcn.180067ec0
mov rdx, rax
lea rcx, [0x180346640]
call fcn.18006b7e0
mov byte [0x1803466bb], 0
call fcn.1800657a0
mov rdx, rax
lea rcx, [0x180346640]
call fcn.18006ba40
xor edx, edx
lea rcx, [0x180346640]
call fcn.18006ba80
lea rcx, [rbp - 0x69]
call fcn.180023800
movss xmm6, dword [rax + 4]
subss xmm6, dword [0x1800fb5b8]
lea rcx, [rbp - 0x61]
call fcn.180023800
movss xmm0, dword [rax]
movss dword [rbp - 0x79], xmm0
movss dword [rbp - 0x75], xmm6
xor r9d, r9d
lea r8, [rbp - 0x79]
lea rdx, str.TextEditor
lea rcx, [0x180346640]
call fcn.18006b200
mov qword [rbp - 0x79], 0
lea rdx, [rbp - 0x79]
lea rcx, str._Carregar_code
call fcn.18004cb60
test al, al
je 0x18008a4dc
lea rdx, [rbp - 0x39]
lea rcx, [0x180346640]
call fcn.180065df0
mov rcx, rax
call fcn.180093780
movaps xmm1, xmm7
xorps xmm0, xmm0
call fcn.180030170
mov qword [rbp - 0x79], 0
lea rdx, [rbp - 0x79]
lea rcx, str._Limpar
call fcn.18004cb60
test al, al
je 0x18008a591
mov byte [0x180345de0], 0
xor r8d, r8d
lea rdx, [0x18013233b]
lea rcx, [0x1803431b8]
call fcn.18000a920
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], r14
mov qword [rbp - 1], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x19], 0
lea rdx, [rbp - 0x19]
lea rcx, [0x180346640]
call fcn.18006bef0
nop
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x18008a58a
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008a585
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18008a585
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef630
mov byte [0x1803451e2], 0
movaps xmm1, xmm7
xorps xmm0, xmm0
call fcn.180030170
mov qword [rbp - 0x79], 0
lea rdx, [rbp - 0x79]
lea rcx, str._.Lua
call fcn.18004cb60
test al, al
je 0x18008a7b7
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], 4
mov qword [rbp - 0x21], reloc.WS2_32.dll_ntohs
mov dword [rbp - 0x39], 0x61756c2e
mov byte [rbp - 0x35], 0
movdqu xmmword [rbp - 0x51], xmm0
mov qword [rbp - 0x41], r14
mov edx, 1
lea rcx, [rbp - 0x51]
call fcn.1800146c0
mov qword [rbp - 0x51], rax
mov qword [rbp - 0x49], rax
lea rbx, [rax + 0x20]
mov qword [rbp - 0x41], rbx
lea rcx, [rbp - 0x51]
mov qword [rbp - 0x61], rcx
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x11], rax
lea rcx, [rbp - 0x51]
mov qword [rbp - 9], rcx
lea rdx, [rbp - 0x39]
mov rcx, rax
call fcn.180009d20
nop
mov qword [rbp - 0x49], rbx
lea rdx, [rbp - 0x51]
lea rcx, [0x180346520]
call fcn.18008d2a0
nop
mov rbx, qword [rbp - 0x51]
test rbx, rbx
je 0x18008a6ee
mov rsi, qword [rbp - 0x49]
cmp rbx, rsi
je 0x18008a6a7
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x18008a68b
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x18008a686
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18008a6d3
mov rcx, r8
call fcn.1800ef630
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
add rbx, 0x20
cmp rbx, rsi
jne 0x18008a655
mov rbx, qword [rbp - 0x51]
mov rdx, qword [rbp - 0x41]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x18008a6da
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18008a6da
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1800ef630
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x51], xmm0
mov qword [rbp - 0x41], r14
lea r9, [fcn.180009bf0]
mov edx, reloc.WLDAP32.dll_Ordinal_32
lea r8d, [rdx - 0x1f]
lea rcx, [rbp - 0x39]
call fcn.1800ef80c
mov rbx, qword [0x1803465d8]
mov r8, qword [rbx + 8]
lea rdx, [0x1803465d8]
lea rcx, [0x1803465d8]
call fcn.1800743b0
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
mov qword [0x1803465e0], r14
mov rax, qword [0x180346600]
mov byte [rax], 0
mov byte [0x180346573], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
movdqa xmm6, xmmword [0x180103e70]
mov byte [rbp - 0x39], 0
mov rdx, qword [0x180346590]
cmp rdx, 0x10
jb 0x18008a79c
mov rcx, qword [0x180346578]
inc rdx
cmp rdx, 0x1000
jb 0x18008a797
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18008a9d1
mov rcx, r8
call fcn.1800ef630
movups xmm0, xmmword [rbp - 0x39]
movups xmmword [0x180346578], xmm0
movups xmmword [0x180346588], xmm6
mov word [0x180346570], 1
call fcn.180020cf0
cmp byte [0x180346573], 0
je 0x18008a9dd
cmp qword [0x1803465e0], 0
jne 0x18008a7e5
lea rdx, [0x1803465b8]
lea rcx, [rbp - 0x19]
call fcn.180080d50
jmp 0x18008a814
mov rax, qword [0x1803465d8]
mov rbx, qword [rax]
lea rdx, [0x1803465b8]
lea rcx, [rbp - 0x19]
call fcn.180080d50
mov dword [rbp - 0x71], 2
lea rdx, [rbx + 0x20]
lea rcx, [rbp - 0x19]
call fcn.180085aa0
nop
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x19]
call fcn.18009bb20
mov rdx, rax
lea rcx, [0x180343238]
call fcn.180009c50
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x18008a86e
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008a869
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18008a869
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef630
movdqa xmm0, xmmword [0x180103e70]
movdqu xmmword [rbp - 0x29], xmm0
mov byte [rbp - 0x39], 0
lea rcx, [rbp - 0x19]
call fcn.1800097f0
mov rbx, qword [0x1803465d8]
mov r8, qword [rbx + 8]
lea rdx, [0x1803465d8]
lea rcx, [0x1803465d8]
call fcn.1800743b0
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
mov qword [0x1803465e0], r14
mov rax, qword [0x180346600]
mov byte [rax], 0
mov byte [0x180346573], 0
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
movdqa xmm6, xmmword [0x180103e70]
movdqu xmmword [rbp + 0x17], xmm6
mov byte [rbp + 7], 0
lea rdx, [0x180343238]
lea rcx, [rbp - 0x39]
call fcn.180089910
lea rcx, [rbp + 7]
cmp rcx, rax
je 0x18008a919
movups xmm0, xmmword [rax]
movups xmmword [rbp + 7], xmm0
movups xmm6, xmmword [rax + 0x10]
movdqu xmmword [rbp + 0x17], xmm6
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x18008a957
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008a952
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18008a952
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef630
lea rdx, [rbp + 7]
psrldq xmm6, 8
movq rax, xmm6
cmp rax, 0x10
cmovae rdx, qword [rbp + 7]
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], r14
mov qword [rbp - 0x21], r14
nop dword [rax]
inc rdi
cmp byte [rdx + rdi], 0
jne 0x18008a980
mov r8, rdi
lea rcx, [rbp - 0x39]
call fcn.18005bb80
lea rcx, [rbp - 0x39]
call fcn.180093780
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x18008a9dd
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008a9d8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18008a9d8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef630
lea rcx, [0x180346520]
call fcn.180086a60
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1800ef750
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret
lea rcx, [0x180346990]
call fcn.1800efd04
cmp dword [0x180346990], 0xffffffff
jne 0x18008a424
lea rcx, [0x180346640]
call fcn.18005f610
lea rcx, [0x1800f4810]
call fcn.1800efc44
nop
lea rcx, [0x180346990]
call fcn.1800efc98
jmp 0x18008a424
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
int3
call fcn.1800eeaa0
int3