Function at 0x7616b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, dword [ecx]
cmp edi, 0xffffffff
mov dword [esp + 0x1c], edi
je 0x761b0d
mov eax, dword [0x81c700]
inc eax
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb 0x761a93
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
xor ebp, ebp
sub edx, ecx
mov dword [0x81c700], ebp
cmp edx, eax
jne 0x76170d
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x761720
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x76173a
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 0x76174e
sub eax, ecx
jmp 0x761756
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x761776
mov edx, ecx
or edx, eax
je 0x761776
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x761a93
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x761a93
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
cmp ecx, ebp
mov byte [0x81c6fc], 1
not eax
jle 0x7617f8
mov ebx, 0x820e44
mov dword [esp + 0x14], ecx
mov ecx, dword [ebx]
cmp ecx, ebp
je 0x7617e6
mov esi, dword [ecx + 4]
cmp esi, ebp
jle 0x7617e6
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
cmp edx, ebp
je 0x7617e6
cmp esi, ebp
jle 0x7617e6
mov ebp, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x7617de
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x7617d6
mov edx, dword [edx + 4]
dec ebp
jne 0x7617c9
xor ebp, ebp
mov ecx, dword [esp + 0x14]
add ebx, 4
dec ecx
mov dword [esp + 0x14], ecx
jne 0x7617aa
mov edi, dword [esp + 0x1c]
cmp eax, dword [0x8294d8]
je 0x76180b
inc dword [0x8294f0]
call fcn.0045dca0
cmp dword [0x8294e8], ebp
je 0x761a8c
mov eax, dword [0x829464]
mov dword [esp + 0x14], ebp
cmp eax, ebp
je 0x761a52
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, ebp
je 0x761a47
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 + 0x14], edx
mov dword [0x829488], eax
jl 0x761876
mov dword [0x829488], ebp
push ebp
call fcn.0045d120
mov eax, dword [0x81c700]
add esp, 4
inc eax
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb 0x761a37
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], ebp
sub edx, ecx
cmp edx, eax
jne 0x7618be
call fcn.00406630
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x7618cb
call fcn.00406630
mov ecx, 0x83f450
call fcn.004065e0
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x7618f5
mov edx, ecx
or edx, eax
je 0x7618f5
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x761a37
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x761a37
mov esi, dword [0x829478]
mov dword [0x829468], eax
mov eax, dword [0x8294e8]
mov byte [0x81c6fc], 1
cmp eax, ebp
mov dword [esp + 0x18], ebp
not esi
jle 0x76199e
mov dword [esp + 0x10], 0x820e44
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
cmp eax, ebp
je 0x76197c
mov ecx, dword [eax + 4]
cmp ecx, ebp
jle 0x76197c
mov edi, dword [eax]
mov ebp, dword [edi + 0xc]
sar ebp, 2
test edi, edi
je 0x76197a
xor ebx, ebx
test ecx, ecx
jle 0x76197a
mov ecx, edi
call fcn.00406620
xor esi, eax
lea eax, [edi + 0x14]
test ebp, ebp
jle 0x76196b
mov ecx, ebp
mov edx, dword [eax]
add eax, 4
xor esi, edx
dec ecx
jne 0x761961
mov ecx, dword [esp + 0x10]
mov edi, dword [edi + 4]
inc ebx
mov edx, dword [ecx]
cmp ebx, dword [edx + 4]
jl 0x76194f
xor ebp, ebp
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ecx, dword [0x8294e8]
inc eax
add edx, 4
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], edx
jl 0x76192c
mov edi, dword [esp + 0x1c]
cmp esi, dword [0x8294d8]
je 0x7619ab
call fcn.00406630
cmp dword [0x8294e8], ebp
je 0x761a30
mov ecx, 0x829464
mov dword [esp + 0x10], ebp
call fcn.00406620
test eax, eax
je 0x7619f2
mov ecx, dword [0x829464]
lea eax, [esp + 0x10]
push eax
push ecx
call fcn.00407b70
add esp, 8
test al, al
je 0x7619ed
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x7619ed
cmp dword [eax], 0x29874362
je 0x7619f2
call fcn.00406630
mov ecx, 0x8294b0
mov dword [esp + 0x10], ebp
call fcn.00406620
test eax, eax
je 0x761a30
mov eax, dword [0x8294b0]
lea edx, [esp + 0x10]
push edx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x761a2b
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x761a2b
cmp dword [eax], 0xbad0bad
je 0x761a30
call fcn.00406630
mov byte [0x81c6fc], 0
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x761a47
cmp dword [eax], 0x29874362
je 0x761a52
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
mov dword [esp + 0x14], ebp
cmp eax, ebp
je 0x761a8c
lea ecx, [esp + 0x14]
push ecx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x761a81
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x761a81
cmp dword [eax], 0xbad0bad
je 0x761a8c
inc dword [0x8294f0]
call fcn.0045dca0
mov byte [0x81c6fc], 0
mov ebp, dword [0x820dd0]
push edi
xor ebp, edi
mov dword [esp + 0x20], ebp
mov ebx, ebp
mov esi, dword [esp + 0x22]
and ebx, 0xff
and esi, 0xffff
call fcn.0045c0b0
mov edi, eax
add esp, 4
test edi, edi
je 0x761b0d
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
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret