Function at 0x692780
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, ecx
or ebx, 0xffffffff
xor ebp, ebp
mov dword [esp + 0x1c], edi
mov eax, dword [edi + 0x14]
cmp eax, ebx
je 0x692a1b
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, ebp
je 0x692a1b
push ebp
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 esi, [eax*4 + 0x8294b4]
inc eax
cmp eax, 8
mov dword [esp + 0x20], esi
mov dword [0x8294dc], eax
jl 0x6927eb
mov dword [0x8294dc], ebp
push ebp
call fcn.0045d120
mov eax, dword [0x81c700]
add esp, 4
inc eax
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb 0x692a0f
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], ebp
sub edx, ecx
cmp edx, eax
jne 0x692839
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x69284c
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x692866
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 0x69287a
sub eax, ecx
jmp 0x692882
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x6928a2
mov edx, ecx
or edx, eax
je 0x6928a2
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x692a0f
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x692a0f
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
cmp ecx, ebp
mov byte [0x81c6fc], 1
not eax
jle 0x69292f
mov ebx, 0x820e44
mov dword [esp + 0x18], ecx
jmp 0x6928da
xor ebp, ebp
mov ecx, dword [ebx]
cmp ecx, ebp
je 0x692914
mov esi, dword [ecx + 4]
cmp esi, ebp
jle 0x692914
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
cmp edx, ebp
je 0x692914
cmp esi, ebp
jle 0x692914
mov ebp, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x69290e
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x692906
mov edx, dword [edx + 4]
dec ebp
jne 0x6928f9
mov ecx, dword [esp + 0x18]
add ebx, 4
dec ecx
mov dword [esp + 0x18], ecx
jne 0x6928d8
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
or ebx, 0xffffffff
xor ebp, ebp
cmp eax, dword [0x8294d8]
je 0x692942
inc dword [0x8294f0]
call fcn.0045dca0
cmp dword [0x8294e8], ebp
je 0x692a08
mov eax, dword [0x829464]
mov dword [esp + 0x10], ebp
cmp eax, ebp
je 0x6929ce
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, ebp
je 0x6929c3
push ebp
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 edx, [eax*4 + 0x82948c]
inc eax
cmp eax, 8
mov dword [esp + 0x10], edx
mov dword [0x829488], eax
jl 0x6929a5
mov dword [0x829488], ebp
push ebp
call fcn.0045d120
add esp, 4
call fcn.004059e0
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x6929c3
cmp dword [eax], 0x29874362
je 0x6929ce
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
mov dword [esp + 0x10], ebp
cmp eax, ebp
je 0x692a08
lea ecx, [esp + 0x10]
push ecx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x6929fd
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x6929fd
cmp dword [eax], 0xbad0bad
je 0x692a08
inc dword [0x8294f0]
call fcn.0045dca0
mov byte [0x81c6fc], 0
cmp esi, ebp
je 0x692a1b
mov edx, dword [esi]
mov dword [esp + 0x18], edx
jmp 0x692a24
mov eax, dword [0x89fe2c]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x10]
cmp eax, ebx
je 0x692caa
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, ebp
je 0x692caa
mov ecx, dword [0x8294dc]
push ebp
add eax, 0x14
push 4
lea edx, [ecx*4 + 0x8294b4]
push eax
push edx
call fcn.0045cba0
mov eax, dword [0x8294dc]
add esp, 0x10
lea esi, [eax*4 + 0x8294b4]
inc eax
cmp eax, 8
mov dword [esp + 0x20], esi
mov dword [0x8294dc], eax
jl 0x692a7e
mov dword [0x8294dc], ebp
push ebp
call fcn.0045d120
mov eax, dword [0x81c700]
add esp, 4
inc eax
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb 0x692ca2
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], ebp
sub edx, ecx
cmp edx, eax
jne 0x692acc
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x692adf
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x692af9
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 0x692b0d
sub eax, ecx
jmp 0x692b15
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x692b35
mov edx, ecx
or edx, eax
je 0x692b35
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x692ca2
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x692ca2
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
cmp ecx, ebp
mov byte [0x81c6fc], 1
not eax
jle 0x692bb1
mov ebx, 0x820e44
mov dword [esp + 0x14], ecx
mov ecx, dword [ebx]
test ecx, ecx
je 0x692ba3
mov esi, dword [ecx + 4]
test esi, esi
jle 0x692ba3
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
test edx, edx
je 0x692ba3
test esi, esi
jle 0x692ba3
mov ebp, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x692b9d
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x692b95
mov edx, dword [edx + 4]
dec ebp
jne 0x692b88
mov ecx, dword [esp + 0x14]
add ebx, 4
dec ecx
mov dword [esp + 0x14], ecx
jne 0x692b69
cmp eax, dword [0x8294d8]
je 0x692bc4
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294e8]
xor esi, esi
cmp eax, esi
je 0x692c8e
mov eax, dword [0x829464]
mov dword [esp + 0x14], esi
cmp eax, esi
je 0x692c54
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, esi
je 0x692c49
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 + 0x14], ecx
mov dword [0x829488], eax
jl 0x692c2b
mov dword [0x829488], esi
push esi
call fcn.0045d120
add esp, 4
call fcn.004059e0
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x692c49
cmp dword [eax], 0x29874362
je 0x692c54
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
mov dword [esp + 0x14], esi
cmp eax, esi
je 0x692c8e
lea edx, [esp + 0x14]
push edx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x692c83
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x692c83
cmp dword [eax], 0xbad0bad
je 0x692c8e
inc dword [0x8294f0]
call fcn.0045dca0
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
or ebx, 0xffffffff
mov byte [0x81c6fc], 0
xor ebp, ebp
cmp esi, ebp
je 0x692caa
fld dword [esi]
jmp 0x692cb0
fld dword [0x89fe2c]
fadd dword [esp + 0x28]
fcom dword [0x7cd7b4]
fnstsw ax
test ah, 1
je 0x692ccd
fstp st(0)
mov dword [esp + 0x28], 0
jmp 0x692ce8
fcom dword [esp + 0x18]
fnstsw ax
test ah, 0x41
jne 0x692ce4
mov eax, dword [esp + 0x18]
fstp st(0)
mov dword [esp + 0x28], eax
jmp 0x692ce8
fstp dword [esp + 0x28]
mov eax, dword [edi + 0x10]
mov dword [esp + 0x1c], ebp
cmp eax, ebx
je 0x692d13
lea ecx, [esp + 0x1c]
mov edx, eax
push ecx
push edx
call fcn.00428f80
mov eax, dword [esp + 0x24]
add esp, 8
cmp eax, ebp
je 0x692d13
mov eax, dword [eax]
mov dword [esp + 0x20], eax
jmp 0x692d1d
mov ecx, dword [0x89fe2c]
mov dword [esp + 0x20], ecx
mov eax, dword [edi + 0x14]
mov dword [esp + 0x1c], ebp
cmp eax, ebx
je 0x692d42
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.00428f80
mov eax, dword [esp + 0x24]
add esp, 8
cmp eax, ebp
je 0x692d42
fld dword [eax]
jmp 0x692d48
fld dword [0x89fe2c]
fld dword [esp + 0x28]
fcomp dword [0x7cd7b4]
fnstsw ax
test ah, 1
je 0x692d65
fstp st(0)
mov dword [esp + 0x18], 0
jmp 0x692d82
fld dword [esp + 0x28]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x692d78
fstp dword [esp + 0x18]
jmp 0x692d82
mov ecx, dword [esp + 0x28]
fstp st(0)
mov dword [esp + 0x18], ecx
mov eax, dword [edi + 0x10]
cmp eax, ebx
je 0x692d97
lea edx, [esp + 0x18]
push edx
push eax
call fcn.00694f90
add esp, 8
mov eax, dword [edi + 0x10]
mov dword [esp + 0x28], ebp
cmp eax, ebx
je 0x692dbe
lea ecx, [esp + 0x28]
mov edx, eax
push ecx
push edx
call fcn.00428f80
mov eax, dword [esp + 0x30]
add esp, 8
cmp eax, ebp
je 0x692dbe
fld dword [eax]
jmp 0x692dc4
fld dword [0x89fe2c]
fld dword [esp + 0x20]
fcomp st(1)
fnstsw ax
test ah, 0x40
fstp st(0)
jne 0x692df6
mov eax, dword [edi + 0x30]
cmp eax, ebp
je 0x692df6
cmp dword [eax + 4], ebp
je 0x692df6
cmp eax, ebp
je 0x692de8
mov eax, dword [eax + 4]
jmp 0x692dea
xor eax, eax
lea ecx, [eax + 8]
push 1
push 3
mov eax, dword [ecx]
call dword [eax + 0x38]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4