Function at 0x68c2b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x18]
push ebx
push ebp
xor ebx, ebx
fld dword [eax + 4]
mov eax, dword [eax + 8]
push esi
fmul dword [esp + 0x28]
mov dword [esp + 0xc], eax
mov eax, dword [ecx + 0xc]
cmp eax, 0xffffffff
push edi
mov dword [esp + 0x20], ecx
fstp dword [esp + 0x18]
je 0x68c50a
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, ebx
je 0x68c50a
mov ecx, dword [0x829474]
push ebx
add eax, 0x14
push 4
lea edx, [ecx*4 + 0x820de0]
push eax
push edx
call fcn.0045cba0
mov eax, dword [0x829474]
add esp, 0x10
lea esi, [eax*4 + 0x820de0]
inc eax
cmp eax, 8
mov dword [esp + 0x14], esi
mov dword [0x829474], eax
jl 0x68c32e
mov dword [0x829474], ebx
push ebx
call fcn.0045d120
mov eax, dword [0x81c700]
add esp, 4
inc eax
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb 0x68c502
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], ebx
sub edx, ecx
cmp edx, eax
jne 0x68c37c
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x68c38f
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x68c3a9
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 0x68c3bd
sub eax, ecx
jmp 0x68c3c5
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x68c3e5
mov edx, ecx
or edx, eax
je 0x68c3e5
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x68c502
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x68c502
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
cmp ecx, ebx
mov byte [0x81c6fc], 1
not eax
jle 0x68c46c
mov ebp, 0x820e44
mov dword [esp + 0x2c], ecx
jmp 0x68c41d
xor ebx, ebx
mov ecx, dword [ebp]
cmp ecx, ebx
je 0x68c458
mov esi, dword [ecx + 4]
cmp esi, ebx
jle 0x68c458
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
cmp edx, ebx
je 0x68c458
cmp esi, ebx
jle 0x68c458
mov ebx, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x68c452
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x68c44a
mov edx, dword [edx + 4]
dec ebx
jne 0x68c43d
mov ecx, dword [esp + 0x2c]
add ebp, 4
dec ecx
mov dword [esp + 0x2c], ecx
jne 0x68c41b
mov esi, dword [esp + 0x14]
xor ebx, ebx
cmp eax, dword [0x8294d8]
je 0x68c47f
inc dword [0x8294f0]
call fcn.0045dca0
cmp dword [0x8294e8], ebx
je 0x68c4fb
mov eax, dword [0x829464]
mov dword [esp + 0x2c], ebx
cmp eax, ebx
je 0x68c4c1
lea ecx, [esp + 0x2c]
push ecx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x68c4b6
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x68c4b6
cmp dword [eax], 0x29874362
je 0x68c4c1
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
mov dword [esp + 0x2c], ebx
cmp eax, ebx
je 0x68c4fb
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x68c4f0
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x68c4f0
cmp dword [eax], 0xbad0bad
je 0x68c4fb
inc dword [0x8294f0]
call fcn.0045dca0
mov byte [0x81c6fc], 0
cmp esi, ebx
je 0x68c50a
mov eax, dword [esi]
jmp 0x68c50f
mov eax, dword [0x89fe8c]
mov ecx, dword [0x857148]
mov edx, dword [esp + 0x10]
imul ecx, eax
add ecx, edx
mov edx, dword [0x857210]
lea eax, [edx + ecx*4]
mov eax, dword [edx + ecx*4]
cmp eax, 0xffffffff
je 0x68c751
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, ebx
je 0x68c751
push ebx
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 edi, [eax*4 + 0x8294b4]
inc eax
cmp eax, 8
mov dword [esp + 0x1c], edi
mov dword [0x8294dc], eax
jl 0x68c581
mov dword [0x8294dc], ebx
push ebx
call fcn.0045d120
mov eax, dword [0x81c700]
add esp, 4
inc eax
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb 0x68c745
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], ebx
sub edx, ecx
cmp edx, eax
jne 0x68c5c9
call fcn.00406630
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x68c5d6
call fcn.00406630
mov ecx, 0x83f450
call fcn.004065e0
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x68c600
mov edx, eax
or edx, ecx
je 0x68c600
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x68c745
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x68c745
mov esi, dword [0x829478]
mov dword [0x829468], eax
mov eax, dword [0x8294e8]
mov byte [0x81c6fc], 1
cmp eax, ebx
mov dword [esp + 0x14], ebx
not esi
jle 0x68c6a7
mov dword [esp + 0x10], 0x820e44
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x68c685
mov ecx, dword [eax + 4]
test ecx, ecx
jle 0x68c685
mov edi, dword [eax]
mov ebp, dword [edi + 0xc]
sar ebp, 2
test edi, edi
je 0x68c685
xor ebx, ebx
test ecx, ecx
jle 0x68c685
mov ecx, edi
call fcn.00406620
xor esi, eax
lea eax, [edi + 0x14]
test ebp, ebp
jle 0x68c676
mov ecx, ebp
mov edx, dword [eax]
add eax, 4
xor esi, edx
dec ecx
jne 0x68c66c
mov ecx, dword [esp + 0x10]
mov edi, dword [edi + 4]
inc ebx
mov edx, dword [ecx]
cmp ebx, dword [edx + 4]
jl 0x68c65a
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 0x68c637
mov edi, dword [esp + 0x1c]
cmp esi, dword [0x8294d8]
je 0x68c6b4
call fcn.00406630
mov eax, dword [0x8294e8]
xor esi, esi
cmp eax, esi
je 0x68c73c
mov ecx, 0x829464
mov dword [esp + 0x10], esi
call fcn.00406620
test eax, eax
je 0x68c6fe
mov ecx, dword [0x829464]
lea eax, [esp + 0x10]
push eax
push ecx
call fcn.00407b70
add esp, 8
test al, al
je 0x68c6f9
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x68c6f9
cmp dword [eax], 0x29874362
je 0x68c6fe
call fcn.00406630
mov ecx, 0x8294b0
mov dword [esp + 0x10], esi
call fcn.00406620
test eax, eax
je 0x68c73c
mov eax, dword [0x8294b0]
lea edx, [esp + 0x10]
push edx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x68c737
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x68c737
cmp dword [eax], 0xbad0bad
je 0x68c73c
call fcn.00406630
mov byte [0x81c6fc], 0
xor ebx, ebx
cmp edi, ebx
je 0x68c751
mov ecx, dword [edi]
mov dword [esp + 0x10], ecx
jmp 0x68c75b
mov edx, dword [0x89fe2c]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov ecx, dword [eax + 8]
mov eax, dword [edx + 0x18]
cmp eax, 0xffffffff
mov dword [esp + 0x1c], ecx
je 0x68c9ea
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, ebx
je 0x68c9ea
push ebx
add eax, 0x14
push 4
push eax
mov eax, dword [0x829474]
lea ecx, [eax*4 + 0x820de0]
push ecx
call fcn.0045cba0
mov eax, dword [0x829474]
add esp, 0x10
lea esi, [eax*4 + 0x820de0]
inc eax
cmp eax, 8
mov dword [esp + 0x2c], esi
mov dword [0x829474], eax
jl 0x68c7c4
mov dword [0x829474], ebx
push ebx
call fcn.0045d120
mov eax, dword [0x81c700]
add esp, 4
inc eax
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb 0x68c9e2
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], ebx
sub edx, ecx
cmp edx, eax
jne 0x68c812
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x68c825
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x68c83f
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 0x68c853
sub eax, ecx
jmp 0x68c85b
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x68c87b
mov edx, eax
or edx, ecx
je 0x68c87b
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x68c9e2
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x68c9e2
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
cmp ecx, ebx
mov byte [0x81c6fc], 1
not eax
jle 0x68c8f8
mov ebp, 0x820e44
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp]
test ecx, ecx
je 0x68c8ea
mov esi, dword [ecx + 4]
test esi, esi
jle 0x68c8ea
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
test edx, edx
je 0x68c8ea
test esi, esi
jle 0x68c8ea
mov ebx, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x68c8e4
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x68c8dc
mov edx, dword [edx + 4]
dec ebx
jne 0x68c8cf
mov ecx, dword [esp + 0x28]
add ebp, 4
dec ecx
mov dword [esp + 0x28], ecx
jne 0x68c8af
cmp eax, dword [0x8294d8]
je 0x68c90b
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294e8]
xor esi, esi
cmp eax, esi
je 0x68c9d5
mov eax, dword [0x829464]
mov dword [esp + 0x28], esi
cmp eax, esi
je 0x68c99b
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, esi
je 0x68c990
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 + 0x28], ecx
mov dword [0x829488], eax
jl 0x68c972
mov dword [0x829488], esi
push esi
call fcn.0045d120
add esp, 4
call fcn.004059e0
mov eax, dword [esp + 0x28]
cmp eax, esi
je 0x68c990
cmp dword [eax], 0x29874362
je 0x68c99b
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
mov dword [esp + 0x28], esi
cmp eax, esi
je 0x68c9d5
lea edx, [esp + 0x28]
push edx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x68c9ca
mov eax, dword [esp + 0x28]
cmp eax, esi
je 0x68c9ca
cmp dword [eax], 0xbad0bad
je 0x68c9d5
inc dword [0x8294f0]
call fcn.0045dca0
mov esi, dword [esp + 0x2c]
mov byte [0x81c6fc], 0
xor ebx, ebx
cmp esi, ebx
je 0x68c9ea
mov eax, dword [esi]
jmp 0x68c9ef
mov eax, dword [0x89fe8c]
imul eax, dword [0x857148]
mov edx, dword [esp + 0x1c]
mov ecx, dword [0x857210]
add eax, edx
lea eax, [ecx + eax*4]
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x68cc2b
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, ebx
je 0x68cc2b
mov edx, dword [0x8294dc]
push ebx
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 edi, [eax*4 + 0x8294b4]
inc eax
cmp eax, 8
mov dword [esp + 0x20], edi
mov dword [0x8294dc], eax
jl 0x68ca5f
mov dword [0x8294dc], ebx
push ebx
call fcn.0045d120
mov eax, dword [0x81c700]
add esp, 4
inc eax
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb 0x68cc23
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], ebx
sub edx, ecx
cmp edx, eax
jne 0x68caa7
call fcn.00406630
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x68cab4
call fcn.00406630
mov ecx, 0x83f450
call fcn.004065e0
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x68cade
mov edx, eax
or edx, ecx
je 0x68cade
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x68cc23
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x68cc23
mov esi, dword [0x829478]
mov dword [0x829468], eax
mov eax, dword [0x8294e8]
mov byte [0x81c6fc], 1
cmp eax, ebx
mov dword [esp + 0x14], ebx
not esi
jle 0x68cb85
mov dword [esp + 0x2c], 0x820e44
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
test eax, eax
je 0x68cb63
mov ecx, dword [eax + 4]
test ecx, ecx
jle 0x68cb63
mov edi, dword [eax]
mov ebp, dword [edi + 0xc]
sar ebp, 2
test edi, edi
je 0x68cb63
xor ebx, ebx
test ecx, ecx
jle 0x68cb63
mov ecx, edi
call fcn.00406620
xor esi, eax
lea eax, [edi + 0x14]
test ebp, ebp
jle 0x68cb54
mov ecx, ebp
mov edx, dword [eax]
add eax, 4
xor esi, edx
dec ecx
jne 0x68cb4a
mov ecx, dword [esp + 0x2c]
mov edi, dword [edi + 4]
inc ebx
mov edx, dword [ecx]
cmp ebx, dword [edx + 4]
jl 0x68cb38
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
mov ecx, dword [0x8294e8]
inc eax
add edx, 4
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], edx
jl 0x68cb15
mov edi, dword [esp + 0x20]
cmp esi, dword [0x8294d8]
je 0x68cb92
call fcn.00406630
mov eax, dword [0x8294e8]
xor esi, esi
cmp eax, esi
je 0x68cc1a
mov ecx, 0x829464
mov dword [esp + 0x2c], esi
call fcn.00406620
test eax, eax
je 0x68cbdc
mov ecx, dword [0x829464]
lea eax, [esp + 0x2c]
push eax
push ecx
call fcn.00407b70
add esp, 8
test al, al
je 0x68cbd7
mov eax, dword [esp + 0x2c]
cmp eax, esi
je 0x68cbd7
cmp dword [eax], 0x29874362
je 0x68cbdc
call fcn.00406630
mov ecx, 0x8294b0
mov dword [esp + 0x2c], esi
call fcn.00406620
test eax, eax
je 0x68cc1a
mov eax, dword [0x8294b0]
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x68cc15
mov eax, dword [esp + 0x2c]
cmp eax, esi
je 0x68cc15
cmp dword [eax], 0xbad0bad
je 0x68cc1a
call fcn.00406630
mov byte [0x81c6fc], 0
xor ebx, ebx
cmp edi, ebx
je 0x68cc2b
fld dword [edi]
jmp 0x68cc31
fld dword [0x89fe2c]
fld dword [esp + 0x10]
fmul dword [esp + 0x18]
fcomp dword [0x7cd7b4]
fnstsw ax
test ah, 1
jne 0x68cc63
fmul dword [esp + 0x18]
fcomp dword [0x7cd7b4]
fnstsw ax
test ah, 1
jne 0x68cc65
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret 8
fstp st(0)
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x14
ret 8