Function at 0x696200
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push eax
call fcn.0045c0b0
add esp, 4
test eax, eax
jne 0x696214
xor al, al
ret
mov ecx, dword [0x829478]
push esi
push 1
lea esi, [eax + 0x14]
push ecx
push 4
push esi
call fcn.0045cc80
mov edx, dword [esp + 0x1c]
push 1
push 4
push edx
push esi
call fcn.0045cb20
push 0
call fcn.0045d120
mov eax, dword [0x81c700]
add esp, 0x24
inc eax
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb 0x6968ea
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], 0
sub edx, ecx
cmp edx, eax
jne 0x69628b
inc dword [0x8294f0]
call fcn.0045dca0
mov ecx, dword [0x829478]
mov eax, dword [0x820dd0]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x69629e
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x6962b8
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 0x6962cc
sub eax, ecx
jmp 0x6962d4
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x6962f4
mov edx, ecx
or edx, eax
je 0x6962f4
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x6968ea
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x6968ea
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
push ebx
push ebp
push edi
test ecx, ecx
mov byte [0x81c6fc], 1
not eax
jle 0x696373
mov ebx, 0x820e44
mov dword [esp + 0x14], ecx
mov ecx, dword [ebx]
test ecx, ecx
je 0x696365
mov esi, dword [ecx + 4]
test esi, esi
jle 0x696365
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
test edx, edx
je 0x696365
test esi, esi
jle 0x696365
mov ebp, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x69635f
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x696357
mov edx, dword [edx + 4]
dec ebp
jne 0x69634a
mov ecx, dword [esp + 0x14]
add ebx, 4
dec ecx
mov dword [esp + 0x14], ecx
jne 0x69632b
cmp eax, dword [0x8294d8]
je 0x696386
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294e8]
xor edi, edi
cmp eax, edi
je 0x6968e0
mov eax, dword [0x829464]
cmp eax, edi
je 0x696624
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, edi
je 0x696619
push edi
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 esi, [eax*4 + 0x82948c]
inc eax
cmp eax, 8
mov dword [esp + 0x18], esi
mov dword [0x829488], eax
jl 0x6963f0
mov dword [0x829488], edi
push edi
call fcn.0045d120
mov eax, dword [0x81c700]
add esp, 4
inc eax
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb 0x69660b
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], edi
sub edx, ecx
cmp edx, eax
jne 0x69643e
inc dword [0x8294f0]
call fcn.0045dca0
mov ecx, dword [0x829478]
mov eax, dword [0x820dd0]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x696451
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x69646b
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 0x69647f
sub eax, ecx
jmp 0x696487
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x6964a7
mov edx, ecx
or edx, eax
je 0x6964a7
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x69660b
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x69660b
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
cmp ecx, edi
mov byte [0x81c6fc], 1
not eax
jle 0x696523
mov ebx, 0x820e44
mov dword [esp + 0x14], ecx
mov ecx, dword [ebx]
test ecx, ecx
je 0x696515
mov esi, dword [ecx + 4]
test esi, esi
jle 0x696515
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
test edx, edx
je 0x696515
test esi, esi
jle 0x696515
mov ebp, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x69650f
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x696507
mov edx, dword [edx + 4]
dec ebp
jne 0x6964fa
mov ecx, dword [esp + 0x14]
add ebx, 4
dec ecx
mov dword [esp + 0x14], ecx
jne 0x6964db
cmp eax, dword [0x8294d8]
je 0x696536
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294e8]
xor esi, esi
cmp eax, esi
je 0x696600
mov eax, dword [0x829464]
mov dword [esp + 0x14], esi
cmp eax, esi
je 0x6965c6
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, esi
je 0x6965bb
mov edx, dword [0x829488]
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 ecx, [eax*4 + 0x82948c]
inc eax
cmp eax, 8
mov dword [esp + 0x14], ecx
mov dword [0x829488], eax
jl 0x69659d
mov dword [0x829488], esi
push esi
call fcn.0045d120
add esp, 4
call fcn.004059e0
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x6965bb
cmp dword [eax], 0x29874362
je 0x6965c6
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
mov dword [esp + 0x14], esi
cmp eax, esi
je 0x696600
lea edx, [esp + 0x14]
push edx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x6965f5
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x6965f5
cmp dword [eax], 0xbad0bad
je 0x696600
inc dword [0x8294f0]
call fcn.0045dca0
mov esi, dword [esp + 0x18]
mov byte [0x81c6fc], 0
xor edi, edi
cmp esi, edi
je 0x696619
cmp dword [esi], 0x29874362
je 0x696624
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
cmp eax, edi
je 0x6968e0
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, edi
je 0x6968d5
push edi
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 esi, [eax*4 + 0x82948c]
inc eax
cmp eax, 8
mov dword [esp + 0x18], esi
mov dword [0x829488], eax
jl 0x69667f
mov dword [0x829488], edi
push edi
call fcn.0045d120
mov eax, dword [0x81c700]
add esp, 4
inc eax
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb 0x6968c9
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], edi
sub edx, ecx
cmp edx, eax
jne 0x6966cd
inc dword [0x8294f0]
call fcn.0045dca0
mov ecx, dword [0x829478]
mov eax, dword [0x820dd0]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x6966e0
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x6966fa
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 0x69670e
sub eax, ecx
jmp 0x696716
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x696736
mov edx, eax
or edx, ecx
je 0x696736
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x6968c9
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x6968c9
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
cmp ecx, edi
mov byte [0x81c6fc], 1
not eax
jle 0x6967b2
mov ebx, 0x820e44
mov dword [esp + 0x14], ecx
mov ecx, dword [ebx]
test ecx, ecx
je 0x6967a4
mov esi, dword [ecx + 4]
test esi, esi
jle 0x6967a4
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
test edx, edx
je 0x6967a4
test esi, esi
jle 0x6967a4
mov ebp, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x69679e
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x696796
mov edx, dword [edx + 4]
dec ebp
jne 0x696789
mov ecx, dword [esp + 0x14]
add ebx, 4
dec ecx
mov dword [esp + 0x14], ecx
jne 0x69676a
cmp eax, dword [0x8294d8]
je 0x6967c5
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294e8]
xor edi, edi
cmp eax, edi
je 0x6968be
mov eax, dword [0x829464]
cmp eax, edi
je 0x696849
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, edi
je 0x69683e
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 esi, [eax*4 + 0x82948c]
inc eax
cmp eax, 8
mov dword [0x829488], eax
jl 0x696824
mov dword [0x829488], edi
push edi
call fcn.0045d120
add esp, 4
call fcn.004059e0
cmp esi, edi
je 0x69683e
cmp dword [esi], 0x29874362
je 0x696849
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
cmp eax, edi
je 0x6968be
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, edi
je 0x6968b3
mov ecx, dword [0x829488]
push edi
add eax, 0x14
push 4
lea edx, [ecx*4 + 0x82948c]
push eax
push edx
call fcn.0045cba0
mov eax, dword [0x829488]
add esp, 0x10
lea esi, [eax*4 + 0x82948c]
inc eax
cmp eax, 8
mov dword [0x829488], eax
jl 0x696899
mov dword [0x829488], edi
push edi
call fcn.0045d120
add esp, 4
call fcn.004059e0
cmp esi, edi
je 0x6968b3
cmp dword [esi], 0xbad0bad
je 0x6968be
inc dword [0x8294f0]
call fcn.0045dca0
mov esi, dword [esp + 0x18]
mov byte [0x81c6fc], 0
test esi, esi
je 0x6968d5
cmp dword [esi], 0xbad0bad
je 0x6968e0
inc dword [0x8294f0]
call fcn.0045dca0
pop edi
pop ebp
mov byte [0x81c6fc], 0
pop ebx
mov al, 1
pop esi
ret