Function at 0x6d0980
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, ecx
push edi
mov dword [esp + 0x18], edi
mov dword [edi], fcn.006d2060
call fcn.006daa20
mov eax, dword [edi + 0x14]
lea esi, [edi + 0xc]
add esp, 4
test eax, eax
je 0x6d09c1
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x6d09c1
test eax, eax
je 0x6d09b6
mov eax, dword [eax + 4]
jmp 0x6d09b8
xor eax, eax
push 0
mov ecx, eax
call fcn.0069ed20
mov eax, dword [edi + 0x94]
mov ebp, 0x7e4098
test eax, eax
mov dword [edi + 0x90], ebp
je 0x6d09e9
push eax
call fcn.00672c80
add esp, 4
mov dword [edi + 0x94], 0
mov eax, dword [edi + 0x94]
mov ebx, 0x7df928
test eax, eax
mov dword [edi + 0x90], ebx
je 0x6d0a15
push eax
call fcn.00672c80
add esp, 4
xor eax, eax
mov dword [edi + 0x94], eax
mov dword [edi + 0x98], eax
mov eax, dword [edi + 0x84]
mov dword [edi + 0x80], ebp
test eax, eax
je 0x6d0a38
push eax
call fcn.00672c80
add esp, 4
mov dword [edi + 0x84], 0
mov eax, dword [edi + 0x84]
mov dword [edi + 0x80], ebx
test eax, eax
je 0x6d0a5f
push eax
call fcn.00672c80
add esp, 4
xor eax, eax
mov dword [edi + 0x84], eax
mov dword [edi + 0x88], eax
push 0
mov ecx, esi
mov dword [esi], 0x7d5810
call fcn.00708af0
mov dword [esi], 0x7d5808
mov eax, dword [edi + 8]
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
je 0x6d0cce
mov eax, dword [0x81c700]
inc eax
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb 0x6d0c4c
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], 0
sub edx, ecx
cmp edx, eax
jne 0x6d0acd
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x6d0ae0
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x6d0afa
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 0x6d0b0e
sub eax, ecx
jmp 0x6d0b16
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x6d0b36
mov edx, ecx
or edx, eax
je 0x6d0b36
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x6d0c4c
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x6d0c4c
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
mov byte [0x81c6fc], 1
test ecx, ecx
not eax
jle 0x6d0bb3
mov ebp, 0x820e44
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp]
test ecx, ecx
je 0x6d0ba5
mov esi, dword [ecx + 4]
test esi, esi
jle 0x6d0ba5
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
test edx, edx
je 0x6d0ba5
test esi, esi
jle 0x6d0ba5
mov ebx, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x6d0b9f
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x6d0b97
mov edx, dword [edx + 4]
dec ebx
jne 0x6d0b8a
mov ecx, dword [esp + 0x10]
add ebp, 4
dec ecx
mov dword [esp + 0x10], ecx
jne 0x6d0b6a
cmp eax, dword [0x8294d8]
je 0x6d0bc6
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294e8]
xor esi, esi
cmp eax, esi
je 0x6d0c45
mov eax, dword [0x829464]
mov dword [esp + 0x10], esi
cmp eax, esi
je 0x6d0c0b
lea ecx, [esp + 0x10]
push ecx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x6d0c00
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x6d0c00
cmp dword [eax], 0x29874362
je 0x6d0c0b
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
mov dword [esp + 0x10], esi
cmp eax, esi
je 0x6d0c45
lea edx, [esp + 0x10]
push edx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x6d0c3a
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x6d0c3a
cmp dword [eax], 0xbad0bad
je 0x6d0c45
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 0x6d0cca
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 edi, dword [esp + 0x14]
mov edi, dword [edi + 4]
cmp edi, 0xffffffff
mov dword [esp + 0x18], edi
je 0x6d0f26
mov eax, dword [0x81c700]
inc eax
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb 0x6d0ea6
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], 0
sub edx, ecx
cmp edx, eax
jne 0x6d0d27
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x6d0d3a
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x6d0d54
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 0x6d0d68
sub eax, ecx
jmp 0x6d0d70
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x6d0d90
mov edx, eax
or edx, ecx
je 0x6d0d90
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x6d0ea6
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x6d0ea6
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
mov byte [0x81c6fc], 1
test ecx, ecx
not eax
jle 0x6d0e0d
mov ebp, 0x820e44
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp]
test ecx, ecx
je 0x6d0dff
mov esi, dword [ecx + 4]
test esi, esi
jle 0x6d0dff
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
test edx, edx
je 0x6d0dff
test esi, esi
jle 0x6d0dff
mov ebx, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x6d0df9
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x6d0df1
mov edx, dword [edx + 4]
dec ebx
jne 0x6d0de4
mov ecx, dword [esp + 0x14]
add ebp, 4
dec ecx
mov dword [esp + 0x14], ecx
jne 0x6d0dc4
cmp eax, dword [0x8294d8]
je 0x6d0e20
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294e8]
xor esi, esi
cmp eax, esi
je 0x6d0e9f
mov eax, dword [0x829464]
mov dword [esp + 0x10], esi
cmp eax, esi
je 0x6d0e65
lea ecx, [esp + 0x10]
push ecx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x6d0e5a
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x6d0e5a
cmp dword [eax], 0x29874362
je 0x6d0e65
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
mov dword [esp + 0x10], esi
cmp eax, esi
je 0x6d0e9f
lea edx, [esp + 0x10]
push edx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x6d0e94
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x6d0e94
cmp dword [eax], 0xbad0bad
je 0x6d0e9f
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 0x6d0f26
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
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret