Function at 0x691e20
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebp, ebp
mov dword [esp + 0x14], edi
mov eax, dword [edi + 0x10]
cmp eax, 0xffffffff
je 0x69206c
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, ebp
je 0x69206c
push ebp
add eax, 0x14
push 4
push eax
mov eax, dword [0x8294dc]
lea ecx, [eax*4 + 0x8294b4]
push ecx
call fcn.0045cba0
mov eax, dword [0x8294dc]
add esp, 0x10
lea esi, [eax*4 + 0x8294b4]
inc eax
cmp eax, 8
mov dword [esp + 0x1c], esi
mov dword [0x8294dc], eax
jl 0x691e89
mov dword [0x8294dc], ebp
push ebp
call fcn.0045d120
mov eax, dword [0x81c700]
add esp, 4
inc eax
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb 0x692060
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], ebp
sub edx, ecx
cmp edx, eax
jne 0x691ed7
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x691eea
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x691f04
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 0x691f18
sub eax, ecx
jmp 0x691f20
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x691f40
mov edx, ecx
or edx, eax
je 0x691f40
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x692060
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x692060
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
cmp ecx, ebp
mov byte [0x81c6fc], 1
not eax
jle 0x691fca
mov ebx, 0x820e44
mov dword [esp + 0x18], ecx
jmp 0x691f78
xor ebp, ebp
mov ecx, dword [ebx]
cmp ecx, ebp
je 0x691fb2
mov esi, dword [ecx + 4]
cmp esi, ebp
jle 0x691fb2
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
cmp edx, ebp
je 0x691fb2
cmp esi, ebp
jle 0x691fb2
mov ebp, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x691fac
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x691fa4
mov edx, dword [edx + 4]
dec ebp
jne 0x691f97
mov ecx, dword [esp + 0x18]
add ebx, 4
dec ecx
mov dword [esp + 0x18], ecx
jne 0x691f76
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
xor ebp, ebp
cmp eax, dword [0x8294d8]
je 0x691fdd
inc dword [0x8294f0]
call fcn.0045dca0
cmp dword [0x8294e8], ebp
je 0x692059
mov eax, dword [0x829464]
mov dword [esp + 0x10], ebp
cmp eax, ebp
je 0x69201f
lea ecx, [esp + 0x10]
push ecx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x692014
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x692014
cmp dword [eax], 0x29874362
je 0x69201f
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
mov dword [esp + 0x10], ebp
cmp eax, ebp
je 0x692059
lea edx, [esp + 0x10]
push edx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x69204e
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x69204e
cmp dword [eax], 0xbad0bad
je 0x692059
inc dword [0x8294f0]
call fcn.0045dca0
mov byte [0x81c6fc], 0
cmp esi, ebp
je 0x69206c
mov eax, dword [esi]
mov dword [esp + 0x1c], eax
jmp 0x692076
mov ecx, dword [0x89fe2c]
mov dword [esp + 0x1c], ecx
mov eax, dword [edi + 0x14]
cmp eax, 0xffffffff
je 0x6922af
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, ebp
je 0x6922af
mov edx, dword [0x8294dc]
push ebp
add eax, 0x14
push 4
push eax
lea eax, [edx*4 + 0x8294b4]
push eax
call fcn.0045cba0
mov eax, dword [0x8294dc]
add esp, 0x10
lea esi, [eax*4 + 0x8294b4]
inc eax
cmp eax, 8
mov dword [esp + 0x20], esi
mov dword [0x8294dc], eax
jl 0x6920d1
mov dword [0x8294dc], ebp
push ebp
call fcn.0045d120
mov eax, dword [0x81c700]
add esp, 4
inc eax
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb 0x6922a7
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], ebp
sub edx, ecx
cmp edx, eax
jne 0x69211f
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x692132
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x69214c
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 0x692160
sub eax, ecx
jmp 0x692168
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x692188
mov edx, ecx
or edx, eax
je 0x692188
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x6922a7
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x6922a7
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
cmp ecx, ebp
mov byte [0x81c6fc], 1
not eax
jle 0x692204
mov ebx, 0x820e44
mov dword [esp + 0x10], ecx
mov ecx, dword [ebx]
test ecx, ecx
je 0x6921f6
mov esi, dword [ecx + 4]
test esi, esi
jle 0x6921f6
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
test edx, edx
je 0x6921f6
test esi, esi
jle 0x6921f6
mov ebp, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x6921f0
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x6921e8
mov edx, dword [edx + 4]
dec ebp
jne 0x6921db
mov ecx, dword [esp + 0x10]
add ebx, 4
dec ecx
mov dword [esp + 0x10], ecx
jne 0x6921bc
cmp eax, dword [0x8294d8]
je 0x692217
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294e8]
xor esi, esi
cmp eax, esi
je 0x692296
mov eax, dword [0x829464]
mov dword [esp + 0x10], esi
cmp eax, esi
je 0x69225c
lea edx, [esp + 0x10]
push edx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x692251
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x692251
cmp dword [eax], 0x29874362
je 0x69225c
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
mov dword [esp + 0x10], esi
cmp eax, esi
je 0x692296
lea ecx, [esp + 0x10]
push ecx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x69228b
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x69228b
cmp dword [eax], 0xbad0bad
je 0x692296
inc dword [0x8294f0]
call fcn.0045dca0
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
mov byte [0x81c6fc], 0
xor ebp, ebp
cmp esi, ebp
je 0x6922af
fld dword [esi]
jmp 0x6922b5
fld dword [0x89fe2c]
fld dword [esp + 0x28]
fcomp dword [0x7cd7b4]
fnstsw ax
test ah, 1
je 0x6922d2
fstp st(0)
mov dword [esp + 0x18], 0
jmp 0x6922ef
fld dword [esp + 0x28]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x6922e5
fstp dword [esp + 0x18]
jmp 0x6922ef
mov edx, dword [esp + 0x28]
fstp st(0)
mov dword [esp + 0x18], edx
mov eax, dword [edi + 0x10]
cmp eax, 0xffffffff
je 0x692500
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, ebp
je 0x692500
lea esi, [eax + 0x14]
mov eax, dword [0x829478]
push 1
push eax
push 4
push esi
call fcn.0045cc80
push 1
lea ecx, [esp + 0x2c]
push 4
push ecx
push esi
call fcn.0045cb20
push ebp
call fcn.0045d120
mov eax, dword [0x81c700]
add esp, 0x24
inc eax
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb 0x692500
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], ebp
sub edx, ecx
cmp edx, eax
jne 0x69237c
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x69238f
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x6923a9
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 0x6923bd
sub eax, ecx
jmp 0x6923c5
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x6923e5
mov edx, eax
or edx, ecx
je 0x6923e5
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x692500
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x692500
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
cmp ecx, ebp
mov byte [0x81c6fc], 1
not eax
jle 0x692461
mov ebx, 0x820e44
mov dword [esp + 0x28], ecx
mov ecx, dword [ebx]
test ecx, ecx
je 0x692453
mov esi, dword [ecx + 4]
test esi, esi
jle 0x692453
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
test edx, edx
je 0x692453
test esi, esi
jle 0x692453
mov ebp, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x69244d
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x692445
mov edx, dword [edx + 4]
dec ebp
jne 0x692438
mov ecx, dword [esp + 0x28]
add ebx, 4
dec ecx
mov dword [esp + 0x28], ecx
jne 0x692419
cmp eax, dword [0x8294d8]
je 0x692474
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294e8]
xor esi, esi
cmp eax, esi
je 0x6924f3
mov eax, dword [0x829464]
mov dword [esp + 0x28], esi
cmp eax, esi
je 0x6924b9
lea edx, [esp + 0x28]
push edx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x6924ae
mov eax, dword [esp + 0x28]
cmp eax, esi
je 0x6924ae
cmp dword [eax], 0x29874362
je 0x6924b9
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
mov dword [esp + 0x28], esi
cmp eax, esi
je 0x6924f3
lea ecx, [esp + 0x28]
push ecx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x6924e8
mov eax, dword [esp + 0x28]
cmp eax, esi
je 0x6924e8
cmp dword [eax], 0xbad0bad
je 0x6924f3
inc dword [0x8294f0]
call fcn.0045dca0
mov edi, dword [esp + 0x14]
mov byte [0x81c6fc], 0
xor ebp, ebp
mov eax, dword [edi + 0x10]
cmp eax, 0xffffffff
je 0x692739
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, ebp
je 0x692739
mov edx, dword [0x8294dc]
push ebp
add eax, 0x14
push 4
push eax
lea eax, [edx*4 + 0x8294b4]
push eax
call fcn.0045cba0
mov eax, dword [0x8294dc]
add esp, 0x10
lea esi, [eax*4 + 0x8294b4]
inc eax
cmp eax, 8
mov dword [esp + 0x20], esi
mov dword [0x8294dc], eax
jl 0x69255b
mov dword [0x8294dc], ebp
push ebp
call fcn.0045d120
mov eax, dword [0x81c700]
add esp, 4
inc eax
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb 0x692731
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], ebp
sub edx, ecx
cmp edx, eax
jne 0x6925a9
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x6925bc
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x6925d6
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 0x6925ea
sub eax, ecx
jmp 0x6925f2
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x692612
mov edx, eax
or edx, ecx
je 0x692612
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x692731
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x692731
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
cmp ecx, ebp
mov byte [0x81c6fc], 1
not eax
jle 0x69268e
mov ebx, 0x820e44
mov dword [esp + 0x28], ecx
mov ecx, dword [ebx]
test ecx, ecx
je 0x692680
mov esi, dword [ecx + 4]
test esi, esi
jle 0x692680
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
test edx, edx
je 0x692680
test esi, esi
jle 0x692680
mov ebp, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x69267a
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x692672
mov edx, dword [edx + 4]
dec ebp
jne 0x692665
mov ecx, dword [esp + 0x28]
add ebx, 4
dec ecx
mov dword [esp + 0x28], ecx
jne 0x692646
cmp eax, dword [0x8294d8]
je 0x6926a1
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294e8]
xor esi, esi
cmp eax, esi
je 0x692720
mov eax, dword [0x829464]
mov dword [esp + 0x28], esi
cmp eax, esi
je 0x6926e6
lea edx, [esp + 0x28]
push edx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x6926db
mov eax, dword [esp + 0x28]
cmp eax, esi
je 0x6926db
cmp dword [eax], 0x29874362
je 0x6926e6
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
mov dword [esp + 0x28], esi
cmp eax, esi
je 0x692720
lea ecx, [esp + 0x28]
push ecx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x692715
mov eax, dword [esp + 0x28]
cmp eax, esi
je 0x692715
cmp dword [eax], 0xbad0bad
je 0x692720
inc dword [0x8294f0]
call fcn.0045dca0
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
mov byte [0x81c6fc], 0
xor ebp, ebp
cmp esi, ebp
je 0x692739
fld dword [esi]
jmp 0x69273f
fld dword [0x89fe2c]
fld dword [esp + 0x1c]
fcomp st(1)
fnstsw ax
test ah, 0x40
fstp st(0)
jne 0x692772
mov eax, dword [edi + 0x30]
cmp eax, ebp
je 0x692772
cmp dword [eax + 4], ebp
je 0x692772
cmp eax, ebp
je 0x692763
mov eax, dword [eax + 4]
jmp 0x692765
xor eax, eax
mov edx, dword [eax + 8]
lea ecx, [eax + 8]
push 1
push 3
call dword [edx + 0x38]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4