Function at 0x14004caf0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x258]
sub rsp, 0x330
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x140067010]
xor rax, rsp
mov qword [rbp + 0x210], rax
lea rax, str.L4D2_Free_ESP
mov qword [rbp + 0x1a0], rax
lea rax, str.046__
mov qword [rbp + 0x1a8], rax
lea rax, str.L4D2
mov qword [rbp + 0x1b0], rax
lea rax, str.1235
mov qword [rbp + 0x1b8], rax
lea rax, str.Test
mov qword [rbp + 0x1c0], rax
lea rax, [0x14005b204]
mov qword [rbp + 0x1c8], rax
lea rax, str.Titanfall_2
mov qword [rbp + 0x1d0], rax
lea rax, [0x14005b208]
mov qword [rbp + 0x1d8], rax
lea rax, str.PvZ_Gardern_Warfare
mov qword [rbp + 0x1e0], rax
lea rax, [0x14005b4cc]
mov qword [rbp + 0x1e8], rax
lea rax, str.Counter_Strike_Source
mov qword [rbp + 0x1f0], rax
lea rax, [0x14005b20c]
mov qword [rbp + 0x1f8], rax
lea rax, str.Counter_Strike_2
mov qword [rbp + 0x200], rax
lea rax, [0x14005b4d0]
mov qword [rbp + 0x208], rax
lea r12, [rbp + 0x1a0]
xor r13d, r13d
movabs r14, 0x7fffffffffffffff
lea rsi, [0x1400570e0]
mov rbx, qword [0x1400694a0]
mov rdi, qword [r12 + 8]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rdi + rax], 0
jne 0x14004cc20
lea rcx, [0x1400688b0]
cmp qword [0x1400688c8], 0x10
cmovae rcx, qword [0x1400688b0]
mov qword [rsp + 0x20], rax
mov r9, rdi
xor r8d, r8d
mov rdx, qword [0x1400688c0]
call fcn.140050ea0
mov r15, rax
cmp rax, 0xffffffffffffffff
jne 0x14004cd0d
mov r14d, dword [rbx + 0x1d54]
or r14d, 4
mov dword [rbx + 0x1d54], r14d
lea rsi, [rbx + 0x1eb0]
mov ecx, dword [rsi + 4]
mov edx, dword [rsi]
cmp edx, ecx
jne 0x14004ccb9
lea r8d, [rdx + 1]
test ecx, ecx
je 0x14004cc99
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14004cc9e
mov eax, 8
cmp eax, r8d
cmovg r8d, eax
mov edx, r8d
mov rcx, rsi
call fcn.140027be0
mov edx, dword [rsi]
mov rbx, qword [0x1400694a0]
movsxd rcx, edx
mov rax, qword [rsi + 8]
mov dword [rax + rcx*4], r14d
inc dword [rsi]
lea rcx, [rbx + 0x1e80]
movss xmm0, dword [rbx + 0x1638]
mov dword [rbp + 0x180], r13d
movss dword [rbp + 0x184], xmm0
lea rdx, [rbp + 0x180]
call fcn.140027550
mov dword [rbx + 0x1638], 0x3f19999a
movabs r14, 0x7fffffffffffffff
lea rsi, [0x1400570e0]
jmp 0x14004cd3d
movaps xmm6, xmmword [0x14005bd10]
mov dword [rsp + 0x40], r13d
movups xmm0, xmmword [rbx + 0x16fc]
movups xmmword [rsp + 0x44], xmm0
lea rcx, [rbx + 0x1e70]
lea rdx, [rsp + 0x40]
call fcn.140027650
movups xmmword [rbx + 0x16fc], xmm6
lea rdx, [0x140069581]
mov rcx, qword [r12]
call fcn.14003f500
test al, al
je 0x14004df5a
cmp r15, 0xffffffffffffffff
je 0x14004df64
mov qword [rbp + 0x160], r13
mov qword [rbp + 0x170], r13
mov qword [rbp + 0x178], 0xf
mov byte [rbp + 0x160], 0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdi + r8], 0
jne 0x14004cd86
mov rdx, rdi
lea rcx, [rbp + 0x160]
call fcn.1400506b0
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rsi, rax
lea rbx, [rbp + 0x160]
cmp qword [rbp + 0x178], 0x10
cmovae rbx, qword [rbp + 0x160]
mov dword [rax], r13d
mov r8d, 0xa
lea rdx, [rbp + 0x190]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov edi, eax
cmp rbx, qword [rbp + 0x190]
je 0x14004e07a
cmp dword [rsi], 0x22
je 0x14004e06c
mov rdx, qword [rbp + 0x178]
cmp rdx, 0x10
jb 0x14004ce32
inc rdx
mov rcx, qword [rbp + 0x160]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004ce2d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004dffc
call fcn.140052b18
mov qword [rbp + 0x170], r13
mov qword [rbp + 0x178], 0xf
mov byte [rbp + 0x160], 0
sub edi, 1
je 0x14004da96
sub edi, 3
je 0x14004d656
sub edi, 1
je 0x14004d206
cmp edi, 1
jne 0x14004decf
movdqa xmm0, xmmword [0x14005c800]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x70], 0x100
mov rcx, r13
nop word [rax + rax]
lea eax, [rcx - 0x4e]
xor byte [rsp + rcx + 0x60], al
inc rcx
cmp rcx, 0x10
jb 0x14004ce90
mov byte [rsp + 0x71], 0
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rcx, r13
test rax, rax
je 0x14004d1b6
movdqa xmm0, xmmword [0x14005c110]
movdqu xmmword [rbp + 0x138], xmm0
movdqa xmm1, xmmword [0x14005bad0]
movdqu xmmword [rbp + 0x148], xmm1
mov byte [rbp + 0x158], 1
nop word [rax + rax]
lea eax, [rcx - 0x4e]
xor byte [rbp + rcx + 0x138], al
inc rcx
cmp rcx, 0x1f
jb 0x14004cef0
mov byte [rbp + 0x158], 0
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], 0xf
mov byte [rbp - 0x48], 0
lea rax, [rbp + 0x138]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14004cf30
lea rdx, [rbp + 0x138]
lea rcx, [rbp - 0x48]
call fcn.1400506b0
nop
movdqa xmm0, xmmword [0x14005c170]
movdqu xmmword [rbp - 8], xmm0
movdqa xmm1, xmmword [0x14005c520]
movdqu xmmword [rbp + 8], xmm1
movdqa xmm0, xmmword [0x14005c6f0]
movdqu xmmword [rbp + 0x18], xmm0
mov dword [rbp + 0x28], 0x888f86
mov byte [rbp + 0x2c], 1
mov rcx, r13
lea eax, [rcx - 0x4e]
xor byte [rbp + rcx - 8], al
inc rcx
cmp rcx, 0x33
jb 0x14004cf80
mov byte [rbp + 0x2c], 0
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
lea rax, [rbp - 8]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14004cfc0
lea rdx, [rbp - 8]
lea rcx, [rsp + 0x40]
call fcn.1400506b0
nop
lea r8, [rbp - 0x48]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x70]
call fcn.140046b40
mov rdx, qword [rbp + 0x88]
cmp rdx, 0x10
jb 0x14004d02a
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d024
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e003
call fcn.140052b18
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14004d067
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d062
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e00a
call fcn.140052b18
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x14004d0b5
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d0b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e011
call fcn.140052b18
mov dword [rbp - 0x50], 0x86d7d2c4
mov word [rbp - 0x4c], 0x100
mov rcx, r13
nop word [rax + rax]
lea eax, [rcx - 0x4e]
xor byte [rbp + rcx - 0x50], al
inc rcx
cmp rcx, 4
jb 0x14004d0d0
mov byte [rbp - 0x4b], 0
mov dword [rsp + 0x78], 0x8085ca
mov byte [rsp + 0x7c], 1
mov rcx, r13
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx - 0x4e]
xor byte [rsp + rcx + 0x78], al
inc rcx
cmp rcx, 3
jb 0x14004d100
mov byte [rsp + 0x7c], 0
movdqa xmm0, xmmword [0x14005c800]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x70], 0x100
mov rcx, r13
nop dword [rax]
lea eax, [rcx - 0x4e]
xor byte [rsp + rcx + 0x60], al
inc rcx
cmp rcx, 0x10
jb 0x14004d130
mov byte [rsp + 0x71], 0
lea r8, [rbp - 0x50]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x60]
call fcn.14004c290
movdqa xmm0, xmmword [0x14005c190]
movdqu xmmword [rbp + 0xf0], xmm0
mov dword [rbp + 0x100], 0xa4b3eda6
mov word [rbp + 0x104], 0xb0
mov byte [rbp + 0x106], 1
mov rcx, r13
nop word [rax + rax]
lea eax, [rcx - 0x4e]
xor byte [rbp + rcx + 0xf0], al
inc rcx
cmp rcx, 0x15
jb 0x14004d190
mov byte [rbp + 0x106], 0
lea rcx, [rbp + 0xf0]
jmp 0x14004dec1
movdqa xmm0, xmmword [0x14005c570]
movdqu xmmword [rbp + 0x90], xmm0
mov dword [rbp + 0xa0], 0xb2eab1ad
mov dword [rbp + 0xa4], 0x100b1a7
nop word [rax + rax]
lea eax, [rcx - 0x4e]
xor byte [rbp + rcx + 0x90], al
inc rcx
cmp rcx, 0x16
jb 0x14004d1e0
mov byte [rbp + 0xa7], 0
lea rcx, [rbp + 0x90]
jmp 0x14004dec1
movdqa xmm0, xmmword [0x14005c090]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0xa6b6b6ad
mov word [rsp + 0x54], 0xa3
mov byte [rsp + 0x56], 1
mov rcx, r13
nop dword [rax + rax]
lea eax, [rcx - 0x4e]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 0x15
jb 0x14004d230
mov byte [rsp + 0x56], 0
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rcx, r13
test rax, rax
je 0x14004d606
movdqa xmm0, xmmword [0x14005c620]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x70], 0x100
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x4e]
xor byte [rsp + rcx + 0x60], al
inc rcx
cmp rcx, 0x10
jb 0x14004d280
mov byte [rsp + 0x71], 0
mov rdx, qword [0x140069660]
lea rax, [rsp + 0x60]
mov rcx, 0xffffffffffffffff
nop dword [rax + rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x14004d2b0
mov rax, r14
sub rax, rdx
cmp rax, rcx
jb 0x14004e08e
lea r9, [0x140069650]
cmp qword [0x140069668], 0x10
cmovae r9, qword [0x140069650]
mov qword [rsp + 0x30], rcx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rcx, [rbp + 0x70]
call fcn.140051af0
nop
lea rdx, [rbp + 0x70]
cmp qword [rbp + 0x88], 0x10
cmovae rdx, qword [rbp + 0x70]
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], 0xf
mov byte [rbp - 0x48], 0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x14004d330
lea rcx, [rbp - 0x48]
call fcn.1400506b0
nop
movdqa xmm0, xmmword [0x14005c170]
movdqu xmmword [rbp + 0x30], xmm0
movdqa xmm1, xmmword [0x14005c520]
movdqu xmmword [rbp + 0x40], xmm1
movdqa xmm0, xmmword [0x14005c6e0]
movdqu xmmword [rbp + 0x50], xmm0
mov dword [rbp + 0x60], 0x888f86
mov byte [rbp + 0x64], 1
mov rcx, r13
nop dword [rax]
lea eax, [rcx - 0x4e]
xor byte [rbp + rcx + 0x30], al
inc rcx
cmp rcx, 0x33
jb 0x14004d380
mov byte [rbp + 0x64], 0
mov qword [rbp - 8], r13
mov qword [rbp + 8], r13
mov qword [rbp + 0x10], 0xf
mov byte [rbp - 8], 0
lea rax, [rbp + 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14004d3b3
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 8]
call fcn.1400506b0
nop
lea r8, [rbp - 0x48]
lea rdx, [rbp - 8]
lea rcx, [rbp + 0x138]
call fcn.140046b40
mov rdx, qword [rbp + 0x150]
cmp rdx, 0x10
jb 0x14004d421
inc rdx
mov rcx, qword [rbp + 0x138]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d41b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e018
call fcn.140052b18
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x14004d45c
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d457
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e01f
call fcn.140052b18
mov qword [rbp + 8], r13
mov qword [rbp + 0x10], 0xf
mov byte [rbp - 8], 0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x14004d4a7
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d4a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e026
call fcn.140052b18
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], 0xf
mov byte [rbp - 0x48], 0
mov rdx, qword [rbp + 0x88]
cmp rdx, 0x10
jb 0x14004d4f5
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d4f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e02d
call fcn.140052b18
mov dword [rbp - 0x80], 0xd7d2c4
mov byte [rbp - 0x7c], 1
mov rcx, r13
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x4e]
xor byte [rbp + rcx - 0x80], al
inc rcx
cmp rcx, 3
jb 0x14004d510
mov byte [rbp - 0x7c], 0
mov dword [rbp - 0x78], 0x828bca
mov byte [rbp - 0x74], 1
mov rcx, r13
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x4e]
xor byte [rbp + rcx - 0x78], al
inc rcx
cmp rcx, 3
jb 0x14004d540
mov byte [rbp - 0x74], 0
movdqa xmm0, xmmword [0x14005c090]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0xa6b6b6ad
mov word [rsp + 0x54], 0xa3
mov byte [rsp + 0x56], 1
mov rcx, r13
nop dword [rax]
lea eax, [rcx - 0x4e]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 0x15
jb 0x14004d580
mov byte [rsp + 0x56], 0
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x40]
call fcn.14004c290
movdqa xmm0, xmmword [0x14005c190]
movdqu xmmword [rbp + 0x108], xmm0
mov dword [rbp + 0x118], 0xa4b3eda6
mov word [rbp + 0x11c], 0xb0
mov byte [rbp + 0x11e], 1
mov rcx, r13
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx - 0x4e]
xor byte [rbp + rcx + 0x108], al
inc rcx
cmp rcx, 0x15
jb 0x14004d5e0
mov byte [rbp + 0x11e], 0
lea rcx, [rbp + 0x108]
jmp 0x14004dec1
movdqa xmm0, xmmword [0x14005c570]
movdqu xmmword [rbp + 0xa8], xmm0
mov dword [rbp + 0xb8], 0xb2eab1ad
mov dword [rbp + 0xbc], 0x100b1a7
nop word [rax + rax]
lea eax, [rcx - 0x4e]
xor byte [rbp + rcx + 0xa8], al
inc rcx
cmp rcx, 0x16
jb 0x14004d630
mov byte [rbp + 0xbf], 0
lea rcx, [rbp + 0xa8]
jmp 0x14004dec1
movdqa xmm0, xmmword [0x14005c160]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0x100a6b0
mov rcx, r13
nop
lea eax, [rcx - 0x4e]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 0x12
jb 0x14004d670
mov byte [rsp + 0x53], 0
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rcx, r13
test rax, rax
je 0x14004da46
movdqa xmm0, xmmword [0x14005c620]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x70], 0x100
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x4e]
xor byte [rsp + rcx + 0x60], al
inc rcx
cmp rcx, 0x10
jb 0x14004d6c0
mov byte [rsp + 0x71], 0
mov rdx, qword [0x140069660]
lea rax, [rsp + 0x60]
mov rcx, 0xffffffffffffffff
nop dword [rax + rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x14004d6f0
mov rax, r14
sub rax, rdx
cmp rax, rcx
jb 0x14004e094
lea r9, [0x140069650]
cmp qword [0x140069668], 0x10
cmovae r9, qword [0x140069650]
mov qword [rsp + 0x30], rcx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rcx, [rbp + 0x70]
call fcn.140051af0
nop
lea rdx, [rbp + 0x70]
cmp qword [rbp + 0x88], 0x10
cmovae rdx, qword [rbp + 0x70]
mov qword [rbp - 8], r13
mov qword [rbp + 8], r13
mov qword [rbp + 0x10], 0xf
mov byte [rbp - 8], 0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x14004d770
lea rcx, [rbp - 8]
call fcn.1400506b0
nop
movdqa xmm0, xmmword [0x14005c170]
movdqu xmmword [rbp + 0x30], xmm0
movdqa xmm1, xmmword [0x14005c520]
movdqu xmmword [rbp + 0x40], xmm1
movdqa xmm0, xmmword [0x14005c330]
movdqu xmmword [rbp + 0x50], xmm0
mov dword [rbp + 0x60], 0x93cad2b5
mov dword [rbp + 0x64], 0x8dc6978b
mov dword [rbp + 0x68], 0x1008786
mov rcx, r13
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x4e]
xor byte [rbp + rcx + 0x30], al
inc rcx
cmp rcx, 0x3a
jb 0x14004d7d0
mov byte [rbp + 0x6b], 0
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], 0xf
mov byte [rbp - 0x48], 0
lea rax, [rbp + 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14004d803
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x48]
call fcn.1400506b0
nop
lea r8, [rbp - 8]
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0x138]
call fcn.140046b40
mov rdx, qword [rbp + 0x150]
cmp rdx, 0x10
jb 0x14004d871
inc rdx
mov rcx, qword [rbp + 0x138]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d86b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e034
call fcn.140052b18
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x14004d8ac
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d8a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e03b
call fcn.140052b18
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], 0xf
mov byte [rbp - 0x48], 0
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x14004d8f7
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d8f2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e042
call fcn.140052b18
mov qword [rbp + 8], r13
mov qword [rbp + 0x10], 0xf
mov byte [rbp - 8], 0
mov rdx, qword [rbp + 0x88]
cmp rdx, 0x10
jb 0x14004d945
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d940
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e049
call fcn.140052b18
mov dword [rbp - 0x70], 0xd7d2c4
mov byte [rbp - 0x6c], 1
mov rcx, r13
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x4e]
xor byte [rbp + rcx - 0x70], al
inc rcx
cmp rcx, 3
jb 0x14004d960
mov byte [rbp - 0x6c], 0
mov dword [rbp - 0x68], 0x8085ca
mov byte [rbp - 0x64], 1
mov rcx, r13
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x4e]
xor byte [rbp + rcx - 0x68], al
inc rcx
cmp rcx, 3
jb 0x14004d990
mov byte [rbp - 0x64], 0
movdqa xmm0, xmmword [0x14005c160]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0x100a6b0
mov rcx, r13
nop dword [rax]
lea eax, [rcx - 0x4e]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 0x12
jb 0x14004d9c0
mov byte [rsp + 0x53], 0
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x40]
call fcn.14004c290
movdqa xmm0, xmmword [0x14005c190]
movdqu xmmword [rbp + 0x120], xmm0
mov dword [rbp + 0x130], 0xa4b3eda6
mov word [rbp + 0x134], 0xb0
mov byte [rbp + 0x136], 1
mov rcx, r13
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx - 0x4e]
xor byte [rbp + rcx + 0x120], al
inc rcx
cmp rcx, 0x15
jb 0x14004da20
mov byte [rbp + 0x136], 0
lea rcx, [rbp + 0x120]
jmp 0x14004dec1
movdqa xmm0, xmmword [0x14005c570]
movdqu xmmword [rbp + 0xc0], xmm0
mov dword [rbp + 0xd0], 0xb2eab1ad
mov dword [rbp + 0xd4], 0x100b1a7
nop word [rax + rax]
lea eax, [rcx - 0x4e]
xor byte [rbp + rcx + 0xc0], al
inc rcx
cmp rcx, 0x16
jb 0x14004da70
mov byte [rbp + 0xd7], 0
lea rcx, [rbp + 0xc0]
jmp 0x14004dec1
movdqa xmm0, xmmword [0x14005c7a0]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0xa0b6aa86
mov dword [rsp + 0x54], 0x8dfbb3a5
mov dword [rsp + 0x58], 0x100f2ea
mov rcx, r13
nop
lea eax, [rcx - 0x4e]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 0x1a
jb 0x14004dac0
mov byte [rsp + 0x5b], 0
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rcx, r13
test rax, rax
je 0x14004de7a
movdqa xmm0, xmmword [0x14005c620]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x70], 0x100
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x4e]
xor byte [rsp + rcx + 0x60], al
inc rcx
cmp rcx, 0x10
jb 0x14004db10
mov byte [rsp + 0x71], 0
mov rdx, qword [0x140069660]
lea rax, [rsp + 0x60]
mov rcx, 0xffffffffffffffff
nop dword [rax + rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x14004db40
mov rax, r14
sub rax, rdx
cmp rax, rcx
jb 0x14004e088
lea r9, [0x140069650]
cmp qword [0x140069668], 0x10
cmovae r9, qword [0x140069650]
mov qword [rsp + 0x30], rcx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rcx, [rbp + 0x70]
call fcn.140051af0
nop
lea rdx, [rbp + 0x70]
cmp qword [rbp + 0x88], 0x10
cmovae rdx, qword [rbp + 0x70]
mov qword [rbp - 8], r13
mov qword [rbp + 8], r13
mov qword [rbp + 0x10], 0xf
mov byte [rbp - 8], 0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x14004dbc0
lea rcx, [rbp - 8]
call fcn.1400506b0
nop
movdqa xmm0, xmmword [0x14005c170]
movdqu xmmword [rbp + 0x30], xmm0
movdqa xmm1, xmmword [0x14005c520]
movdqu xmmword [rbp + 0x40], xmm1
movdqa xmm0, xmmword [0x14005c700]
movdqu xmmword [rbp + 0x50], xmm0
mov dword [rbp + 0x60], 0x898887cc
mov word [rbp + 0x64], 0x100
mov rcx, r13
nop dword [rax + rax]
lea eax, [rcx - 0x4e]
xor byte [rbp + rcx + 0x30], al
inc rcx
cmp rcx, 0x34
jb 0x14004dc10
mov byte [rbp + 0x65], 0
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], 0xf
mov byte [rbp - 0x48], 0
lea rax, [rbp + 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14004dc43
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x48]
call fcn.1400506b0
nop
lea r8, [rbp - 8]
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0x138]
call fcn.140046b40
mov rdx, qword [rbp + 0x150]
cmp rdx, 0x10
jb 0x14004dcb1
inc rdx
mov rcx, qword [rbp + 0x138]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004dcab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e050
call fcn.140052b18
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x14004dcec
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004dce7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e057
call fcn.140052b18
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], 0xf
mov byte [rbp - 0x48], 0
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x14004dd37
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004dd32
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e05e
call fcn.140052b18
mov qword [rbp + 8], r13
mov qword [rbp + 0x10], 0xf
mov byte [rbp - 8], 0
mov rdx, qword [rbp + 0x88]
cmp rdx, 0x10
jb 0x14004dd85
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004dd80
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e065
call fcn.140052b18
mov dword [rbp - 0x60], 0xd7d2c4
mov byte [rbp - 0x5c], 1
mov rcx, r13
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x4e]
xor byte [rbp + rcx - 0x60], al
inc rcx
cmp rcx, 3
jb 0x14004dda0
mov byte [rbp - 0x5c], 0
mov dword [rbp - 0x58], 0x828bca
mov byte [rbp - 0x54], 1
mov rcx, r13
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x4e]
xor byte [rbp + rcx - 0x58], al
inc rcx
cmp rcx, 3
jb 0x14004ddd0
mov byte [rbp - 0x54], 0
movdqa xmm0, xmmword [0x14005c7a0]
movdqu xmmword [rbp - 0x28], xmm0
mov dword [rbp - 0x18], 0xa0b6aa86
mov dword [rbp - 0x14], 0x8dfbb3a5
mov dword [rbp - 0x10], 0x100f2ea
mov rcx, r13
nop dword [rax]
lea eax, [rcx - 0x4e]
xor byte [rbp + rcx - 0x28], al
inc rcx
cmp rcx, 0x1a
jb 0x14004de10
mov byte [rbp - 0xd], 0
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x28]
call fcn.14004c290
movdqa xmm0, xmmword [0x14005c190]
movdqu xmmword [rbp - 0x28], xmm0
mov dword [rbp - 0x18], 0xa4b3eda6
mov word [rbp - 0x14], 0xb0
mov byte [rbp - 0x12], 1
mov rcx, r13
nop word [rax + rax]
lea eax, [rcx - 0x4e]
xor byte [rbp + rcx - 0x28], al
inc rcx
cmp rcx, 0x15
jb 0x14004de60
mov byte [rbp - 0x12], 0
lea rcx, [rbp - 0x28]
jmp 0x14004dec1
movdqa xmm0, xmmword [0x14005c570]
movdqu xmmword [rbp + 0xd8], xmm0
mov dword [rbp + 0xe8], 0xb2eab1ad
mov dword [rbp + 0xec], 0x100b1a7
nop
lea eax, [rcx - 0x4e]
xor byte [rbp + rcx + 0xd8], al
inc rcx
cmp rcx, 0x16
jb 0x14004dea0
mov byte [rbp + 0xef], 0
lea rcx, [rbp + 0xd8]
mov r8d, 0x20001
xor edx, edx
call qword [sym.imp.WINMM.dll_PlaySoundA]
mov byte [0x140069581], 0
mov rbx, qword [0x1400694a0]
movsxd rax, dword [rbx + 0x1e70]
lea rdx, [rax + rax*4]
mov rcx, qword [rbx + 0x1e78]
movsxd rax, dword [rcx + rdx*4 - 0x14]
add rax, rax
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
movups xmmword [rbx + rax*8 + 0x16fc], xmm0
dec dword [rbx + 0x1e70]
lea rsi, [0x1400570e0]
add r12, 0x10
lea rax, [rbp + 0x210]
cmp r12, rax
jne 0x14004cc11
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.140052570
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
cmp r15, 0xffffffffffffffff
jne 0x14004ded6
mov rbx, qword [0x1400694a0]
movsxd rcx, dword [rbx + 0x1eb0]
lea eax, [rcx - 1]
mov dword [rbx + 0x1eb0], eax
mov rax, qword [rbx + 0x1eb8]
mov ecx, dword [rax + rcx*4 - 8]
mov dword [rbx + 0x1d54], ecx
movsxd rax, dword [rbx + 0x1e80]
lea rcx, [rax + rax*2]
mov rdx, qword [rbx + 0x1e88]
movsxd rax, dword [rdx + rcx*4 - 0xc]
lea r9, [rax + rax*2]
mov r8d, dword [rsi + r9*4 + 8]
cmp dword [rsi + r9*4], 8
jne 0x14004dff1
mov eax, dword [rsi + r9*4 + 4]
cmp eax, 1
jne 0x14004dfd4
mov eax, dword [rdx + rcx*4 - 8]
mov dword [r8 + rbx + 0x1638], eax
dec dword [rbx + 0x1e80]
jmp 0x14004df11
cmp eax, 2
jne 0x14004dff1
mov eax, dword [rdx + rcx*4 - 8]
mov dword [r8 + rbx + 0x1638], eax
mov eax, dword [rdx + rcx*4 - 4]
mov dword [r8 + rbx + 0x163c], eax
dec dword [rbx + 0x1e80]
jmp 0x14004df11
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, str.stoi_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
lea rcx, str.invalid_stoi_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
nop
call fcn.1400457e0
int3
call fcn.1400457e0
int3
call fcn.1400457e0
int3