Function at 0x45c0b0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x81c700]
sub esp, 0xc
inc eax
push esi
xor esi, esi
cmp eax, 0x186a0
push edi
mov dword [0x81c700], eax
jb 0x45c490
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], esi
sub edx, ecx
cmp edx, eax
jne 0x45c0fc
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x45c10f
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x45c129
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 0x45c13d
sub eax, ecx
jmp 0x45c145
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x45c165
mov edx, ecx
or edx, eax
je 0x45c165
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x45c490
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x45c490
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
push ebx
cmp ecx, esi
push ebp
mov byte [0x81c6fc], 1
not eax
jle 0x45c1e3
mov ebx, 0x820e44
mov dword [esp + 0x14], ecx
mov ecx, dword [ebx]
test ecx, ecx
je 0x45c1d5
mov esi, dword [ecx + 4]
test esi, esi
jle 0x45c1d5
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
test edx, edx
je 0x45c1d5
test esi, esi
jle 0x45c1d5
mov ebp, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x45c1cf
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x45c1c7
mov edx, dword [edx + 4]
dec ebp
jne 0x45c1ba
mov ecx, dword [esp + 0x14]
add ebx, 4
dec ecx
mov dword [esp + 0x14], ecx
jne 0x45c19b
cmp eax, dword [0x8294d8]
je 0x45c1f6
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294e8]
xor esi, esi
cmp eax, esi
je 0x45c487
mov eax, dword [0x829464]
mov dword [esp + 0x14], esi
cmp eax, esi
je 0x45c44d
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, esi
je 0x45c442
push esi
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 0x45c264
mov dword [0x829488], esi
push esi
call fcn.0045d120
mov eax, dword [0x81c700]
add esp, 4
inc eax
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb 0x45c430
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], esi
sub edx, ecx
cmp edx, eax
jne 0x45c2b2
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x45c2c5
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x45c2df
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 0x45c2f3
sub eax, ecx
jmp 0x45c2fb
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x45c31b
mov edx, ecx
or edx, eax
je 0x45c31b
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x45c430
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x45c430
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
cmp ecx, esi
mov byte [0x81c6fc], 1
not eax
jle 0x45c397
mov ebx, 0x820e44
mov dword [esp + 0x10], ecx
mov ecx, dword [ebx]
test ecx, ecx
je 0x45c389
mov esi, dword [ecx + 4]
test esi, esi
jle 0x45c389
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
test edx, edx
je 0x45c389
test esi, esi
jle 0x45c389
mov ebp, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x45c383
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x45c37b
mov edx, dword [edx + 4]
dec ebp
jne 0x45c36e
mov ecx, dword [esp + 0x10]
add ebx, 4
dec ecx
mov dword [esp + 0x10], ecx
jne 0x45c34f
cmp eax, dword [0x8294d8]
je 0x45c3aa
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294e8]
xor esi, esi
cmp eax, esi
je 0x45c429
mov eax, dword [0x829464]
mov dword [esp + 0x10], esi
cmp eax, esi
je 0x45c3ef
lea edx, [esp + 0x10]
push edx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x45c3e4
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x45c3e4
cmp dword [eax], 0x29874362
je 0x45c3ef
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
mov dword [esp + 0x10], esi
cmp eax, esi
je 0x45c429
lea ecx, [esp + 0x10]
push ecx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x45c41e
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x45c41e
cmp dword [eax], 0xbad0bad
je 0x45c429
inc dword [0x8294f0]
call fcn.0045dca0
mov byte [0x81c6fc], 0
mov eax, dword [esp + 0x14]
xor esi, esi
cmp eax, esi
je 0x45c442
cmp dword [eax], 0x29874362
je 0x45c44d
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
mov dword [esp + 0x14], esi
cmp eax, esi
je 0x45c487
lea edx, [esp + 0x14]
push edx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x45c47c
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x45c47c
cmp dword [eax], 0xbad0bad
je 0x45c487
inc dword [0x8294f0]
call fcn.0045dca0
pop ebp
mov byte [0x81c6fc], 0
pop ebx
mov eax, dword [0x820dd0]
mov ecx, dword [esp + 0x18]
mov edx, dword [0x829478]
xor eax, ecx
mov dword [esp + 0xc], eax
xor edx, eax
mov eax, dword [esp + 0xe]
and eax, 0xffff
mov ecx, dword [eax*4 + 0x820e44]
mov eax, dword [ecx]
xor ecx, ecx
cmp eax, esi
je 0x45c4d0
cmp dword [eax], edx
je 0x45c4d2
mov eax, dword [eax + 4]
inc ecx
cmp ecx, 0x10
jg 0x45c4d0
cmp eax, esi
jne 0x45c4bf
xor eax, eax
pop edi
pop esi
add esp, 0xc
ret