Function at 0x180048c00
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x228]
sub rsp, 0x300
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x180161040]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
movsxd r12, r8d
mov r15, rdx
mov r13, rcx
mov qword [rsp + 0x70], rdx
xor edi, edi
mov rdx, qword gs:[0x58]
mov eax, dword [0x180169450]
mov ecx, 0x10
mov rax, qword [rdx + rax*8]
mov edx, dword [rcx + rax]
cmp dword [0x18016ba90], edx
jg 0x180048da2
mov rcx, qword [r13 + r12*8]
mov edx, dword [rcx + 0x57c0]
mov r8, qword [0x18016baa8]
mov rax, qword [r8 + 8]
mov r9, r8
movzx r10d, byte [rax + 0x19]
test r10b, r10b
jne 0x180048caf
mov rcx, rax
cmp dword [rcx + 0x20], edx
jae 0x180048ca3
mov rcx, qword [rcx + 0x10]
jmp 0x180048ca9
mov r9, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x180048c98
cmp byte [r9 + 0x19], 0
jne 0x180048d01
cmp edx, dword [r9 + 0x20]
jb 0x180048d01
test r10b, r10b
jne 0x180048cd8
cmp dword [rax + 0x20], edx
jae 0x180048ccc
mov rax, qword [rax + 0x10]
jmp 0x180048cd2
mov r8, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x180048cc1
cmp byte [r8 + 0x19], 0
jne 0x180048cf3
cmp edx, dword [r8 + 0x20]
jb 0x180048cf3
lea rdx, [r8 + 0x28]
mov rcx, r15
call fcn.180017a40
jmp 0x180048d64
lea rcx, str.invalid_map_K__T__key
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
lea rax, str.Unknown_tcCycle_name__hash_:_0x:08X
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0x25
mov dword [rsp + 0x78], edx
movabs rax, 0x2000000000000000
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x50], 1
lea rax, [rsp + 0x70]
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
movaps xmm1, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm1
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x20]
mov rcx, r15
call fcn.180039ce0
mov rax, r15
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.1800df290
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1800102e0
nop
lea rcx, [0x18016ba90]
call fcn.1800df7a8
cmp dword [0x18016ba90], 0xffffffff
jne 0x180048c72
mov ecx, edi
mov r10d, edi
lea r11, str.EXTRASUNNY
nop word [rax + rax]
lea r9d, [rcx + 1]
mov eax, ecx
movzx r8d, byte [rax + r11]
lea edx, [r8 - 0x41]
lea eax, [r8 + 0x20]
movzx ecx, al
cmp dl, 0x19
cmova ecx, r8d
movsx eax, cl
add eax, r10d
imul r10d, eax, 0x401
mov eax, r10d
shr eax, 6
xor r10d, eax
mov ecx, r9d
cmp byte [r9 + r11], 0
jne 0x180048dd0
lea ecx, [r10 + r10*8]
mov eax, ecx
shr eax, 0xb
xor ecx, eax
imul eax, ecx, 0x8001
mov dword [rbp - 0x80], eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x60], rdi
mov r8d, 0xa
mov rdx, r11
lea rcx, [rbp - 0x78]
call fcn.180005260
nop
lea rcx, str.CLEAR
call fcn.180033130
mov dword [rbp - 0x58], eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x40], xmm1
mov r8d, 5
lea rdx, str.CLEAR
lea rcx, [rbp - 0x50]
call fcn.180005260
nop
lea rcx, str.CLOUDS
call fcn.180033130
mov dword [rbp - 0x30], eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], rdi
mov r8d, 6
lea rdx, str.CLOUDS
lea rcx, [rbp - 0x28]
call fcn.180005260
nop
mov ecx, edi
mov r10d, edi
lea rbx, [0x180000000]
nop dword [rax]
lea r9d, [rcx + 1]
mov eax, ecx
movzx r8d, byte [rax + rbx + 0x128cec]
lea edx, [r8 - 0x41]
lea eax, [r8 + 0x20]
movzx ecx, al
cmp dl, 0x19
cmova ecx, r8d
movsx eax, cl
add eax, r10d
imul r10d, eax, 0x401
mov eax, r10d
shr eax, 6
xor r10d, eax
mov ecx, r9d
cmp byte [r9 + rbx + 0x128cec], 0
jne 0x180048ec0
lea ecx, [r10 + r10*8]
mov eax, ecx
shr eax, 0xb
xor ecx, eax
imul eax, ecx, 0x8001
mov dword [rbp - 8], eax
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
movdqa xmm1, xmmword [0x18013e850]
movdqa xmmword [rbp + 0x10], xmm1
mov dword [rbp], 0x474f4d53
mov byte [rbp + 4], 0
mov ecx, edi
mov r10d, edi
nop dword [rax]
lea r9d, [rcx + 1]
mov eax, ecx
movzx r8d, byte [rax + rbx + 0x128cf4]
lea edx, [r8 - 0x41]
lea eax, [r8 + 0x20]
movzx ecx, al
cmp dl, 0x19
cmova ecx, r8d
movsx eax, cl
add eax, r10d
imul r10d, eax, 0x401
mov eax, r10d
shr eax, 6
xor r10d, eax
mov ecx, r9d
cmp byte [r9 + rbx + 0x128cf4], 0
jne 0x180048f40
lea ecx, [r10 + r10*8]
mov eax, ecx
shr eax, 0xb
xor ecx, eax
imul eax, ecx, 0x8001
mov dword [rbp + 0x20], eax
xorps xmm0, xmm0
movups xmmword [rbp + 0x28], xmm0
mov qword [rbp + 0x38], 5
mov qword [rbp + 0x40], 0xf
mov eax, dword [str.FOGGY]
mov dword [rbp + 0x28], eax
movzx eax, byte [0x180128cf8]
mov byte [rbp + 0x2c], al
mov byte [rbp + 0x2d], 0
mov ecx, edi
mov r10d, edi
nop dword [rax]
lea r9d, [rcx + 1]
mov eax, ecx
movzx r8d, byte [rax + rbx + 0x128cd8]
lea edx, [r8 - 0x41]
lea eax, [r8 + 0x20]
movzx ecx, al
cmp dl, 0x19
cmova ecx, r8d
movsx eax, cl
add eax, r10d
imul r10d, eax, 0x401
mov eax, r10d
shr eax, 6
xor r10d, eax
mov ecx, r9d
cmp byte [r9 + rbx + 0x128cd8], 0
jne 0x180048fd0
lea ecx, [r10 + r10*8]
mov eax, ecx
shr eax, 0xb
xor ecx, eax
imul eax, ecx, 0x8001
mov dword [rbp + 0x48], eax
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
movdqa xmm1, xmmword [0x18013e890]
movdqa xmmword [rbp + 0x60], xmm1
movabs rax, 0x545341435245564f
mov qword [rbp + 0x50], rax
mov byte [rbp + 0x58], 0
mov ecx, edi
mov r10d, edi
nop dword [rax]
nop dword [rax + rax]
lea r9d, [rcx + 1]
mov eax, ecx
movzx r8d, byte [rax + rbx + 0x128ce4]
lea edx, [r8 - 0x41]
lea eax, [r8 + 0x20]
movzx ecx, al
cmp dl, 0x19
cmova ecx, r8d
movsx eax, cl
add eax, r10d
imul r10d, eax, 0x401
mov eax, r10d
shr eax, 6
xor r10d, eax
mov ecx, r9d
cmp byte [r9 + rbx + 0x128ce4], 0
jne 0x180049060
lea ecx, [r10 + r10*8]
mov eax, ecx
shr eax, 0xb
xor ecx, eax
imul eax, ecx, 0x8001
mov dword [rbp + 0x70], eax
xorps xmm0, xmm0
movups xmmword [rbp + 0x78], xmm0
mov qword [rbp + 0x88], 4
mov qword [rbp + 0x90], 0xf
mov dword [rbp + 0x78], 0x4e494152
mov byte [rbp + 0x7c], 0
mov ecx, edi
mov r10d, edi
nop word [rax + rax]
lea r9d, [rcx + 1]
mov eax, ecx
movzx r8d, byte [rax + rbx + 0x128d10]
lea edx, [r8 - 0x41]
lea eax, [r8 + 0x20]
movzx ecx, al
cmp dl, 0x19
cmova ecx, r8d
movsx eax, cl
add eax, r10d
imul r10d, eax, 0x401
mov eax, r10d
shr eax, 6
xor r10d, eax
mov ecx, r9d
cmp byte [r9 + rbx + 0x128d10], 0
jne 0x1800490f0
lea ecx, [r10 + r10*8]
mov eax, ecx
shr eax, 0xb
xor ecx, eax
imul eax, ecx, 0x8001
mov dword [rbp + 0x98], eax
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
movdqa xmm1, xmmword [0x18013e880]
movdqa xmmword [rbp + 0xb0], xmm1
mov rax, qword [str.THUNDER]
mov dword [rbp + 0xa0], eax
movzx eax, word [0x180128d14]
mov word [rbp + 0xa4], ax
movzx eax, byte [0x180128d16]
mov byte [rbp + 0xa6], al
mov byte [rbp + 0xa7], 0
mov ecx, edi
mov r10d, edi
nop word [rax + rax]
lea r9d, [rcx + 1]
mov eax, ecx
movzx r8d, byte [rax + rbx + 0x128d18]
lea edx, [r8 - 0x41]
lea eax, [r8 + 0x20]
movzx ecx, al
cmp dl, 0x19
cmova ecx, r8d
movsx eax, cl
add eax, r10d
imul r10d, eax, 0x401
mov eax, r10d
shr eax, 6
xor r10d, eax
mov ecx, r9d
cmp byte [r9 + rbx + 0x128d18], 0
jne 0x1800491a0
lea ecx, [r10 + r10*8]
mov eax, ecx
shr eax, 0xb
xor ecx, eax
imul eax, ecx, 0x8001
mov dword [rbp + 0xc0], eax
xorps xmm0, xmm0
movups xmmword [rbp + 0xc8], xmm0
mov qword [rbp + 0xd8], 8
mov qword [rbp + 0xe0], 0xf
movabs rax, 0x474e495241454c43
mov qword [rbp + 0xc8], rax
mov byte [rbp + 0xd0], 0
mov ecx, edi
mov r10d, edi
lea r11, str.NEUTRAL
lea r9d, [rcx + 1]
mov eax, ecx
movzx r8d, byte [rax + r11]
lea edx, [r8 - 0x41]
lea eax, [r8 + 0x20]
movzx ecx, al
cmp dl, 0x19
cmova ecx, r8d
movsx eax, cl
add eax, r10d
imul r10d, eax, 0x401
mov eax, r10d
shr eax, 6
xor r10d, eax
mov ecx, r9d
cmp byte [r9 + r11], 0
jne 0x180049240
lea ecx, [r10 + r10*8]
mov eax, ecx
shr eax, 0xb
xor ecx, eax
imul eax, ecx, 0x8001
mov dword [rbp + 0xe8], eax
xorps xmm0, xmm0
movups xmmword [rbp + 0xf0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x100], xmm1
mov r8d, 7
mov rdx, r11
lea rcx, [rbp + 0xf0]
call fcn.180005260
nop
mov ecx, edi
mov r10d, edi
nop dword [rax]
nop dword [rax + rax]
lea r9d, [rcx + 1]
mov eax, ecx
movzx r8d, byte [rax + rbx + 0x128d08]
lea edx, [r8 - 0x41]
lea eax, [r8 + 0x20]
movzx ecx, al
cmp dl, 0x19
cmova ecx, r8d
movsx eax, cl
add eax, r10d
imul r10d, eax, 0x401
mov eax, r10d
shr eax, 6
xor r10d, eax
mov ecx, r9d
cmp byte [r9 + rbx + 0x128d08], 0
jne 0x1800492d0
lea ecx, [r10 + r10*8]
mov eax, ecx
shr eax, 0xb
xor ecx, eax
imul eax, ecx, 0x8001
mov dword [rbp + 0x110], eax
xorps xmm0, xmm0
movups xmmword [rbp + 0x118], xmm0
mov qword [rbp + 0x128], 4
mov qword [rbp + 0x130], 0xf
mov dword [rbp + 0x118], 0x574f4e53
mov byte [rbp + 0x11c], 0
mov ecx, edi
mov r10d, edi
nop dword [rax]
nop word [rax + rax]
lea r9d, [rcx + 1]
mov eax, ecx
movzx r8d, byte [rax + rbx + 0x128d40]
lea edx, [r8 - 0x41]
lea eax, [r8 + 0x20]
movzx ecx, al
cmp dl, 0x19
cmova ecx, r8d
movsx eax, cl
add eax, r10d
imul r10d, eax, 0x401
mov eax, r10d
shr eax, 6
xor r10d, eax
mov ecx, r9d
cmp byte [r9 + rbx + 0x128d40], 0
jne 0x180049370
lea ecx, [r10 + r10*8]
mov eax, ecx
shr eax, 0xb
xor ecx, eax
imul eax, ecx, 0x8001
mov dword [rbp + 0x138], eax
xorps xmm0, xmm0
movups xmmword [rbp + 0x140], xmm0
movdqa xmm1, xmmword [0x18013e890]
movdqa xmmword [rbp + 0x150], xmm1
movabs rax, 0x4452415a5a494c42
mov qword [rbp + 0x140], rax
mov byte [rbp + 0x148], 0
mov ecx, edi
mov r10d, edi
nop dword [rax]
nop word [rax + rax]
lea r9d, [rcx + 1]
mov eax, ecx
movzx r8d, byte [rax + rbx + 0x128d50]
lea edx, [r8 - 0x41]
lea eax, [r8 + 0x20]
movzx ecx, al
cmp dl, 0x19
cmova ecx, r8d
movsx eax, cl
add eax, r10d
imul r10d, eax, 0x401
mov eax, r10d
shr eax, 6
xor r10d, eax
mov ecx, r9d
cmp byte [r9 + rbx + 0x128d50], 0
jne 0x180049410
lea ecx, [r10 + r10*8]
mov eax, ecx
shr eax, 0xb
xor ecx, eax
imul eax, ecx, 0x8001
mov dword [rbp + 0x160], eax
xorps xmm0, xmm0
movups xmmword [rbp + 0x168], xmm0
mov qword [rbp + 0x178], 9
mov qword [rbp + 0x180], 0xf
movsd xmm0, qword [str.HALLOWEEN]
movsd qword [rbp + 0x168], xmm0
movzx eax, byte [0x180128d58]
mov byte [rbp + 0x170], al
mov byte [rbp + 0x171], 0
mov ecx, edi
mov r10d, edi
nop word [rax + rax]
lea r9d, [rcx + 1]
mov eax, ecx
movzx r8d, byte [rax + rbx + 0x128d28]
lea edx, [r8 - 0x41]
lea eax, [r8 + 0x20]
movzx ecx, al
cmp dl, 0x19
cmova ecx, r8d
movsx eax, cl
add eax, r10d
imul r10d, eax, 0x401
mov eax, r10d
shr eax, 6
xor r10d, eax
mov ecx, r9d
cmp byte [r9 + rbx + 0x128d28], 0
jne 0x1800494c0
lea ecx, [r10 + r10*8]
mov eax, ecx
shr eax, 0xb
xor ecx, eax
imul eax, ecx, 0x8001
mov dword [rbp + 0x188], eax
xorps xmm0, xmm0
movups xmmword [rbp + 0x190], xmm0
movdqa xmm1, xmmword [0x18013e8a0]
movdqa xmmword [rbp + 0x1a0], xmm1
movsd xmm0, qword [str.SNOWLIGHT]
movsd qword [rbp + 0x190], xmm0
movzx eax, byte [0x180128d30]
mov byte [rbp + 0x198], al
mov byte [rbp + 0x199], 0
mov ecx, edi
mov r10d, edi
nop
lea r9d, [rcx + 1]
mov eax, ecx
movzx r8d, byte [rax + rbx + 0x128d34]
lea edx, [r8 - 0x41]
lea eax, [r8 + 0x20]
movzx ecx, al
cmp dl, 0x19
cmova ecx, r8d
movsx eax, cl
add eax, r10d
imul r10d, eax, 0x401
mov eax, r10d
shr eax, 6
xor r10d, eax
mov ecx, r9d
cmp byte [r9 + rbx + 0x128d34], 0
jne 0x180049560
lea ecx, [r10 + r10*8]
mov eax, ecx
shr eax, 0xb
xor ecx, eax
imul eax, ecx, 0x8001
mov dword [rbp + 0x1b0], eax
xorps xmm0, xmm0
movups xmmword [rbp + 0x1b8], xmm0
mov qword [rbp + 0x1c8], 4
mov qword [rbp + 0x1d0], 0xf
mov dword [rbp + 0x1b8], 0x53414d58
mov byte [rbp + 0x1bc], 0
mov qword [0x18016baa8], rdi
mov qword [0x18016bab0], rdi
mov ecx, 0x48
call fcn.1800df99c
mov r14, rax
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x18016baa8], rax
lea rsi, [rbp - 0x80]
movabs rbx, 0x38e38e38e38e38e
nop
mov r9, rsi
mov r8, r14
lea rdx, [rsp + 0x50]
call fcn.1800497e0
movups xmm6, xmmword [rax]
movsd xmm0, qword [rax + 0x10]
movsd qword [rsp + 0x30], xmm0
cmp byte [rsp + 0x30], 0
jne 0x1800496e1
cmp qword [0x18016bab0], rbx
je 0x180048d9c
mov rbx, qword [0x18016baa8]
lea rax, [0x18016baa8]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rdi
mov ecx, 0x48
call fcn.1800df99c
mov rdi, rax
mov qword [rsp + 0x78], rax
mov eax, dword [rsi]
mov dword [rdi + 0x20], eax
lea rcx, [rdi + 0x28]
lea rdx, [rsi + 8]
call fcn.180017a40
mov qword [rdi], rbx
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], rbx
mov word [rdi + 0x18], 0
mov qword [rsp + 0x78], 0
movaps xmmword [rsp + 0x20], xmm6
mov r8, rdi
lea rdx, [rsp + 0x20]
lea rcx, [0x18016baa8]
call fcn.180039570
xor edi, edi
movabs rbx, 0x38e38e38e38e38e
add rsi, 0x28
lea rax, [rbp + 0x1d8]
cmp rsi, rax
jne 0x180049630
lea r9, [0x1800394a0]
mov edx, 0x28
mov r8d, 0xf
lea rcx, [rbp - 0x80]
call fcn.1800df2b0
lea rcx, [0x1800f1460]
call fcn.1800df6d8
nop
lea rcx, [0x18016ba90]
call fcn.1800df73c
jmp 0x180048c72