Function at 0x71eef0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
mov ebx, ecx
push ebp
mov dword [esp + 0x20], ebx
call fcn.006a4e00
mov eax, dword [ebx + 0x7b0]
test eax, eax
mov dword [esp + 0x24], eax
je 0x71ef52
mov esi, dword [eax + 0x14]
mov eax, esi
dec esi
test eax, eax
je 0x71ef48
mov edi, 6
mov ecx, dword [ebx + 0x7b0]
mov edx, dword [ecx + 8]
mov eax, dword [edx + esi*4]
test eax, eax
je 0x71ef41
mov eax, dword [eax]
cmp dword [eax + 0x1c], edi
je 0x71ef41
push esi
call fcn.006f3930
mov ecx, esi
dec esi
test ecx, ecx
jne 0x71ef24
mov dword [ebx + 0x7b0], 0
push 0x24
call fcn.00672b70
add esp, 4
test eax, eax
je 0x71ef6a
push ebx
mov ecx, eax
call fcn.006f3590
jmp 0x71ef6c
xor eax, eax
mov dword [ebx + 0x7b0], eax
mov eax, dword [ebp + 0xc4]
xor edi, edi
test eax, eax
mov dword [esp + 0x18], edi
je 0x71f1e3
mov eax, dword [ebp + 0xcc]
cmp eax, 0xffffffff
je 0x71f1c3
push eax
call fcn.0045c0b0
add esp, 4
test eax, eax
je 0x71f1c3
mov edx, dword [0x829488]
push edi
add eax, 0x14
push 4
push eax
lea eax, [edx*4 + 0x82948c]
push eax
call fcn.0045cba0
mov eax, dword [0x829488]
add esp, 0x10
lea edi, [eax*4 + 0x82948c]
inc eax
cmp eax, 8
mov dword [esp + 0x18], edi
mov dword [0x829488], eax
jl 0x71efe8
mov dword [0x829488], 0
push 0
call fcn.0045d120
mov eax, dword [0x81c700]
add esp, 4
inc eax
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb 0x71f1bb
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], 0
sub edx, ecx
cmp edx, eax
jne 0x71f035
call fcn.00406630
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x71f042
call fcn.00406630
mov ecx, 0x83f450
call fcn.004065e0
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x71f06c
mov edx, ecx
or edx, eax
je 0x71f06c
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x71f1bb
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x71f1bb
mov esi, dword [0x829478]
mov dword [0x829468], eax
mov eax, dword [0x8294e8]
mov byte [0x81c6fc], 1
test eax, eax
not esi
mov dword [esp + 0x14], 0
jle 0x71f11b
mov dword [esp + 0x10], 0x820e44
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x71f0f5
mov ecx, dword [eax + 4]
test ecx, ecx
jle 0x71f0f5
mov edi, dword [eax]
mov ebp, dword [edi + 0xc]
sar ebp, 2
test edi, edi
je 0x71f0f5
xor ebx, ebx
test ecx, ecx
jle 0x71f0f5
mov ecx, edi
call fcn.00406620
xor esi, eax
lea eax, [edi + 0x14]
test ebp, ebp
jle 0x71f0e6
mov ecx, ebp
mov edx, dword [eax]
add eax, 4
xor esi, edx
dec ecx
jne 0x71f0dc
mov ecx, dword [esp + 0x10]
mov edi, dword [edi + 4]
inc ebx
mov edx, dword [ecx]
cmp ebx, dword [edx + 4]
jl 0x71f0ca
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, dword [0x8294e8]
inc eax
add edx, 4
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
jl 0x71f0a7
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
cmp esi, dword [0x8294d8]
je 0x71f128
call fcn.00406630
mov eax, dword [0x8294e8]
xor esi, esi
cmp eax, esi
je 0x71f1b0
mov ecx, 0x829464
mov dword [esp + 0x10], esi
call fcn.00406620
test eax, eax
je 0x71f172
mov ecx, dword [0x829464]
lea eax, [esp + 0x10]
push eax
push ecx
call fcn.00407b70
add esp, 8
test al, al
je 0x71f16d
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x71f16d
cmp dword [eax], 0x29874362
je 0x71f172
call fcn.00406630
mov ecx, 0x8294b0
mov dword [esp + 0x10], esi
call fcn.00406620
test eax, eax
je 0x71f1b0
mov eax, dword [0x8294b0]
lea edx, [esp + 0x10]
push edx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x71f1ab
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x71f1ab
cmp dword [eax], 0xbad0bad
je 0x71f1b0
call fcn.00406630
mov ebp, dword [esp + 0x2c]
mov byte [0x81c6fc], 0
test edi, edi
je 0x71f1c3
mov eax, dword [edi]
jmp 0x71f1c8
mov eax, dword [0x89fe34]
mov ecx, dword [ebp + 0xc4]
push 1
push eax
push ecx
mov ecx, dword [ebx + 0x7b0]
call fcn.006f3c30
mov edi, eax
mov dword [esp + 0x18], edi
mov eax, dword [ebp + 0xc8]
test eax, eax
je 0x71f44c
mov eax, dword [ebp + 0xcc]
cmp eax, 0xffffffff
je 0x71f428
push eax
call fcn.0045c0b0
add esp, 4
test eax, eax
je 0x71f428
mov edx, dword [0x829488]
xor esi, esi
push esi
add eax, 0x14
push 4
push eax
lea eax, [edx*4 + 0x82948c]
push eax
call fcn.0045cba0
mov eax, dword [0x829488]
add esp, 0x10
lea ebp, [eax*4 + 0x82948c]
inc eax
cmp eax, 8
mov dword [esp + 0x20], ebp
mov dword [0x829488], eax
jl 0x71f251
mov dword [0x829488], esi
push esi
call fcn.0045d120
mov eax, dword [0x81c700]
add esp, 4
inc eax
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb 0x71f41f
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], esi
sub edx, ecx
cmp edx, eax
jne 0x71f299
call fcn.00406630
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x71f2a6
call fcn.00406630
mov ecx, 0x83f450
call fcn.004065e0
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x71f2d0
mov edx, eax
or edx, ecx
je 0x71f2d0
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x71f41f
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x71f41f
mov esi, dword [0x829478]
mov dword [0x829468], eax
mov eax, dword [0x8294e8]
mov byte [0x81c6fc], 1
test eax, eax
not esi
mov dword [esp + 0x14], 0
jle 0x71f37f
mov dword [esp + 0x10], 0x820e44
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x71f359
mov ecx, dword [eax + 4]
test ecx, ecx
jle 0x71f359
mov edi, dword [eax]
mov ebp, dword [edi + 0xc]
sar ebp, 2
test edi, edi
je 0x71f359
xor ebx, ebx
test ecx, ecx
jle 0x71f359
mov ecx, edi
call fcn.00406620
xor esi, eax
lea eax, [edi + 0x14]
test ebp, ebp
jle 0x71f34a
mov ecx, ebp
mov edx, dword [eax]
add eax, 4
xor esi, edx
dec ecx
jne 0x71f340
mov ecx, dword [esp + 0x10]
mov edi, dword [edi + 4]
inc ebx
mov edx, dword [ecx]
cmp ebx, dword [edx + 4]
jl 0x71f32e
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, dword [0x8294e8]
inc eax
add edx, 4
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
jl 0x71f30b
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
cmp esi, dword [0x8294d8]
je 0x71f38c
call fcn.00406630
mov eax, dword [0x8294e8]
xor esi, esi
cmp eax, esi
je 0x71f414
mov ecx, 0x829464
mov dword [esp + 0x10], esi
call fcn.00406620
test eax, eax
je 0x71f3d6
mov ecx, dword [0x829464]
lea eax, [esp + 0x10]
push eax
push ecx
call fcn.00407b70
add esp, 8
test al, al
je 0x71f3d1
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x71f3d1
cmp dword [eax], 0x29874362
je 0x71f3d6
call fcn.00406630
mov ecx, 0x8294b0
mov dword [esp + 0x10], esi
call fcn.00406620
test eax, eax
je 0x71f414
mov eax, dword [0x8294b0]
lea edx, [esp + 0x10]
push edx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x71f40f
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x71f40f
cmp dword [eax], 0xbad0bad
je 0x71f414
call fcn.00406630
mov ebx, dword [esp + 0x1c]
mov byte [0x81c6fc], 0
test ebp, ebp
je 0x71f428
mov eax, dword [ebp]
jmp 0x71f42d
mov eax, dword [0x89fe34]
mov ecx, dword [esp + 0x2c]
push 1
push eax
mov edx, dword [ecx + 0xc8]
mov ecx, dword [ebx + 0x7b0]
push edx
call fcn.006f3c30
test edi, edi
jne 0x71f450
mov edi, eax
test edi, edi
je 0x71f45c
mov ecx, dword [ebx + 0x7b0]
push edi
call fcn.006f4080
mov ecx, ebx
call fcn.0071fd00
mov esi, dword [esp + 0x24]
test esi, esi
je 0x71f487
mov ecx, dword [ebx + 0x7b0]
push esi
call fcn.006f4370
mov ecx, esi
call fcn.006f3620
push esi
call fcn.00672c80
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4