Function at 0x6fdd50
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
mov eax, dword [ecx + 0x1c]
push ebx
xor ebx, ebx
push ebp
push esi
cmp eax, ebx
push edi
mov dword [esp + 0x20], ebx
je 0x6fdd69
add eax, 0x2c
jmp 0x6fdd96
lea eax, [esp + 0x1c]
push ebx
lea ecx, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x28], 0
call fcn.0045e250
mov edx, dword [eax]
add esp, 0xc
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], 1
lea eax, [esp + 0x14]
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x6fe044
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, ebx
je 0x6fe044
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 + 0x10], edi
mov dword [0x8294dc], eax
jl 0x6fddef
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 0x6fe03c
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], ebx
sub edx, ecx
cmp edx, eax
jne 0x6fde3d
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x6fde50
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x6fde6a
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 0x6fde7e
sub eax, ecx
jmp 0x6fde86
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x6fdea6
mov edx, ecx
or edx, eax
je 0x6fdea6
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x6fe03c
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x6fe03c
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
cmp ecx, ebx
mov byte [0x81c6fc], 1
not eax
jle 0x6fdf2d
mov ebp, 0x820e44
mov dword [esp + 0x1c], ecx
jmp 0x6fdede
xor ebx, ebx
mov ecx, dword [ebp]
cmp ecx, ebx
je 0x6fdf19
mov esi, dword [ecx + 4]
test esi, esi
jle 0x6fdf19
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
test edx, edx
je 0x6fdf19
test esi, esi
jle 0x6fdf19
mov ebx, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x6fdf13
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x6fdf0b
mov edx, dword [edx + 4]
dec ebx
jne 0x6fdefe
mov ecx, dword [esp + 0x1c]
add ebp, 4
dec ecx
mov dword [esp + 0x1c], ecx
jne 0x6fdedc
mov edi, dword [esp + 0x10]
xor ebx, ebx
cmp eax, dword [0x8294d8]
je 0x6fdf40
inc dword [0x8294f0]
call fcn.0045dca0
cmp dword [0x8294e8], ebx
je 0x6fe035
mov eax, dword [0x829464]
cmp eax, ebx
je 0x6fdfc0
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, ebx
je 0x6fdfb5
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 esi, [eax*4 + 0x82948c]
inc eax
cmp eax, 8
mov dword [0x829488], eax
jl 0x6fdf9b
mov dword [0x829488], ebx
push ebx
call fcn.0045d120
add esp, 4
call fcn.004059e0
cmp esi, ebx
je 0x6fdfb5
cmp dword [esi], 0x29874362
je 0x6fdfc0
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
cmp eax, ebx
je 0x6fe035
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, ebx
je 0x6fe02a
mov edx, dword [0x829488]
push ebx
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 0x6fe010
mov dword [0x829488], ebx
push ebx
call fcn.0045d120
add esp, 4
call fcn.004059e0
cmp esi, ebx
je 0x6fe02a
cmp dword [esi], 0xbad0bad
je 0x6fe035
inc dword [0x8294f0]
call fcn.0045dca0
mov byte [0x81c6fc], 0
cmp edi, ebx
je 0x6fe044
fld dword [edi]
jmp 0x6fe04a
fld dword [0x89fe2c]
mov al, byte [esp + 0x20]
fst dword [esp + 0x1c]
test al, 1
je 0x6fe2ad
cmp dword [esp + 0x14], 0xffffffff
je 0x6fe2ad
mov eax, dword [0x81c700]
inc eax
cmp eax, 0x186a0
mov dword [0x81c700], eax
fstp st(0)
jb 0x6fe22b
mov eax, dword [0x820dd0]
mov esi, dword [0x829478]
mov ecx, eax
mov dword [0x81c700], ebx
sub ecx, esi
cmp ecx, eax
jne 0x6fe0a6
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x6fe0bf
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x6fe0d9
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 0x6fe0ed
sub eax, ecx
jmp 0x6fe0f5
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x6fe115
mov edx, eax
or edx, ecx
je 0x6fe115
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x6fe22b
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x6fe22b
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
cmp ecx, ebx
mov byte [0x81c6fc], 1
not eax
jle 0x6fe192
mov ebp, 0x820e44
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp]
test ecx, ecx
je 0x6fe184
mov esi, dword [ecx + 4]
test esi, esi
jle 0x6fe184
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
test edx, edx
je 0x6fe184
test esi, esi
jle 0x6fe184
mov ebx, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x6fe17e
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x6fe176
mov edx, dword [edx + 4]
dec ebx
jne 0x6fe169
mov ecx, dword [esp + 0x10]
add ebp, 4
dec ecx
mov dword [esp + 0x10], ecx
jne 0x6fe149
cmp eax, dword [0x8294d8]
je 0x6fe1a5
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294e8]
xor esi, esi
cmp eax, esi
je 0x6fe224
mov eax, dword [0x829464]
mov dword [esp + 0x10], esi
cmp eax, esi
je 0x6fe1ea
lea edx, [esp + 0x10]
push edx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x6fe1df
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x6fe1df
cmp dword [eax], 0x29874362
je 0x6fe1ea
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
mov dword [esp + 0x10], esi
cmp eax, esi
je 0x6fe224
lea ecx, [esp + 0x10]
push ecx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x6fe219
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x6fe219
cmp dword [eax], 0xbad0bad
je 0x6fe224
inc dword [0x8294f0]
call fcn.0045dca0
mov byte [0x81c6fc], 0
mov ebp, dword [0x820dd0]
mov eax, dword [esp + 0x14]
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 0x6fe2a9
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
fld dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret