Function at 0x6f85e0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov ecx, dword [esi + 0x90]
mov dword [esp + 0x14], esi
cmp ecx, ebx
je 0x6f8604
mov eax, dword [ecx]
call dword [eax + 0x70]
mov dword [esi + 0x94], ebx
mov ecx, dword [esi + 0x14]
cmp ecx, ebx
je 0x6f8618
mov eax, dword [ecx + 4]
dec eax
mov dword [ecx + 4], eax
jne 0x6f8618
mov edx, dword [ecx]
call dword [edx]
mov eax, dword [esi + 0x90]
mov dword [esi + 0x14], ebx
cmp eax, ebx
je 0x6f8635
lea ecx, [eax + 0x10]
mov eax, dword [eax + 0x14]
dec eax
mov dword [ecx + 4], eax
jne 0x6f8635
mov eax, dword [ecx]
call dword [eax]
push ebx
mov ecx, esi
mov dword [esi + 0x90], ebx
call fcn.00700670
mov ecx, dword [esi + 0xa4]
cmp ecx, ebx
je 0x6f865a
mov eax, dword [ecx + 4]
dec eax
mov dword [ecx + 4], eax
jne 0x6f865a
mov edx, dword [ecx]
call dword [edx]
mov dword [esi + 0xa4], ebx
mov eax, dword [esi + 0x84]
cmp eax, ebx
mov dword [esi + 0x80], 0x7e5470
je 0x6f8689
push eax
call fcn.00672c80
add esp, 4
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
lea edi, [esi + 0x70]
push ebx
mov ecx, edi
mov dword [edi], 0x7d5810
call fcn.00708af0
mov dword [edi], 0x7d5808
mov eax, dword [esi + 0x30]
or edi, 0xffffffff
cmp eax, edi
je 0x6f86b3
push eax
call fcn.004150b0
add esp, 4
mov eax, dword [esi + 0x2c]
cmp eax, edi
je 0x6f86c5
mov ecx, eax
push ecx
call fcn.00695680
add esp, 4
mov eax, dword [esi + 0x28]
cmp eax, edi
mov dword [esp + 0x18], eax
je 0x6f891d
mov eax, dword [0x81c700]
inc eax
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb 0x6f889b
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], ebx
sub edx, ecx
cmp edx, eax
jne 0x6f8719
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x6f872c
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x6f8746
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 0x6f875a
sub eax, ecx
jmp 0x6f8762
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x6f8782
mov edx, ecx
or edx, eax
je 0x6f8782
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x6f889b
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x6f889b
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
cmp ecx, ebx
mov byte [0x81c6fc], 1
not eax
jle 0x6f8805
mov ebp, 0x820e44
mov dword [esp + 0x10], ecx
jmp 0x6f87ba
xor ebx, ebx
mov ecx, dword [ebp]
cmp ecx, ebx
je 0x6f87f5
mov esi, dword [ecx + 4]
cmp esi, ebx
jle 0x6f87f5
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
cmp edx, ebx
je 0x6f87f5
cmp esi, ebx
jle 0x6f87f5
mov ebx, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x6f87ef
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x6f87e7
mov edx, dword [edx + 4]
dec ebx
jne 0x6f87da
mov ecx, dword [esp + 0x10]
add ebp, 4
dec ecx
mov dword [esp + 0x10], ecx
jne 0x6f87b8
xor ebx, ebx
cmp eax, dword [0x8294d8]
je 0x6f8818
inc dword [0x8294f0]
call fcn.0045dca0
cmp dword [0x8294e8], ebx
je 0x6f8894
mov eax, dword [0x829464]
mov dword [esp + 0x10], ebx
cmp eax, ebx
je 0x6f885a
lea ecx, [esp + 0x10]
push ecx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x6f884f
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x6f884f
cmp dword [eax], 0x29874362
je 0x6f885a
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
mov dword [esp + 0x10], ebx
cmp eax, ebx
je 0x6f8894
lea edx, [esp + 0x10]
push edx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x6f8889
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x6f8889
cmp dword [eax], 0xbad0bad
je 0x6f8894
inc dword [0x8294f0]
call fcn.0045dca0
mov byte [0x81c6fc], 0
mov edi, dword [0x820dd0]
mov eax, dword [esp + 0x18]
xor edi, eax
push eax
mov dword [esp + 0x1c], edi
mov ebx, edi
mov esi, dword [esp + 0x1e]
and ebx, 0xff
and esi, 0xffff
call fcn.0045c0b0
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x6f8919
mov ecx, dword [0x8294d8]
mov eax, dword [0x829478]
mov edx, dword [esi*4 + 0x820e44]
xor ecx, eax
xor ecx, edi
push 1
mov dword [0x8294d8], ecx
push eax
mov eax, dword [edx + 8]
lea edx, [ebp + 0x14]
lea eax, [eax + eax*2]
mov ecx, dword [eax*4 + 0x828e68]
push ecx
push edx
call fcn.0045cc80
push ebp
push esi
call fcn.0045d050
push ebx
push esi
call fcn.0045dc80
push ebp
call fcn.00672c80
add esp, 0x24
mov esi, dword [esp + 0x14]
mov esi, dword [esi + 0x24]
cmp esi, 0xffffffff
mov dword [esp + 0x18], esi
je 0x6f8b75
mov eax, dword [0x81c700]
inc eax
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb 0x6f8af5
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], 0
sub edx, ecx
cmp edx, eax
jne 0x6f8976
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x6f8989
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x6f89a3
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 0x6f89b7
sub eax, ecx
jmp 0x6f89bf
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x6f89df
mov edx, eax
or edx, ecx
je 0x6f89df
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x6f8af5
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x6f8af5
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
mov byte [0x81c6fc], 1
test ecx, ecx
not eax
jle 0x6f8a5c
mov ebp, 0x820e44
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp]
test ecx, ecx
je 0x6f8a4e
mov esi, dword [ecx + 4]
test esi, esi
jle 0x6f8a4e
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
test edx, edx
je 0x6f8a4e
test esi, esi
jle 0x6f8a4e
mov ebx, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x6f8a48
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x6f8a40
mov edx, dword [edx + 4]
dec ebx
jne 0x6f8a33
mov ecx, dword [esp + 0x10]
add ebp, 4
dec ecx
mov dword [esp + 0x10], ecx
jne 0x6f8a13
cmp eax, dword [0x8294d8]
je 0x6f8a6f
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294e8]
xor esi, esi
cmp eax, esi
je 0x6f8aee
mov eax, dword [0x829464]
mov dword [esp + 0x10], esi
cmp eax, esi
je 0x6f8ab4
lea ecx, [esp + 0x10]
push ecx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x6f8aa9
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x6f8aa9
cmp dword [eax], 0x29874362
je 0x6f8ab4
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
mov dword [esp + 0x10], esi
cmp eax, esi
je 0x6f8aee
lea edx, [esp + 0x10]
push edx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x6f8ae3
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x6f8ae3
cmp dword [eax], 0xbad0bad
je 0x6f8aee
inc dword [0x8294f0]
call fcn.0045dca0
mov byte [0x81c6fc], 0
mov eax, dword [esp + 0x18]
mov edx, dword [0x820dd0]
mov esi, eax
push eax
xor esi, edx
mov dword [esp + 0x1c], esi
mov ebx, esi
mov edi, dword [esp + 0x1e]
and ebx, 0xff
and edi, 0xffff
call fcn.0045c0b0
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x6f8b75
mov edx, dword [0x8294d8]
mov eax, dword [0x829478]
xor esi, edx
push 1
xor esi, eax
push eax
mov eax, dword [edi*4 + 0x820e44]
mov dword [0x8294d8], esi
mov eax, dword [eax + 8]
lea ecx, [eax + eax*2]
lea eax, [ebp + 0x14]
mov edx, dword [ecx*4 + 0x828e68]
push edx
push eax
call fcn.0045cc80
push ebp
push edi
call fcn.0045d050
push ebx
push edi
call fcn.0045dc80
push ebp
call fcn.00672c80
add esp, 0x24
mov ecx, dword [esp + 0x14]
push 0
lea esi, [ecx + 4]
mov ecx, esi
mov dword [esi], 0x7d5810
call fcn.00708af0
mov dword [esi], 0x7d5808
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret