Function at 0x6968f0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x81c700]
sub esp, 0xc
inc eax
push ebx
push ebp
push esi
cmp eax, 0x186a0
push edi
mov dword [0x81c700], eax
jb 0x696ccc
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
xor ebx, ebx
sub edx, ecx
mov dword [0x81c700], ebx
cmp edx, eax
jne 0x69693e
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x696951
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x69696b
mov ecx, 0x83f450
call fcn.005ddd50
mov byte [0x81c644], 1
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, dword [0x83f450]
cmp eax, ecx
jbe 0x69697f
sub eax, ecx
jmp 0x696987
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x6969a7
mov edx, ecx
or edx, eax
je 0x6969a7
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x696ccc
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x696ccc
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
cmp ecx, ebx
mov byte [0x81c6fc], 1
not eax
jle 0x696a26
mov ebp, 0x820e44
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp]
cmp ecx, ebx
je 0x696a18
mov esi, dword [ecx + 4]
cmp esi, ebx
jle 0x696a18
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
cmp edx, ebx
je 0x696a18
cmp esi, ebx
jle 0x696a18
mov ebx, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x696a10
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x696a08
mov edx, dword [edx + 4]
dec ebx
jne 0x6969fb
xor ebx, ebx
mov ecx, dword [esp + 0x14]
add ebp, 4
dec ecx
mov dword [esp + 0x14], ecx
jne 0x6969db
cmp eax, dword [0x8294d8]
je 0x696a39
inc dword [0x8294f0]
call fcn.0045dca0
cmp dword [0x8294e8], ebx
je 0x696cc5
mov eax, dword [0x829464]
mov dword [esp + 0x14], ebx
cmp eax, ebx
je 0x696c8b
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, ebx
je 0x696c80
push ebx
add eax, 0x14
push 4
push eax
mov eax, dword [0x829488]
lea ecx, [eax*4 + 0x82948c]
push ecx
call fcn.0045cba0
mov eax, dword [0x829488]
add esp, 0x10
lea edx, [eax*4 + 0x82948c]
inc eax
cmp eax, 8
mov dword [esp + 0x14], edx
mov dword [0x829488], eax
jl 0x696aa4
mov dword [0x829488], ebx
push ebx
call fcn.0045d120
mov eax, dword [0x81c700]
add esp, 4
inc eax
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb 0x696c70
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], ebx
sub edx, ecx
cmp edx, eax
jne 0x696af2
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x696b05
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x696b1f
mov ecx, 0x83f450
call fcn.005ddd50
mov byte [0x81c644], 1
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, dword [0x83f450]
cmp eax, ecx
jbe 0x696b33
sub eax, ecx
jmp 0x696b3b
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x696b5b
mov edx, ecx
or edx, eax
je 0x696b5b
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x696c70
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x696c70
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
cmp ecx, ebx
mov byte [0x81c6fc], 1
not eax
jle 0x696bda
mov ebp, 0x820e44
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp]
test ecx, ecx
je 0x696bca
mov esi, dword [ecx + 4]
test esi, esi
jle 0x696bca
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
test edx, edx
je 0x696bca
test esi, esi
jle 0x696bca
mov ebx, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x696bc4
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x696bbc
mov edx, dword [edx + 4]
dec ebx
jne 0x696baf
mov ecx, dword [esp + 0x10]
add ebp, 4
dec ecx
mov dword [esp + 0x10], ecx
jne 0x696b8f
xor ebx, ebx
cmp eax, dword [0x8294d8]
je 0x696bed
inc dword [0x8294f0]
call fcn.0045dca0
cmp dword [0x8294e8], ebx
je 0x696c69
mov eax, dword [0x829464]
mov dword [esp + 0x10], ebx
cmp eax, ebx
je 0x696c2f
lea ecx, [esp + 0x10]
push ecx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x696c24
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x696c24
cmp dword [eax], 0x29874362
je 0x696c2f
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
mov dword [esp + 0x10], ebx
cmp eax, ebx
je 0x696c69
lea edx, [esp + 0x10]
push edx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x696c5e
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x696c5e
cmp dword [eax], 0xbad0bad
je 0x696c69
inc dword [0x8294f0]
call fcn.0045dca0
mov byte [0x81c6fc], 0
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x696c80
cmp dword [eax], 0x29874362
je 0x696c8b
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
mov dword [esp + 0x14], ebx
cmp eax, ebx
je 0x696cc5
lea ecx, [esp + 0x14]
push ecx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x696cba
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x696cba
cmp dword [eax], 0xbad0bad
je 0x696cc5
inc dword [0x8294f0]
call fcn.0045dca0
mov byte [0x81c6fc], 0
mov ebp, dword [0x820dd0]
mov eax, dword [esp + 0x20]
xor ebp, eax
push eax
mov dword [esp + 0x18], ebp
mov esi, dword [esp + 0x1a]
mov ebx, ebp
and esi, 0xffff
and ebx, 0xff
call fcn.0045c0b0
mov edi, eax
add esp, 4
test edi, edi
je 0x696d4a
mov edx, dword [0x8294d8]
mov eax, dword [0x829478]
xor edx, eax
push 1
push eax
mov eax, dword [esi*4 + 0x820e44]
xor edx, ebp
mov dword [0x8294d8], edx
mov eax, dword [eax + 8]
lea ecx, [eax + eax*2]
lea eax, [edi + 0x14]
mov edx, dword [ecx*4 + 0x828e68]
push edx
push eax
call fcn.0045cc80
push edi
push esi
call fcn.0045d050
push ebx
push esi
call fcn.0045dc80
push edi
call fcn.00672c80
add esp, 0x24
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret