Function at 0x49f83b
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x84
movss xmm1, dword [0x50e180]
xor ecx, ecx
push ebx
push ebp
push esi
push edi
call fcn.004beb97
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x65a600]
and dword [eax + 0x20], 0
call fcn.00497c24
call fcn.00499fe1
cmp dword [0x65a728], 0xf
mov ecx, 0x65a714
push 0x80e2
cmova ecx, dword [0x65a714]
xor edx, edx
call fcn.004c503f
pop ecx
push dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x70]
call fcn.004a534a
push ecx
push 0x12
lea ecx, [esp + 0x28]
mov esi, eax
call fcn.004a2831
push 2
xor edx, edx
pop edi
mov ax, word [edx + esi + 2]
xor ax, word [esi]
cmp dword [esp + 0x34], 7
movzx ecx, ax
lea eax, [esp + 0x20]
cmova eax, dword [esp + 0x20]
mov word [edx + eax], cx
add edx, edi
cmp edx, 0x24
jb 0x49f8b0
cmp dword [esp + 0x34], 7
lea ecx, [esp + 0x20]
cmova ecx, dword [esp + 0x20]
call fcn.004ac971
lea ecx, [esp + 0x20]
mov bl, al
call fcn.004a2dca
test bl, bl
je 0x4a0069
mov eax, dword [0x65a600]
mov eax, dword [eax + 0x3e48]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
call fcn.004c77dc
mov esi, eax
call fcn.004c0d5c
call fcn.004c0d79
movss xmm2, dword [esp + 0x10]
lea ecx, [esp + 0x38]
movss xmm1, dword [esp + 0x14]
movaps xmm0, xmm2
xorps xmm3, xmm3
addss xmm0, xmm3
movss dword [esp + 0x18], xmm0
movaps xmm0, xmm1
addss xmm0, xmm3
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [0x50e2d8]
addss xmm2, xmm0
addss xmm1, xmm0
movaps xmm0, xmmword [0x50e540]
movups xmmword [esp + 0x38], xmm0
movaps xmm0, xmmword [0x50e580]
movups xmmword [esp + 0x48], xmm0
movaps xmm0, xmmword [0x50e5c0]
movups xmmword [esp + 0x58], xmm0
movaps xmm0, xmmword [0x50e540]
movss dword [esp + 0x10], xmm2
movss dword [esp + 0x14], xmm1
movups xmmword [esp + 0x20], xmm0
call fcn.004bdbd0
push eax
lea ecx, [esp + 0x4c]
call fcn.004bdbd0
push eax
lea ecx, [esp + 0x60]
call fcn.004bdbd0
push eax
lea ecx, [esp + 0x2c]
call fcn.004bdbd0
push eax
lea eax, [esp + 0x20]
mov ecx, esi
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.004d88bb
call fcn.00494dec
xor ebx, ebx
mov dword [esp + 0x10], 0x43eb0000
push ebx
push ecx
xor esi, esi
mov dword [esp + 0x1c], 0x43c80000
lea eax, [esp + 0x18]
inc esi
push eax
mov edx, esi
xor ecx, ecx
call fcn.004c2ab2
add esp, 0xc
push 3
pop ebp
test al, al
je 0x49fc4b
movss xmm0, dword [0x50e27c]
call fcn.004c9a97
push 0x65b940
mov ecx, 0x659578
mov dword [esp + 0x1c], 0x42960000
mov dword [esp + 0x20], 0x420c0000
call fcn.004a64ab
xor edx, edx
mov byte [esp + 0x14], bl
push 0x7e
pop ecx
div ecx
mov ecx, ebx
inc dl
mov al, dl
mov byte [esp + 0x10], dl
xor al, 0xef
mov byte [esp + 0x11], al
mov al, dl
xor al, 0x8e
mov byte [esp + 0x12], al
mov al, dl
xor al, 0x92
mov byte [esp + 0x13], al
mov al, byte [esp + ecx + 0x11]
xor al, dl
mov byte [ecx + 0x65b724], al
inc ecx
cmp ecx, ebp
jb 0x49fa61
push ecx
lea edx, [esp + 0x1c]
mov byte [0x65b727], bl
mov ecx, 0x65b724
call fcn.004e136c
pop ecx
test al, al
je 0x49fa92
mov dword [0x5160c8], esi
movss xmm1, dword [0x50e328]
xorps xmm0, xmm0
call fcn.004c99b6
push 0x65b940
mov ecx, 0x659578
mov dword [esp + 0x1c], 0x42960000
mov dword [esp + 0x20], 0x420c0000
call fcn.004a64ab
xor edx, edx
mov byte [esp + 0x14], bl
push 0x7e
pop ecx
div ecx
mov ecx, ebx
inc dl
mov al, dl
mov byte [esp + 0x10], dl
xor al, 0xef
mov byte [esp + 0x11], al
mov al, dl
xor al, 0x95
mov byte [esp + 0x12], al
mov al, dl
xor al, 0x84
mov byte [esp + 0x13], al
mov al, byte [esp + ecx + 0x11]
xor al, dl
mov byte [ecx + 0x65b714], al
inc ecx
cmp ecx, ebp
jb 0x49faec
push ecx
lea edx, [esp + 0x1c]
mov byte [0x65b717], bl
mov ecx, 0x65b714
call fcn.004e136c
pop ecx
test al, al
je 0x49fb1d
mov dword [0x5160c8], edi
movss xmm1, dword [0x50e328]
xorps xmm0, xmm0
call fcn.004c99b6
movss xmm1, dword [0x50e328]
xorps xmm0, xmm0
call fcn.004c99b6
push 0x65b940
mov ecx, 0x659578
mov dword [esp + 0x1c], 0x42960000
mov dword [esp + 0x20], 0x420c0000
call fcn.004a64ab
xor edx, edx
mov byte [esp + 0x14], bl
push 0x7e
pop ecx
div ecx
mov ecx, ebx
inc dl
mov al, dl
mov byte [esp + 0x10], dl
xor al, 0xef
mov byte [esp + 0x11], al
mov al, dl
xor al, 0x84
mov byte [esp + 0x12], al
mov al, dl
xor al, 0x9b
mov byte [esp + 0x13], al
mov al, byte [esp + ecx + 0x11]
xor al, dl
mov byte [ecx + 0x65b914], al
inc ecx
cmp ecx, ebp
jb 0x49fb87
push ecx
lea edx, [esp + 0x1c]
mov byte [0x65b917], bl
mov ecx, 0x65b914
call fcn.004e136c
pop ecx
test al, al
je 0x49fbbc
mov dword [0x5160c8], 4
movss xmm1, dword [0x50e328]
xorps xmm0, xmm0
call fcn.004c99b6
push 0x65b940
mov ecx, 0x659578
mov dword [esp + 0x1c], 0x42960000
mov dword [esp + 0x20], 0x420c0000
call fcn.004a64ab
xor edx, edx
mov byte [esp + 0x14], bl
push 0x7e
pop ecx
div ecx
mov ecx, ebx
inc dl
mov al, dl
mov byte [esp + 0x10], dl
xor al, 0xef
mov byte [esp + 0x11], al
mov al, dl
xor al, 0x80
mov byte [esp + 0x12], al
mov al, dl
xor al, 0x93
mov byte [esp + 0x13], al
mov al, byte [esp + ecx + 0x11]
xor al, dl
mov byte [ecx + 0x65b840], al
inc ecx
cmp ecx, ebp
jb 0x49fc16
push ecx
lea edx, [esp + 0x1c]
mov byte [0x65b843], bl
mov ecx, 0x65b840
call fcn.004e136c
pop ecx
test al, al
je 0x49fc4b
mov dword [0x5160c8], 5
call fcn.004c2cc5
push ebx
push ecx
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x43eb0000
push eax
mov edx, esi
mov dword [esp + 0x20], 0x43c80000
xor ecx, ecx
call fcn.004c2ab2
add esp, 0xc
test al, al
je 0x49ff4d
xorps xmm0, xmm0
call fcn.004c9b05
mov eax, dword [0x5160c8]
cmp eax, esi
jne 0x49fc96
call fcn.004a9563
jmp 0x49ff4d
cmp eax, edi
jne 0x49ff37
mov ecx, 0x504ef4
call fcn.004e311c
push 0x659068
push 0x504e18
call fcn.004f10f5
mov esi, 0x503dbe
cmp byte [0x659068], bl
je 0x49ff2e
push ecx
push 0x3f
push 0x6596f8
push fcn.004e37c0
mov edx, 0x65ad7c
mov ecx, 0x504e24
call fcn.004e3820
add esp, 8
mov dword [esp + 0x20], 0x50
lea eax, [esp + 0x20]
mov dword [esp + 0x18], 0xa
mov ecx, str.Delay
push eax
lea eax, [esp + 0x1c]
push eax
push 0x65903c
call fcn.004e4979
add esp, 0x14
mov ecx, esi
call fcn.004e311c
movss xmm3, dword [0x50e190]
lea eax, [esp + 0x10]
and dword [esp + 0x18], 0
mov esi, 0x504e28
push 0xc
pop ebx
push ecx
push esi
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], ebx
push eax
push 0x65a500
push 4
pop edx
mov ecx, str.Hours
call fcn.004e42c6
movss xmm3, dword [0x50e190]
lea eax, [esp + 0x24]
and dword [esp + 0x2c], 0
mov ecx, str.Minutes
push 0x37
pop edi
add esp, 0x10
mov dword [esp + 0x14], edi
push esi
push eax
lea eax, [esp + 0x24]
push eax
push 0x65a4f0
push 4
pop edx
call fcn.004e42c6
mov eax, dword [0x65a500]
cmp eax, ebx
mov ecx, eax
cmovg ecx, ebx
xor edx, edx
test eax, eax
mov eax, dword [0x65a4f0]
cmovs ecx, edx
cmp eax, edi
mov dword [0x65a500], ecx
mov ecx, eax
cmovg ecx, edi
test eax, eax
cmovs ecx, edx
and dword [esp + 0x24], edx
and dword [esp + 0x28], edx
add esp, 0x10
mov dword [0x65a4f0], ecx
lea edx, [esp + 0x14]
mov ecx, str.Run_Time
call fcn.004e136c
pop ecx
test al, al
je 0x49fe07
imul eax, dword [0x65a500], 0x3c
add eax, dword [0x65a4f0]
imul eax, eax, 0x3c
test eax, eax
jle 0x49fe07
lea ecx, [esp + 0x10]
mov byte [0x65a3e8], 1
call fcn.0049267c
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [0x65a558], ecx
mov dword [0x65a55c], eax
movss xmm1, dword [0x50e328]
xorps xmm0, xmm0
call fcn.004c99b6
cmp byte [0x65a3e8], 0
je 0x49fedb
and dword [esp + 0x10], 0
lea edx, [esp + 0x10]
and dword [esp + 0x14], 0
push ecx
mov ecx, str.Cancel_Time
call fcn.004e136c
pop ecx
test al, al
je 0x49fe4b
xor al, al
mov byte [0x65a3e8], al
jmp 0x49fe50
mov al, byte [0x65a3e8]
test al, al
je 0x49fedb
lea ecx, [esp + 0x10]
call fcn.0049267c
mov ecx, dword [esp + 0x10]
sub ecx, dword [0x65a558]
mov eax, dword [esp + 0x14]
sbb eax, dword [0x65a55c]
push 0
push 0x3b9aca00
push eax
push ecx
call fcn.005007b0
imul ecx, dword [0x65a500], 0x3c
mov dword [esp + 0x14], edx
add ecx, dword [0x65a4f0]
imul edi, ecx, 0x3c
sub edi, eax
test edi, edi
jg 0x49feb0
mov ecx, str.BrawlhallaGame.exe
mov byte [0x65a3e8], 0
call fcn.00499864
jmp 0x49fedb
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
push 0x3c
mov esi, eax
mov ecx, edx
mov eax, edi
pop edi
cdq
idiv edi
mov eax, ecx
push edx
cdq
idiv edi
push eax
push esi
push str.Remaining_Time_To_Close:__02d:_02d:_02d
call fcn.004e0ca4
add esp, 0x10
call fcn.004c739e
mov esi, 0x503dbe
mov ecx, esi
call fcn.004e311c
push 0x65ad91
push str.Run_Script
call fcn.004f10f5
xor ebx, ebx
cmp byte [0x65ad91], bl
je 0x49ff0b
mov byte [0x65ad88], bl
push 0x65ad88
push str.Run_Bot
call fcn.004f10f5
cmp byte [0x65ad88], 0
je 0x49ff29
mov byte [0x65ad91], bl
call fcn.004c73f2
mov ecx, esi
call fcn.004e311c
jmp 0x49ff4d
cmp eax, 4
jne 0x49ff43
call fcn.004a8908
jmp 0x49ff4d
cmp eax, 5
jne 0x49ff4d
call fcn.004a89ae
call fcn.004c2cc5
push ebx
push ecx
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x43eb0000
push eax
mov edx, ebp
mov dword [esp + 0x20], 0x42a00000
xor ecx, ecx
call fcn.004c2ab2
add esp, 0xc
test al, al
je 0x4a0055
lea ecx, [esp + 0x10]
call fcn.004c9d94
movss xmm1, dword [eax + 4]
mov eax, dword [0x65a600]
subss xmm1, dword [0x50e274]
mov eax, dword [eax + 0x3e48]
mulss xmm1, dword [0x50e140]
movss xmm0, dword [eax + 0xf4]
subss xmm0, dword [eax + 0x18]
addss xmm0, dword [eax + 0x7c]
addss xmm0, xmm1
call fcn.004c9ace
call fcn.00499918
call fcn.004e2a3e
push 0x65b940
mov ecx, 0x659578
mov dword [esp + 0x1c], 0x42200000
mov dword [esp + 0x20], 0x41f00000
call fcn.004a64ab
xor edx, edx
mov byte [esp + 0x14], bl
push 0x7e
pop ecx
div ecx
mov ecx, ebx
inc dl
mov al, dl
mov byte [esp + 0x10], dl
xor al, 0xef
mov byte [esp + 0x11], al
mov al, dl
xor al, 0x80
mov byte [esp + 0x12], al
mov al, dl
xor al, 0x91
mov byte [esp + 0x13], al
mov al, byte [esp + ecx + 0x11]
xor al, dl
mov byte [ecx + 0x65b7d8], al
inc ecx
cmp ecx, ebp
jb 0x4a0015
push ecx
lea edx, [esp + 0x1c]
mov byte [0x65b7db], bl
mov ecx, 0x65b7d8
call fcn.004e136c
pop ecx
test al, al
jne 0x4a0069
movss xmm1, dword [0x50e328]
xorps xmm0, xmm0
call fcn.004c99b6
call fcn.00499178
call fcn.004c2cc5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
jmp fcn.004c6e16
call fcn.00499837
int3