Function at 0x693ab0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
push esi
push edi
xor edi, edi
mov eax, 4
mov dword [ebp - 0x20], ecx
mov dword [ecx], edi
call fcn.0078c8d0
mov eax, dword [0x81c700]
mov dword [ebp - 0x1c], esp
inc eax
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb 0x693c95
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], edi
sub edx, ecx
cmp edx, eax
jne 0x693b12
inc dword [0x8294f0]
call fcn.0045dca0
mov ecx, dword [0x829478]
mov eax, dword [0x820dd0]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x693b25
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x693b3f
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 0x693b53
sub eax, ecx
jmp 0x693b5b
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x693b7b
mov edx, eax
or edx, ecx
je 0x693b7b
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x693c95
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x693c95
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
cmp ecx, edi
mov byte [0x81c6fc], 1
not eax
jle 0x693c05
mov dword [ebp - 0xc], 0x820e44
mov dword [ebp - 0x14], ecx
jmp 0x693bb4
xor edi, edi
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
cmp ecx, edi
je 0x693bf1
mov esi, dword [ecx + 4]
cmp esi, edi
jle 0x693bf1
mov edx, dword [ecx]
mov ebx, dword [edx + 0xc]
sar ebx, 2
cmp edx, edi
je 0x693bf1
cmp esi, edi
jle 0x693bf1
mov edi, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test ebx, ebx
jle 0x693beb
mov esi, ebx
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x693be3
mov edx, dword [edx + 4]
dec edi
jne 0x693bd6
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
add edx, 4
dec ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], ecx
jne 0x693bb2
xor edi, edi
cmp eax, dword [0x8294d8]
je 0x693c18
inc dword [0x8294f0]
call fcn.0045dca0
cmp dword [0x8294e8], edi
je 0x693c8e
mov eax, dword [0x829464]
mov dword [ebp - 4], edi
cmp eax, edi
je 0x693c57
lea edx, [ebp - 4]
push edx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x693c4c
mov eax, dword [ebp - 4]
cmp eax, edi
je 0x693c4c
cmp dword [eax], 0x29874362
je 0x693c57
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
mov dword [ebp - 4], edi
cmp eax, edi
je 0x693c8e
lea ecx, [ebp - 4]
push ecx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x693c83
mov eax, dword [ebp - 4]
cmp eax, edi
je 0x693c83
cmp dword [eax], 0xbad0bad
je 0x693c8e
inc dword [0x8294f0]
call fcn.0045dca0
mov byte [0x81c6fc], 0
push 0x18
call fcn.00672b70
mov esi, eax
add esp, 4
cmp esi, edi
je 0x6940de
mov edx, dword [ebp - 0x1c]
push 1
push 4
lea eax, [esi + 0x14]
push edx
push eax
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], 4
mov byte [esi + 0x10], 0
call fcn.0045cb20
mov ecx, dword [0x8294e0]
push ecx
call fcn.0045ccf0
mov ebx, eax
add esp, 0x14
cmp ebx, 0xffffffff
je 0x6940de
cmp dword [ebx*4 + 0x820e44], edi
je 0x6940de
mov dword [ebp - 0xc], edi
push ebx
mov word [ebp - 0xa], bx
call fcn.0045dc50
mov dl, byte [0x8294e0]
mov ecx, dword [0x8294d8]
mov byte [ebp - 0xc], al
mov eax, dword [0x829478]
mov byte [ebp - 0xb], dl
mov edx, dword [ebp - 0xc]
xor eax, edx
push edi
xor ecx, eax
mov dword [0x8294d8], ecx
mov dword [esi], eax
mov eax, dword [0x8294e0]
push eax
push ebx
push esi
call fcn.0045ced0
mov ecx, dword [ebx*4 + 0x820e44]
add esp, 0x14
cmp dword [ecx + 4], 1
jne 0x693de5
mov eax, dword [0x82946c]
xor edi, edi
test eax, eax
jle 0x693de5
push 0x18
call fcn.00672b70
mov esi, eax
add esp, 4
test esi, esi
je 0x693dd7
xor eax, eax
mov dword [esi + 0xc], 4
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov byte [esi + 0x10], 1
mov edx, dword [0x829478]
push 1
push edx
lea eax, [esi + 0x14]
push 4
push eax
call fcn.0045cc20
push ebx
mov dword [ebp - 8], 0
call fcn.0045dc50
mov cl, byte [0x8294e0]
mov edx, dword [0x8294d8]
mov byte [ebp - 8], al
mov eax, dword [0x829478]
mov word [ebp - 6], bx
mov byte [ebp - 7], cl
mov ecx, dword [ebp - 8]
push 1
xor eax, ecx
xor edx, eax
mov dword [0x8294d8], edx
mov dword [esi], eax
mov edx, dword [0x8294e0]
push edx
push ebx
push esi
call fcn.0045ced0
add esp, 0x24
mov eax, dword [0x82946c]
inc edi
cmp edi, eax
jl 0x693d56
mov eax, dword [ebx*4 + 0x820e44]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x6940c3
mov edx, dword [eax + 4]
add ecx, ecx
cmp edx, ecx
jle 0x6940c3
mov edx, dword [eax]
mov ecx, 0x10
xor eax, eax
lea edi, [ebp - 0x6c]
xor esi, esi
rep stosd dword es:[edi], eax
mov eax, dword [0x820dd0]
test edx, edx
je 0x693e4b
mov ecx, dword [ebx*4 + 0x820e44]
mov edi, dword [ecx + 4]
test edi, edi
jle 0x693e4b
lea ecx, [ebp - 0x6c]
mov bl, byte [edx + 0x10]
test bl, bl
je 0x693e45
mov ebx, dword [edx]
xor ebx, eax
xor ebx, dword [0x829478]
inc esi
mov dword [ecx], ebx
add ecx, 4
mov edx, dword [edx + 4]
dec edi
jne 0x693e2e
test esi, esi
jle 0x6940c8
lea edx, [ebp - 0x6c]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], edx
jmp 0x693e63
mov eax, dword [0x820dd0]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [0x81c700]
inc ecx
mov dword [ebp - 0x24], edx
cmp ecx, 0x186a0
mov dword [0x81c700], ecx
jb 0x694037
mov ecx, dword [0x829478]
mov edx, eax
sub edx, ecx
mov dword [0x81c700], 0
cmp edx, eax
jne 0x693eb2
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x693ec5
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x693edf
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 0x693ef3
sub eax, ecx
jmp 0x693efb
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x693f1b
mov edx, eax
or edx, ecx
je 0x693f1b
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x694032
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x694032
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
mov byte [0x81c6fc], 1
test ecx, ecx
not eax
jle 0x693f9f
mov dword [ebp - 0x10], 0x820e44
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
test ecx, ecx
je 0x693f8d
mov esi, dword [ecx + 4]
test esi, esi
jle 0x693f8d
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
test edx, edx
je 0x693f8d
test esi, esi
jle 0x693f8d
mov ebx, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x693f87
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x693f7f
mov edx, dword [edx + 4]
dec ebx
jne 0x693f72
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
add edx, 4
dec ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], ecx
jne 0x693f50
cmp eax, dword [0x8294d8]
je 0x693fb2
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294e8]
xor esi, esi
cmp eax, esi
je 0x69402b
mov eax, dword [0x829464]
mov dword [ebp - 8], esi
cmp eax, esi
je 0x693ff4
lea edx, [ebp - 8]
push edx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x693fe9
mov eax, dword [ebp - 8]
cmp eax, esi
je 0x693fe9
cmp dword [eax], 0x29874362
je 0x693ff4
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
mov dword [ebp - 8], esi
cmp eax, esi
je 0x69402b
lea ecx, [ebp - 8]
push ecx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x694020
mov eax, dword [ebp - 8]
cmp eax, esi
je 0x694020
cmp dword [eax], 0xbad0bad
je 0x69402b
inc dword [0x8294f0]
call fcn.0045dca0
mov byte [0x81c6fc], 0
mov eax, dword [0x820dd0]
mov ecx, dword [ebp - 0x24]
mov esi, ecx
push ecx
xor esi, eax
mov dword [ebp - 0x2c], esi
mov edi, dword [ebp - 0x2a]
and edi, 0xffff
call fcn.0045c0b0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x6940ad
mov eax, dword [0x8294d8]
mov edx, esi
xor edx, eax
mov eax, dword [0x829478]
push 1
xor edx, eax
push eax
mov eax, dword [edi*4 + 0x820e44]
mov dword [0x8294d8], edx
mov eax, dword [eax + 8]
lea ecx, [eax + eax*2]
lea eax, [ebx + 0x14]
mov edx, dword [ecx*4 + 0x828e68]
push edx
push eax
call fcn.0045cc80
push ebx
push edi
call fcn.0045d050
and esi, 0xff
push esi
push edi
call fcn.0045dc80
push ebx
call fcn.00672c80
add esp, 0x24
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
add ecx, 4
dec eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], eax
jne 0x693e5e
mov eax, dword [0x820dd0]
mov ecx, dword [ebp - 0xc]
xor eax, ecx
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, ecx
lea esp, [ebp - 0x78]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x20]
lea esp, [ebp - 0x78]
or eax, 0xffffffff
pop edi
mov dword [ecx], eax
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret