Function at 0x40f25b
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x84
movss xmm1, dword [0x47d6a0]
xor ecx, ecx
push ebx
push ebp
push esi
push edi
call fcn.0042d9c4
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x5077a8]
and dword [eax + 0x20], 0
call fcn.0040734d
call fcn.004097f2
cmp dword [0x5078d0], 0xf
mov ecx, 0x5078bc
push 0x80e2
cmova ecx, dword [0x5078bc]
xor edx, edx
call fcn.00433e6f
pop ecx
push dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x70]
call fcn.00414fea
push ecx
push 0x12
lea ecx, [esp + 0x28]
mov esi, eax
call fcn.0041230e
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 0x40f2d0
cmp dword [esp + 0x34], 7
lea ecx, [esp + 0x20]
cmova ecx, dword [esp + 0x20]
call fcn.0041befc
lea ecx, [esp + 0x20]
mov bl, al
call fcn.004128ca
test bl, bl
je 0x40fa89
mov eax, dword [0x5077a8]
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.0043660c
mov esi, eax
call fcn.0042fb89
call fcn.0042fba6
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 [0x47d7f8]
addss xmm2, xmm0
addss xmm1, xmm0
movaps xmm0, xmmword [0x47da60]
movups xmmword [esp + 0x38], xmm0
movaps xmm0, xmmword [0x47daa0]
movups xmmword [esp + 0x48], xmm0
movaps xmm0, xmmword [0x47dae0]
movups xmmword [esp + 0x58], xmm0
movaps xmm0, xmmword [0x47da60]
movss dword [esp + 0x10], xmm2
movss dword [esp + 0x14], xmm1
movups xmmword [esp + 0x20], xmm0
call fcn.0042ca00
push eax
lea ecx, [esp + 0x4c]
call fcn.0042ca00
push eax
lea ecx, [esp + 0x60]
call fcn.0042ca00
push eax
lea ecx, [esp + 0x2c]
call fcn.0042ca00
push eax
lea eax, [esp + 0x20]
mov ecx, esi
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.004476eb
call fcn.00404515
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.004318e2
add esp, 0xc
push 3
pop ebp
test al, al
je 0x40f66b
movss xmm0, dword [0x47d79c]
call fcn.004388c3
push 0x5091c0
mov ecx, 0x506988
mov dword [esp + 0x1c], 0x42960000
mov dword [esp + 0x20], 0x420c0000
call fcn.0041614b
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 + 0x507d88], al
inc ecx
cmp ecx, ebp
jb 0x40f481
push ecx
lea edx, [esp + 0x1c]
mov byte [0x507d8b], bl
mov ecx, 0x507d88
call fcn.0045019c
pop ecx
test al, al
je 0x40f4b2
mov dword [0x485370], esi
movss xmm1, dword [0x47d848]
xorps xmm0, xmm0
call fcn.004387e2
push 0x5091c0
mov ecx, 0x506988
mov dword [esp + 0x1c], 0x42960000
mov dword [esp + 0x20], 0x420c0000
call fcn.0041614b
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 + 0x507c44], al
inc ecx
cmp ecx, ebp
jb 0x40f50c
push ecx
lea edx, [esp + 0x1c]
mov byte [0x507c47], bl
mov ecx, 0x507c44
call fcn.0045019c
pop ecx
test al, al
je 0x40f53d
mov dword [0x485370], edi
movss xmm1, dword [0x47d848]
xorps xmm0, xmm0
call fcn.004387e2
movss xmm1, dword [0x47d848]
xorps xmm0, xmm0
call fcn.004387e2
push 0x5091c0
mov ecx, 0x506988
mov dword [esp + 0x1c], 0x42960000
mov dword [esp + 0x20], 0x420c0000
call fcn.0041614b
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 + 0x50a58c], al
inc ecx
cmp ecx, ebp
jb 0x40f5a7
push ecx
lea edx, [esp + 0x1c]
mov byte [0x50a58f], bl
mov ecx, 0x50a58c
call fcn.0045019c
pop ecx
test al, al
je 0x40f5dc
mov dword [0x485370], 4
movss xmm1, dword [0x47d848]
xorps xmm0, xmm0
call fcn.004387e2
push 0x5091c0
mov ecx, 0x506988
mov dword [esp + 0x1c], 0x42960000
mov dword [esp + 0x20], 0x420c0000
call fcn.0041614b
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 + 0x507d38], al
inc ecx
cmp ecx, ebp
jb 0x40f636
push ecx
lea edx, [esp + 0x1c]
mov byte [0x507d3b], bl
mov ecx, 0x507d38
call fcn.0045019c
pop ecx
test al, al
je 0x40f66b
mov dword [0x485370], 5
call fcn.00431af5
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.004318e2
add esp, 0xc
test al, al
je 0x40f96d
xorps xmm0, xmm0
call fcn.00438931
mov eax, dword [0x485370]
cmp eax, esi
jne 0x40f6b6
call fcn.004194dc
jmp 0x40f96d
cmp eax, edi
jne 0x40f957
mov ecx, 0x474424
call fcn.00451f4c
push 0x506670
push str.Bot_Script
call fcn.0045ff3a
mov esi, 0x472d3e
cmp byte [0x506670], bl
je 0x40f94e
push ecx
push 0x3f
push 0x506540
push fcn.004525f0
mov edx, 0x5079d8
mov ecx, 0x474350
call fcn.00452650
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 0x506534
call fcn.004537a9
add esp, 0x14
mov ecx, esi
call fcn.00451f4c
movss xmm3, dword [0x47d6b0]
lea eax, [esp + 0x10]
and dword [esp + 0x18], 0
mov esi, 0x474354
push 0xc
pop ebx
push ecx
push esi
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], ebx
push eax
push 0x5076a8
push 4
pop edx
mov ecx, str.Hours
call fcn.004530f6
movss xmm3, dword [0x47d6b0]
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 0x507698
push 4
pop edx
call fcn.004530f6
mov eax, dword [0x5076a8]
cmp eax, ebx
mov ecx, eax
cmovg ecx, ebx
xor edx, edx
test eax, eax
mov eax, dword [0x507698]
cmovs ecx, edx
cmp eax, edi
mov dword [0x5076a8], 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 [0x507698], ecx
lea edx, [esp + 0x14]
mov ecx, str.Run_Time
call fcn.0045019c
pop ecx
test al, al
je 0x40f827
imul eax, dword [0x5076a8], 0x3c
add eax, dword [0x507698]
imul eax, eax, 0x3c
test eax, eax
jle 0x40f827
lea ecx, [esp + 0x10]
mov byte [0x507590], 1
call fcn.00401dfc
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [0x507700], ecx
mov dword [0x507704], eax
movss xmm1, dword [0x47d848]
xorps xmm0, xmm0
call fcn.004387e2
cmp byte [0x507590], 0
je 0x40f8fb
and dword [esp + 0x10], 0
lea edx, [esp + 0x10]
and dword [esp + 0x14], 0
push ecx
mov ecx, str.Cancel_Time
call fcn.0045019c
pop ecx
test al, al
je 0x40f86b
xor al, al
mov byte [0x507590], al
jmp 0x40f870
mov al, byte [0x507590]
test al, al
je 0x40f8fb
lea ecx, [esp + 0x10]
call fcn.00401dfc
mov ecx, dword [esp + 0x10]
sub ecx, dword [0x507700]
mov eax, dword [esp + 0x14]
sbb eax, dword [0x507704]
push 0
push 0x3b9aca00
push eax
push ecx
call fcn.0046f600
imul ecx, dword [0x5076a8], 0x3c
mov dword [esp + 0x14], edx
add ecx, dword [0x507698]
imul edi, ecx, 0x3c
sub edi, eax
test edi, edi
jg 0x40f8d0
mov ecx, str.BrawlhallaGame.exe
mov byte [0x507590], 0
call fcn.00409075
jmp 0x40f8fb
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.0044fad4
add esp, 0x10
call fcn.004361ce
mov esi, 0x472d3e
mov ecx, esi
call fcn.00451f4c
push 0x5079ed
push str.Run_Script
call fcn.0045ff3a
xor ebx, ebx
cmp byte [0x5079ed], bl
je 0x40f92b
mov byte [0x5079e4], bl
push 0x5079e4
push str.Run_Bot
call fcn.0045ff3a
cmp byte [0x5079e4], 0
je 0x40f949
mov byte [0x5079ed], bl
call fcn.00436222
mov ecx, esi
call fcn.00451f4c
jmp 0x40f96d
cmp eax, 4
jne 0x40f963
call fcn.004186b8
jmp 0x40f96d
cmp eax, 5
jne 0x40f96d
call fcn.0041875e
call fcn.00431af5
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.004318e2
add esp, 0xc
test al, al
je 0x40fa75
lea ecx, [esp + 0x10]
call fcn.00438bc0
movss xmm1, dword [eax + 4]
mov eax, dword [0x5077a8]
subss xmm1, dword [0x47d794]
mov eax, dword [eax + 0x3e48]
mulss xmm1, dword [0x47d660]
movss xmm0, dword [eax + 0xf4]
subss xmm0, dword [eax + 0x18]
addss xmm0, dword [eax + 0x7c]
addss xmm0, xmm1
call fcn.004388fa
call fcn.00409129
call fcn.0045186e
push 0x5091c0
mov ecx, 0x506988
mov dword [esp + 0x1c], 0x42200000
mov dword [esp + 0x20], 0x41f00000
call fcn.0041614b
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 + 0x50a54c], al
inc ecx
cmp ecx, ebp
jb 0x40fa35
push ecx
lea edx, [esp + 0x1c]
mov byte [0x50a54f], bl
mov ecx, 0x50a54c
call fcn.0045019c
pop ecx
test al, al
jne 0x40fa89
movss xmm1, dword [0x47d848]
xorps xmm0, xmm0
call fcn.004387e2
call fcn.0040874b
call fcn.00431af5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
jmp fcn.00435c46
call fcn.00409048
int3