Function at 0x41ef40
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push 0xffffffffffffffff
push 0x4929b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x9c]
call fcn.0041ecb0
push 7
xor ebx, ebx
mov ebp, 0xf
push str.VERSION
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.00404090
cmp dword [esp + 0x4c], 0x10
jb 0x41ef9f
mov eax, dword [esp + 0x38]
push eax
call fcn.00459ea4
add esp, 4
add edi, 4
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edi
lea ebx, [ebx]
push 3
push 0x497a74
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.00404090
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x70]
push str.:_08d
push edx
mov dword [esp + 0xa0], ebx
call fcn.0045b0bf
lea eax, [esp + 0x24]
push eax
lea edi, [esp + 0x7c]
lea esi, [esp + 0x60]
call fcn.0042aac0
add esp, 0x10
cmp dword [eax + 0x18], 0x10
jb 0x41f007
mov esi, dword [eax + 4]
jmp 0x41f00a
lea esi, [eax + 4]
mov eax, esi
xor ecx, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x41f011
sub eax, edi
je 0x41f03c
mov edi, edi
movzx edx, byte [esi + eax - 1]
xor edx, ecx
and edx, 0xff
shr ecx, 8
xor ecx, dword [edx*4 + 0x4ec8a8]
sub eax, 1
jne 0x41f020
mov edx, dword [esp + 0xa0]
mov esi, dword [edx + 0x14]
xor eax, eax
cmp esi, ebx
jle 0x41f072
mov edi, dword [edx + 0x1c]
mov edx, edi
mov ebp, dword [edx]
cmp dword [ebp], ecx
je 0x41f0fb
add eax, 1
add edx, 4
cmp eax, esi
jl 0x41f051
mov edx, dword [esp + 0xa0]
mov ebp, 0xf
mov esi, dword [edx + 0x60]
mov edi, 0x10
cmp dword [esp + 0x68], edi
jb 0x41f08d
mov eax, dword [esp + 0x54]
push eax
call fcn.00459ea4
add esp, 4
mov dword [esp + 0x94], 0xffffffff
cmp dword [esp + 0x30], edi
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
jb 0x41f0b7
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00459ea4
add esp, 4
cmp esi, ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
je 0x41f2a7
push 5
push str.SCORE
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.00404090
lea eax, [esp + 0x34]
mov ecx, esi
call fcn.0042a5d0
cmp eax, ebx
je 0x41f108
mov eax, dword [eax + 4]
jmp 0x41f10a
mov esi, dword [edi + eax*4]
mov ebp, 0xf
jmp 0x41f075
xor eax, eax
cmp dword [esp + 0x4c], 0x10
mov edi, dword [esp + 0x14]
mov dword [edi], eax
jb 0x41f124
mov edx, dword [esp + 0x38]
push edx
call fcn.00459ea4
add esp, 4
push 5
push str.STAGE
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.00404090
lea eax, [esp + 0x34]
mov ecx, esi
call fcn.0042a5d0
cmp eax, ebx
je 0x41f154
mov eax, dword [eax + 4]
jmp 0x41f156
xor eax, eax
cmp dword [esp + 0x4c], 0x10
mov dword [edi + 4], eax
jb 0x41f16d
mov eax, dword [esp + 0x38]
push eax
call fcn.00459ea4
add esp, 4
push 4
push str.TYPE
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.00404090
lea eax, [esp + 0x34]
mov ecx, esi
call fcn.0042a5d0
cmp eax, ebx
je 0x41f19d
mov eax, dword [eax + 4]
jmp 0x41f19f
xor eax, eax
cmp dword [esp + 0x4c], 0x10
mov dword [edi + 8], eax
jb 0x41f1b6
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00459ea4
add esp, 4
push 6
push str.OPTION
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.00404090
lea eax, [esp + 0x34]
mov ecx, esi
call fcn.0042a5d0
cmp eax, ebx
je 0x41f1e6
mov eax, dword [eax + 4]
jmp 0x41f1e8
xor eax, eax
cmp dword [esp + 0x4c], 0x10
mov dword [edi + 0xc], eax
jb 0x41f1ff
mov edx, dword [esp + 0x38]
push edx
call fcn.00459ea4
add esp, 4
push 6
push str.REPLAY
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.00404090
lea eax, [esp + 0x34]
mov ecx, esi
call fcn.0042a5d0
cmp eax, ebx
je 0x41f22f
mov eax, dword [eax + 4]
jmp 0x41f231
xor eax, eax
cmp dword [esp + 0x4c], 0x10
mov dword [edi + 0x10], eax
jb 0x41f248
mov eax, dword [esp + 0x38]
push eax
call fcn.00459ea4
add esp, 4
push 4
push str.NAME
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.00404090
lea eax, [esp + 0x34]
mov ecx, esi
call fcn.0042a5d0
cmp eax, ebx
je 0x41f291
mov ecx, dword [eax + 4]
cmp ecx, 0x10
jle 0x41f280
mov ecx, 0x10
push ecx
add eax, 8
push eax
lea ecx, [edi + 0x14]
push ecx
call fcn.0045edb0
add esp, 0xc
cmp dword [esp + 0x4c], 0x10
jb 0x41f2ab
mov edx, dword [esp + 0x38]
push edx
call fcn.00459ea4
add esp, 4
jmp 0x41f2ab
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
add eax, 1
add edi, 0x24
cmp eax, 0x64
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
jl 0x41efb0
mov esi, dword [esp + 0x9c]
mov eax, dword [esi]
push 0x400
add eax, 0x400
push ebx
push eax
call fcn.0045ed30
add esp, 0xc
push 0xb
push str.GLOBALFLAG2
lea ecx, [esp + 0x58]
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
call fcn.00404090
mov esi, dword [esi]
mov ecx, dword [esp + 0xa0]
lea eax, [esp + 0x50]
add esi, 0x400
call fcn.0042a5d0
cmp eax, ebx
je 0x41f339
mov ecx, dword [eax + 4]
cmp ecx, 0x400
jle 0x41f32b
mov ecx, 0x400
push ecx
add eax, 8
push eax
push esi
call fcn.0045edb0
add esp, 0xc
cmp dword [esp + 0x68], 0x10
pop edi
pop esi
pop ebp
pop ebx
jb 0x41f351
mov ecx, dword [esp + 0x44]
push ecx
call fcn.00459ea4
add esp, 4
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
add esp, 0x88
ret 8