Function at 0x6d3490
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebp, ebp
mov dword [esp + 0x18], edi
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
je 0x6d3722
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, ebp
je 0x6d3722
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 + 0x14], esi
mov dword [0x8294dc], eax
jl 0x6d34f9
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 0x6d371a
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], ebp
sub edx, ecx
cmp edx, eax
jne 0x6d3547
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x6d355a
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x6d3574
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 0x6d3588
sub eax, ecx
jmp 0x6d3590
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x6d35b0
mov edx, ecx
or edx, eax
je 0x6d35b0
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x6d371a
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x6d371a
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
cmp ecx, ebp
mov byte [0x81c6fc], 1
not eax
jle 0x6d363a
mov ebx, 0x820e44
mov dword [esp + 0x10], ecx
jmp 0x6d35e8
xor ebp, ebp
mov ecx, dword [ebx]
cmp ecx, ebp
je 0x6d3622
mov esi, dword [ecx + 4]
cmp esi, ebp
jle 0x6d3622
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
cmp edx, ebp
je 0x6d3622
cmp esi, ebp
jle 0x6d3622
mov ebp, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x6d361c
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x6d3614
mov edx, dword [edx + 4]
dec ebp
jne 0x6d3607
mov ecx, dword [esp + 0x10]
add ebx, 4
dec ecx
mov dword [esp + 0x10], ecx
jne 0x6d35e6
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
xor ebp, ebp
cmp eax, dword [0x8294d8]
je 0x6d364d
inc dword [0x8294f0]
call fcn.0045dca0
cmp dword [0x8294e8], ebp
je 0x6d3713
mov eax, dword [0x829464]
mov dword [esp + 0x10], ebp
cmp eax, ebp
je 0x6d36d9
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, ebp
je 0x6d36ce
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 0x6d36b0
mov dword [0x829488], ebp
push ebp
call fcn.0045d120
add esp, 4
call fcn.004059e0
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x6d36ce
cmp dword [eax], 0x29874362
je 0x6d36d9
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
mov dword [esp + 0x10], ebp
cmp eax, ebp
je 0x6d3713
lea ecx, [esp + 0x10]
push ecx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x6d3708
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x6d3708
cmp dword [eax], 0xbad0bad
je 0x6d3713
inc dword [0x8294f0]
call fcn.0045dca0
mov byte [0x81c6fc], 0
cmp esi, ebp
je 0x6d3722
fld dword [esi]
jmp 0x6d3728
fld dword [0x89fe2c]
fstp dword [esp + 0x18]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
push 0x20
push edx
mov ecx, esi
call fcn.00784a10
mov edx, dword [esi + 0x230]
add edx, 4
mov dword [esi + 0x230], edx
mov eax, dword [edi + 8]
cmp eax, 0xffffffff
je 0x6d39d0
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, ebp
je 0x6d39d0
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 edi, [eax*4 + 0x8294b4]
inc eax
cmp eax, 8
mov dword [esp + 0x18], edi
mov dword [0x8294dc], eax
jl 0x6d37a7
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 0x6d39c8
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], ebp
sub edx, ecx
cmp edx, eax
jne 0x6d37f5
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x6d3808
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x6d3822
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 0x6d3836
sub eax, ecx
jmp 0x6d383e
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x6d385e
mov edx, eax
or edx, ecx
je 0x6d385e
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x6d39c8
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x6d39c8
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
cmp ecx, ebp
mov byte [0x81c6fc], 1
not eax
jle 0x6d38da
mov ebx, 0x820e44
mov dword [esp + 0x10], ecx
mov ecx, dword [ebx]
test ecx, ecx
je 0x6d38cc
mov esi, dword [ecx + 4]
test esi, esi
jle 0x6d38cc
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
test edx, edx
je 0x6d38cc
test esi, esi
jle 0x6d38cc
mov ebp, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x6d38c6
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x6d38be
mov edx, dword [edx + 4]
dec ebp
jne 0x6d38b1
mov ecx, dword [esp + 0x10]
add ebx, 4
dec ecx
mov dword [esp + 0x10], ecx
jne 0x6d3892
cmp eax, dword [0x8294d8]
je 0x6d38ed
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294e8]
xor esi, esi
cmp eax, esi
je 0x6d39b7
mov eax, dword [0x829464]
mov dword [esp + 0x10], esi
cmp eax, esi
je 0x6d397d
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, esi
je 0x6d3972
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 + 0x10], ecx
mov dword [0x829488], eax
jl 0x6d3954
mov dword [0x829488], esi
push esi
call fcn.0045d120
add esp, 4
call fcn.004059e0
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x6d3972
cmp dword [eax], 0x29874362
je 0x6d397d
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
mov dword [esp + 0x10], esi
cmp eax, esi
je 0x6d39b7
lea edx, [esp + 0x10]
push edx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x6d39ac
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x6d39ac
cmp dword [eax], 0xbad0bad
je 0x6d39b7
inc dword [0x8294f0]
call fcn.0045dca0
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
mov byte [0x81c6fc], 0
xor ebp, ebp
cmp edi, ebp
je 0x6d39d0
fld dword [edi]
jmp 0x6d39d6
fld dword [0x89fe2c]
fstp dword [esp + 0x20]
mov eax, dword [esp + 0x20]
push 0x20
push eax
mov ecx, esi
call fcn.00784a10
mov eax, dword [esi + 0x230]
pop edi
add eax, 4
mov dword [esi + 0x230], eax
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4